WO2017181941A1 - Cloud terminal wake-up method, network management server, and cloud communication system - Google Patents

Cloud terminal wake-up method, network management server, and cloud communication system Download PDF

Info

Publication number
WO2017181941A1
WO2017181941A1 PCT/CN2017/080924 CN2017080924W WO2017181941A1 WO 2017181941 A1 WO2017181941 A1 WO 2017181941A1 CN 2017080924 W CN2017080924 W CN 2017080924W WO 2017181941 A1 WO2017181941 A1 WO 2017181941A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
cloud
management server
cloud terminal
network management
Prior art date
Application number
PCT/CN2017/080924
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 WO2017181941A1 publication Critical patent/WO2017181941A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof

Definitions

  • the present invention relates to the field of communications, and in particular, to a cloud terminal wake-up method, a network management server, and a cloud communication system.
  • Cloud terminal products can be used not only in the desktop cloud, but also in the basic office of the communications industry, government and enterprise industries, and financial industry. Enterprises need to perform daily power management on large-scale cloud terminals. How to wake up large-scale cloud terminals is a problem that needs to be solved in daily management of cloud terminals.
  • the power wake-up method for cloud terminals is mainly implemented by WOL (Wake-on-LAN) technology.
  • WOL Wike-on-LAN
  • the implementation of WOL is mainly to send a special format data packet to the target host. It is a MagicPacket software produced by AMD to generate a special data packet required for network wake-up, commonly known as Magic Packet.
  • Magic Packet Through remote wake-up, it is convenient to manage the software to realize the automatic opening of the computer.
  • the terminal to be awakened needs to have the following conditions:
  • the motherboard and network card of the target host support WOL function.
  • the target host When the target host is in the off state, it needs to be plugged in, that is, the motherboard and network card of the computer are powered on, in order to monitor the "wake-up packet" of the network.
  • the management software needs to record the Media Access Control (MAC) address (physical address) of the wake-up host NIC, so that the host can be woken up by the corresponding method.
  • MAC Media Access Control
  • the management software can wake up any one of the terminals, but in the application scenario where the large-scale cloud terminals are distributed on different network segments, when the management software server is not on the same network segment as the wake-up terminal, Need to set magic packet routing information on the router, magic package In order to reach the target terminal.
  • the management software server is not on the same network segment as the wake-up terminal, Need to set magic packet routing information on the router, magic package In order to reach the target terminal.
  • the configuration information of the original routing of the enterprise some routes or even the core routing of the enterprise. Because the routing configuration changes will bring a lot of security problems and unnecessary troubles to the enterprise.
  • the workload of changing the routing settings for thousands of cloud terminals is huge, not only easy to make mistakes, but also a lot of manpower and material costs.
  • the embodiment of the invention provides a cloud terminal wake-up method, a network management server, and a cloud communication system.
  • the existing cloud terminal for the cross-network segment needs to be implemented by changing the route to wake up the data packet to wake up the cloud terminal. The problem.
  • an embodiment of the present invention provides a cloud terminal wakeup method, including:
  • the network management server receives the wake-up data packet that includes the cloud terminal to be woken up;
  • the network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs.
  • the method before the network management server receives the wake-up data packet that includes the cloud terminal to be woken, the method further includes:
  • the network management server receives the proxy setting message, and the proxy setup message includes a proxy sending terminal set for each cloud segment of each network segment in each network segment.
  • the proxy sending terminal in each network segment is:
  • the proxy sending terminal is the network management server
  • the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
  • the network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to:
  • the network management server determines whether the cloud terminal to be awakened is in the same network segment as itself, and if yes, directly sends the wake-up data packet to the cloud terminal to be awakened;
  • the proxy sending terminal that notifies the network segment to which the cloud terminal belongs to be sent sends the wake-up data packet to the to-be-awake cloud terminal.
  • the network management server determines whether the cloud terminal to be awakened is in the same network segment as itself:
  • the network management server determines, according to the IP address of the mobile terminal and the IP address of the cloud terminal to be awakened, whether the cloud terminal to be awake is in the same network segment as itself;
  • the network management server determines whether the to-be-awake cloud terminal is in the same network segment as the self-subnet IP and the subnet IP of the to-be-awake cloud terminal.
  • the embodiment of the present invention further provides a network management server, including:
  • the processing module is configured to send the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs after receiving the wake-up data of the cloud terminal to be awakened.
  • the network management server further includes:
  • the proxy setting module is configured to receive a proxy setup message, where the proxy setup message includes a proxy sending terminal set for the cloud terminal of each network segment in the network segment respectively.
  • the proxy sending terminal in each network segment is:
  • the proxy sending terminal is the network management server
  • the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
  • the processing module sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to:
  • the processing module determines whether the to-be-awake cloud terminal and the network management server are in the same network segment, and if yes, directly send the wake-up data packet to the to-be-awake cloud terminal;
  • the proxy sending terminal that notifies the network segment to which the cloud terminal belongs to be sent sends the wake-up data packet to the to-be-awake cloud terminal.
  • the processing module determines whether the cloud terminal to be awakened is in the same network segment as itself:
  • the processing module determines, according to the IP address of the network management server and the IP address of the cloud terminal to be awakened, whether the to-be-awake cloud terminal and the network management server are in the same network segment;
  • the processing module determines, according to the subnet IP of the network management server and the subnet IP of the to-be-awake cloud terminal, whether the to-be-awake cloud terminal and the network management server are in the same network segment.
  • the embodiment of the present invention further provides a cloud communication system, including a network management server and cloud terminals respectively in different network segments;
  • the proxy sending terminal of the network segment to which the cloud terminal belongs to be sent sends the wake-up data packet to the to-be-awake cloud terminal.
  • the network management server is further configured to receive a proxy setting message, where the proxy setup message includes a proxy sending terminal set for each cloud segment of each network segment in each network segment.
  • the proxy sending terminal in each network segment is:
  • the proxy sending terminal is the network management server
  • the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
  • a storage medium comprising a stored program, wherein the program is executed to perform the method of any of the above.
  • a processor for running a program wherein the program is executed to perform the method of any of the above.
  • the cloud terminal wake-up method, the network management server, and the cloud communication system provided by the embodiment of the present invention, after receiving the wake-up data packet including the cloud terminal to be awakened, the network management server can directly pass each network segment.
  • the proxy sending terminal sends the wake-up data packet to the cloud terminal to be woken up. Therefore, it is not necessary to change the routing configuration information of tens of thousands of cloud terminals in each network segment, and only one proxy sending terminal needs to be set in each network segment, that is, it does not involve causing the user to change the routing configuration information.
  • a kind of security risk and other troubles can avoid the problem of error-prone when changing a large amount of routing configuration information, saving manpower, physical cost, and improving wake-up efficiency and user experience.
  • FIG. 1 is a schematic diagram of a network across network segments according to a first embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for waking up a cloud terminal according to a first embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a cloud communication system according to a second embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a network management server according to a second embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a wakeup process of a cloud terminal according to a second embodiment of the present invention.
  • the invention provides a proxy sending terminal for the cloud terminals in each network segment on the network management server; after receiving the wake-up data packet, the network management server can send a wake-up to the corresponding cloud terminal through the proxy sending terminal of the network segment where the cloud terminal is to be awakened. data pack.
  • This method effectively avoids the security problems caused by routing settings in the wake-up of power supply across the network segment, and improves the efficiency of power-on wakeup.
  • FIG. 1 shows a cross-network network diagram.
  • One or more cloud terminals may exist in different network segments under the network management server.
  • the existing network management server sends wake-up packets for the cloud terminals across the network segment, you need to set routing information on the routers for the cloud terminals in different network segments. This may cause potential security risks for users and cost a lot of manpower and resources. Awaken efficiency.
  • the embodiment provides a method for waking up a cloud terminal, as shown in FIG. 2, including:
  • the network management server receives the wake-up data packet that includes the cloud terminal to be woken up.
  • the cloud terminal to be awakened included in the wake-up data packet herein refers to unique identification information including a cloud terminal to be awakened, such as a unique identification information such as a MAC address.
  • the network management server sends a wake-up data packet to the to-be-awake cloud terminal by using a proxy sending terminal of the network segment to which the cloud terminal belongs.
  • the method further includes: the network management server receiving the proxy setting message, where the proxy setup message includes the cloud terminal set for each network segment in each network segment.
  • the proxy sends the terminal.
  • the proxy sending terminal of each network segment is set on the network management server, so that the network management server searches for the corresponding proxy sending terminal when the proxy sending terminal needs to be called.
  • the proxy sending terminal included in the proxy setting message refers to the unique identification information including the transmitting terminal of each proxy, and the corresponding proxy transmitting terminal can be found according to the unique identification information.
  • each agent may transmit unique identification information such as a MAC address (physical address) of the terminal.
  • a proxy sending terminal when a proxy sending terminal is set for the cloud terminal in each network segment, the following may be specifically configured:
  • the proxy sending terminal in the network segment is set as the network management server; the wake-up data packet of the cloud terminal in the network segment can be directly sent to the cloud terminal in the network segment through the network management server;
  • the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
  • the proxy sending terminal For example, for an unmanaged server The network segment assumes that there are cloud terminal A, cloud terminal B, cloud terminal C, and cloud terminal D in the network segment; then, one cloud terminal is selected as the proxy sending terminal from the four cloud terminals.
  • set a cloud terminal to select the cloud terminal as the proxy sending terminal. Or just select a cloud terminal and set it to online.
  • a cloud terminal with the lowest current load may be preferentially selected as the proxy sending terminal, and then it is determined whether it is online, such as online, if it is not online, it is set to Online.
  • the proxy sending terminal selected for each network segment is saved on the network management server.
  • the network management server After receiving the wake-up data packet, the network management server determines that the cloud terminal to be awake is not in a network segment, and can directly invoke the proxy sending terminal of the network segment where the cloud terminal to be awakened to send the wake-up data packet.
  • the network management server may check whether the proxy sending terminal of each network segment is currently online, in order to ensure the normal sending of the subsequent wake-up data packet, and whether the user is offline or not, It is set to online.
  • the network management server After the network management server receives the wake-up data packet, sending, by the proxy sending terminal of the network segment to which the cloud terminal belongs, the wake-up data packet to the to-be-awake cloud terminal includes:
  • the network management server determines whether the cloud terminal to be awakened in the wake-up data packet is in the same network segment as itself, and if yes, directly sends the wake-up data packet to the cloud terminal to be awakened;
  • the network management server determines that the to-be-awake cloud terminal in the wake-up packet is not in the same network segment as the self-awake cloud terminal, and notifies the proxy sending terminal of the network segment to which the cloud terminal belongs to send the wake-up data packet to the to-be-awake cloud terminal. Specifically, the network management server may send the unique identification information (such as a MAC address) of the cloud terminal to be awakened to the proxy sending terminal, and the proxy sending terminal may send the wake-up data packet to the corresponding cloud terminal according to the unique identification information.
  • the unique identification information such as a MAC address
  • each of the sending terminals of the proxy device may store the wake-up data packet in advance, and may directly invoke the subsequent sending, and the wake-up data packet sent by the cloud terminal to be awakened may not include the identification information of the cloud terminal to be awakened.
  • the network management server may directly send the wake-up data packet to the proxy sending terminal of the network segment to which the cloud terminal to be awakened, and send the terminal to the cloud terminal to be awakened by the proxy sending terminal.
  • the network management server obtains the network segment information of the cloud terminal to be awakened, and then finds one of the same network segments from each of the proxy sending terminals, and sends the wake-up data packet to the found proxy sending terminal, and the proxy sending terminal can wake up according to the The identification information in the data packet transmits the wake-up data packet to the corresponding cloud terminal.
  • the network management server determines that the cloud terminal to be awakened is the proxy sending terminal
  • the network wake-up packet is directly sent to the corresponding proxy sending terminal, or directly discarded, because the current proxy sending terminal is already online. No need to wake up again.
  • the proxy sending terminal receives the wake-up packet of its own wake-up, it can do nothing.
  • the manner in which the network management server determines whether the cloud terminal to be awakened is in the same network segment as itself may be in any existing manner.
  • the network management server can determine whether the to-be-awake cloud terminal is in the same network segment as itself according to the IP address of the cloud terminal and the IP address of the cloud terminal to be awakened;
  • the network management server determines whether the to-be-awake cloud terminal is in the same network segment as the self-subnet IP and the subnet IP of the cloud terminal to be awakened.
  • the network management server can obtain the IP address and MAC address (or other unique identification information) of the cloud terminal in each network segment in advance; and further obtain the subnet mask of each cloud terminal, and obtain the subnet mask.
  • the subnet IP of each cloud terminal can be calculated according to the IP address and subnet mask of each cloud terminal; in the same way, the subnet IP of the cloud terminal can be calculated. In this way, the network management server can determine whether it is on the same network segment by using either the IP address or the subnet IP.
  • the network management server is directly used as the proxy sending terminal.
  • the cloud terminal may also be selected as the proxy sending terminal, and the network management server receives the wakeup data packet. After determining that the corresponding cloud terminal to be awakened is in the same network segment as itself, the proxy sending terminal directly calling the network segment sends the wake-up data packet to the corresponding cloud terminal.
  • the wake-up data packet in this embodiment may use a magic packet, or any other data packet with a wake-up function.
  • the embodiment provides a cloud communication system, including a network management server 31 and cloud terminals 32 respectively in different network segments;
  • the network management server 31 is configured to receive a proxy setting message, where the proxy setup message includes a proxy sending terminal set for each cloud segment of each network segment in each network segment; and is configured to receive the wakeup data including the cloud terminal to be awakened, and then The proxy sending terminal of the network segment to which the cloud terminal belongs is sent to the to-be-awake cloud terminal to send the wake-up data packet.
  • the proxy sending terminal included in the proxy setting message in this embodiment refers to the unique identification information including the transmitting terminal of each proxy, and the corresponding proxy transmitting terminal can be found according to the unique identification information.
  • each agent may transmit unique identification information such as a MAC address (physical address) of the terminal.
  • the cloud terminal to be awakened included in the wake-up data packet refers to unique identification information including a cloud terminal to be awakened, such as a unique identification information such as a MAC address.
  • a proxy sending terminal when a proxy sending terminal is set for the cloud terminal in each network segment, the following may be specifically configured:
  • the proxy sending terminal in the network segment is set as the network management server; the wake-up data packet of the cloud terminal in the network segment can be directly sent to the cloud terminal in the network segment through the network management server. ;
  • the proxy sending terminal 321 is set to be an online cloud terminal selected from the cloud terminals 32 in each network segment.
  • the cloud terminal is selected according to the online situation, it may be preferable to select one of the currently online cloud terminals as the proxy sending terminal.
  • set a cloud terminal to select the cloud terminal as the proxy sending terminal.
  • a cloud terminal with the lowest current load can be preferentially selected as the proxy sending terminal, and then it is determined whether it is online, such as online, if it is not online, it is set to online. .
  • the network management server 31 includes a proxy setting module 311 and a processing module 312;
  • the proxy setting module 311 is configured to receive a proxy setting message, where the proxy setup message includes a proxy sending terminal that is respectively set in the network segment for the cloud terminal of each network segment;
  • the processing module 312 is configured to send the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to be received after receiving the wake-up data of the cloud terminal to be awakened.
  • the sending by the processing module 312, the sending of the wake-up data packet to the to-be-awake cloud terminal by the proxy sending terminal of the network segment to which the cloud terminal belongs is:
  • the processing module 312 determines whether the cloud terminal to be awakened is in the same network segment as the network management server 31, and if so, directly sends the wake-up data packet to the cloud terminal to be awakened; otherwise, notifies the proxy sending terminal of the network segment to which the cloud terminal belongs to The wake-up cloud terminal is sent to send a wake-up packet; the notification may be in any of the following ways:
  • the processing module 312 can send the unique identification information (such as a MAC address) of the cloud terminal to be awakened to the proxy sending terminal, and the proxy sending terminal can send the wake-up data packet to the corresponding cloud terminal according to the unique identification information.
  • each of the proxy transmitting terminals may store the wakeup packet in advance.
  • the processing module 312 can also directly send the wake-up data packet to the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs, and send the terminal to the cloud terminal to be awakened by the proxy sending terminal.
  • the processing module 312 obtains the network segment information of the cloud terminal to be awakened, and then finds one of the same network segments from each of the proxy sending terminals, and sends the wake-up data packet to the found proxy sending terminal, and the proxy sending terminal can be The identification information in the wake-up packet is sent to the corresponding cloud terminal.
  • the processing module 312 determines whether the cloud terminal to be awake is in the same network segment as itself:
  • the processing module 312 is based on the IP address of the network management server 31 and the IP address of the cloud terminal to be woken up.
  • the address determines whether the to-be-awake cloud terminal and the network management server are in the same network segment;
  • the processing module 312 determines whether the to-be-awake cloud terminal and the network management server are in the same network segment according to the subnet IP of the network management server 31 and the subnet IP of the cloud terminal to be awakened.
  • the processing module 312 can obtain the IP address and MAC address (or other unique identification information) of the cloud terminal in each network segment in advance; and further obtain the subnet mask of each cloud terminal, and when the subnet mask is obtained,
  • the subnet IP of each cloud terminal can be calculated according to the IP address and subnet mask of each cloud terminal.
  • the subnet IP of the cloud terminal can also be calculated in the same way. In this way, the network management server can determine whether it is on the same network segment by using either the IP address or the subnet IP.
  • the wake-up data packet in this embodiment may use a magic packet, or any other data packet with a wake-up function.
  • the network management server can be directly used as the proxy sending terminal.
  • the cloud terminal may also be selected as the proxy sending terminal.
  • FIG. 5 After the above setting, the process of starting the wake-up task is shown in FIG. 5, including:
  • S502 Send a wake-up packet that includes the terminal to be woken up to the network management server.
  • S503 Determine whether the cloud terminal to be awakened is online, and if yes, go to S504; otherwise, go to S511.
  • S504 Determine whether the cloud terminal to be awakened uploads a subnet mask, and if yes, go to S505; otherwise, go to S510.
  • S505 Obtain a subnet IP of the to-be-awake terminal by using a subnet mask.
  • S506 Determine, according to the subnet IP of the terminal to be woken, whether the network management server is in the same network segment, and if yes, go to S507; otherwise, go to S508.
  • S507 The network management server directly sends the wake-up data packet to the cloud terminal to be awakened.
  • the network management server sends the MAC address of the cloud terminal to be awakened to the corresponding proxy sending terminal.
  • the proxy sending terminal sends the wake-up data packet to the corresponding cloud terminal in the network segment according to the MAC address of the cloud terminal to be awakened.
  • S510 Determine, according to the IP address of the terminal to be woken, whether the network management server is in the same network segment, and if yes, go to S507; otherwise, go to S508.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • they may be implemented by program code executable by the computing device such that they may be stored in a storage medium (ROM/RAM, diskette, optical disk) by a computing device, and in some cases
  • the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module. Therefore, the invention is not limited to any particular combination of hardware and software.
  • Embodiments of the present invention also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the network management server receives the wake-up data packet that includes the cloud terminal to be woken up;
  • the network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs.
  • the storage medium is further configured to store program code for performing the following steps: before the network management server receives the wake-up data packet that includes the cloud terminal to be woken, the method further includes:
  • the network management server receives a proxy setting message, where the proxy setup message includes a proxy sending terminal that is set in each network segment for the cloud terminal of each network segment.
  • the storage medium is further configured to store program code for performing the following steps: the proxy sending terminal in each network segment is:
  • the proxy sending terminal is the network management server.
  • the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
  • the storage medium is further configured to: store the program code for performing the following steps: the network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to:
  • the network management server determines whether the to-be-awake cloud terminal is in the same network segment as itself, and if yes, directly sends the wake-up data packet to the to-be-awake cloud terminal;
  • the proxy sending terminal that informs the network segment to which the cloud terminal to be awakened belongs to send the wake-up data packet to the to-be-awake cloud terminal.
  • the storage medium is further configured to store program code for performing the following steps: the network management server determines whether the cloud terminal to be awakened is in the same network segment as itself:
  • the network management server determines, according to the IP address of the mobile terminal and the IP address of the cloud terminal to be awakened, whether the to-be-awake cloud terminal is in the same network segment as the self-awake cloud terminal.
  • the network management server determines, according to the subnet IP of the network and the subnet IP of the to-be-awake cloud terminal, whether the to-be-awake cloud terminal is in the same network segment as itself.
  • the foregoing storage medium may include, but is not limited to: a USB flash drive, only Read-Only Memory (ROM), Random Access Memory (RAM), mobile hard disk, disk or optical disk, and other media that can store program code.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • mobile hard disk disk or optical disk, and other media that can store program code.
  • Embodiments of the present invention also provide a processor for running a program, wherein the program is executed to perform the steps of any of the above methods.
  • the foregoing program is used to perform the following steps:
  • the network management server receives the wake-up data packet that includes the cloud terminal to be woken up;
  • the network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs.
  • the foregoing procedure is used to perform the following steps: before the network management server receives the wake-up data packet that includes the cloud terminal to be woken, the method further includes:
  • the network management server receives a proxy setting message, where the proxy setup message includes a proxy sending terminal that is set in each network segment for the cloud terminal of each network segment.
  • the proxy sending terminal in each network segment is:
  • the proxy sending terminal is the network management server.
  • the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
  • the network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to:
  • the network management server determines whether the to-be-awake cloud terminal is in the same network segment as itself, and if yes, directly sends the wake-up data packet to the to-be-awake cloud terminal;
  • the proxy sending terminal that informs the network segment to which the cloud terminal to be awakened belongs to send the wake-up data packet to the to-be-awake cloud terminal.
  • the foregoing procedure is used to perform the following steps: Whether the cloud terminal to be awakened is in the same network segment as itself:
  • the network management server determines, according to the IP address of the mobile terminal and the IP address of the cloud terminal to be awakened, whether the to-be-awake cloud terminal is in the same network segment as the self-awake cloud terminal.
  • the network management server determines, according to the subnet IP of the network and the subnet IP of the to-be-awake cloud terminal, whether the to-be-awake cloud terminal is in the same network segment as itself.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the network management server may directly send the wake-up data packet to the cloud terminal to be awakened by the proxy sending terminal of each network segment. Therefore, it is not necessary to change the routing configuration information of tens of thousands of cloud terminals in each network segment, and only one proxy sending terminal needs to be set in each network segment, that is, it does not involve causing the user to change the routing configuration information.
  • Safety hazards and other hemp Annoying and can avoid the problem of error-prone when changing a large amount of routing configuration information, saving manpower, physical cost, and improving wake-up efficiency and user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed in the present invention are a cloud terminal wake-up method, a network management server, and a cloud communication system. After the network management server receives wake-up data packets comprising cloud terminals to be woken up, the network management server can directly send, by means of a proxy sending terminal in each network segment, the wake-up data packets to the cloud terminals to be woken up. It is unnecessary to change route configuration information of a great number of cloud terminals in each network segment, and only one proxy sending terminal needs to be arranged in each network segment, and accordingly a variety of security risks and other troubles are not produced to users due to the change of the route configuration information, and the problem of easy occurrence of errors when a great deal of route configuration information is changed can be avoided, thereby reducing manpower and physical costs, and improving user experience.

Description

云终端唤醒方法、网管服务器及云通信系统Cloud terminal wake-up method, network management server and cloud communication system 技术领域Technical field
本发明涉及通信领域,尤其涉及一种云终端唤醒方法、网管服务器及云通信系统。The present invention relates to the field of communications, and in particular, to a cloud terminal wake-up method, a network management server, and a cloud communication system.
背景技术Background technique
随着云计算及相关技术的快速发展,满足不同应用场景的云终端产品相继出现。云终端产品不仅可以配套桌面云使用,也可单独使用,可广泛应用到通讯行业、政企行业、金融行业等领域的基本办公。企业需要对大批量的云终端进行日常电源管理,如何使得大规模的云终端唤醒开机,是云终端日常管理需要解决的问题。With the rapid development of cloud computing and related technologies, cloud terminal products that meet different application scenarios have emerged one after another. Cloud terminal products can be used not only in the desktop cloud, but also in the basic office of the communications industry, government and enterprise industries, and financial industry. Enterprises need to perform daily power management on large-scale cloud terminals. How to wake up large-scale cloud terminals is a problem that needs to be solved in daily management of cloud terminals.
目前,针对云终端的电源唤醒方式主要使用WOL(Wake-on-LAN,网络唤醒)技术实现的。WOL的实现,主要是向目标主机发送特殊格式的数据包,是超微半导体(AMD)公司制作的MagicPacket这套软件以生成网络唤醒所需要的特殊数据包,俗称魔术包(Magic Packet)。通过远程唤醒,可以方便管理软件实现计算机的自动开启,当然被唤醒的终端需要具备以下条件:At present, the power wake-up method for cloud terminals is mainly implemented by WOL (Wake-on-LAN) technology. The implementation of WOL is mainly to send a special format data packet to the target host. It is a MagicPacket software produced by AMD to generate a special data packet required for network wake-up, commonly known as Magic Packet. Through remote wake-up, it is convenient to manage the software to realize the automatic opening of the computer. Of course, the terminal to be awakened needs to have the following conditions:
目标主机的主板和网卡支持WOL功能。The motherboard and network card of the target host support WOL function.
目标主机在关闭状态时需要是插电的,即计算机的主板和网卡为通电状态,才能监听到网络中对自己的“唤醒数据包”When the target host is in the off state, it needs to be plugged in, that is, the motherboard and network card of the computer are powered on, in order to monitor the "wake-up packet" of the network.
管理软件需要记下被唤醒主机网卡的媒体访问控制(Media Access Control,简称为MAC)地址(物理地址),这样才能够通过相应的方法唤醒主机。The management software needs to record the Media Access Control (MAC) address (physical address) of the wake-up host NIC, so that the host can be woken up by the corresponding method.
具备了以上的条件,管理软件就可以对任意一台终端进行电源唤醒了,但在大规模云终端分布在不同网段的应用场景中,当管理软件服务器与被唤醒终端不在同一网段时,需要在路由器上设置魔术包路由信息,魔术包 才能到达目标终端。在一个大企业中,可能有成千上万台云终端分布在很多不同的网段,为了唤醒这些终端,改变企业原本路由的配置信息(有些路由甚至是企业的核心路由)是个很糟糕的做法,因为路由配置改变会给企业带来很多安全性的问题和不必要的麻烦。另外,针对成千上万台云终端去改变设置路由的工作量庞大,不但容易出错,也提在很大程度上人力、物力成本。With the above conditions, the management software can wake up any one of the terminals, but in the application scenario where the large-scale cloud terminals are distributed on different network segments, when the management software server is not on the same network segment as the wake-up terminal, Need to set magic packet routing information on the router, magic package In order to reach the target terminal. In a large enterprise, there may be thousands of cloud terminals distributed over many different network segments. In order to wake up these terminals, it is a bad practice to change the configuration information of the original routing of the enterprise (some routes or even the core routing of the enterprise). Because the routing configuration changes will bring a lot of security problems and unnecessary troubles to the enterprise. In addition, the workload of changing the routing settings for thousands of cloud terminals is huge, not only easy to make mistakes, but also a lot of manpower and material costs.
发明内容Summary of the invention
本发明实施例提供了一种云终端唤醒方法、网管服务器及云通信系统,解决现有针对跨网段的云终端,需要通过改变路由的方式实现唤醒数据包的发送以对该云终端进行唤醒的问题。The embodiment of the invention provides a cloud terminal wake-up method, a network management server, and a cloud communication system. The existing cloud terminal for the cross-network segment needs to be implemented by changing the route to wake up the data packet to wake up the cloud terminal. The problem.
为了解决上述问题,本发明实施例提供了一种云终端唤醒方法,包括:In order to solve the above problem, an embodiment of the present invention provides a cloud terminal wakeup method, including:
网管服务器接收包含待唤醒云终端的唤醒数据包;The network management server receives the wake-up data packet that includes the cloud terminal to be woken up;
网管服务器通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。The network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs.
在本发明的一种实施例中,在网管服务器接收包含待唤醒云终端的唤醒数据包之前,还包括:In an embodiment of the present invention, before the network management server receives the wake-up data packet that includes the cloud terminal to be woken, the method further includes:
网管服务器接收代理设置消息,所述代理设置消息包含分别在各网段内为各网段的云终端所设置的代理发送终端。The network management server receives the proxy setting message, and the proxy setup message includes a proxy sending terminal set for each cloud segment of each network segment in each network segment.
在本发明的一种实施例中,所述各网段内的代理发送终端为:In an embodiment of the present invention, the proxy sending terminal in each network segment is:
对于网管服务器所在的网段,其代理发送终端为该网管服务器;For the network segment where the network management server is located, the proxy sending terminal is the network management server;
对于其他网段,其代理发送终端为分别从各网段内的云终端中选择的一个在线云终端。For other network segments, the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
在本发明的一种实施例中,网管服务器通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包包括:In an embodiment of the present invention, the network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to:
网管服务器判断所述待唤醒云终端与自身是否在同一网段,如是,直接将该唤醒数据包发送给所述待唤醒云终端; The network management server determines whether the cloud terminal to be awakened is in the same network segment as itself, and if yes, directly sends the wake-up data packet to the cloud terminal to be awakened;
否则,通知所述待唤醒云终端所属网段的代理发送终端向所述待唤醒云终端发送唤醒数据包。Otherwise, the proxy sending terminal that notifies the network segment to which the cloud terminal belongs to be sent sends the wake-up data packet to the to-be-awake cloud terminal.
在本发明的一种实施例中,网管服务器判断所述待唤醒云终端与自身是否在同一网段包括:In an embodiment of the present invention, the network management server determines whether the cloud terminal to be awakened is in the same network segment as itself:
网管服务器根据自身IP地址和所述待唤醒云终端的IP地址判断该待唤醒云终端与自身是否在同一网段;The network management server determines, according to the IP address of the mobile terminal and the IP address of the cloud terminal to be awakened, whether the cloud terminal to be awake is in the same network segment as itself;
或,or,
网管服务器根据自身子网IP和所述待唤醒云终端的子网IP判断该待唤醒云终端与自身是否在同一网段。The network management server determines whether the to-be-awake cloud terminal is in the same network segment as the self-subnet IP and the subnet IP of the to-be-awake cloud terminal.
为了解决上述问题,本发明实施例还提供了一种网管服务器,包括:In order to solve the above problem, the embodiment of the present invention further provides a network management server, including:
处理模块设置为接收到包含待唤醒云终端的唤醒数据后,通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。The processing module is configured to send the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs after receiving the wake-up data of the cloud terminal to be awakened.
在本发明的一种实施例中,所述网管服务器还包括:In an embodiment of the present invention, the network management server further includes:
代理设置模块设置为接收代理设置消息,所述代理设置消息包含分别在网段内为各网段的云终端所设置的代理发送终端。The proxy setting module is configured to receive a proxy setup message, where the proxy setup message includes a proxy sending terminal set for the cloud terminal of each network segment in the network segment respectively.
在本发明的一种实施例中,所述各网段内的代理发送终端为:In an embodiment of the present invention, the proxy sending terminal in each network segment is:
对于网管服务器所在的网段,其代理发送终端为该网管服务器;For the network segment where the network management server is located, the proxy sending terminal is the network management server;
对于其他网段,其代理发送终端为分别从各网段内的云终端中选择的一个在线云终端。For other network segments, the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
在本发明的一种实施例中,所述处理模块通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包包括:In an embodiment of the present invention, the processing module sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to:
所述处理模块判断所述待唤醒云终端与网管服务器自身是否在同一网段,如是,直接将该唤醒数据包发送给所述待唤醒云终端;The processing module determines whether the to-be-awake cloud terminal and the network management server are in the same network segment, and if yes, directly send the wake-up data packet to the to-be-awake cloud terminal;
否则,通知所述待唤醒云终端所属网段的代理发送终端向所述待唤醒云终端发送唤醒数据包。 Otherwise, the proxy sending terminal that notifies the network segment to which the cloud terminal belongs to be sent sends the wake-up data packet to the to-be-awake cloud terminal.
在本发明的一种实施例中,所述处理模块判断所述待唤醒云终端与自身是否在同一网段包括:In an embodiment of the present invention, the processing module determines whether the cloud terminal to be awakened is in the same network segment as itself:
所述处理模块根据所述网管服务器自身IP地址和所述待唤醒云终端的IP地址判断该待唤醒云终端与所述网管服务器是否在同一网段;The processing module determines, according to the IP address of the network management server and the IP address of the cloud terminal to be awakened, whether the to-be-awake cloud terminal and the network management server are in the same network segment;
或,or,
所述处理模块根据所述网管服务器自身子网IP和所述待唤醒云终端的子网IP判断该待唤醒云终端与所述网管服务器是否在同一网段。The processing module determines, according to the subnet IP of the network management server and the subnet IP of the to-be-awake cloud terminal, whether the to-be-awake cloud terminal and the network management server are in the same network segment.
为了解决上述问题,本发明实施例还提供了一种云通信系统,包括网管服务器和分别处于不同网段的云终端;In order to solve the above problem, the embodiment of the present invention further provides a cloud communication system, including a network management server and cloud terminals respectively in different network segments;
所述网管服务器设置为接收包含待唤醒云终端的唤醒数据后,通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。After the network management server is configured to receive the wake-up data of the cloud terminal to be awakened, the proxy sending terminal of the network segment to which the cloud terminal belongs to be sent sends the wake-up data packet to the to-be-awake cloud terminal.
在本发明的一种实施例中,所述网管服务器还设置为接收代理设置消息,所述代理设置消息包含分别在各网段内为各网段的云终端所设置的代理发送终端。In an embodiment of the present invention, the network management server is further configured to receive a proxy setting message, where the proxy setup message includes a proxy sending terminal set for each cloud segment of each network segment in each network segment.
在本发明的一种实施例中,所述各网段内的代理发送终端为:In an embodiment of the present invention, the proxy sending terminal in each network segment is:
对于网管服务器所在的网段,其代理发送终端为该网管服务器;For the network segment where the network management server is located, the proxy sending terminal is the network management server;
对于其他网段,其代理发送终端为分别从各网段内的云终端中选择的一个在线云终端。For other network segments, the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
根据本发明的又一个实施例,还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行上述任一项所述的方法。According to still another embodiment of the present invention, there is also provided a storage medium comprising a stored program, wherein the program is executed to perform the method of any of the above.
根据本发明的又一个实施例,还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述任一项所述的方法。According to still another embodiment of the present invention, there is also provided a processor for running a program, wherein the program is executed to perform the method of any of the above.
本发明实施例的有益效果:Advantageous effects of embodiments of the present invention:
本发明实施例提供的云终端唤醒方法、网管服务器及云通信系统,网管服务器在接收包含待唤醒云终端的唤醒数据包后,可以直接通过各网段 的代理发送终端向待唤醒云终端发送所述唤醒数据包。这样不需要针对各网段内成千上万的云终端的路由配置信息进行改变,仅需在各网段设置一个代理发送终端即可,即不会涉及因改变路由配置信息而给用户造成各种安全隐患以及其他麻烦,又能避免对大量的路由配置信息进行改变时容易出错的问题,节省人力、物理成本,提升唤醒效率和用户体验。The cloud terminal wake-up method, the network management server, and the cloud communication system provided by the embodiment of the present invention, after receiving the wake-up data packet including the cloud terminal to be awakened, the network management server can directly pass each network segment. The proxy sending terminal sends the wake-up data packet to the cloud terminal to be woken up. Therefore, it is not necessary to change the routing configuration information of tens of thousands of cloud terminals in each network segment, and only one proxy sending terminal needs to be set in each network segment, that is, it does not involve causing the user to change the routing configuration information. A kind of security risk and other troubles can avoid the problem of error-prone when changing a large amount of routing configuration information, saving manpower, physical cost, and improving wake-up efficiency and user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为本发明第一实施例提供的跨网段网络示意图;FIG. 1 is a schematic diagram of a network across network segments according to a first embodiment of the present invention; FIG.
图2为本发明第一实施例提供的云终端唤醒方法流程示意图;2 is a schematic flowchart of a method for waking up a cloud terminal according to a first embodiment of the present invention;
图3为本发明第二实施例提供的云通信系统结构示意图;3 is a schematic structural diagram of a cloud communication system according to a second embodiment of the present invention;
图4为本发明第二实施例提供的网管服务器结构示意图;4 is a schematic structural diagram of a network management server according to a second embodiment of the present invention;
图5为本发明第二实施例提供的云终端唤醒过程示意图。FIG. 5 is a schematic diagram of a wakeup process of a cloud terminal according to a second embodiment of the present invention.
具体实施方式detailed description
本发明在网管服务器上为各网段内的云终端分别设置一个代理发送终端;网管服务器接收到唤醒数据包后,可以通过待唤醒云终端所在网段的代理发送终端向对应的云终端发送唤醒数据包。这种方法有效的规避了跨网段电源唤醒中路由设置带来的安全问题,提高了电源唤醒的效率。下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本发明中一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The invention provides a proxy sending terminal for the cloud terminals in each network segment on the network management server; after receiving the wake-up data packet, the network management server can send a wake-up to the corresponding cloud terminal through the proxy sending terminal of the network segment where the cloud terminal is to be awakened. data pack. This method effectively avoids the security problems caused by routing settings in the wake-up of power supply across the network segment, and improves the efficiency of power-on wakeup. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
现通过具体实施方式结合附图的方式对本发明做出进一步的诠释说明。 The invention will now be further illustrated by way of specific embodiments in conjunction with the accompanying drawings.
第一实施例:First embodiment:
请参见图1所示,该图所示为一种跨网段网络示意图。在网管服务器下的不同网段中可能存在一个或多个云终端。现有网管服务器针对跨网段的云终端发送唤醒数据包时,需要在路由器上针对不同网段中的云终端设置路由信息,既可能给用户造成安全隐患,又需要花费大量的人力物力,降低唤醒效率。对此,本实施例提供了一种云终端唤醒方法,请参见图2所示,包括:Please refer to FIG. 1 , which shows a cross-network network diagram. One or more cloud terminals may exist in different network segments under the network management server. When the existing network management server sends wake-up packets for the cloud terminals across the network segment, you need to set routing information on the routers for the cloud terminals in different network segments. This may cause potential security risks for users and cost a lot of manpower and resources. Awaken efficiency. In this regard, the embodiment provides a method for waking up a cloud terminal, as shown in FIG. 2, including:
S201:网管服务器接收包含待唤醒云终端的唤醒数据包。S201: The network management server receives the wake-up data packet that includes the cloud terminal to be woken up.
此处的唤醒数据包所包含的待唤醒云终端是指包含待唤醒云终端的唯一识别信息,例如MAC地址等唯一识别信息。The cloud terminal to be awakened included in the wake-up data packet herein refers to unique identification information including a cloud terminal to be awakened, such as a unique identification information such as a MAC address.
S202:网管服务器通过待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。S202: The network management server sends a wake-up data packet to the to-be-awake cloud terminal by using a proxy sending terminal of the network segment to which the cloud terminal belongs.
本实施例中,在网管服务器接收包含待唤醒云终端的唤醒数据包之前,还包括:网管服务器接收代理设置消息,该代理设置消息包含分别在各网段内为各网段的云终端所设置的代理发送终端。In this embodiment, before the network management server receives the wake-up data packet that includes the cloud terminal to be awakened, the method further includes: the network management server receiving the proxy setting message, where the proxy setup message includes the cloud terminal set for each network segment in each network segment. The proxy sends the terminal.
该步骤也即在网管服务器上设置各网段的代理发送终端,以便于网管服务器在需要调用代理发送终端时查找对应的代理发送终端。应当理解的是,代理设置消息中所包含的代理发送终端,是指包含各代理发送终端的唯一识别信息,根据该唯一识别信息就可以找到对应的代理发送终端。具体可以是各代理发送终端的MAC地址(物理地址)等唯一识别信息。In this step, the proxy sending terminal of each network segment is set on the network management server, so that the network management server searches for the corresponding proxy sending terminal when the proxy sending terminal needs to be called. It should be understood that the proxy sending terminal included in the proxy setting message refers to the unique identification information including the transmitting terminal of each proxy, and the corresponding proxy transmitting terminal can be found according to the unique identification information. Specifically, each agent may transmit unique identification information such as a MAC address (physical address) of the terminal.
本实施例中,为各网段内的云终端设置代理发送终端时,具体可以采用以下方式进行设置:In this embodiment, when a proxy sending terminal is set for the cloud terminal in each network segment, the following may be specifically configured:
对于网管服务器所在的网段,设置该网段内的代理发送终端就为网管服务器;这样这个网段内的云终端的唤醒数据包就可以通过网管服务器直接发给该网段内的云终端;For the network segment where the network management server is located, the proxy sending terminal in the network segment is set as the network management server; the wake-up data packet of the cloud terminal in the network segment can be directly sent to the cloud terminal in the network segment through the network management server;
对于其他非网管服务器所在的网段,设置代理发送终端为分别从各网段内的云终端中选择的一个在线云终端。例如对于一个非网管服务器所在 的网段,假设该网段内有云终端A、云终端B、云终端C、云终端D;则从这四个云终端中选择一个云终端作为代理发送终端。选择时,可以根据各云终端在线情况、各云终端当前负荷情况等进行选择。例如,根据各云终端在线情况选择时,可以优选从当前在线的云终端中选择一个作为代理发送终端,当没有在线的云终端时,则设置一个云终端在线后选择该云终端作为代理发送终端,或者随便选择一个云终端后再将其设置为在线。又例如,根据各云终端的当前负荷情况选择时,可以优先选择当前负荷最小的一个云终端作为代理发送终端,然后再判断其是否在线,如在线则保持,如不在线,则将其设置为在线。For the network segment where the other non-network management server is located, the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment. For example, for an unmanaged server The network segment assumes that there are cloud terminal A, cloud terminal B, cloud terminal C, and cloud terminal D in the network segment; then, one cloud terminal is selected as the proxy sending terminal from the four cloud terminals. When selecting, you can select according to the online status of each cloud terminal and the current load status of each cloud terminal. For example, when the cloud terminal is selected according to the online situation, it may be preferable to select one of the currently online cloud terminals as the proxy sending terminal. When there is no online cloud terminal, set a cloud terminal to select the cloud terminal as the proxy sending terminal. Or just select a cloud terminal and set it to online. For example, when selecting according to the current load condition of each cloud terminal, a cloud terminal with the lowest current load may be preferentially selected as the proxy sending terminal, and then it is determined whether it is online, such as online, if it is not online, it is set to Online.
本实施例中对于各网段选择出来的代理发送终端都在网管服务器上进行保存。这样网管服务器在接收到唤醒数据包后,判断待唤醒的云终端与自身不是在一个网段时,就可直接调用该待唤醒云终端所在网段的代理发送终端发送该唤醒数据包。In this embodiment, the proxy sending terminal selected for each network segment is saved on the network management server. After receiving the wake-up data packet, the network management server determines that the cloud terminal to be awake is not in a network segment, and can directly invoke the proxy sending terminal of the network segment where the cloud terminal to be awakened to send the wake-up data packet.
另外,本实施例中,网管服务器在接收到代理设置消息后,为了保证后续唤醒数据包的正常发送,可以检查各网段的代理发送终端当前是否在线,对于不在线的,自行或提升用户将其设置为在线。In addition, in this embodiment, after receiving the proxy setting message, the network management server may check whether the proxy sending terminal of each network segment is currently online, in order to ensure the normal sending of the subsequent wake-up data packet, and whether the user is offline or not, It is set to online.
基于上述设置,网管服务器接收到唤醒数据包后,通过待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包包括:After the network management server receives the wake-up data packet, sending, by the proxy sending terminal of the network segment to which the cloud terminal belongs, the wake-up data packet to the to-be-awake cloud terminal includes:
网管服务器判断唤醒数据包中的待唤醒云终端与自身是否在同一网段,如是,直接将该唤醒数据包发送给待唤醒云终端;The network management server determines whether the cloud terminal to be awakened in the wake-up data packet is in the same network segment as itself, and if yes, directly sends the wake-up data packet to the cloud terminal to be awakened;
网管服务器判断唤醒数据包中的待唤醒云终端与自身不在同一网段时,通知待唤醒云终端所属网段的代理发送终端向所述待唤醒云终端发送唤醒数据包。具体的,网管服务器可以将待唤醒云终端的唯一识别信息(例如MAC地址)发给代理发送终端,代理发送终端接收到后就可根据该唯一识别信息向对应的云终端发送唤醒数据包。此时各代理发送终端可以预先存储有唤醒数据包,后续发送时直接调用即可,且此时其向待唤醒云终端所发送的唤醒数据包中可不包含待唤醒云终端的识别信息,当然也可包 含。The network management server determines that the to-be-awake cloud terminal in the wake-up packet is not in the same network segment as the self-awake cloud terminal, and notifies the proxy sending terminal of the network segment to which the cloud terminal belongs to send the wake-up data packet to the to-be-awake cloud terminal. Specifically, the network management server may send the unique identification information (such as a MAC address) of the cloud terminal to be awakened to the proxy sending terminal, and the proxy sending terminal may send the wake-up data packet to the corresponding cloud terminal according to the unique identification information. At this time, each of the sending terminals of the proxy device may store the wake-up data packet in advance, and may directly invoke the subsequent sending, and the wake-up data packet sent by the cloud terminal to be awakened may not include the identification information of the cloud terminal to be awakened. Can be packaged Contains.
本实施例中,网管服务器也可以直接将唤醒数据包发送给待唤醒云终端所属网段的代理发送终端,通过该代理发送终端发送给所述待唤醒云终端。例如,网管服务器获取待唤醒云终端的网段信息,然后从各代理发送终端中找出相同网段的一个,将该唤醒数据包发送给找出的代理发送终端,代理发送终端即可根据唤醒数据包中的识别信息将该唤醒数据包发送给对应的云终端。In this embodiment, the network management server may directly send the wake-up data packet to the proxy sending terminal of the network segment to which the cloud terminal to be awakened, and send the terminal to the cloud terminal to be awakened by the proxy sending terminal. For example, the network management server obtains the network segment information of the cloud terminal to be awakened, and then finds one of the same network segments from each of the proxy sending terminals, and sends the wake-up data packet to the found proxy sending terminal, and the proxy sending terminal can wake up according to the The identification information in the data packet transmits the wake-up data packet to the corresponding cloud terminal.
根据上述描述可知,当网管服务器判断待唤醒云终端就是代理发送终端时,也直接将该唤醒数据包发送给对应的代理发送终端,或直接将其丢弃,因为当前代理发送终端已经处于在线状态,不需要再唤醒。代理发送终端接收到唤醒自己的唤醒数据包后,可以不做任何处理。According to the above description, when the network management server determines that the cloud terminal to be awakened is the proxy sending terminal, the network wake-up packet is directly sent to the corresponding proxy sending terminal, or directly discarded, because the current proxy sending terminal is already online. No need to wake up again. After the proxy sending terminal receives the wake-up packet of its own wake-up, it can do nothing.
本实施例中,网管服务器判断待唤醒云终端与自身是否在同一网段的方式可以采用现有任意方式。例如:In this embodiment, the manner in which the network management server determines whether the cloud terminal to be awakened is in the same network segment as itself may be in any existing manner. E.g:
网管服务器可根据自身IP地址和待唤醒云终端的IP地址判断该待唤醒云终端与自身是否在同一网段;The network management server can determine whether the to-be-awake cloud terminal is in the same network segment as itself according to the IP address of the cloud terminal and the IP address of the cloud terminal to be awakened;
又例如:Another example:
网管服务器根据自身子网IP和待唤醒云终端的子网IP判断该待唤醒云终端与自身是否在同一网段。The network management server determines whether the to-be-awake cloud terminal is in the same network segment as the self-subnet IP and the subnet IP of the cloud terminal to be awakened.
本实施例中,网管服务器可以提前获取各网段内的云终端的IP地址,MAC地址(或其他唯一识别信息);还可进一步获取各云终端的子网掩码,当获取了子网掩码时,则可以根据各云终端的IP地址和子网掩码计算得到各云终端的子网IP;采取同样的方式也可以计算得到自身的子网IP。这样网管服务器可以采用IP地址或子网IP任意一种方式判断是否位于同一网段。In this embodiment, the network management server can obtain the IP address and MAC address (or other unique identification information) of the cloud terminal in each network segment in advance; and further obtain the subnet mask of each cloud terminal, and obtain the subnet mask. When the code is used, the subnet IP of each cloud terminal can be calculated according to the IP address and subnet mask of each cloud terminal; in the same way, the subnet IP of the cloud terminal can be calculated. In this way, the network management server can determine whether it is on the same network segment by using either the IP address or the subnet IP.
上述示例中,对于网管服务器所在的网段,直接采用网管服务器作为代理发送终端。但应当理解的是,本实施例中对于网管服务器所在的网段,也可以选择云终端作为代理发送终端,此时网管服务器接收到唤醒数据包 后,判断对应的待唤醒云终端与自身在同一个网段时,直接调用该网段的代理发送终端向对应的云终端发送唤醒数据包。In the above example, for the network segment where the network management server is located, the network management server is directly used as the proxy sending terminal. However, it should be understood that, in this embodiment, for the network segment where the network management server is located, the cloud terminal may also be selected as the proxy sending terminal, and the network management server receives the wakeup data packet. After determining that the corresponding cloud terminal to be awakened is in the same network segment as itself, the proxy sending terminal directly calling the network segment sends the wake-up data packet to the corresponding cloud terminal.
本实施例中的唤醒数据包可以采用魔术包(Magic Packet),也可以采用其他任意具有唤醒功能的数据包。The wake-up data packet in this embodiment may use a magic packet, or any other data packet with a wake-up function.
第二实施例:Second embodiment:
请参见图3所示,本实施例提供了云通信系统,包括网管服务器31和分别处于不同网段的云终端32;Referring to FIG. 3, the embodiment provides a cloud communication system, including a network management server 31 and cloud terminals 32 respectively in different network segments;
网管服务器31设置为接收代理设置消息,该代理设置消息包含分别在各网段内为各网段的云终端所设置的代理发送终端;以及设置为接收包含待唤醒云终端的唤醒数据后,通过待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。本实施例中代理设置消息中所包含的代理发送终端,是指包含各代理发送终端的唯一识别信息,根据该唯一识别信息就可以找到对应的代理发送终端。具体可以是各代理发送终端的MAC地址(物理地址)等唯一识别信息。唤醒数据包所包含的待唤醒云终端是指包含待唤醒云终端的唯一识别信息,例如MAC地址等唯一识别信息。The network management server 31 is configured to receive a proxy setting message, where the proxy setup message includes a proxy sending terminal set for each cloud segment of each network segment in each network segment; and is configured to receive the wakeup data including the cloud terminal to be awakened, and then The proxy sending terminal of the network segment to which the cloud terminal belongs is sent to the to-be-awake cloud terminal to send the wake-up data packet. The proxy sending terminal included in the proxy setting message in this embodiment refers to the unique identification information including the transmitting terminal of each proxy, and the corresponding proxy transmitting terminal can be found according to the unique identification information. Specifically, each agent may transmit unique identification information such as a MAC address (physical address) of the terminal. The cloud terminal to be awakened included in the wake-up data packet refers to unique identification information including a cloud terminal to be awakened, such as a unique identification information such as a MAC address.
本实施例中,为各网段内的云终端设置代理发送终端时,具体可以采用以下方式进行设置:In this embodiment, when a proxy sending terminal is set for the cloud terminal in each network segment, the following may be specifically configured:
对于网管服务器31所在的网段,设置该网段内的代理发送终端就为网管服务器;这样这个网段内的云终端的唤醒数据包就可以通过网管服务器直接发给该网段内的云终端;For the network segment where the network management server 31 is located, the proxy sending terminal in the network segment is set as the network management server; the wake-up data packet of the cloud terminal in the network segment can be directly sent to the cloud terminal in the network segment through the network management server. ;
对于其他非网管服务器所在的网段,设置代理发送终端321为分别从各网段内的云终端32中选择的一个在线云终端。选择时,可以根据各云终端在线情况、各云终端当前负荷情况等进行选择。例如,根据各云终端在线情况选择时,可以优选从当前在线的云终端中选择一个作为代理发送终端,当没有在线的云终端时,则设置一个云终端在线后选择该云终端作为代理发送终端,或者随便选择一个云终端后再将其设置为在线。又例 如,根据各云终端的当前负荷情况选择时,可以优先选择当前负荷最小的一个云终端作为代理发送终端,然后再判断其是否在线,如在线则保持,如不在线,则将其设置为在线。For the network segment where the other non-network management server is located, the proxy sending terminal 321 is set to be an online cloud terminal selected from the cloud terminals 32 in each network segment. When selecting, you can select according to the online status of each cloud terminal and the current load status of each cloud terminal. For example, when the cloud terminal is selected according to the online situation, it may be preferable to select one of the currently online cloud terminals as the proxy sending terminal. When there is no online cloud terminal, set a cloud terminal to select the cloud terminal as the proxy sending terminal. Or just select a cloud terminal and set it to online. Another example For example, according to the current load condition of each cloud terminal, a cloud terminal with the lowest current load can be preferentially selected as the proxy sending terminal, and then it is determined whether it is online, such as online, if it is not online, it is set to online. .
为了更好的理解本发明,下面对网管服务器的结构做进一步示例说明。请参见图4所示,网管服务器31包括代理设置模块311和处理模块312;In order to better understand the present invention, the structure of the network management server is further illustrated below. Referring to Figure 4, the network management server 31 includes a proxy setting module 311 and a processing module 312;
代理设置模块311设置为接收代理设置消息,代理设置消息包含分别在网段内为各网段的云终端所设置的代理发送终端;The proxy setting module 311 is configured to receive a proxy setting message, where the proxy setup message includes a proxy sending terminal that is respectively set in the network segment for the cloud terminal of each network segment;
处理模块312设置为接收到包含待唤醒云终端的唤醒数据后,通过待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。The processing module 312 is configured to send the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to be received after receiving the wake-up data of the cloud terminal to be awakened.
处理模块312通过待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包包括:The sending, by the processing module 312, the sending of the wake-up data packet to the to-be-awake cloud terminal by the proxy sending terminal of the network segment to which the cloud terminal belongs is:
处理模块312判断待唤醒云终端与网管服务器31自身是否在同一网段,如是,直接将该唤醒数据包发送给待唤醒云终端;否则,通知待唤醒云终端所属网段的代理发送终端向所述待唤醒云终端发送唤醒数据包;通知的方式可以采用以下方式中的任意一种:The processing module 312 determines whether the cloud terminal to be awakened is in the same network segment as the network management server 31, and if so, directly sends the wake-up data packet to the cloud terminal to be awakened; otherwise, notifies the proxy sending terminal of the network segment to which the cloud terminal belongs to The wake-up cloud terminal is sent to send a wake-up packet; the notification may be in any of the following ways:
处理模块312可以将待唤醒云终端的唯一识别信息(例如MAC地址)发给代理发送终端,代理发送终端接收到后就可根据该唯一识别信息向对应的云终端发送唤醒数据包。此时各代理发送终端可以预先存储有唤醒数据包。The processing module 312 can send the unique identification information (such as a MAC address) of the cloud terminal to be awakened to the proxy sending terminal, and the proxy sending terminal can send the wake-up data packet to the corresponding cloud terminal according to the unique identification information. At this time, each of the proxy transmitting terminals may store the wakeup packet in advance.
处理模块312也可以直接将唤醒数据包发送给待唤醒云终端所属网段的代理发送终端,通过该代理发送终端发送给所述待唤醒云终端。例如,处理模块312获取待唤醒云终端的网段信息,然后从各代理发送终端中找出相同网段的一个,将该唤醒数据包发送给找出的代理发送终端,代理发送终端即可根据唤醒数据包中的识别信息将该唤醒数据包发送给对应的云终端。The processing module 312 can also directly send the wake-up data packet to the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs, and send the terminal to the cloud terminal to be awakened by the proxy sending terminal. For example, the processing module 312 obtains the network segment information of the cloud terminal to be awakened, and then finds one of the same network segments from each of the proxy sending terminals, and sends the wake-up data packet to the found proxy sending terminal, and the proxy sending terminal can be The identification information in the wake-up packet is sent to the corresponding cloud terminal.
处理模块312判断待唤醒云终端与自身是否在同一网段包括:The processing module 312 determines whether the cloud terminal to be awake is in the same network segment as itself:
处理模块312根据网管服务器31自身IP地址和待唤醒云终端的IP 地址判断该待唤醒云终端与所述网管服务器是否在同一网段;The processing module 312 is based on the IP address of the network management server 31 and the IP address of the cloud terminal to be woken up. The address determines whether the to-be-awake cloud terminal and the network management server are in the same network segment;
或,or,
处理模块312根据网管服务器31自身子网IP和待唤醒云终端的子网IP判断该待唤醒云终端与网管服务器是否在同一网段。The processing module 312 determines whether the to-be-awake cloud terminal and the network management server are in the same network segment according to the subnet IP of the network management server 31 and the subnet IP of the cloud terminal to be awakened.
处理模块312可以提前获取各网段内的云终端的IP地址,MAC地址(或其他唯一识别信息);还可进一步获取各云终端的子网掩码,当获取了子网掩码时,则可以根据各云终端的IP地址和子网掩码计算得到各云终端的子网IP;采取同样的方式也可以计算得到自身的子网IP。这样网管服务器可以采用IP地址或子网IP任意一种方式判断是否位于同一网段。The processing module 312 can obtain the IP address and MAC address (or other unique identification information) of the cloud terminal in each network segment in advance; and further obtain the subnet mask of each cloud terminal, and when the subnet mask is obtained, The subnet IP of each cloud terminal can be calculated according to the IP address and subnet mask of each cloud terminal. The subnet IP of the cloud terminal can also be calculated in the same way. In this way, the network management server can determine whether it is on the same network segment by using either the IP address or the subnet IP.
本实施例中的唤醒数据包可以采用魔术包(Magic Packet),也可以采用其他任意具有唤醒功能的数据包。本实施例中对于网管服务器31所在的网段,可以直接采用网管服务器作为代理发送终端。但应当理解的是,本实施例中对于网管服务器31所在的网段,也可以选择云终端作为代理发送终端,此时网管服务器接收到唤醒数据包后,判断对应的待唤醒云终端与自身在同一个网段时,直接调用该网段的代理发送终端向对应的云终端发送唤醒数据包。The wake-up data packet in this embodiment may use a magic packet, or any other data packet with a wake-up function. In this embodiment, for the network segment where the network management server 31 is located, the network management server can be directly used as the proxy sending terminal. However, it should be understood that, in this embodiment, for the network segment where the network management server 31 is located, the cloud terminal may also be selected as the proxy sending terminal. After receiving the wake-up data packet, the network management server determines that the corresponding cloud terminal to be awakened is in itself. When the same network segment is used, the proxy sending terminal that directly invokes the network segment sends the wake-up data packet to the corresponding cloud terminal.
为了更好的理解本发明,下面结合一个完成的云终端唤醒过程对本发明进行说明,在经过上述设置后,开启唤醒任务的过程请参见图5所示,包括:For a better understanding of the present invention, the present invention is described below in conjunction with a completed cloud terminal wake-up process. After the above setting, the process of starting the wake-up task is shown in FIG. 5, including:
S501:启动电源唤醒任务。S501: Start the power wakeup task.
S502:向网管服务器发送包含待唤醒终端的唤醒数据包。S502: Send a wake-up packet that includes the terminal to be woken up to the network management server.
S503:判断该待唤醒云终端是否在线,如是,转至S504;否则,转至S511。S503: Determine whether the cloud terminal to be awakened is online, and if yes, go to S504; otherwise, go to S511.
S504:判断该待唤醒云终端是否上传了子网掩码,如是,转至S505;否则,转至S510。S504: Determine whether the cloud terminal to be awakened uploads a subnet mask, and if yes, go to S505; otherwise, go to S510.
S505:使用子网掩码获取该待唤醒终端的子网IP。 S505: Obtain a subnet IP of the to-be-awake terminal by using a subnet mask.
S506:根据待唤醒终端的子网IP判断与网管服务器是否在同一网段,如是,转至S507;否则,转至S508。S506: Determine, according to the subnet IP of the terminal to be woken, whether the network management server is in the same network segment, and if yes, go to S507; otherwise, go to S508.
S507:网管服务器直接向待唤醒云终端发送唤醒数据包。S507: The network management server directly sends the wake-up data packet to the cloud terminal to be awakened.
S508:网管服务器向对应代理发送终端发送待唤醒云终端MAC地址。S508: The network management server sends the MAC address of the cloud terminal to be awakened to the corresponding proxy sending terminal.
S509:代理发送终端根据待唤醒云终端MAC地址向网段内对应云终端发送唤醒数据包。S509: The proxy sending terminal sends the wake-up data packet to the corresponding cloud terminal in the network segment according to the MAC address of the cloud terminal to be awakened.
S510:根据待唤醒终端的IP地址判断与网管服务器是否在同一网段,如是,转至S507;否则,转至S508。S510: Determine, according to the IP address of the terminal to be woken, whether the network management server is in the same network segment, and if yes, go to S507; otherwise, go to S508.
S511:唤醒任务结束。S511: The wakeup task ends.
显然,本领域的技术人员应该明白,上述本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储介质(ROM/RAM、磁碟、光盘)中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。所以,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in a storage medium (ROM/RAM, diskette, optical disk) by a computing device, and in some cases The steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of the modules or steps may be implemented as a single integrated circuit module. Therefore, the invention is not limited to any particular combination of hardware and software.
以上仅是本发明的具体实施方式而已,并非对本发明做任何形式上的限制,凡是依据本发明的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本发明技术方案的保护范围。The above is only a specific embodiment of the present invention, and is not intended to limit the present invention in any way. Any simple modification, equivalent change, combination or modification of the above embodiments in accordance with the technical spirit of the present invention is still in the present invention. The scope of protection of the technical solution of the invention.
实施例4Example 4
本发明的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项所述的方法。Embodiments of the present invention also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,网管服务器接收包含待唤醒云终端的唤醒数据包; S1. The network management server receives the wake-up data packet that includes the cloud terminal to be woken up;
S2,网管服务器通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。S2. The network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在网管服务器接收包含待唤醒云终端的唤醒数据包之前,还包括:Optionally, the storage medium is further configured to store program code for performing the following steps: before the network management server receives the wake-up data packet that includes the cloud terminal to be woken, the method further includes:
S1,网管服务器接收代理设置消息,所述代理设置消息包含分别在各网段内为各网段的云终端所设置的代理发送终端。S1. The network management server receives a proxy setting message, where the proxy setup message includes a proxy sending terminal that is set in each network segment for the cloud terminal of each network segment.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:所述各网段内的代理发送终端为:Optionally, the storage medium is further configured to store program code for performing the following steps: the proxy sending terminal in each network segment is:
S1,对于网管服务器所在的网段,其代理发送终端为该网管服务器;S1. For the network segment where the network management server is located, the proxy sending terminal is the network management server.
S2,对于其他网段,其代理发送终端为分别从各网段内的云终端中选择的一个在线云终端。S2. For other network segments, the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:网管服务器通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包包括:Optionally, the storage medium is further configured to: store the program code for performing the following steps: the network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to:
S1,网管服务器判断所述待唤醒云终端与自身是否在同一网段,如是,直接将该唤醒数据包发送给所述待唤醒云终端;S1, the network management server determines whether the to-be-awake cloud terminal is in the same network segment as itself, and if yes, directly sends the wake-up data packet to the to-be-awake cloud terminal;
S2,否则,通知所述待唤醒云终端所属网段的代理发送终端向所述待唤醒云终端发送唤醒数据包。S2. Otherwise, the proxy sending terminal that informs the network segment to which the cloud terminal to be awakened belongs to send the wake-up data packet to the to-be-awake cloud terminal.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:网管服务器判断所述待唤醒云终端与自身是否在同一网段包括:Optionally, the storage medium is further configured to store program code for performing the following steps: the network management server determines whether the cloud terminal to be awakened is in the same network segment as itself:
S1,网管服务器根据自身IP地址和所述待唤醒云终端的IP地址判断该待唤醒云终端与自身是否在同一网段;S1. The network management server determines, according to the IP address of the mobile terminal and the IP address of the cloud terminal to be awakened, whether the to-be-awake cloud terminal is in the same network segment as the self-awake cloud terminal.
或,or,
S2,网管服务器根据自身子网IP和所述待唤醒云终端的子网IP判断该待唤醒云终端与自身是否在同一网段。S2. The network management server determines, according to the subnet IP of the network and the subnet IP of the to-be-awake cloud terminal, whether the to-be-awake cloud terminal is in the same network segment as itself.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只 读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to: a USB flash drive, only Read-Only Memory (ROM), Random Access Memory (RAM), mobile hard disk, disk or optical disk, and other media that can store program code.
本发明的实施例还提供了一种处理器,该处理器用于运行程序,其中,该程序运行时执行上述任一项方法中的步骤。Embodiments of the present invention also provide a processor for running a program, wherein the program is executed to perform the steps of any of the above methods.
可选地,在本实施例中,上述程序用于执行以下步骤:Optionally, in this embodiment, the foregoing program is used to perform the following steps:
S1,网管服务器接收包含待唤醒云终端的唤醒数据包;S1. The network management server receives the wake-up data packet that includes the cloud terminal to be woken up;
S2,网管服务器通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。S2. The network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs.
可选地,在本实施例中,上述程序用于执行以下步骤:在网管服务器接收包含待唤醒云终端的唤醒数据包之前,还包括:Optionally, in this embodiment, the foregoing procedure is used to perform the following steps: before the network management server receives the wake-up data packet that includes the cloud terminal to be woken, the method further includes:
S1,网管服务器接收代理设置消息,所述代理设置消息包含分别在各网段内为各网段的云终端所设置的代理发送终端。S1. The network management server receives a proxy setting message, where the proxy setup message includes a proxy sending terminal that is set in each network segment for the cloud terminal of each network segment.
可选地,在本实施例中,上述程序用于执行以下步骤:所述各网段内的代理发送终端为:Optionally, in this embodiment, the foregoing procedure is used to perform the following steps: the proxy sending terminal in each network segment is:
S1,对于网管服务器所在的网段,其代理发送终端为该网管服务器;S1. For the network segment where the network management server is located, the proxy sending terminal is the network management server.
S2,对于其他网段,其代理发送终端为分别从各网段内的云终端中选择的一个在线云终端。S2. For other network segments, the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
可选地,在本实施例中,上述程序用于执行以下步骤:网管服务器通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包包括:Optionally, in this embodiment, the foregoing procedure is used to perform the following steps: the network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal belongs to:
S1,网管服务器判断所述待唤醒云终端与自身是否在同一网段,如是,直接将该唤醒数据包发送给所述待唤醒云终端;S1, the network management server determines whether the to-be-awake cloud terminal is in the same network segment as itself, and if yes, directly sends the wake-up data packet to the to-be-awake cloud terminal;
S2,否则,通知所述待唤醒云终端所属网段的代理发送终端向所述待唤醒云终端发送唤醒数据包。S2. Otherwise, the proxy sending terminal that informs the network segment to which the cloud terminal to be awakened belongs to send the wake-up data packet to the to-be-awake cloud terminal.
可选地,在本实施例中,上述程序用于执行以下步骤:网管服务器判 断所述待唤醒云终端与自身是否在同一网段包括:Optionally, in this embodiment, the foregoing procedure is used to perform the following steps: Whether the cloud terminal to be awakened is in the same network segment as itself:
S1,网管服务器根据自身IP地址和所述待唤醒云终端的IP地址判断该待唤醒云终端与自身是否在同一网段;S1. The network management server determines, according to the IP address of the mobile terminal and the IP address of the cloud terminal to be awakened, whether the to-be-awake cloud terminal is in the same network segment as the self-awake cloud terminal.
或,or,
S2,网管服务器根据自身子网IP和所述待唤醒云终端的子网IP判断该待唤醒云终端与自身是否在同一网段。S2. The network management server determines, according to the subnet IP of the network and the subnet IP of the to-be-awake cloud terminal, whether the to-be-awake cloud terminal is in the same network segment as itself.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
在本发明实施例提供的云终端唤醒方法中,网管服务器在接收包含待唤醒云终端的唤醒数据包后,可以直接通过各网段的代理发送终端向待唤醒云终端发送所述唤醒数据包。这样不需要针对各网段内成千上万的云终端的路由配置信息进行改变,仅需在各网段设置一个代理发送终端即可,即不会涉及因改变路由配置信息而给用户造成各种安全隐患以及其他麻 烦,又能避免对大量的路由配置信息进行改变时容易出错的问题,节省人力、物理成本,提升唤醒效率和用户体验。 In the cloud terminal wake-up method provided by the embodiment of the present invention, after receiving the wake-up data packet of the cloud terminal to be awakened, the network management server may directly send the wake-up data packet to the cloud terminal to be awakened by the proxy sending terminal of each network segment. Therefore, it is not necessary to change the routing configuration information of tens of thousands of cloud terminals in each network segment, and only one proxy sending terminal needs to be set in each network segment, that is, it does not involve causing the user to change the routing configuration information. Safety hazards and other hemp Annoying, and can avoid the problem of error-prone when changing a large amount of routing configuration information, saving manpower, physical cost, and improving wake-up efficiency and user experience.

Claims (15)

  1. 一种云终端唤醒方法,包括:A cloud terminal wakeup method includes:
    网管服务器接收包含待唤醒云终端的唤醒数据包;The network management server receives the wake-up data packet that includes the cloud terminal to be woken up;
    网管服务器通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。The network management server sends the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs.
  2. 如权利要求1所述的云终端唤醒方法,其中,在所述网管服务器接收包含待唤醒云终端的所述唤醒数据包之前,还包括:The method for waking up a cloud terminal according to claim 1, wherein before the network management server receives the wake-up data packet that includes the cloud terminal to be woken, the method further includes:
    网管服务器接收代理设置消息,所述代理设置消息包含分别在各网段内为各网段的云终端所设置的代理发送终端。The network management server receives the proxy setting message, and the proxy setup message includes a proxy sending terminal set for each cloud segment of each network segment in each network segment.
  3. 如权利要求1或2所述的云终端唤醒方法,其中,所述各网段内的代理发送终端为:The cloud terminal wake-up method according to claim 1 or 2, wherein the proxy sending terminal in each network segment is:
    对于网管服务器所在的网段,其代理发送终端为该网管服务器;For the network segment where the network management server is located, the proxy sending terminal is the network management server;
    对于其他网段,其代理发送终端为分别从各网段内的云终端中选择的一个在线云终端。For other network segments, the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
  4. 如权利要求3所述的云终端唤醒方法,其中,网管服务器通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包包括:The method for waking up a cloud terminal according to claim 3, wherein the network management server sends the wake-up data packet to the cloud terminal to be awakened by the proxy sending terminal of the network segment to which the cloud terminal belongs to:
    网管服务器判断所述待唤醒云终端与自身是否在同一网段,如是,直接将该唤醒数据包发送给所述待唤醒云终端;The network management server determines whether the cloud terminal to be awakened is in the same network segment as itself, and if yes, directly sends the wake-up data packet to the cloud terminal to be awakened;
    否则,通知所述待唤醒云终端所属网段的代理发送终端向所述待唤醒云终端发送唤醒数据包。Otherwise, the proxy sending terminal that notifies the network segment to which the cloud terminal belongs to be sent sends the wake-up data packet to the to-be-awake cloud terminal.
  5. 如权利要求4所述的云终端唤醒方法,其中,网管服务器判断所述待唤醒云终端与自身是否在同一网段包括:The cloud terminal wake-up method according to claim 4, wherein the network management server determines whether the cloud terminal to be awakened is in the same network segment as itself:
    网管服务器根据自身IP地址和所述待唤醒云终端的IP地址判断该待唤醒云终端与自身是否在同一网段; The network management server determines, according to the IP address of the mobile terminal and the IP address of the cloud terminal to be awakened, whether the cloud terminal to be awake is in the same network segment as itself;
    或,or,
    网管服务器根据自身子网IP和所述待唤醒云终端的子网IP判断该待唤醒云终端与自身是否在同一网段。The network management server determines whether the to-be-awake cloud terminal is in the same network segment as the self-subnet IP and the subnet IP of the to-be-awake cloud terminal.
  6. 一种网管服务器,包括:A network management server, comprising:
    处理模块,设置为接收到包含待唤醒云终端的唤醒数据后,通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。The processing module is configured to send the wake-up data packet to the to-be-awake cloud terminal by using the proxy sending terminal of the network segment to which the cloud terminal to be awakened belongs after receiving the wake-up data of the cloud terminal to be awakened.
  7. 如权利要求6所述的网管服务器,其中,所述网管服务器还包括:The network management server of claim 6, wherein the network management server further comprises:
    代理设置模块,设置为接收代理设置消息,所述代理设置消息包含分别在网段内为各网段的云终端所设置的代理发送终端。The proxy setting module is configured to receive a proxy setup message, where the proxy setup message includes a proxy sending terminal that is respectively set in the network segment for the cloud terminal of each network segment.
  8. 如权利要求6或7所述的网管服务器,其中,所述各网段内的代理发送终端为:The network management server according to claim 6 or 7, wherein the proxy sending terminal in each network segment is:
    对于网管服务器所在的网段,其代理发送终端为该网管服务器;For the network segment where the network management server is located, the proxy sending terminal is the network management server;
    对于其他网段,其代理发送终端为分别从各网段内的云终端中选择的一个在线云终端。For other network segments, the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
  9. 如权利要求8所述的网管服务器,其中,所述处理模块通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包包括:The network management server according to claim 8, wherein the processing module sends the wake-up data packet to the to-be-awake cloud terminal by the proxy sending terminal of the network segment to which the cloud terminal belongs to:
    所述处理模块判断所述待唤醒云终端与网管服务器自身是否在同一网段,如是,直接将该唤醒数据包发送给所述待唤醒云终端;The processing module determines whether the to-be-awake cloud terminal and the network management server are in the same network segment, and if yes, directly send the wake-up data packet to the to-be-awake cloud terminal;
    否则,通知所述待唤醒云终端所属网段的代理发送终端向所述待唤醒云终端发送唤醒数据包。Otherwise, the proxy sending terminal that notifies the network segment to which the cloud terminal belongs to be sent sends the wake-up data packet to the to-be-awake cloud terminal.
  10. 如权利要求9所述的网管服务器,其中,所述处理模块判断 所述待唤醒云终端与自身是否在同一网段包括:The network management server according to claim 9, wherein said processing module determines Whether the cloud terminal to be awakened is in the same network segment as itself:
    所述处理模块根据所述网管服务器自身IP地址和所述待唤醒云终端的IP地址判断该待唤醒云终端与所述网管服务器是否在同一网段;The processing module determines, according to the IP address of the network management server and the IP address of the cloud terminal to be awakened, whether the to-be-awake cloud terminal and the network management server are in the same network segment;
    或,or,
    所述处理模块根据所述网管服务器自身子网IP和所述待唤醒云终端的子网IP判断该待唤醒云终端与所述网管服务器是否在同一网段。The processing module determines, according to the subnet IP of the network management server and the subnet IP of the to-be-awake cloud terminal, whether the to-be-awake cloud terminal and the network management server are in the same network segment.
  11. 一种云通信系统,包括网管服务器和分别处于不同网段的云终端;A cloud communication system includes a network management server and cloud terminals respectively on different network segments;
    所述网管服务器设置为接收包含待唤醒云终端的唤醒数据后,通过所述待唤醒云终端所属网段的代理发送终端向该待唤醒云终端发送唤醒数据包。After the network management server is configured to receive the wake-up data of the cloud terminal to be awakened, the proxy sending terminal of the network segment to which the cloud terminal belongs to be sent sends the wake-up data packet to the to-be-awake cloud terminal.
  12. 如权利要求11所述的云通信系统,其中,所述网管服务器还设置为接收代理设置消息,所述代理设置消息包含分别在各网段内为各网段的云终端所设置的代理发送终端。The cloud communication system according to claim 11, wherein the network management server is further configured to receive a proxy setting message, where the proxy setup message includes a proxy sending terminal set for each cloud segment of each network segment in each network segment .
  13. 如权利要求11所述的云通信系统,其中,所述各网段内的代理发送终端为:The cloud communication system according to claim 11, wherein the proxy sending terminal in each network segment is:
    对于网管服务器所在的网段,其代理发送终端为该网管服务器;For the network segment where the network management server is located, the proxy sending terminal is the network management server;
    对于其他网段,其代理发送终端为分别从各网段内的云终端中选择的一个在线云终端。For other network segments, the proxy sending terminal is an online cloud terminal selected from the cloud terminals in each network segment.
  14. 一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至5中任一项所述的方法。A storage medium, the storage medium comprising a stored program, wherein the program is executed to perform the method of any one of claims 1 to 5.
  15. 一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至5中任一项所述的方法。 A processor for running a program, wherein the program is executed to perform the method of any one of claims 1 to 5.
PCT/CN2017/080924 2016-04-18 2017-04-18 Cloud terminal wake-up method, network management server, and cloud communication system WO2017181941A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610243533.1 2016-04-18
CN201610243533.1A CN107306188A (en) 2016-04-18 2016-04-18 Cloud terminal awakening method, NM server and cloud communication system

Publications (1)

Publication Number Publication Date
WO2017181941A1 true WO2017181941A1 (en) 2017-10-26

Family

ID=60115615

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080924 WO2017181941A1 (en) 2016-04-18 2017-04-18 Cloud terminal wake-up method, network management server, and cloud communication system

Country Status (2)

Country Link
CN (1) CN107306188A (en)
WO (1) WO2017181941A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117194B (en) * 2018-07-20 2021-03-26 广东微云科技股份有限公司 Cross-network-segment remote awakening method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008066769A (en) * 2006-09-04 2008-03-21 Toshiba Corp Device to be actuated, actuation requesting device, network system, actuating method, and program
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
CN104618452A (en) * 2015-01-06 2015-05-13 北京卓越信通电子股份有限公司 PIS (Passenger Information System) based remote wake-up method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008066769A (en) * 2006-09-04 2008-03-21 Toshiba Corp Device to be actuated, actuation requesting device, network system, actuating method, and program
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
CN104618452A (en) * 2015-01-06 2015-05-13 北京卓越信通电子股份有限公司 PIS (Passenger Information System) based remote wake-up method

Also Published As

Publication number Publication date
CN107306188A (en) 2017-10-31

Similar Documents

Publication Publication Date Title
US20200267069A1 (en) Link switching method, link switching device, network communication system, and computer-readable storage medium
US9223392B2 (en) Reduced power state network processing
US9391877B2 (en) System and method for reducing information loss in an aggregated information handling system
US8898493B2 (en) Architecture to enable energy savings in networked computers
US20100332212A1 (en) Method and apparatus for sleep and wake of computer devices
US7779282B2 (en) Maintaining network connectivity while operating in low power mode
US9152195B2 (en) Wake on cloud
US20120278636A1 (en) Remote wake mechanism for a network system and remote wake method thereof
WO2019153488A1 (en) Service configuration management method, apparatus, storage medium and server
US8903960B2 (en) Activate attribute for service profiles in unified computing system
US20110029659A1 (en) Method and System for Network Proxy Services for Energy Efficient Networking
US8667311B2 (en) Method and system for optimized power management for a network device supporting PCI-E and energy efficient ethernet
US9288269B2 (en) Network presence offload
WO2018049966A1 (en) Method, apparatus and system for controlling video monitoring system
US20170195275A1 (en) Delivery of email to a mobile device
CN108605292B (en) Power aware network communication
US11074084B2 (en) Technologies for optimizing resume time for media agnostic USB
US10284436B2 (en) Cloud based wake-on-LAN for thin clients
WO2017181941A1 (en) Cloud terminal wake-up method, network management server, and cloud communication system
JP2011097587A (en) Method, computer program, and apparatus for link transition of ethernet (r) with sufficient energy efficiency to prevent packet loss using high speed failover
TWI766035B (en) System and method for device management
WO2016188081A1 (en) Extended port processing method, apparatus and system
US7756975B1 (en) Methods and systems for automatically discovering information about a domain of a computing device
CN104468202A (en) Management method and device of customer premise equipment (CPE)
WO2013040929A1 (en) Virtual machine running method and system

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17785425

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17785425

Country of ref document: EP

Kind code of ref document: A1