WO2015180251A1 - Wake-on-lan method, server, and client - Google Patents

Wake-on-lan method, server, and client Download PDF

Info

Publication number
WO2015180251A1
WO2015180251A1 PCT/CN2014/082759 CN2014082759W WO2015180251A1 WO 2015180251 A1 WO2015180251 A1 WO 2015180251A1 CN 2014082759 W CN2014082759 W CN 2014082759W WO 2015180251 A1 WO2015180251 A1 WO 2015180251A1
Authority
WO
WIPO (PCT)
Prior art keywords
client terminal
state
online
information
wake
Prior art date
Application number
PCT/CN2014/082759
Other languages
French (fr)
Chinese (zh)
Inventor
黄英
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015180251A1 publication Critical patent/WO2015180251A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Definitions

  • the present invention relates to the field of terminal network management technologies, and in particular, to a remote wake-up method, a server, and a client terminal.
  • a remote wake-up method a server, and a client terminal.
  • BACKGROUND OF THE INVENTION With the development of computer networks, the use of remote control is becoming more and more common.
  • Wake-on-LAN (WOL) is a device that cooperates with other software and hardware to send a specific data frame (also called a "magic package”) to a network card in standby mode.
  • the remote wake-up scheme of the prior art has obvious shortcomings: The remote host must be in the local area network, limited to the local area network, and cannot remotely wake up across the network segment, and the Internet Protocol (IP) broadcast mode is likely to cause a "broadcast storm", which is greatly wasted.
  • IP Internet Protocol
  • a primary object of the present invention is to provide a remote wake-up method, a server, and a client terminal, which are designed to implement remote wake-up across network segments and save network resources.
  • a remote wake-up method provided by the present invention includes: receiving device information reported by a client terminal of each network segment, determining a current state of the client terminal according to the device information; and confirming a client in a standby state.
  • the wake-up command is sent to the client terminal in the online state, so that the client terminal in the online state wakes up the client terminal in the standby state by using a wake-up command.
  • the step of receiving the device information reported by the client terminal of each network segment, and determining the current state of the client terminal according to the device information includes: parsing the device information to obtain registration information and/or status information; The registration information is registration valid information, and determining that the current status of the corresponding client terminal is an online state; If the status information is online information or standby information, it is determined that the current status of the corresponding client terminal corresponds to an online status or a standby status.
  • the method further includes: customizing a management policy according to a current state of the client terminal, and transmitting the management policy to the client terminal; receiving status information reported by the client terminal when the management policy is executed, and updating the The current status of the client terminal.
  • the present invention further provides a remote wake-up method, including the following steps: when confirming that a network terminal is present in a network segment where a client terminal in a standby state is located, the online terminal client terminal receives a wake-up command sent by the server; The wake-up instruction constructs the wake-up data packet; the wake-up data packet is broadcasted on the network segment where the online terminal of the client terminal is located to wake up the client terminal in the standby state in the network segment.
  • the method further includes: reporting, by the network management protocol, device information including a current status of the client terminal to the server.
  • the method further includes: receiving, by the receiving server, a management policy customized according to the current state of the client terminal; and when the client terminal executes the management policy, reporting the status information of the client terminal to the server.
  • the present invention further provides a server, comprising: a determining module, configured to receive device information reported by a client terminal of each network segment, determine a current state of the client terminal according to the device information; and wake up the module, set to confirm the standby state
  • a wake-up command is sent to the client terminal in the online state, so that the client terminal in the online state wakes up the client terminal in the standby state by using a wake-up command.
  • the determining module comprises: The parsing unit is configured to parse the device information to obtain registration information and/or status information.
  • the first determining unit is configured to: if the registration information is the registration valid information, determine that the current state of the corresponding client terminal is an online state;
  • the second determining unit is configured to determine that the current state of the corresponding client terminal corresponds to an online state or a standby state, if the state information is online information or standby information.
  • the method further includes: a customization module, configured to customize a management policy according to a current state of the client terminal, and send the management policy to the client terminal; and an update module configured to receive the client terminal to perform the management The status information reported when the policy is reported, and the current status of the client terminal is updated.
  • the present invention further provides a client terminal, comprising: a first receiving module, configured to receive, when the network segment where the client terminal in the standby state is located, a client terminal in an online state; the client terminal in the online state receives a wake-up command sent by the server; The module is configured to construct a wake-up data packet according to the wake-up instruction; and the broadcast module is configured to broadcast the wake-up data packet in a network segment where the client terminal in the online state is located to wake up the client terminal in the standby state in the network segment.
  • the method further includes: a second reporting module, configured to report to the server, by using a network management protocol, device information that includes a current state of the client terminal.
  • the method further includes: a second receiving module, configured to receive a management policy customized by the server according to the current state of the client terminal; and a first reporting module, configured to: when the client terminal executes the management policy, The status information of the client terminal is reported to the server.
  • a second receiving module configured to receive a management policy customized by the server according to the current state of the client terminal
  • a first reporting module configured to: when the client terminal executes the management policy, The status information of the client terminal is reported to the server.
  • the server can send a wake-up command to the client terminal in the online state, and the client terminal in the online state wakes up the standby terminal.
  • the client terminal of the state, the server of the present invention communicates with the client terminal through a network management protocol, and the server does not need to be in the local area network. Therefore, the remote wake-up across the network segment can be realized without being restricted by the local area network or the network structure; In the scenario where the batch client terminal performs network management uniformly, it is easier to implement management and save network resources than the prior art.
  • FIG. 1 is a schematic flowchart of a first embodiment of a remote wake-up method according to the present invention
  • FIG. 2 is a schematic flowchart of a step 101 of FIG.
  • FIG. 4 is a schematic structural diagram of a server according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a determining module shown in FIG.
  • the method includes: Step S101: Receive device information reported by a client terminal of each network segment, and determine, according to the device information, the client terminal
  • the customer premise equipment CPE
  • CPE customer premise equipment
  • Each network segment has multiple client terminals, and the server may be a network segment. Or multiple network segment services.
  • the server receives the device information reported by the client terminal of each network segment, and the server may be an automatic configuration server (ACS).
  • ACS automatic configuration server
  • the server communicates with the client terminal through a network management protocol, and thus is not limited by the local area network or the network structure.
  • the device information includes: registration information, status information, and type information and IP information of the client terminal.
  • the registration information is valid registration information, it may be determined that the current status of the corresponding client terminal is an online status. If the registration information is invalid registration information, the current status of the corresponding client terminal is an offline status.
  • the status information also indicates the current status of the client terminal, which includes offline information, upgrade information, or shutdown information, in addition to online information or standby information. When the status information is online information, the current status of the corresponding client terminal is online; when the status information is standby information, the current status of the corresponding client terminal is the standby status.
  • the server and the client terminal can be mutually agreed, and the server sends a management policy to the client terminal, and when the client terminal executes the management policy, the state information of the change is reported to the server; or, on the client terminal, the user Performing standby, online or shutdown, etc., and the client terminal actively reports the status information of the change to the server; or, if the client terminal initiates registration with the server, and the registration information is valid, the current state of the client terminal is online, at this time, The client terminal also actively reports its status information to the server; or, the client terminal changes from the standby state to the online state during the last remote wake-up process. At this time, the client terminal also actively reports its status information to the client terminal. server.
  • Step S102 When it is confirmed that the network segment where the client terminal in the standby state is located has a client terminal in an online state, send a wake-up command to the client terminal in the online state, so that the client terminal in the online state wakes up the client in the standby state by using a wake-up command. terminal.
  • the client terminal in the standby state is the client terminal to be woken up. If a client terminal in the online state and a client terminal in the standby state exist in a certain network segment, the client terminal in the standby state can be awake through the client terminal in the online state, that is, the client terminal in the online state is used as a relay to wake up the standby state. Client terminal.
  • the server may send a wake-up command to the client terminal of the online state of a certain network segment, and after receiving the wake-up command, the client terminal in the online state constructs a magic packet according to the wake-up instruction, and performs on the network segment.
  • the broadcaster wakes up the client terminal in the standby state, and the client terminal in the standby state becomes the client terminal in the online state.
  • the client terminal of each network segment reports its current state, and the server determines whether the current state of the client terminal is online or offline, if online exists in a certain network segment.
  • the server can send a wake-up command to the client terminal in the online state, and the client terminal in the online state wakes up the client terminal in the standby state, and the server and the client terminal in this embodiment pass through the network.
  • Management protocol to communicate the server does not need to be in the LAN, because Therefore, it is not limited by the local area network or the network structure, and can realize remote wake-up across the network segment. In the scenario where the batch client terminal performs network management uniformly, it is easier to implement management and save network resources than the prior art.
  • the foregoing step S101 includes: Step S1011: parsing the device information to obtain registration information and/or status information; Step S1012 If the registration information is the registration valid information, determining that the current status of the corresponding client terminal is an online state; Step S1013, if the status information is online information or standby information, determining that the current status of the corresponding client terminal corresponds to Online status or standby status.
  • the device information includes, in addition to the registration information and the status information, type information of the client terminal,
  • the status information also indicates the current status of the client terminal.
  • the status information includes offline information, upgrade information, or shutdown information, in addition to online information or standby information.
  • the registration information is valid registration information, it can be determined that the current status of the corresponding client terminal is online. If the registration information is invalid registration information, the current status of the corresponding client terminal is offline.
  • the status information is online information, the current status of the corresponding client terminal is online; when the status information is standby information, the current status of the corresponding client terminal is the standby status.
  • the embodiment further includes the following steps after step 101: customizing a management policy according to a current state of the client terminal, and sending the management policy Giving the client terminal; receiving status information reported by the client terminal when the management policy is executed, and updating a current state of the client terminal.
  • the state of the client terminal is agreed between the server and the client terminal.
  • the server customizes the management policy according to the current state of the client terminal, and delivers the management policy to the client terminal.
  • Management strategies include: parameter query, parameter configuration, standby, shutdown, restart, log acquisition, or file download.
  • online client terminals can support parameter query or configuration, as well as standby, shutdown, or restart operations; all management policies for offline client terminals are limited;
  • the terminal supports remote wake-up policies and the like.
  • the client terminal executes the management policy, the changed status information is reported to the server, and the server updates the current status of the client terminal.
  • the present invention further provides another remote wake-up method.
  • the method includes: Step S201: When it is confirmed that the network segment where the client terminal in the standby state is located has an online terminal client terminal, The client terminal in the online state receives the wake-up command sent by the server.
  • the current state of the client terminal includes an online state, an offline state, an upgrade state, a standby state, and a shutdown state.
  • the client terminal in the standby state can be awake through the client terminal in the online state, that is, the client terminal in the online state is used as a relay. To wake up the client terminal in standby mode.
  • the server can serve one network segment or multiple network segments. Compared with the prior art, the server must be in the local area network.
  • This embodiment can implement remote wake-up across network segments to achieve more optimized management.
  • the server selects the client terminal in the online state as the relay client terminal, and issues a wake-up command, and the wake-up command includes the client terminal in the standby state.
  • MAC address When the client terminal in the online state where the client terminal in the standby state is located exists, the server selects the client terminal in the online state as the relay client terminal, and issues a wake-up command, and the wake-up command includes the client terminal in the standby state.
  • Step S202 constructing a wake-up data packet according to the wake-up instruction; the online terminal client device constructs a wake-up data packet according to the MAC address included in the wake-up instruction, and the wake-up data packet is also called a wake-up magic packet, and the wake-up magic packet can be used to stand by The client terminal in the state wakes up online.
  • Step S203 The wake-up data packet is broadcasted on the network segment where the client terminal in the online state is located to wake up the client terminal in the standby state in the network segment.
  • the wake-up packet is broadcasted on the network segment where the client terminal in the online state is located, and after the online client receives the wake-up packet, the network card responds and performs the wake-up process. Re-registering to the server, the server updates its current state to online.
  • the embodiment further includes:
  • the device information including the current state of the client terminal is reported to the server through the network management protocol.
  • the server communicates with the client terminal through a network management protocol, and thus is not limited by the local area network or the network structure.
  • the client terminal reports the state information to the server before or after the state change, for example, when the client terminal changes from the online state to the standby state, and then reports the state information changed from the online state to the standby state before changing to the standby state.
  • the server may determine the current state of the client terminal according to the information.
  • the embodiment further includes the following steps: receiving a management policy customized by the server according to the current state of the client terminal; performing the When the policy is managed, the status information of the client terminal is reported to the server.
  • the state of the client terminal is agreed between the server and the client terminal.
  • the server customizes the management policy according to the current state of the client terminal, and delivers the management policy to the client terminal.
  • Management policies include: parameter query, parameter configuration, standby, shutdown, restart, log acquisition, or file download.
  • the online terminal client terminal can support parameter query or configuration, and operations such as standby, shutdown, or restart; all management policies of the client terminal in the offline state are limited; and the client terminal in the standby state supports remote wakeup.
  • the present invention provides a server.
  • the method includes: a determining module 401, configured to receive device information reported by a client terminal of each network segment, and determine, according to the device information, the client terminal.
  • the customer premise equipment (CPE) may be on the same network segment or on different network segments.
  • Each network segment has multiple client terminals, and the server may be a network segment. Or multiple network segment services.
  • the server receives the device information reported by the client terminal of each network segment, and the server may be an automatic configuration server (ACS).
  • ACS automatic configuration server
  • the server communicates with the client terminal through a network management protocol, and thus is not limited by the local area network or the network structure.
  • the device information includes: registration information, status information, and type information and IP information of the client terminal.
  • the registration information is valid registration information, it may be determined that the current status of the corresponding client terminal is an online status. If the registration information is invalid registration information, the current status of the corresponding client terminal is an offline status.
  • the status information also indicates the current status of the client terminal, which includes offline information, upgrade information, or shutdown information, in addition to online information or standby information. When the status information is online information, the current status of the corresponding client terminal is online; when the status information is standby information, the current status of the corresponding client terminal is the standby status.
  • the server and the client terminal can be mutually agreed, and the server sends a management policy to the client terminal, and when the client terminal executes the management policy, the state information of the change is reported to the server; or, on the client terminal, the user Performing standby, online or shutdown, etc., and the client terminal actively reports the status information of the change to the server; or, if the client terminal initiates registration with the server, and the registration information is valid, the current state of the client terminal is online, at this time, The client terminal also actively reports its status information to the server; or, the client terminal changes from the standby state to the online state during the last remote wake-up process. At this time, the client terminal also actively reports its status information to the client terminal. server.
  • the wake-up module 402 is configured to send a wake-up command to the client terminal in the online state when the client terminal in the online state where the client terminal in the standby state is located is present, so that the client terminal in the online state wakes up by using the wake-up command.
  • the client terminal in the standby state is the client terminal to be woken up. If a client terminal in the online state and a client terminal in the standby state exist in a certain network segment, the client terminal in the standby state can be awake through the client terminal in the online state, that is, the client terminal in the online state is used as a relay to wake up the standby state.
  • Client terminal is configured to send a wake-up command to the client terminal in the online state when the client terminal in the online state where the client terminal in the standby state is located is present, so that the client terminal in the online state wakes up by using the wake-up command.
  • the client terminal in the standby state is the client terminal to
  • the server may send a wake-up command to the client terminal of the online state of a certain network segment, and after receiving the wake-up command, the client terminal in the online state constructs a magic packet according to the wake-up instruction, and performs on the network segment.
  • the broadcaster wakes up the client terminal in the standby state, and the client terminal in the standby state becomes the client terminal in the online state.
  • the determining module 401 includes: The parsing unit 4011 is configured to parse the device information to obtain registration information and/or status information.
  • the first determining unit 4012 is configured to determine that the current status of the corresponding client terminal is online if the registration information is registration valid information.
  • the second determining unit 4013 is configured to determine that the current state of the corresponding client terminal corresponds to an online state or a standby state, if the state information is online information or standby information.
  • the device information includes, in addition to the registration information and the status information, type information and IP information of the client terminal.
  • the status information also indicates the current status of the client terminal.
  • the status information includes offline information, upgrade information, or shutdown information, in addition to online information or standby information.
  • the registration information is valid registration information, it may be determined that the current status of the corresponding client terminal is online. If the registration information is invalid registration information, the current status of the corresponding client terminal is offline.
  • the status information is online information, the current status of the corresponding client terminal is online; when the status information is standby information, the current status of the corresponding client terminal is the standby status.
  • the server further includes: a customization module, configured to customize a management policy according to a current state of the client terminal, and send the management policy to the a client terminal, configured to receive status information reported by the client terminal when the management policy is executed, and update a current state of the client terminal.
  • the state of the client terminal is agreed between the server and the client terminal.
  • the server customizes the management policy according to the current state of the client terminal, and delivers the management policy to the client terminal.
  • Management policies include: parameter query, parameter configuration, standby, shutdown, restart, log acquisition, or file download.
  • the online terminal client terminal can support parameter query or configuration, and operations such as standby, shutdown, or restart; all management policies of the client terminal in the offline state are limited; and the client terminal in the standby state supports the remote wakeup policy.
  • the client terminal executes the management policy, the changed status information is reported to the server, and the server updates the current status of the client terminal.
  • the present invention further provides a client terminal.
  • the client terminal includes: The first receiving module 601 is configured to receive, when the network segment where the client terminal in the standby state is located, the client terminal in the online state, the client terminal in the online state receives the wake-up command sent by the server.
  • the current state of the client terminal includes Online status, offline status, upgrade status, standby status, and shutdown status.
  • the client terminal in the standby state can be awake through the client terminal in the online state, that is, the client terminal in the online state is used as a relay. To wake up the client terminal in standby mode.
  • the server can serve one network segment or multiple network segments. Compared with the prior art, the server must be in the local area network.
  • This embodiment can implement remote wake-up across network segments to achieve more optimized management.
  • the server selects the client terminal in the online state as the relay client terminal, and issues a wake-up command, and the wake-up command includes the client terminal in the standby state.
  • MAC address When the client terminal in the online state where the client terminal in the standby state is located exists, the server selects the client terminal in the online state as the relay client terminal, and issues a wake-up command, and the wake-up command includes the client terminal in the standby state.
  • the constructing module 602 is configured to construct a wake-up data packet according to the wake-up instruction; the online terminal client constructs a wake-up data packet according to the MAC address included in the wake-up instruction, and the wake-up data packet is also called a wake-up magic packet, and the wake-up magic packet is used
  • the client terminal in the standby state can be woken up to an online state.
  • the broadcast module 603 is configured to broadcast the wake-up data packet in a network segment where the client terminal in the online state is located to wake up the client terminal in the standby state in the network segment.
  • the wake-up packet is broadcasted on the network segment where the client terminal in the online state is located, and after the online client receives the wake-up packet, the network card responds and performs the wake-up process. Re-registering to the server, the server updates its current state to online.
  • the method further includes: a second reporting module, configured to report, by using a network management protocol, device information that includes a current state of the client terminal to the server.
  • the server communicates with the client terminal through a network management protocol, and thus is not limited by the local area network or the network structure.
  • the client terminal reports the state information to the server before or after the state change, for example, when the client terminal changes from the online state to the standby state, and then reports the state information changed from the online state to the standby state before changing to the standby state.
  • the server may determine the current state of the client terminal according to the information.
  • the method further includes: a second receiving module, configured to receive, by the server, a management policy customized according to a current state of the client terminal; a first reporting module, setting When the management policy is executed on the client terminal, the status information of the client terminal is reported to the server.
  • the state of the client terminal is agreed between the server and the client terminal.
  • the server customizes the management policy according to the current state of the client terminal, and delivers the management policy to the client terminal.
  • Management policies include: parameter query, parameter configuration, standby, shutdown, restart, log acquisition, or file download.
  • the online terminal client terminal can support parameter query or configuration, and operations such as standby, shutdown, or restart; all management policies of the client terminal in the offline state are limited; and the client terminal in the standby state supports remote wakeup.
  • the method, the server and the client terminal of the remote wake-up method of the present invention report the current state of the client terminal of each network segment, and the server determines whether the current state of the client terminal is online or In the offline state, if there is a client terminal in the online state and a client terminal in the standby state in a certain network segment, the server can send a wake-up command to the client terminal in the online state, and the client terminal in the online state wakes up the client terminal in the standby state.
  • the server of the present invention communicates with the client terminal through a network management protocol, and the server does not need to be in the local area network. Therefore, it is not limited by the local area network or the network structure, and can realize remote wake-up across the network segment; In the scenario of network management, it is easier to implement management than the prior art, and save network resources.
  • a remote wake-up method, server, and client terminal provided by the embodiments of the present invention have the following beneficial effects:
  • the client terminal of each network segment reports its current state, and the server determines the current client terminal.
  • the server can send a wake-up command to the client terminal in the online state, and the client terminal in the online state
  • the client terminal in the standby state is awake, and the server and the client terminal communicate with each other through a network management protocol, and the server does not need to be in the local area network. Therefore, the remote server can be remotely awake from the network segment without being restricted by the local area network or the network structure.
  • the batch client terminal performs network management uniformly, it is easier to implement management than the prior art, and save network resources.

Abstract

Disclosed are a wake-on-LAN method, a server, and a client. The method comprises the following steps: receiving device information reported by clients of each network segment, and determining the current state of each client according to the device information; and when it is determined that an online client exists in a network segment where a standby client is located, sending a wake-up instruction to the online client, so that the online client wakes up the standby client through the wake-up instruction. The present invention can implement cross-network segment wake-on-LAN, and save the network resources.

Description

远程唤醒的方法、 服务器及客户终端 技术领域 本发明涉及终端网络管理技术领域, 尤其涉及一种远程唤醒的方法、 服务器及客 户终端。 背景技术 随着计算机网络的发展, 远程控制方面的运用越来越普遍。 远程唤醒技术 (Wake-on-LAN, 简称为 WOL)是由网卡配合其他软硬件, 通过给处于待机状态的网 卡发送特定的数据帧 (该特定数据帧也称为 "魔术包"), 实现设备从停机状态启动的 一种技术。 现有技术的远程唤醒方案有明显的不足: 远程主机必须处于局域网内, 受限于局 域网, 无法实现跨网段远程唤醒, 且互联网协议 (IP) 广播方式易造成 "广播风暴", 极大地浪费网络资源。 发明内容 本发明的主要目的在于提供一种远程唤醒的方法、 服务器及客户终端, 旨在实现 跨网段的远程唤醒, 节约网络资源。 为实现上述目的, 本发明提供的一种远程唤醒的方法, 包括: 接收各网段的客户终端上报的设备信息, 根据所述设备信息确定所述客户终端的 当前状态; 在确认待机状态的客户终端所在的网段存在在线状态的客户终端时, 发送唤醒指 令至该在线状态的客户终端, 以由该在线状态的客户终端通过唤醒指令来唤醒待机状 态的客户终端。 优选地, 所述接收各网段的客户终端上报的设备信息, 根据所述设备信息确定所 述客户终端的当前状态的步骤包括: 解析所述设备信息, 得到注册信息和 /或状态信息; 若所述注册信息为注册有效信息,则确定对应的客户终端的当前状态为在线状态; 若所述状态信息为在线信息或待机信息, 则确定对应的客户终端的当前状态对应 为在线状态或待机状态。 优选地, 还包括: 根据所述客户终端的当前状态定制管理策略, 并将所述管理策略发送给所述客户 终端; 接收所述客户终端执行所述管理策略时上报的状态信息, 并更新所述客户终端的 当前状态。 本发明还提供一种远程唤醒的方法, 包括以下歩骤: 在确认待机状态的客户终端所在的网段存在在线状态的客户终端时, 在线状态的 客户终端接收服务器发送的唤醒指令; 根据所述唤醒指令构造唤醒数据包; 在该在线状态的客户终端所在的网段广播所述唤醒数据包, 以唤醒该网段中待机 状态的客户终端。 优选地, 还包括: 通过网络管理协议向服务器上报包含所述客户终端的当前状态 的设备信息。 优选地, 还包括: 接收服务器根据所述客户终端的当前状态定制的管理策略; 在所述客户终端执行所述管理策略时,将所述客户终端的状态信息上报至服务器。 本发明还提供一种服务器, 包括: 确定模块, 设置为接收各网段的客户终端上报的设备信息, 根据所述设备信息确 定所述客户终端的当前状态; 唤醒模块, 设置为在确认待机状态的客户终端所在的网段存在在线状态的客户终 端时, 发送唤醒指令至该在线状态的客户终端, 以由该在线状态的客户终端通过唤醒 指令来唤醒待机状态的客户终端。 优选地, 所述确定模块包括: 解析单元, 设置为解析所述设备信息, 得到注册信息和 /或状态信息; 第一确定单元, 设置为若所述注册信息为注册有效信息, 则确定对应的客户终端 的当前状态为在线状态; 第二确定单元, 设置为若所述状态信息为在线信息或待机信息, 则确定对应的客 户终端的当前状态对应为在线状态或待机状态。 优选地, 还包括: 定制模块, 设置为根据所述客户终端的当前状态定制管理策略, 并将所述管理策 略发送给所述客户终端; 更新模块, 设置为接收所述客户终端执行所述管理策略时上报的状态信息, 并更 新所述客户终端的当前状态。 本发明还提供一种客户终端, 包括: 第一接收模块, 设置为在确认待机状态的客户终端所在的网段存在在线状态的客 户终端时, 在线状态的客户终端接收服务器发送的唤醒指令; 构造模块, 设置为根据所述唤醒指令构造唤醒数据包; 广播模块, 设置为在该在线状态的客户终端所在的网段广播所述唤醒数据包, 以 唤醒该网段中待机状态的客户终端。 优选地, 还包括: 第二上报模块, 设置为通过网络管理协议向服务器上报包含所述客户终端的当前 状态的设备信息。 优选地, 还包括: 第二接收模块,设置为接收服务器根据所述客户终端的当前状态定制的管理策略; 第一上报模块, 设置为在所述客户终端执行所述管理策略时, 将所述客户终端的 状态信息上报至服务器。 通过上面的描述可以看出, 本发明的一种远程唤醒的方法、 服务器及客户终端, 由各个网段的客户终端上报自身的当前状态, 由服务器来确定客户终端当前的状态是 处于在线状态还是处于离线状态, 若某一网段中同时存在在线状态的客户终端及待机 状态的客户终端时, 可以通过服务器给在线状态的客户终端发送唤醒指令, 由在线状 态的客户终端唤醒待机状态的客户终端, 本发明的服务器与客户终端之间通过网络管 理协议进行通信, 服务器不需要处在局域网中, 因此, 不受局域网或者网路结构的限 制, 可以实现跨网段远程唤醒; 在批量客户终端统一进行网络管理的情景中, 相对于 现有技术而言更容易实现管理, 节约网络资源。 附图说明 图 1为本发明远程唤醒的方法第一实施例的流程示意图; 图 2为图 1所示步骤 101的细化流程示意图; 图 3为本发明远程唤醒的方法第二实施例的流程示意图; 图 4为本发明服务器一实施例的结构示意图; 图 5为图 4所示确定模块的结构示意图; 图 6为本发明客户终端一实施例的结构示意图。 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。 具体实施方式 应当理解,此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发明。 本发明提供一种远程唤醒的方法, 参照图 1, 在一实施例中, 该方法包括: 步骤 S101 , 接收各网段的客户终端上报的设备信息, 根据所述设备信息确定所述 客户终端的当前状态; 本实施例中, 客户终端 ( Customer Premise Equipment, 简称为 CPE)可以处在相 同的网段或者处在不同的网段, 每一网段具有多个客户终端, 服务器可以为一个网段 或者多个网段服务。 其中, 由服务器接收各网段的客户终端上报的设备信息, 服务器 可以为自动配置服务器 ( Automatic configuration server, 简称为 ACS )。 其中, 服务器与客户终端之间通过网络管理协议进行通信, 因此, 不受局域网或 者网路结构的限制。 设备信息包括: 注册信息、 状态信息以及客户终端的类型信息、 IP信息。 其中, 若注册信息为有效注册信息, 则可以确定与之对应的客户终端的当前状态 为在线状态, 若注册信息为无效注册信息, 则与之对应的客户终端的当前状态为非在 线状态。 状态信息也表明客户终端的当前状态, 其除了包括在线信息或待机信息外, 还包 括离线信息、 升级信息或者关机信息等。 状态信息为在线信息时, 对应的客户终端的 当前状态为在线状态; 状态信息为待机信息时, 对应的客户终端的当前状态为待机状 态。 本实施例中,可由服务器及客户终端两者协定,服务器向客户终端下发管理策略, 客户终端执行管理策略时, 将自身变化的状态信息上报至服务器; 或者, 在客户终端 上由用户对其执行待机、 在线或关机等, 同时客户终端主动将自身变化的状态信息上 报至服务器; 或者, 若客户终端向服务器发起注册, 且注册信息有效时, 客户终端的 当前状态为在线状态, 此时, 客户终端也主动将自身的状态信息上报至服务器; 或者, 客户终端在上一轮的远程唤醒过程中, 其由待机状态变为在线状态, 此时, 客户终端 也主动将自身的状态信息上报至服务器。 步骤 S102, 在确认待机状态的客户终端所在的网段存在在线状态的客户终端时, 发送唤醒指令至该在线状态的客户终端, 以由该在线状态的客户终端通过唤醒指令来 唤醒待机状态的客户终端。 本实施例中, 待机状态的客户终端即为待唤醒的客户终端。 若某一网段中同时存 在在线状态的客户终端及待机状态的客户终端, 可以通过在线状态的客户终端来唤醒 待机状态的客户终端,即以在线状态的客户终端作为中继来唤醒待机状态的客户终端。 在具体实施过程中, 可以由服务器向某一网段的在线状态的客户终端发送唤醒指令, 在线状态的客户终端接收到唤醒指令后, 根据该唤醒指令构造魔术包, 并在该网段上 进行广播, 从而唤醒待机状态的客户终端, 待机状态的客户终端成为在线状态的客户 终端。 与现有技术相比, 本实施例由各个网段的客户终端上报自身的当前状态, 由服务 器来确定客户终端当前的状态是处于在线状态还是处于离线状态, 若某一网段中同时 存在在线状态的客户终端及待机状态的客户终端时, 可以通过服务器给在线状态的客 户终端发送唤醒指令, 由在线状态的客户终端唤醒待机状态的客户终端, 本实施例的 服务器与客户终端之间通过网络管理协议进行通信, 服务器不需要处在局域网中, 因 此, 不受局域网或者网路结构的限制, 可以实现跨网段远程唤醒; 在批量客户终端统 一进行网络管理的情景中, 相对于现有技术而言更容易实现管理, 节约网络资源。 The present invention relates to the field of terminal network management technologies, and in particular, to a remote wake-up method, a server, and a client terminal. BACKGROUND OF THE INVENTION With the development of computer networks, the use of remote control is becoming more and more common. Wake-on-LAN (WOL) is a device that cooperates with other software and hardware to send a specific data frame (also called a "magic package") to a network card in standby mode. A technique that starts from a shutdown state. The remote wake-up scheme of the prior art has obvious shortcomings: The remote host must be in the local area network, limited to the local area network, and cannot remotely wake up across the network segment, and the Internet Protocol (IP) broadcast mode is likely to cause a "broadcast storm", which is greatly wasted. Internet resources. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a remote wake-up method, a server, and a client terminal, which are designed to implement remote wake-up across network segments and save network resources. To achieve the above object, a remote wake-up method provided by the present invention includes: receiving device information reported by a client terminal of each network segment, determining a current state of the client terminal according to the device information; and confirming a client in a standby state. When the network segment where the terminal is located has a client terminal in an online state, the wake-up command is sent to the client terminal in the online state, so that the client terminal in the online state wakes up the client terminal in the standby state by using a wake-up command. Preferably, the step of receiving the device information reported by the client terminal of each network segment, and determining the current state of the client terminal according to the device information includes: parsing the device information to obtain registration information and/or status information; The registration information is registration valid information, and determining that the current status of the corresponding client terminal is an online state; If the status information is online information or standby information, it is determined that the current status of the corresponding client terminal corresponds to an online status or a standby status. Preferably, the method further includes: customizing a management policy according to a current state of the client terminal, and transmitting the management policy to the client terminal; receiving status information reported by the client terminal when the management policy is executed, and updating the The current status of the client terminal. The present invention further provides a remote wake-up method, including the following steps: when confirming that a network terminal is present in a network segment where a client terminal in a standby state is located, the online terminal client terminal receives a wake-up command sent by the server; The wake-up instruction constructs the wake-up data packet; the wake-up data packet is broadcasted on the network segment where the online terminal of the client terminal is located to wake up the client terminal in the standby state in the network segment. Preferably, the method further includes: reporting, by the network management protocol, device information including a current status of the client terminal to the server. Preferably, the method further includes: receiving, by the receiving server, a management policy customized according to the current state of the client terminal; and when the client terminal executes the management policy, reporting the status information of the client terminal to the server. The present invention further provides a server, comprising: a determining module, configured to receive device information reported by a client terminal of each network segment, determine a current state of the client terminal according to the device information; and wake up the module, set to confirm the standby state When the network segment where the client terminal is located has a client terminal in an online state, a wake-up command is sent to the client terminal in the online state, so that the client terminal in the online state wakes up the client terminal in the standby state by using a wake-up command. Preferably, the determining module comprises: The parsing unit is configured to parse the device information to obtain registration information and/or status information. The first determining unit is configured to: if the registration information is the registration valid information, determine that the current state of the corresponding client terminal is an online state; The second determining unit is configured to determine that the current state of the corresponding client terminal corresponds to an online state or a standby state, if the state information is online information or standby information. Preferably, the method further includes: a customization module, configured to customize a management policy according to a current state of the client terminal, and send the management policy to the client terminal; and an update module configured to receive the client terminal to perform the management The status information reported when the policy is reported, and the current status of the client terminal is updated. The present invention further provides a client terminal, comprising: a first receiving module, configured to receive, when the network segment where the client terminal in the standby state is located, a client terminal in an online state; the client terminal in the online state receives a wake-up command sent by the server; The module is configured to construct a wake-up data packet according to the wake-up instruction; and the broadcast module is configured to broadcast the wake-up data packet in a network segment where the client terminal in the online state is located to wake up the client terminal in the standby state in the network segment. Preferably, the method further includes: a second reporting module, configured to report to the server, by using a network management protocol, device information that includes a current state of the client terminal. Preferably, the method further includes: a second receiving module, configured to receive a management policy customized by the server according to the current state of the client terminal; and a first reporting module, configured to: when the client terminal executes the management policy, The status information of the client terminal is reported to the server. It can be seen from the above description that the remote wake-up method, server and client terminal of the present invention report the current state of the client terminal by the client terminal of each network segment, and the server determines the current state of the client terminal. If the online terminal is in the offline state or in the offline state, if there is a client terminal in the online state and the client terminal in the standby state, the server can send a wake-up command to the client terminal in the online state, and the client terminal in the online state wakes up the standby terminal. The client terminal of the state, the server of the present invention communicates with the client terminal through a network management protocol, and the server does not need to be in the local area network. Therefore, the remote wake-up across the network segment can be realized without being restricted by the local area network or the network structure; In the scenario where the batch client terminal performs network management uniformly, it is easier to implement management and save network resources than the prior art. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic flowchart of a first embodiment of a remote wake-up method according to the present invention; FIG. 2 is a schematic flowchart of a step 101 of FIG. FIG. 4 is a schematic structural diagram of a server according to an embodiment of the present invention; FIG. 5 is a schematic structural diagram of a determining module shown in FIG. The implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings. The specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. The present invention provides a remote wake-up method. Referring to FIG. 1, in an embodiment, the method includes: Step S101: Receive device information reported by a client terminal of each network segment, and determine, according to the device information, the client terminal In the present embodiment, the customer premise equipment (CPE) may be on the same network segment or on different network segments. Each network segment has multiple client terminals, and the server may be a network segment. Or multiple network segment services. The server receives the device information reported by the client terminal of each network segment, and the server may be an automatic configuration server (ACS). The server communicates with the client terminal through a network management protocol, and thus is not limited by the local area network or the network structure. The device information includes: registration information, status information, and type information and IP information of the client terminal. If the registration information is valid registration information, it may be determined that the current status of the corresponding client terminal is an online status. If the registration information is invalid registration information, the current status of the corresponding client terminal is an offline status. The status information also indicates the current status of the client terminal, which includes offline information, upgrade information, or shutdown information, in addition to online information or standby information. When the status information is online information, the current status of the corresponding client terminal is online; when the status information is standby information, the current status of the corresponding client terminal is the standby status. In this embodiment, the server and the client terminal can be mutually agreed, and the server sends a management policy to the client terminal, and when the client terminal executes the management policy, the state information of the change is reported to the server; or, on the client terminal, the user Performing standby, online or shutdown, etc., and the client terminal actively reports the status information of the change to the server; or, if the client terminal initiates registration with the server, and the registration information is valid, the current state of the client terminal is online, at this time, The client terminal also actively reports its status information to the server; or, the client terminal changes from the standby state to the online state during the last remote wake-up process. At this time, the client terminal also actively reports its status information to the client terminal. server. Step S102: When it is confirmed that the network segment where the client terminal in the standby state is located has a client terminal in an online state, send a wake-up command to the client terminal in the online state, so that the client terminal in the online state wakes up the client in the standby state by using a wake-up command. terminal. In this embodiment, the client terminal in the standby state is the client terminal to be woken up. If a client terminal in the online state and a client terminal in the standby state exist in a certain network segment, the client terminal in the standby state can be awake through the client terminal in the online state, that is, the client terminal in the online state is used as a relay to wake up the standby state. Client terminal. In a specific implementation process, the server may send a wake-up command to the client terminal of the online state of a certain network segment, and after receiving the wake-up command, the client terminal in the online state constructs a magic packet according to the wake-up instruction, and performs on the network segment. The broadcaster wakes up the client terminal in the standby state, and the client terminal in the standby state becomes the client terminal in the online state. Compared with the prior art, in this embodiment, the client terminal of each network segment reports its current state, and the server determines whether the current state of the client terminal is online or offline, if online exists in a certain network segment. When the client terminal in the state and the client terminal in the standby state, the server can send a wake-up command to the client terminal in the online state, and the client terminal in the online state wakes up the client terminal in the standby state, and the server and the client terminal in this embodiment pass through the network. Management protocol to communicate, the server does not need to be in the LAN, because Therefore, it is not limited by the local area network or the network structure, and can realize remote wake-up across the network segment. In the scenario where the batch client terminal performs network management uniformly, it is easier to implement management and save network resources than the prior art.
在一优选的实施例中,如图 2所示,在上述图 1的实施例的基础上,上述步骤 S101 包括: 步骤 S1011 , 解析所述设备信息, 得到注册信息和 /或状态信息; 步骤 S1012, 若所述注册信息为注册有效信息, 则确定对应的客户终端的当前状 态为在线状态; 步骤 S1013 , 若所述状态信息为在线信息或待机信息, 则确定对应的客户终端的 当前状态对应为在线状态或待机状态。 其中, 设备信息除了包括注册信息、状态信息之外, 还包括客户终端的类型信息、In a preferred embodiment, as shown in FIG. 2, on the basis of the foregoing embodiment of FIG. 1, the foregoing step S101 includes: Step S1011: parsing the device information to obtain registration information and/or status information; Step S1012 If the registration information is the registration valid information, determining that the current status of the corresponding client terminal is an online state; Step S1013, if the status information is online information or standby information, determining that the current status of the corresponding client terminal corresponds to Online status or standby status. The device information includes, in addition to the registration information and the status information, type information of the client terminal,
IP信息。 其中, 状态信息也表明客户终端的当前状态, 状态信息除了包括在线信息或待机 信息外, 还包括离线信息、 升级信息或者关机信息等。 注册信息为有效注册信息时, 则可以确定与之对应的客户终端的当前状态为在线 状态,若注册信息为无效注册信息,则与之对应的客户终端的当前状态为非在线状态。 状态信息为在线信息时, 对应的客户终端的当前状态为在线状态; 状态信息为待机信 息时, 对应的客户终端的当前状态为待机状态。 IP information. The status information also indicates the current status of the client terminal. The status information includes offline information, upgrade information, or shutdown information, in addition to online information or standby information. When the registration information is valid registration information, it can be determined that the current status of the corresponding client terminal is online. If the registration information is invalid registration information, the current status of the corresponding client terminal is offline. When the status information is online information, the current status of the corresponding client terminal is online; when the status information is standby information, the current status of the corresponding client terminal is the standby status.
在一优选的实施例中, 在上述图 1的实施例的基础上, 本实施例在步骤 101之后 还包括以下步骤: 根据所述客户终端的当前状态定制管理策略, 并将所述管理策略发 送给所述客户终端; 接收所述客户终端执行所述管理策略时上报的状态信息, 并更新 所述客户终端的当前状态。 本实施例中, 由服务器及客户终端两者协定客户终端的状态: 服务器获取所有客 户终端的当前状态后, 服务器根据客户终端的当前状态定制管理策略, 并向客户终端 下发管理策略。 管理策略包括: 参数查询、 参数配置、 待机、 关机、 重启、 日志获取 或文件下载等。 一般来说, 在线状态的客户终端可以支持参数查询或配置, 以及, 待 机、 关机或者重启等操作; 离线状态的客户终端的所有管理策略受限; 待机状态的客 户终端支持远程唤醒策略等。 客户终端执行管理策略时, 将变化的状态信息上报至服 务器, 服务器更新客户终端的当前状态。 In a preferred embodiment, based on the foregoing embodiment of FIG. 1, the embodiment further includes the following steps after step 101: customizing a management policy according to a current state of the client terminal, and sending the management policy Giving the client terminal; receiving status information reported by the client terminal when the management policy is executed, and updating a current state of the client terminal. In this embodiment, the state of the client terminal is agreed between the server and the client terminal. After the server obtains the current state of all the client terminals, the server customizes the management policy according to the current state of the client terminal, and delivers the management policy to the client terminal. Management strategies include: parameter query, parameter configuration, standby, shutdown, restart, log acquisition, or file download. In general, online client terminals can support parameter query or configuration, as well as standby, shutdown, or restart operations; all management policies for offline client terminals are limited; The terminal supports remote wake-up policies and the like. When the client terminal executes the management policy, the changed status information is reported to the server, and the server updates the current status of the client terminal.
如图 3所示, 本发明还提供另一种远程唤醒的方法, 在一实施例中, 该方法包括: 步骤 S201 , 在确认待机状态的客户终端所在的网段存在在线状态的客户终端时, 在线状态的客户终端接收服务器发送的唤醒指令; 本实施例中, 客户终端的当前状态包括在线状态、 离线状态、 升级状态、 待机状 态及关机状态等。 本实施例中,若某一网段中同时存在在线状态的客户终端及待机状态的客户终端, 可以通过在线状态的客户终端来唤醒待机状态的客户终端, 即以在线状态的客户终端 作为中继来唤醒待机状态的客户终端。 服务器可以为一个网段或者多个网段服务, 与现有技术中服务器必须处于局域网 中相比, 本实施例能实现跨网段的远程唤醒, 达到更优化的管理。 在确认待机状态的 客户终端所在的网段存在在线状态的客户终端时, 服务器选定该在线状态的客户终端 为中继客户终端, 并下发唤醒指令, 唤醒指令中包含待机状态的客户终端的 MAC地 址。 步骤 S202, 根据所述唤醒指令构造唤醒数据包; 在线状态的客户终端根据唤醒指令中包含的 MAC地址构造唤醒数据包, 该唤醒 数据包也称为唤醒魔术包, 通过该唤醒魔术包可以将待机状态的客户终端唤醒为在线 状态。 步骤 S203 , 在该在线状态的客户终端所在的网段广播所述唤醒数据包, 以唤醒该 网段中待机状态的客户终端。 在在线状态的客户终端构造唤醒数据包后, 在该在线状态的客户终端所在的网段 广播唤醒数据包, 在线状态的客户终端接收到唤醒数据包后, 自身的网卡响应并执行 唤醒的流程, 重新注册到服务器, 服务器更新其当前状态为在线状态。 As shown in FIG. 3, the present invention further provides another remote wake-up method. In an embodiment, the method includes: Step S201: When it is confirmed that the network segment where the client terminal in the standby state is located has an online terminal client terminal, The client terminal in the online state receives the wake-up command sent by the server. In this embodiment, the current state of the client terminal includes an online state, an offline state, an upgrade state, a standby state, and a shutdown state. In this embodiment, if a client terminal in an online state and a client terminal in a standby state exist in a certain network segment, the client terminal in the standby state can be awake through the client terminal in the online state, that is, the client terminal in the online state is used as a relay. To wake up the client terminal in standby mode. The server can serve one network segment or multiple network segments. Compared with the prior art, the server must be in the local area network. This embodiment can implement remote wake-up across network segments to achieve more optimized management. When the client terminal in the online state where the client terminal in the standby state is located exists, the server selects the client terminal in the online state as the relay client terminal, and issues a wake-up command, and the wake-up command includes the client terminal in the standby state. MAC address. Step S202, constructing a wake-up data packet according to the wake-up instruction; the online terminal client device constructs a wake-up data packet according to the MAC address included in the wake-up instruction, and the wake-up data packet is also called a wake-up magic packet, and the wake-up magic packet can be used to stand by The client terminal in the state wakes up online. Step S203: The wake-up data packet is broadcasted on the network segment where the client terminal in the online state is located to wake up the client terminal in the standby state in the network segment. After the online client terminal constructs the wake-up packet, the wake-up packet is broadcasted on the network segment where the client terminal in the online state is located, and after the online client receives the wake-up packet, the network card responds and performs the wake-up process. Re-registering to the server, the server updates its current state to online.
在一优选的实施例中, 在上述图 3的实施例的基础上, 本实施例还包括: 通过网络管理协议向服务器上报包含所述客户终端的当前状态的设备信息。 其中, 服务器与客户终端之间通过网络管理协议进行通信, 因此, 不受局域网或 者网路结构的限制。 本实施例中, 客户终端在自身状态变化之前或之后将其上报至服务器, 如客户终 端由在线状态变为待机状态时, 则在变为待机状态之前将由在线状态变为待机状态的 状态信息上报至服务器; 或者客户终端由待机状态变为在线状态时, 则在变为在线状 态之后上报。 本实施例中, 在向服务器上报包含所述客户终端的当前状态的设备信息后, 服务 器可根据该信息确定客户终端的当前状态。 In a preferred embodiment, based on the foregoing embodiment of FIG. 3, the embodiment further includes: The device information including the current state of the client terminal is reported to the server through the network management protocol. The server communicates with the client terminal through a network management protocol, and thus is not limited by the local area network or the network structure. In this embodiment, the client terminal reports the state information to the server before or after the state change, for example, when the client terminal changes from the online state to the standby state, and then reports the state information changed from the online state to the standby state before changing to the standby state. When the client terminal changes from the standby state to the online state, it reports to the online state. In this embodiment, after reporting the device information including the current state of the client terminal to the server, the server may determine the current state of the client terminal according to the information.
在一优选的实施例中,在上述图 3的实施例的基础上,本实施例还包括以下步骤: 接收服务器根据所述客户终端的当前状态定制的管理策略; 在所述客户终端执行所述 管理策略时, 将所述客户终端的状态信息上报至服务器。 本实施例中, 由服务器及客户终端两者协定客户终端的状态: 服务器获取所有客 户终端的当前状态后, 服务器根据客户终端的当前状态定制管理策略, 并向客户终端 下发管理策略。 管理策略包括: 参数查询、 参数配置、 待机、 关机、 重启、 日志获取 或文件下载等。 一般来说, 在线状态的客户终端可以支持参数查询或配置, 以及, 待 机、 关机或者重启等操作; 离线状态的客户终端的所有管理策略受限; 待机状态的客 户终端支持远程唤醒等。 In a preferred embodiment, based on the foregoing embodiment of FIG. 3, the embodiment further includes the following steps: receiving a management policy customized by the server according to the current state of the client terminal; performing the When the policy is managed, the status information of the client terminal is reported to the server. In this embodiment, the state of the client terminal is agreed between the server and the client terminal. After the server obtains the current state of all the client terminals, the server customizes the management policy according to the current state of the client terminal, and delivers the management policy to the client terminal. Management policies include: parameter query, parameter configuration, standby, shutdown, restart, log acquisition, or file download. Generally, the online terminal client terminal can support parameter query or configuration, and operations such as standby, shutdown, or restart; all management policies of the client terminal in the offline state are limited; and the client terminal in the standby state supports remote wakeup.
如图 4所示, 本发明提供一种服务器, 在一实施例中, 包括: 确定模块 401, 设置为接收各网段的客户终端上报的设备信息, 根据所述设备信 息确定所述客户终端的当前状态; 本实施例中, 客户终端 ( Customer Premise Equipment, 简称为 CPE)可以处在相 同的网段或者处在不同的网段, 每一网段具有多个客户终端, 服务器可以为一个网段 或者多个网段服务。 其中, 由服务器接收各网段的客户终端上报的设备信息, 服务器 可以为自动配置服务器 ( Automatic configuration server, 简称为 ACS )。 其中, 服务器与客户终端之间通过网络管理协议进行通信, 因此, 不受局域网或 者网路结构的限制。 设备信息包括: 注册信息、 状态信息以及客户终端的类型信息、 IP信息。 其中, 若注册信息为有效注册信息, 则可以确定与之对应的客户终端的当前状态 为在线状态, 若注册信息为无效注册信息, 则与之对应的客户终端的当前状态为非在 线状态。 状态信息也表明客户终端的当前状态, 其除了包括在线信息或待机信息外, 还包 括离线信息、 升级信息或者关机信息等。 状态信息为在线信息时, 对应的客户终端的 当前状态为在线状态; 状态信息为待机信息时, 对应的客户终端的当前状态为待机状 态。 本实施例中,可由服务器及客户终端两者协定,服务器向客户终端下发管理策略, 客户终端执行管理策略时, 将自身变化的状态信息上报至服务器; 或者, 在客户终端 上由用户对其执行待机、 在线或关机等, 同时客户终端主动将自身变化的状态信息上 报至服务器; 或者, 若客户终端向服务器发起注册, 且注册信息有效时, 客户终端的 当前状态为在线状态, 此时, 客户终端也主动将自身的状态信息上报至服务器; 或者, 客户终端在上一轮的远程唤醒过程中, 其由待机状态变为在线状态, 此时, 客户终端 也主动将自身的状态信息上报至服务器。 唤醒模块 402, 设置为在确认待机状态的客户终端所在的网段存在在线状态的客 户终端时, 发送唤醒指令至该在线状态的客户终端, 以由该在线状态的客户终端通过 唤醒指令来唤醒待机状态的客户终端。 本实施例中, 待机状态的客户终端即为待唤醒的客户终端。 若某一网段中同时存 在在线状态的客户终端及待机状态的客户终端, 可以通过在线状态的客户终端来唤醒 待机状态的客户终端,即以在线状态的客户终端作为中继来唤醒待机状态的客户终端。 在具体实施过程中, 可以由服务器向某一网段的在线状态的客户终端发送唤醒指令, 在线状态的客户终端接收到唤醒指令后, 根据该唤醒指令构造魔术包, 并在该网段上 进行广播, 从而唤醒待机状态的客户终端, 待机状态的客户终端成为在线状态的客户 终端。 As shown in FIG. 4, the present invention provides a server. In an embodiment, the method includes: a determining module 401, configured to receive device information reported by a client terminal of each network segment, and determine, according to the device information, the client terminal. In the present embodiment, the customer premise equipment (CPE) may be on the same network segment or on different network segments. Each network segment has multiple client terminals, and the server may be a network segment. Or multiple network segment services. The server receives the device information reported by the client terminal of each network segment, and the server may be an automatic configuration server (ACS). The server communicates with the client terminal through a network management protocol, and thus is not limited by the local area network or the network structure. The device information includes: registration information, status information, and type information and IP information of the client terminal. If the registration information is valid registration information, it may be determined that the current status of the corresponding client terminal is an online status. If the registration information is invalid registration information, the current status of the corresponding client terminal is an offline status. The status information also indicates the current status of the client terminal, which includes offline information, upgrade information, or shutdown information, in addition to online information or standby information. When the status information is online information, the current status of the corresponding client terminal is online; when the status information is standby information, the current status of the corresponding client terminal is the standby status. In this embodiment, the server and the client terminal can be mutually agreed, and the server sends a management policy to the client terminal, and when the client terminal executes the management policy, the state information of the change is reported to the server; or, on the client terminal, the user Performing standby, online or shutdown, etc., and the client terminal actively reports the status information of the change to the server; or, if the client terminal initiates registration with the server, and the registration information is valid, the current state of the client terminal is online, at this time, The client terminal also actively reports its status information to the server; or, the client terminal changes from the standby state to the online state during the last remote wake-up process. At this time, the client terminal also actively reports its status information to the client terminal. server. The wake-up module 402 is configured to send a wake-up command to the client terminal in the online state when the client terminal in the online state where the client terminal in the standby state is located is present, so that the client terminal in the online state wakes up by using the wake-up command. The status of the client terminal. In this embodiment, the client terminal in the standby state is the client terminal to be woken up. If a client terminal in the online state and a client terminal in the standby state exist in a certain network segment, the client terminal in the standby state can be awake through the client terminal in the online state, that is, the client terminal in the online state is used as a relay to wake up the standby state. Client terminal. In a specific implementation process, the server may send a wake-up command to the client terminal of the online state of a certain network segment, and after receiving the wake-up command, the client terminal in the online state constructs a magic packet according to the wake-up instruction, and performs on the network segment. The broadcaster wakes up the client terminal in the standby state, and the client terminal in the standby state becomes the client terminal in the online state.
在一优选的实施例中,如图 5所示,在上述图 4的实施例的基础上,确定模块 401 包括: 解析单元 4011, 设置为解析所述设备信息, 得到注册信息和 /或状态信息; 第一确定单元 4012, 设置为若所述注册信息为注册有效信息, 则确定对应的客户 终端的当前状态为在线状态; 第二确定单元 4013, 设置为若所述状态信息为在线信息或待机信息, 则确定对应 的客户终端的当前状态对应为在线状态或待机状态。 其中, 设备信息除了包括注册信息、状态信息之外, 还包括客户终端的类型信息、 IP信息。 其中, 状态信息也表明客户终端的当前状态, 状态信息除了包括在线信息或待机 信息外, 还包括离线信息、 升级信息或者关机信息等。 注册信息为有效注册信息时, 则可以确定与之对应的客户终端的当前状态为在线 状态,若注册信息为无效注册信息,则与之对应的客户终端的当前状态为非在线状态。 状态信息为在线信息时, 对应的客户终端的当前状态为在线状态; 状态信息为待机信 息时, 对应的客户终端的当前状态为待机状态。 In a preferred embodiment, as shown in FIG. 5, on the basis of the foregoing embodiment of FIG. 4, the determining module 401 includes: The parsing unit 4011 is configured to parse the device information to obtain registration information and/or status information. The first determining unit 4012 is configured to determine that the current status of the corresponding client terminal is online if the registration information is registration valid information. The second determining unit 4013 is configured to determine that the current state of the corresponding client terminal corresponds to an online state or a standby state, if the state information is online information or standby information. The device information includes, in addition to the registration information and the status information, type information and IP information of the client terminal. The status information also indicates the current status of the client terminal. The status information includes offline information, upgrade information, or shutdown information, in addition to online information or standby information. When the registration information is valid registration information, it may be determined that the current status of the corresponding client terminal is online. If the registration information is invalid registration information, the current status of the corresponding client terminal is offline. When the status information is online information, the current status of the corresponding client terminal is online; when the status information is standby information, the current status of the corresponding client terminal is the standby status.
在一优选的实施例中, 在上述图 4的实施例的基础上, 服务器还包括: 定制模块, 设置为根据所述客户终端的当前状态定制管理策略, 并将所述管理策略发送给所述客 户终端; 更新模块, 设置为接收所述客户终端执行所述管理策略时上报的状态信息, 并更新所述客户终端的当前状态。 本实施例中, 由服务器及客户终端两者协定客户终端的状态: 服务器获取所有客 户终端的当前状态后, 服务器根据客户终端的当前状态定制管理策略, 并向客户终端 下发管理策略。 管理策略包括: 参数查询、 参数配置、 待机、 关机、 重启、 日志获取 或文件下载等。 一般来说, 在线状态的客户终端可以支持参数查询或配置, 以及, 待 机、 关机或者重启等操作; 离线状态的客户终端的所有管理策略受限; 待机状态的客 户终端支持远程唤醒策略等。 客户终端执行管理策略时, 将变化的状态信息上报至服 务器, 服务器更新客户终端的当前状态。 In a preferred embodiment, based on the foregoing embodiment of FIG. 4, the server further includes: a customization module, configured to customize a management policy according to a current state of the client terminal, and send the management policy to the a client terminal, configured to receive status information reported by the client terminal when the management policy is executed, and update a current state of the client terminal. In this embodiment, the state of the client terminal is agreed between the server and the client terminal. After the server obtains the current state of all the client terminals, the server customizes the management policy according to the current state of the client terminal, and delivers the management policy to the client terminal. Management policies include: parameter query, parameter configuration, standby, shutdown, restart, log acquisition, or file download. Generally, the online terminal client terminal can support parameter query or configuration, and operations such as standby, shutdown, or restart; all management policies of the client terminal in the offline state are limited; and the client terminal in the standby state supports the remote wakeup policy. When the client terminal executes the management policy, the changed status information is reported to the server, and the server updates the current status of the client terminal.
如图 6所示, 本发明还提供一种客户终端, 在一实施例中, 客户终端包括: 第一接收模块 601, 设置为在确认待机状态的客户终端所在的网段存在在线状态 的客户终端时, 在线状态的客户终端接收服务器发送的唤醒指令; 本实施例中, 客户终端的当前状态包括在线状态、 离线状态、 升级状态、 待机状 态及关机状态等。 本实施例中,若某一网段中同时存在在线状态的客户终端及待机状态的客户终端, 可以通过在线状态的客户终端来唤醒待机状态的客户终端, 即以在线状态的客户终端 作为中继来唤醒待机状态的客户终端。 服务器可以为一个网段或者多个网段服务, 与现有技术中服务器必须处于局域网 中相比, 本实施例能实现跨网段的远程唤醒, 达到更优化的管理。 在确认待机状态的 客户终端所在的网段存在在线状态的客户终端时, 服务器选定该在线状态的客户终端 为中继客户终端, 并下发唤醒指令, 唤醒指令中包含待机状态的客户终端的 MAC地 址。 构造模块 602, 设置为根据所述唤醒指令构造唤醒数据包; 在线状态的客户终端根据唤醒指令中包含的 MAC地址构造唤醒数据包, 该唤醒 数据包也称为唤醒魔术包, 通过该唤醒魔术包可以将待机状态的客户终端唤醒为在线 状态。 广播模块 603, 设置为在该在线状态的客户终端所在的网段广播所述唤醒数据包, 以唤醒该网段中待机状态的客户终端。 在在线状态的客户终端构造唤醒数据包后, 在该在线状态的客户终端所在的网段 广播唤醒数据包, 在线状态的客户终端接收到唤醒数据包后, 自身的网卡响应并执行 唤醒的流程, 重新注册到服务器, 服务器更新其当前状态为在线状态。 As shown in FIG. 6, the present invention further provides a client terminal. In an embodiment, the client terminal includes: The first receiving module 601 is configured to receive, when the network segment where the client terminal in the standby state is located, the client terminal in the online state, the client terminal in the online state receives the wake-up command sent by the server. In this embodiment, the current state of the client terminal includes Online status, offline status, upgrade status, standby status, and shutdown status. In this embodiment, if a client terminal in an online state and a client terminal in a standby state exist in a certain network segment, the client terminal in the standby state can be awake through the client terminal in the online state, that is, the client terminal in the online state is used as a relay. To wake up the client terminal in standby mode. The server can serve one network segment or multiple network segments. Compared with the prior art, the server must be in the local area network. This embodiment can implement remote wake-up across network segments to achieve more optimized management. When the client terminal in the online state where the client terminal in the standby state is located exists, the server selects the client terminal in the online state as the relay client terminal, and issues a wake-up command, and the wake-up command includes the client terminal in the standby state. MAC address. The constructing module 602 is configured to construct a wake-up data packet according to the wake-up instruction; the online terminal client constructs a wake-up data packet according to the MAC address included in the wake-up instruction, and the wake-up data packet is also called a wake-up magic packet, and the wake-up magic packet is used The client terminal in the standby state can be woken up to an online state. The broadcast module 603 is configured to broadcast the wake-up data packet in a network segment where the client terminal in the online state is located to wake up the client terminal in the standby state in the network segment. After the online client terminal constructs the wake-up packet, the wake-up packet is broadcasted on the network segment where the client terminal in the online state is located, and after the online client receives the wake-up packet, the network card responds and performs the wake-up process. Re-registering to the server, the server updates its current state to online.
在一优选的实施例中, 在上述图 6的实施例的基础上, 还包括: 第二上报模块, 设置为通过网络管理协议向服务器上报包含所述客户终端的当前 状态的设备信息。 其中, 服务器与客户终端之间通过网络管理协议进行通信, 因此, 不受局域网或 者网路结构的限制。 本实施例中, 客户终端在自身状态变化之前或之后将其上报至服务器, 如客户终 端由在线状态变为待机状态时, 则在变为待机状态之前将由在线状态变为待机状态的 状态信息上报至服务器; 或者客户终端由待机状态变为在线状态时, 则在变为在线状 态之后上报。 本实施例中, 在向服务器上报包含所述客户终端的当前状态的设备信息后, 服务 器可根据该信息确定客户终端的当前状态。 In a preferred embodiment, based on the foregoing embodiment of FIG. 6, the method further includes: a second reporting module, configured to report, by using a network management protocol, device information that includes a current state of the client terminal to the server. The server communicates with the client terminal through a network management protocol, and thus is not limited by the local area network or the network structure. In this embodiment, the client terminal reports the state information to the server before or after the state change, for example, when the client terminal changes from the online state to the standby state, and then reports the state information changed from the online state to the standby state before changing to the standby state. When the client terminal changes from the standby state to the online state, it reports to the online state. In this embodiment, after reporting the device information including the current state of the client terminal to the server, the server may determine the current state of the client terminal according to the information.
在一优选的实施例中, 在上述图 6的实施例的基础上, 还包括: 第二接收模块, 设置为接收服务器根据所述客户终端的当前状态定制的管理策略; 第一上报模块, 设 置为在所述客户终端执行所述管理策略时,将所述客户终端的状态信息上报至服务器。 本实施例中, 由服务器及客户终端两者协定客户终端的状态: 服务器获取所有客 户终端的当前状态后, 服务器根据客户终端的当前状态定制管理策略, 并向客户终端 下发管理策略。 管理策略包括: 参数查询、 参数配置、 待机、 关机、 重启、 日志获取 或文件下载等。 一般来说, 在线状态的客户终端可以支持参数查询或配置, 以及, 待 机、 关机或者重启等操作; 离线状态的客户终端的所有管理策略受限; 待机状态的客 户终端支持远程唤醒等。 In a preferred embodiment, based on the foregoing embodiment of FIG. 6, the method further includes: a second receiving module, configured to receive, by the server, a management policy customized according to a current state of the client terminal; a first reporting module, setting When the management policy is executed on the client terminal, the status information of the client terminal is reported to the server. In this embodiment, the state of the client terminal is agreed between the server and the client terminal. After the server obtains the current state of all the client terminals, the server customizes the management policy according to the current state of the client terminal, and delivers the management policy to the client terminal. Management policies include: parameter query, parameter configuration, standby, shutdown, restart, log acquisition, or file download. Generally, the online terminal client terminal can support parameter query or configuration, and operations such as standby, shutdown, or restart; all management policies of the client terminal in the offline state are limited; and the client terminal in the standby state supports remote wakeup.
通过上面的描述可以看出, 本发明的一种远程唤醒的方法、 服务器及客户终端, 由各个网段的客户终端上报自身的当前状态, 由服务器来确定客户终端当前的状态是 处于在线状态还是处于离线状态, 若某一网段中同时存在在线状态的客户终端及待机 状态的客户终端时, 可以通过服务器给在线状态的客户终端发送唤醒指令, 由在线状 态的客户终端唤醒待机状态的客户终端, 本发明的服务器与客户终端之间通过网络管 理协议进行通信, 服务器不需要处在局域网中, 因此, 不受局域网或者网路结构的限 制, 可以实现跨网段远程唤醒; 在批量客户终端统一进行网络管理的情景中, 相对于 现有技术而言更容易实现管理, 节约网络资源。 It can be seen from the above description that the method, the server and the client terminal of the remote wake-up method of the present invention report the current state of the client terminal of each network segment, and the server determines whether the current state of the client terminal is online or In the offline state, if there is a client terminal in the online state and a client terminal in the standby state in a certain network segment, the server can send a wake-up command to the client terminal in the online state, and the client terminal in the online state wakes up the client terminal in the standby state. The server of the present invention communicates with the client terminal through a network management protocol, and the server does not need to be in the local area network. Therefore, it is not limited by the local area network or the network structure, and can realize remote wake-up across the network segment; In the scenario of network management, it is easier to implement management than the prior art, and save network resources.
以上仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发 明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用在其他相关 的技术领域, 均同理包括在本发明的专利保护范围内。 工业实用性 如上所述, 本发明实施例提供的一种远程唤醒的方法、 服务器及客户终端具有以 下有益效果: 由各个网段的客户终端上报自身的当前状态, 由服务器来确定客户终端 当前的状态是处于在线状态还是处于离线状态, 若某一网段中同时存在在线状态的客 户终端及待机状态的客户终端时, 可以通过服务器给在线状态的客户终端发送唤醒指 令, 由在线状态的客户终端唤醒待机状态的客户终端, 本发明的服务器与客户终端之 间通过网络管理协议进行通信, 服务器不需要处在局域网中, 因此, 不受局域网或者 网路结构的限制, 可以实现跨网段远程唤醒; 在批量客户终端统一进行网络管理的情 景中, 相对于现有技术而言更容易实现管理, 节约网络资源。 The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are used directly or indirectly in other related technical fields. The same is included in the scope of patent protection of the present invention. Industrial Applicability As described above, a remote wake-up method, server, and client terminal provided by the embodiments of the present invention have the following beneficial effects: The client terminal of each network segment reports its current state, and the server determines the current client terminal. If the status is online or offline, if there is a client terminal in the online state and a client terminal in the standby state, the server can send a wake-up command to the client terminal in the online state, and the client terminal in the online state The client terminal in the standby state is awake, and the server and the client terminal communicate with each other through a network management protocol, and the server does not need to be in the local area network. Therefore, the remote server can be remotely awake from the network segment without being restricted by the local area network or the network structure. In the scenario where the batch client terminal performs network management uniformly, it is easier to implement management than the prior art, and save network resources.

Claims

权 利 要 求 书 、 一种远程唤醒的方法, 包括以下步骤: 接收各网段的客户终端上报的设备信息, 根据所述设备信息确定所述客户 终端的当前状态; The method for claiming a remote wake-up method includes the following steps: receiving device information reported by a client terminal of each network segment, and determining a current state of the client terminal according to the device information;
在确认待机状态的所述客户终端所在的网段存在在线状态的客户终端时, 发送唤醒指令至该在线状态的客户终端, 以由该在线状态的客户终端通过所述 唤醒指令来唤醒待机状态的客户终端。 、 如权利要求 1所述的方法,其中,所述接收各网段的客户终端上报的设备信息, 根据所述设备信息确定所述客户终端的当前状态的步骤包括:  Sending a wake-up command to the client terminal in the online state when the network segment where the client terminal in the standby state is located has an online terminal, so that the client terminal in the online state wakes up the standby state by using the wake-up command. Client terminal. The method of claim 1, wherein the step of receiving the device information reported by the client terminal of each network segment, and determining the current state of the client terminal according to the device information comprises:
解析所述设备信息, 得到注册信息和 /或状态信息;  Parsing the device information to obtain registration information and/or status information;
若所述注册信息为注册有效信息, 则确定对应的客户终端的当前状态为在 线状态; 若所述状态信息为在线信息或待机信息, 则确定对应的客户终端的当前状 态对应为在线状态或待机状态。 、 如权利要求 2所述的方法, 其中, 还包括: 根据所述客户终端的当前状态定制管理策略, 并将所述管理策略发送给所 述客户终端;  If the registration information is the registration valid information, determining that the current state of the corresponding client terminal is an online state; if the status information is online information or standby information, determining that the current state of the corresponding client terminal corresponds to an online state or standby status. The method of claim 2, further comprising: customizing a management policy according to a current state of the client terminal, and transmitting the management policy to the client terminal;
接收所述客户终端执行所述管理策略时上报的状态信息, 并更新所述客户 终端的当前状态。 、 一种远程唤醒的方法, 包括以下步骤: 在确认待机状态的客户终端所在的网段存在在线状态的客户终端时, 在线 状态的客户终端接收服务器发送的唤醒指令;  Receiving status information reported by the client terminal when the management policy is executed, and updating a current status of the client terminal. The method for remotely waking up includes the following steps: when the client terminal in the online state where the client terminal in the standby state is located has an online terminal, the client terminal in the online state receives the wakeup command sent by the server;
根据所述唤醒指令构造唤醒数据包;  Constructing a wakeup data packet according to the wakeup instruction;
在该在线状态的客户终端所在的网段广播所述唤醒数据包, 以唤醒该网段 中待机状态的客户终端。 、 如权利要求 4所述的方法, 其中, 还包括: 通过网络管理协议向所述服务器上报包含所述客户终端的当前状态的设备 信息。 、 如权利要求 5所述的方法, 其中, 还包括: 接收所述服务器根据所述客户终端的当前状态定制的管理策略; 在所述客户终端执行所述管理策略时, 将所述客户终端的状态信息上报至 所述服务器。 、 一种服务器, 包括: 确定模块, 设置为接收各网段的客户终端上报的设备信息, 根据所述设备 信息确定所述客户终端的当前状态; 唤醒模块, 设置为在确认待机状态的客户终端所在的网段存在在线状态的 客户终端时, 发送唤醒指令至该在线状态的客户终端, 以由该在线状态的客户 终端通过所述唤醒指令来唤醒待机状态的客户终端。 、 如权利要求 7所述的服务器, 其中, 所述确定模块包括: The wake-up packet is broadcasted on the network segment where the client terminal in the online state is located to wake up the client terminal in the standby state in the network segment. The method of claim 4, further comprising: The device information including the current state of the client terminal is reported to the server through a network management protocol. The method of claim 5, further comprising: receiving a management policy customized by the server according to a current state of the client terminal; when the client terminal executes the management policy, Status information is reported to the server. And a server, comprising: a determining module, configured to receive device information reported by the client terminal of each network segment, determining a current state of the client terminal according to the device information; and a wake-up module, being set as a client terminal in confirming a standby state When the network segment where the network segment is located exists, the wake-up command is sent to the client terminal in the online state, so that the client terminal in the online state wakes up the client terminal in the standby state by using the wake-up command. The server according to claim 7, wherein the determining module comprises:
解析单元, 设置为解析所述设备信息, 得到注册信息和 /或状态信息; 第一确定单元, 设置为若所述注册信息为注册有效信息, 则确定对应的客 户终端的当前状态为在线状态;  The parsing unit is configured to parse the device information to obtain registration information and/or status information. The first determining unit is configured to: if the registration information is the registration valid information, determine that the current state of the corresponding client terminal is an online state;
第二确定单元, 设置为若所述状态信息为在线信息或待机信息, 则确定对 应的客户终端的当前状态对应为在线状态或待机状态。 、 如权利要求 8所述的服务器, 其中, 还包括: 定制模块, 设置为根据所述客户终端的当前状态定制管理策略, 并将所述 管理策略发送给所述客户终端;  The second determining unit is configured to determine that the current state of the corresponding client terminal corresponds to an online state or a standby state if the state information is online information or standby information. The server according to claim 8, further comprising: a customization module, configured to customize a management policy according to a current state of the client terminal, and send the management policy to the client terminal;
更新模块,设置为接收所述客户终端执行所述管理策略时上报的状态信息, 并更新所述客户终端的当前状态。 0、 一种客户终端, 包括: 第一接收模块, 设置为在确认待机状态的客户终端所在的网段存在在线状 态的客户终端时, 在线状态的客户终端接收服务器发送的唤醒指令; 构造模块, 设置为根据所述唤醒指令构造唤醒数据包; 广播模块, 设置为在该在线状态的客户终端所在的网段广播所述唤醒数据 包, 以唤醒该网段中待机状态的客户终端。 、 如权利要求 10所述的客户终端, 其中, 还包括: 第二上报模块, 设置为通过网络管理协议向所述服务器上报包含所述客户 终端的当前状态的设备信息。 、 如权利要求 11所述的客户终端, 其中, 还包括: 第二接收模块, 设置为接收所述服务器根据所述客户终端的当前状态定制 的管理策略; 第一上报模块, 设置为在所述客户终端执行所述管理策略时, 将所述客户 终端的状态信息上报至所述服务器。 And an update module, configured to receive status information reported by the client terminal when the management policy is executed, and update a current status of the client terminal. 0. A client terminal, comprising: a first receiving module, configured to receive a wake-up command sent by a server when the network segment where the network terminal where the client terminal in the standby state is located has an online terminal; Set to construct a wake-up data packet according to the wake-up instruction; The broadcast module is configured to broadcast the wake-up data packet in a network segment where the client terminal in the online state is located to wake up the client terminal in the standby state in the network segment. The client terminal according to claim 10, further comprising: a second reporting module, configured to report, by the network management protocol, device information including a current state of the client terminal to the server. The client terminal according to claim 11, further comprising: a second receiving module, configured to receive a management policy customized by the server according to a current state of the client terminal; a first reporting module, configured to be in the When the client terminal executes the management policy, the status information of the client terminal is reported to the server.
PCT/CN2014/082759 2014-05-28 2014-07-22 Wake-on-lan method, server, and client WO2015180251A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410231314.2A CN105281919A (en) 2014-05-28 2014-05-28 Remote wakening method, server and client terminal
CN201410231314.2 2014-05-28

Publications (1)

Publication Number Publication Date
WO2015180251A1 true WO2015180251A1 (en) 2015-12-03

Family

ID=54697969

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/082759 WO2015180251A1 (en) 2014-05-28 2014-07-22 Wake-on-lan method, server, and client

Country Status (2)

Country Link
CN (1) CN105281919A (en)
WO (1) WO2015180251A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375476A (en) * 2016-10-17 2017-02-01 上海斐讯数据通信技术有限公司 Method and system for remote startup and shutdown
CN108322491A (en) * 2017-01-17 2018-07-24 研祥智能科技股份有限公司 Wake-up on LAN method and apparatus
CN109117194B (en) * 2018-07-20 2021-03-26 广东微云科技股份有限公司 Cross-network-segment remote awakening method and system
CN112601270A (en) * 2020-11-19 2021-04-02 广东沃科融合通讯有限公司 Terminal wake-up control method and device, electronic equipment and storage medium
CN113271356A (en) * 2021-05-17 2021-08-17 杭州雾联科技有限公司 Remote awakening method, system and storage medium for terminal equipment
CN114531452B (en) * 2022-01-27 2024-03-08 中汽创智科技有限公司 Data acquisition method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232400A (en) * 2008-02-25 2008-07-30 浪潮电子信息产业股份有限公司 Method for allocating operating system through network guide
CN101540687A (en) * 2009-05-06 2009-09-23 圆刚科技股份有限公司 Remote wake up method, host computers capable of being waken up remotely and wakeup management server
CN102761465A (en) * 2011-04-26 2012-10-31 瑞昱半导体股份有限公司 Network system with remote wake-up mechanism and remote wake-up method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7447927B2 (en) * 2005-08-23 2008-11-04 Apple Inc. Method and apparatus for waking up a sleeping system
US20090210519A1 (en) * 2008-02-18 2009-08-20 Microsoft Corporation Efficient and transparent remote wakeup
FR2986125A1 (en) * 2012-01-20 2013-07-26 France Telecom REMOTE ALARM FOR EQUIPMENT CONNECTED TO A MULTI-LINK NETWORK
CN102710427A (en) * 2012-07-10 2012-10-03 上海贝锐信息科技有限公司 Remote startup system and method
CN103414575A (en) * 2013-08-01 2013-11-27 广州杰赛科技股份有限公司 Method, system and device for network wakeup
CN103618759A (en) * 2013-10-31 2014-03-05 上海交通大学 Cloud service-based remote desktop computer wake-up method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232400A (en) * 2008-02-25 2008-07-30 浪潮电子信息产业股份有限公司 Method for allocating operating system through network guide
CN101540687A (en) * 2009-05-06 2009-09-23 圆刚科技股份有限公司 Remote wake up method, host computers capable of being waken up remotely and wakeup management server
CN102761465A (en) * 2011-04-26 2012-10-31 瑞昱半导体股份有限公司 Network system with remote wake-up mechanism and remote wake-up method

Also Published As

Publication number Publication date
CN105281919A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
AU2021277736B2 (en) Pdu type setting method, ue policy setting method, and related entity
WO2015180251A1 (en) Wake-on-lan method, server, and client
EP2978144B1 (en) Unified device management method and system
EP2712118B1 (en) Method and system for managing devices in batches
WO2016197866A1 (en) Network wake-up method, remote server, and network switching device
WO2020135355A1 (en) Wireless network configuration method and device
CN105049502B (en) The method and apparatus that device software updates in a kind of cloud network management system
WO2007115488A1 (en) Device parameters configuring method, system and device in digital subscriber line access network
WO2011137793A1 (en) Method, apparatus and network system for achieving remote update of zigbee devices
US9288269B2 (en) Network presence offload
US11658870B2 (en) Method and apparatus for restoring network device to factory defaults, and network device
EP2640002B1 (en) Method, apparatus and system for configuring device
CN101383746A (en) Access control method and system for wireless network
EP3713246A1 (en) Multimedia processing apparatus, multimedia processing server, and methods applied thereto
JP3944030B2 (en) Network device control apparatus, network device control method, and program for implementing the control method
WO2023098055A1 (en) Low-power-consumption mode starting method and apparatus, storage medium, and electronic apparatus
US20170093624A1 (en) Router Connectivity for Client Devices
CN111066374A (en) Device management
WO2010127591A1 (en) Information synchronization implementation method and system based on synchronization standard protocol
CN105491622B (en) The methods, devices and systems of wireless network parameter configuration
CN108966229A (en) A kind of method and terminal logging in wireless router
JP2013240946A (en) Updating apparatus, updating method, and program
KR101270791B1 (en) Method for Activating User Service of User Terminal based on State Information
WO2012174987A1 (en) Terminal management method and device
CN115865326A (en) Password resetting method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14893224

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14893224

Country of ref document: EP

Kind code of ref document: A1