CN104618452A - PIS (Passenger Information System) based remote wake-up method - Google Patents

PIS (Passenger Information System) based remote wake-up method Download PDF

Info

Publication number
CN104618452A
CN104618452A CN201510004153.8A CN201510004153A CN104618452A CN 104618452 A CN104618452 A CN 104618452A CN 201510004153 A CN201510004153 A CN 201510004153A CN 104618452 A CN104618452 A CN 104618452A
Authority
CN
China
Prior art keywords
rouser
controlled device
wake
network information
controller
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.)
Pending
Application number
CN201510004153.8A
Other languages
Chinese (zh)
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.)
Transcend Communication Inc
Original Assignee
Transcend Communication Inc
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 Transcend Communication Inc filed Critical Transcend Communication Inc
Priority to CN201510004153.8A priority Critical patent/CN104618452A/en
Publication of CN104618452A publication Critical patent/CN104618452A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a PIS (Passenger Information System) based remote wake-up method. The PIS based remote wake-up method comprises the following steps of maintaining the open or closed state which is consistent with a server through a wake-up device; obtaining the network information of a controlled device and the wake-up device through a control machine and sending the network information of the controlled device to the wake-up device; receiving the network information sent form the control machine by the wake-up device and sending a wake-up instruction to the controlled device according to the network information; performing real-time monitoring on the connection state of the controlled device and executing an execution result of the wake-up instruction according to the network information of the controlled device through the wake-up device and sending the execution result to the control machine. According to the PIS based remote wake-up method, the transfer between network segments is performed in an IP (Internet Protocol) unicast mode and accordingly the network paralysis which may be caused by IP broadcast is avoided and the information transmission is performed through a TCP (Transmission Control Protocol) which is reliable in connection orientation and accordingly the stability of the transmission is ensured and the security of the transmission is ensured.

Description

A kind of remote wake-up method based on PIS system
Technical field
The present invention relates to a kind of remote wake-up method based on PIS system.
Background technology
PIS system refers to that metro operation business adopts network technology and multimedia transmission, the Display Technique of mature and reliable, and the time of specifying, by the information displaying of specifying to the crowd specified.This system take computer system as core, set multimedia network technology, to provide the system of information service, make passenger pass through correct information on services and guide with station and vehicle-mounted display terminal for medium to passenger, safety, takes track traffic easily.
Because PIS system is made up of numerous centers and station equipment, and general device is all distributed in the open scope of metropolitan area network or wide area network, and in order to energy-saving and emission-reduction, most of equipment all needed to close at night, open when working by day, these demands all make the management of equipment more loaded down with trivial details and complicated again.In order to realize unified, convenient, efficient equipment control, just must realize the management mode of networking, Remote Wake Up is exactly one of them.
At present, PIS system encounters severe bottleneck problem when applying remote wake up technology.In order to reduce broadcast domain between station, be all generally an independently subnet, each subnet is undertaken interconnected by three-layer network appliance, realizes communication.And the technology of Remote Wake Up is confined in subnet, want also mainly to rely on the broadcast mechanism of three-layer network appliance to realize at cross-network segment MODE of operation, but there is two problems: one is that broadcast mode can cause burden to originally busy network, can form broadcast storm and cause network paralysis time serious; Two is that different three-layer network appliances has different configuration orders and using method, brings great inconvenience to field deployment.
Summary of the invention
For Problems existing in background technology, the object of the present invention is to provide a kind of remote wake-up method based on PIS system, the method carries out transmitting between the network segment in the mode of IP unicast, not only avoid the network paralysis that IP broadcast may cause; And employ the reliable Transmission Control Protocol of SCCP connection-oriented and carry out transmission of information, namely ensure that the stability of transmission in turn ensure that the fail safe of transmission.
The object of the invention is to be achieved through the following technical solutions:
Based on a remote wake-up method for PIS system, this remote wake-up method comprises the steps:
1) Rouser keeps the unlatching consistent with server or closed condition;
2) controller obtains the network information of controlled device and described Rouser, and the network information of described controlled device is sent to described Rouser;
3) described Rouser receives the network information that described controller is sent, and sends according to the described network information and wake instruction up to described controlled device;
4) described Rouser detects the connection status of controlled device in real time according to the network information of described controlled device and wakes the execution result of instruction up described in performing, and described execution result is sent to controller.
Further, described step 2) be specially:
1. controller reads the network information of controlled device and described Rouser from database or data file;
2. controller resolves the network information of described Rouser;
3. controller uses the Transmission Control Protocol of Socket encapsulation and sends according to the network information of the Rouser after parsing the Remote Wake Up packet comprising the controlled device network information to Rouser.
Further, described step 3) is specially:
I) described Rouser receives the Socket TCP Remote Wake Up packet that described controller is sent;
II) Rouser resolves described Remote Wake Up packet, and obtains the MAC Address of controlled device;
III) Rouser generates UDP wakeup packet according to the MAC Address of controlled device;
IV) described UDP wakeup packet is sent to controlled device by Rouser.
Further, described step 4) is specially:
Described Rouser sends ICMP ping command packet according to the IP address of controlled device to controlled device, if receive effective response within the time of setting, Rouser wakes successful data bag up by sending Socket TCP according to the IP of controller and port numbering to controller, and to database or file record state information; If not do not receive effective response within the time of setting, Rouser wakes miss data bag up by sending Socket TCP according to the IP of controller and port numbering to controller, and to database or file record state information.
The present invention has following positive technique effect:
The method of Remote Wake Up of the present invention carries out data transmission in the mode of IP unicast between the network segment; Not only avoid the network paralysis that IP broadcast may cause, improve network utilisation efficiency.And employ the reliable Transmission Control Protocol of SCCP connection-oriented and transmit, not only ensure that the fail safe that the stability but also ensure of transmission is transmitted.On the other hand, also avoid when system is disposed the dependence of three-layer network appliance and decrease the inconvenience that configuration order brings.In the PIS system application busy at Internet Transmission, network territory is distributed more widely, management role is heavy, use the method for the application to carry out network device management, its advantage is fairly obvious.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention;
Fig. 2 is that controller of the present invention sends the flow chart of the controlled device network information to Rouser;
Fig. 3 is that Rouser of the present invention sends the flow chart of wakeup packet to controlled device;
Fig. 4 is that Rouser of the present invention detects the flow chart waking result up.
Embodiment
Rouser in the application comprises: be applied to the PIS systems network administration program in Windows, Linux and UNIX operating system.
The server of the application refers to: the computer server entity of providing services on the Internet in the separate subnet of each segmentation broadcast domain, its install operating system be Windows, Linux or Unix one of them, and this kind equipment except maintenance except be round-the-clock unlatching.
The controller of the application refers in PIS grid installs control program and any station terminal equipment allowing access.
The controlled device of the application refers to be equipped with supports WOL(Wakeup On Line) network interface card and at BIOS(Basic Input Output System) in opened the network equipment of WOL function; This equipment is provided with windows xp and above Edition operating system, and in the power management of network interface card attribute, open " allowing this equipment to wake computer up " option; The network information of controlled device refers to: MAC(Media Access Control) address, IP(Internet Protocol) address; The network information of Rouser refers to: IP address and port numbering (scope 1024-65535); The data content of Remote Wake Up packet comprises: action type, data total length, controller IP address, port numbering, the network information of controlled device, creation-time, School Affairs information.
AMD Magic Package 1.0 agreement is observed in the generation waking datagram up of the application; As long as code requirement network interface card detects in packet the special format Frame comprising 102 successive bytes, then machine will be waken up.The hexadecimal MAC Address that data frame format to be beginning the be hexadecimal FF of 6 bytes adds repetition is 16 times, totally 102 bytes.
Below in conjunction with accompanying drawing, the present invention will be further described.
As shown in Figure 1, a kind of remote wake-up method based on PIS system of the application, this remote wake-up method comprises the steps: 1) Rouser keeps the unlatching consistent with server or closed condition; 2) controller obtains the network information of controlled device and Rouser, and the network information of controlled device is sent to Rouser; 3) Rouser receives the network information sent of controller, and sends according to the network information and wake instruction up to controlled device; 4) Rouser detects according to the network information of controlled device the execution result that the connection status of controlled device and execution wake instruction up in real time, and execution result is sent to controller.
As shown in Figure 2, the method that in the application, controller sends the controlled device network information to Rouser is specially: controller reads the network information of controlled device and Rouser from database or data file; Controller resolves the network information of Rouser; Controller uses Socket(berkeley socket) the TCP(Transmission Control Protocol that encapsulates) agreement send the Remote Wake Up packet comprising the controlled device network information to Rouser according to the network information of the Rouser after resolving.
As shown in Figure 3, the concrete grammar that in the application, Rouser sends wakeup packet to controlled device is: Rouser receives the Socket TCP Remote Wake Up packet that controller is sent; Rouser is resolved Remote Wake Up packet, and obtains the MAC Address of controlled device; Rouser generates UDP(User Data Protocol according to the MAC Address of controlled device) wakeup packet; UDP wakeup packet is sent to controlled device by Rouser.
As shown in Figure 4, in the application, Rouser detects the concrete grammar waking result up and is: Rouser sends ICMP(Internet Control Message Protocol according to the IP address of controlled device to controlled device) ping command packet, if receive effective response within the time of setting, Rouser wakes successful data bag up by sending Socket TCP according to the IP of controller and port numbering to controller, and to database or file record state information; If not do not receive effective response within the time of setting, Rouser wakes miss data bag up by sending Socket TCP according to the IP of controller and port numbering to controller, and to database or file record state information.
Below in conjunction with embodiment, the present invention is further described:
First necessary setting is carried out to controlled device, be introduced into the BIOS system of controlled device, select Power Management Setup (Power Management Setup) menu, " Wake On LAN " item is set to " Enable ".Then, enter windows7 operating system, open equipment manager, find network adapter, network interface card sensor selection problem " attribute " item that right button will use.The dialog box occurred finds " power management " label, clicks after choosing " allowing this equipment to wake computer up " option and determine.
The IP address of controlled device place network is 10.18.10.0 subnet mask is 255.255.255.0, wherein, the network information of the computer server (i.e. Rouser) of providing services on the Internet is: IP address is 10.18.10.254, subnet mask is 255.255.255.0, operating system is Windows Server 2008 R2, has installed PIS network supervisor and be set to start self-starting and service port number is 16000 in system.
The network information of controlled device is: IP address is 10.18.10.20; Subnet mask is 255.255.255.0; MAC Address is 00:00:00:00:00:01.Under windows7 system, use dos command ipconfig/all to check the MAC Address of network interface card.
The IP address of control appliance place network is 10.19.8.0; Subnet mask is 255.255.255.0; Wherein, the network information of control appliance is: IP address is 10.19.8.100; Subnet mask is 255.255.255.0; The service port number of PIS grid control program is 15000.
Above information is all stored in the database of another addressable network.Control appliance obtains the network information of controlled device and Rouser after authentication from database.Be assembled into Remote Wake Up packet, form is as follows:
Remote Wake Up action type code: 0026 Hex; Total length: 001A Hex; Control appliance IP address 16 system is expressed as 10130864 Hex; Control appliance port numbering 16 system is expressed as 3A98 Hex; Controlled control appliance MAC Address 16 system is expressed as 000000000001 Hex; Controlled device IP address 16 system is expressed as 10121014 Hex; Creation-time integer form 16 system is expressed as: 54925E1F Hex; CRC16 large end calculation check code is 5497 Hex.
Data are connected and composed in order Remote Wake Up packet 16 system to show below:
0026001A101308643A980000000000011012101454925E1F5497 Hex
The Rouser that now control appliance use Socket Transmission Control Protocol is 16000 to IP address for 10.18.10.254 port numbers sends Remote Wake Up packet, and awaits a response, if respond error code or time-out, sends a warning message.
Rouser receives the complete Remote Wake Up packet that control appliance sends, and parses the control appliance network information and the controlled device network information.Then UDP(User Data Protocol is made according to controlled device MAC Address 00:00:00:00:00:01) wake datagram up, 16 systems of form show below:
6 FF heads: FFFFFFFFFFFF Hex
16 MAC Address are continuous:
000000000001000000000001000000000001000000000001000000000001000000000001000000000001000000000001000000000001000000000001000000000001000000000001000000000001000000000001000000000001000000000001 Hex
Be linked in sequence and be together:
FFFFFFFFFFFF00000000000100000000000100000000000100000000 00,010,000,000,000,010,000,000,000,010,000,000,000,010,000,000,000,010,000 00,000,001,000,000,000,001,000,000,000,001,000,000,000,001,000,000,000,001 000000000001000000000001000000000001 Hex, now control appliance sends Socket UDP according to other wake-up device IP address 10.18.10.20 and wakes datagram up.
Rouser sends after UDP wakes datagram up, start 10 minutes by a definite date, the interval icmp packet ping order of 1 second detects, when continuous 20 seconds at TTL(Time To Live) receive response data bag in packet life cycle and then judge that waking instruction up sends successfully.The control appliance being now 15000 to IP address 10.19.8.100, port numbers sends Remote Wake Up successful data bag, and will wake record up and be sent to database through line item.If do not have in 10 minutes continuous 20 seconds receive response data, then Rouser wakes notice control appliance up failure, sends a warning message to alerting service simultaneously, and will wake record up and be sent to database through line item.
Described just in order to the present invention is described above, be construed as the present invention and be not limited to above embodiment, meet the various variants of inventive concept all within protection scope of the present invention.

Claims (4)

1. based on a remote wake-up method for PIS system, it is characterized in that, described remote wake-up method comprises the steps:
1) Rouser keeps the unlatching consistent with server or closed condition;
2) controller obtains the network information of controlled device and described Rouser, and the network information of described controlled device is sent to described Rouser;
3) described Rouser receives the network information that described controller is sent, and sends according to the described network information and wake instruction up to described controlled device;
4) described Rouser detects the connection status of controlled device in real time according to the network information of described controlled device and wakes the execution result of instruction up described in performing, and described execution result is sent to controller.
2. remote wake-up method according to claim 1, is characterized in that, described step 2) be specially:
1. controller reads the network information of controlled device and described Rouser from database or data file;
2. controller resolves the network information of described Rouser;
3. controller uses the Transmission Control Protocol of Socket encapsulation and sends according to the network information of the Rouser after parsing the Remote Wake Up packet comprising the controlled device network information to Rouser.
3. remote wake-up method according to claim 1, is characterized in that, described step 3) is specially:
I) described Rouser receives the Socket TCP Remote Wake Up packet that described controller is sent;
II) Rouser resolves described Remote Wake Up packet, and obtains the MAC Address of controlled device;
III) Rouser generates UDP wakeup packet according to the MAC Address of controlled device;
IV) described UDP wakeup packet is sent to controlled device by Rouser.
4. remote wake-up method according to claim 1, is characterized in that, described step 4) is specially:
Described Rouser sends ICMP ping command packet according to the IP address of controlled device to controlled device, if receive effective response within the time of setting, Rouser wakes successful data bag up by sending Socket TCP according to the IP of controller and port numbering to controller, and to database or file record state information; If not do not receive effective response within the time of setting, Rouser wakes miss data bag up by sending Socket TCP according to the IP of controller and port numbering to controller, and to database or file record state information.
CN201510004153.8A 2015-01-06 2015-01-06 PIS (Passenger Information System) based remote wake-up method Pending CN104618452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510004153.8A CN104618452A (en) 2015-01-06 2015-01-06 PIS (Passenger Information System) based remote wake-up method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510004153.8A CN104618452A (en) 2015-01-06 2015-01-06 PIS (Passenger Information System) based remote wake-up method

Publications (1)

Publication Number Publication Date
CN104618452A true CN104618452A (en) 2015-05-13

Family

ID=53152727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510004153.8A Pending CN104618452A (en) 2015-01-06 2015-01-06 PIS (Passenger Information System) based remote wake-up method

Country Status (1)

Country Link
CN (1) CN104618452A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016197866A1 (en) * 2015-06-11 2016-12-15 阿里巴巴集团控股有限公司 Network wake-up method, remote server, and network switching device
CN106656521A (en) * 2015-11-04 2017-05-10 中兴通讯股份有限公司 Power-on method and device
WO2017181941A1 (en) * 2016-04-18 2017-10-26 中兴通讯股份有限公司 Cloud terminal wake-up method, network management server, and cloud communication system
CN108322491A (en) * 2017-01-17 2018-07-24 研祥智能科技股份有限公司 Wake-up on LAN method and apparatus
CN109783296A (en) * 2019-01-07 2019-05-21 郑州云海信息技术有限公司 A kind of method of automatic verifying network interface card WOL functional stabilization
CN109873703A (en) * 2017-12-04 2019-06-11 深圳市尚云互联技术有限公司 Remote wakening system
CN109884936A (en) * 2018-12-26 2019-06-14 江汉大学 A kind of security system
CN111131522A (en) * 2020-01-14 2020-05-08 上海曼恒数字技术股份有限公司 Remote control method and system for terminal equipment
CN112055189A (en) * 2020-09-15 2020-12-08 上海跃影科技有限公司 Holographic system with network awakening function and network awakening method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413179A (en) * 2011-11-15 2012-04-11 江苏瑞曼信息技术有限公司 Automatic power-on or wake-up machine and power-on or wake-up method thereof
CN103259883A (en) * 2013-05-24 2013-08-21 成都秦川科技发展有限公司 Self-organizing low-power-consumption wireless network IP address administration method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413179A (en) * 2011-11-15 2012-04-11 江苏瑞曼信息技术有限公司 Automatic power-on or wake-up machine and power-on or wake-up method thereof
CN103259883A (en) * 2013-05-24 2013-08-21 成都秦川科技发展有限公司 Self-organizing low-power-consumption wireless network IP address administration method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302616B (en) * 2015-06-11 2019-12-31 阿里巴巴集团控股有限公司 Network awakening method, remote server and network switching equipment
CN106302616A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Network wake-up method, remote server and the network switching equipment
WO2016197866A1 (en) * 2015-06-11 2016-12-15 阿里巴巴集团控股有限公司 Network wake-up method, remote server, and network switching device
CN106656521A (en) * 2015-11-04 2017-05-10 中兴通讯股份有限公司 Power-on method and device
WO2017076331A1 (en) * 2015-11-04 2017-05-11 中兴通讯股份有限公司 Startup method and device
WO2017181941A1 (en) * 2016-04-18 2017-10-26 中兴通讯股份有限公司 Cloud terminal wake-up method, network management server, and cloud communication system
CN107306188A (en) * 2016-04-18 2017-10-31 中兴通讯股份有限公司 Cloud terminal awakening method, NM server and cloud communication system
CN108322491A (en) * 2017-01-17 2018-07-24 研祥智能科技股份有限公司 Wake-up on LAN method and apparatus
CN109873703A (en) * 2017-12-04 2019-06-11 深圳市尚云互联技术有限公司 Remote wakening system
CN109884936A (en) * 2018-12-26 2019-06-14 江汉大学 A kind of security system
CN109783296A (en) * 2019-01-07 2019-05-21 郑州云海信息技术有限公司 A kind of method of automatic verifying network interface card WOL functional stabilization
CN111131522A (en) * 2020-01-14 2020-05-08 上海曼恒数字技术股份有限公司 Remote control method and system for terminal equipment
CN112055189A (en) * 2020-09-15 2020-12-08 上海跃影科技有限公司 Holographic system with network awakening function and network awakening method thereof

Similar Documents

Publication Publication Date Title
CN104618452A (en) PIS (Passenger Information System) based remote wake-up method
CN101282237B (en) Synthetic network management system based on SNMP
CN106656632A (en) Machine room monitoring system fusing Ethernet protocol with Internet of Things protocol, and information processing and control method
WO2015131463A1 (en) Dynamic recognition method for network device topology of intelligent transformer substation network device based on mac address matching
CN106557316B (en) Based on 61850 site protective relaying device menu modeling method
CN109495572A (en) A kind of Internet of things system and its network communication method, device and storage medium
CN110324165A (en) The management method of the network equipment, apparatus and system
CN108092847B (en) A kind of electric power LTE wireless terminal remote on-line monitoring method
CN108965367A (en) A kind of method and system of control view networked server
CN103023702A (en) Method for processing batched management information bases (MIB)
CN104778042A (en) Stream data processing method based on event stream processing and plug-in type development framework
CN108964962A (en) A kind of method and system of control view networked terminals
CN106453541A (en) Data synchronization method, server and data synchronization system
CN103036732A (en) Method, system and device for network monitoring process
CN100417088C (en) Method for synchronization of fore-and-aft alarm
CN102984507A (en) Network assisting management device and concurrent management device in video monitoring system
CN104243198B (en) A kind of network management and system based on network configuration protocol
CN107659414A (en) Remote wakening system and method based on P2P
CN105262740A (en) Big data transmission method and system
CN107248981A (en) Internet of Things intelligent equipment protocol storehouse
CN108512912A (en) Intelligent device management system and method based on Internet of Things
CN102082689B (en) Method for generating equipment alarm information by adopting asynchronous poling mode
CN101252487B (en) Method for processing safety warning and safety policy equipment
CN106897191A (en) A kind of method and apparatus being monitored to system
CN103795800A (en) Remote exchanger managing method based on web

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513

RJ01 Rejection of invention patent application after publication