CN106856433B - Equipment awakening method, device and system - Google Patents

Equipment awakening method, device and system Download PDF

Info

Publication number
CN106856433B
CN106856433B CN201611242254.XA CN201611242254A CN106856433B CN 106856433 B CN106856433 B CN 106856433B CN 201611242254 A CN201611242254 A CN 201611242254A CN 106856433 B CN106856433 B CN 106856433B
Authority
CN
China
Prior art keywords
equipment
mobile terminal
mac address
data packet
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611242254.XA
Other languages
Chinese (zh)
Other versions
CN106856433A (en
Inventor
范慧敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201611242254.XA priority Critical patent/CN106856433B/en
Publication of CN106856433A publication Critical patent/CN106856433A/en
Application granted granted Critical
Publication of CN106856433B publication Critical patent/CN106856433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an equipment awakening method, which is applied to a mobile terminal, wherein the mobile terminal is provided with a multi-screen interactive application matched with equipment, and the equipment awakening method comprises the following steps: the mobile terminal searches for started equipment in the local area network based on the installed multi-screen interactive application; determining equipment to be awakened in equipment in a standby state, and acquiring an MAC address of the equipment to be awakened from a prestored address mapping table; and encapsulating the obtained MAC address into a data packet, and sending the data packet to the equipment to be awakened through a local area network so that the equipment to be awakened is switched from a standby state to a working state when receiving the data packet. The invention also discloses a device awakening device and a system. The invention reduces the waste of the memory of the terminal and improves the convenience and intelligence of equipment awakening.

Description

Equipment awakening method, device and system
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a device wake-up method, apparatus, and system.
Background
With the continuous development of internet technology and the continuous maturation of remote control technology, more and more mobile terminals have supported the function of network wake-up equipment, that is, the remote wake-up of the equipment is realized through a local area network.
However, the current mobile terminal wake-up device needs to additionally install remote wake-up software in the mobile terminal, and when the device is woken up, a Media Access Control (MAC) address of the device needs to be manually input in the remote wake-up software to wake up the device. It can be understood that the remote wake-up software is additionally downloaded in the mobile terminal, the memory of the mobile terminal is occupied, the running efficiency of the mobile terminal is easily reduced, and the MAC address of the manual input device wakes up the device, so that the operation is more complicated, and the intelligence is lower.
Disclosure of Invention
The invention mainly aims to provide a device awakening method, a device and a system, and aims to solve the technical problems that the operation efficiency of a mobile terminal is easily reduced, the operation of awakening devices is complicated and the intelligence is low in the existing device awakening mode.
In order to achieve the above object, the present invention provides an apparatus wake-up method, which is applied to a mobile terminal, where the mobile terminal is installed with a multi-screen interactive application matched with an apparatus, and the apparatus wake-up method includes:
the mobile terminal searches for started equipment in the local area network based on the installed multi-screen interactive application;
determining equipment to be awakened in equipment in a standby state, and acquiring an MAC address of the equipment to be awakened from a prestored address mapping table;
and encapsulating the obtained MAC address into a data packet, and sending the data packet to the equipment to be awakened through a local area network so that the equipment to be awakened is switched from a standby state to a working state when receiving the data packet.
Preferably, before the step of determining a device to be woken up in the device in the standby state, the device wake-up method further includes:
when the equipment is searched in the local area network, the mobile terminal generates an address mapping table of an equipment IP address and an MAC address through a preset address resolution protocol;
and storing the generated address mapping table.
Preferably, the step of determining a device to be woken up among the devices in the standby state and acquiring the MAC address of the device to be woken up from a pre-stored address mapping table includes:
the mobile terminal displays identification information corresponding to the searched equipment in a preset area, wherein the displayed equipment comprises equipment in a working state and equipment in a standby state;
when the area where the equipment in the standby state is located receives touch operation, the touched equipment is taken as equipment to be awakened;
and acquiring a corresponding MAC address in a pre-stored address mapping table according to the IP address of the equipment to be awakened.
Preferably, the step of determining a device to be woken up among the devices in the standby state and acquiring the MAC address of the device to be woken up from a pre-stored address mapping table further includes:
when the equipment in the standby state comprises a plurality of pieces of equipment, the mobile terminal inquires a preset awakening priority so as to determine the equipment with the highest awakening priority;
and acquiring a corresponding MAC address in a pre-stored address mapping table according to the IP address of the device with the highest awakening priority.
Preferably, the step of searching for the started device in the local area network by the mobile terminal based on the installed multi-screen interactive application includes:
the mobile terminal broadcasts an online message based on the multi-screen interactive application, so that when the started equipment in the local area network receives the online message, a response message is fed back to the mobile terminal, and when the mobile terminal receives the response message, the equipment is confirmed to be searched.
In addition, to achieve the above object, the present invention further provides an apparatus wake-up device, which is applied to a mobile terminal, where the mobile terminal is installed with a multi-screen interactive application matched with an apparatus, and the apparatus wake-up method device includes:
the search module is used for searching the started equipment in the local area network based on the installed multi-screen interactive application;
the device comprises a processing module, a receiving module and a sending module, wherein the processing module is used for determining a device to be awakened in a device in a standby state and acquiring an MAC address of the device to be awakened from a prestored address mapping table;
and the packaging and sending module is used for packaging the acquired MAC address into a data packet and sending the data packet to the equipment to be awakened through a local area network so that the equipment to be awakened is switched from a standby state to a working state when receiving the data packet.
Preferably, the device wake-up apparatus further includes:
the generating module is used for generating an address mapping table of the IP address and the MAC address of the equipment through a preset address resolution protocol when the equipment is searched in the local area network;
and the storage module is used for storing the generated address mapping table.
Preferably, the processing module comprises:
the display unit is used for displaying the identification information corresponding to the searched equipment in a preset area, wherein the displayed equipment comprises equipment in a working state and equipment in a standby state;
the processing unit is used for taking the touched equipment as equipment to be awakened when the area where the equipment in the standby state is located receives touch operation;
and the first acquisition unit is used for acquiring a corresponding MAC address in a pre-stored address mapping table according to the IP address of the equipment to be awakened.
Preferably, the processing module further comprises:
the device comprises an inquiry unit and a control unit, wherein the inquiry unit is used for inquiring a preset awakening priority when the device in the standby state comprises a plurality of devices so as to determine the device with the highest awakening priority;
and the second acquisition unit is used for acquiring the corresponding MAC address in the pre-stored address mapping table according to the IP address of the device with the highest awakening priority.
Preferably, the search module is further configured to broadcast an online message based on the multi-screen interactive application, so that when the started device in the local area network receives the online message, a response message is fed back to the mobile terminal, and when the mobile terminal receives the response message, the device is determined to be searched.
In addition, to achieve the above object, the present invention further provides a device wake-up system, where the device wake-up system includes a mobile terminal and at least one device, where the mobile terminal is the device wake-up apparatus described above, and the device includes:
the extraction module is used for extracting the MAC address from the data packet when receiving the data packet sent by the mobile terminal;
the comparison module is used for comparing the extracted MAC address with a local MAC address;
and the switching module is used for switching from the standby state to the working state when the comparison results are matched.
Preferably, the extraction module comprises:
the analysis unit is used for analyzing the data packet when receiving the data packet sent by the mobile terminal so as to determine whether the data packet contains a wake-up command;
and the extracting unit is used for extracting the MAC address from the data packet if the data packet contains the awakening command.
In the invention, the mobile terminal wakes up the equipment in a standby state in the local area network through the installed multi-screen interactive application without specially downloading and installing remote wake-up software, thereby reducing the waste of terminal memory.
Drawings
FIG. 1 is a flowchart illustrating a wake-up method of a device according to a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of a first detailed flowchart of step S20 in FIG. 1;
FIG. 3 is a schematic diagram of a second detailed flowchart of step S20 in FIG. 1;
FIG. 4 is a diagram illustrating a preferred embodiment of the present invention;
FIG. 5 is a functional block diagram of a wake-up apparatus according to a preferred embodiment of the present invention;
FIG. 6 is a schematic diagram of a first refinement function of the processing module 20 of FIG. 5;
FIG. 7 is a schematic diagram of a second refinement function of the processing module 20 of FIG. 5;
FIG. 8 is a functional block diagram of a wake-up system of an apparatus according to a preferred embodiment of the present invention;
fig. 9 is a schematic diagram of a refinement function module of the extraction module 40 in fig. 8.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The solution of the embodiment of the invention is mainly as follows: the mobile terminal searches for started equipment in a local area network based on the installed multi-screen interactive application, subsequently determines equipment to be awakened in the equipment in a standby state, acquires an MAC address of the equipment to be awakened from a prestored address mapping table, encapsulates the acquired MAC address into a data packet, and sends the data packet to the equipment to be awakened through the local area network, so that the equipment to be awakened is switched to a working state from the standby state when receiving the data packet. The problems that the operation efficiency of the mobile terminal is reduced due to the fact that remote awakening software needs to be additionally installed in the mobile terminal of the existing mobile terminal awakening device, and the equipment awakening operation is complex and low in intelligence due to the fact that the MAC address of the equipment needs to be manually input in the remote awakening software when the equipment is awakened are solved.
The invention provides a device awakening method which is applied to a mobile terminal.
Referring to fig. 1, fig. 1 is a flowchart illustrating a device wake-up method according to a preferred embodiment of the invention.
In this embodiment, the mobile terminal is equipped with a multi-screen interactive application matched with the device, and the device wake-up method includes:
the mobile terminal searches for started equipment in the local area network based on the installed multi-screen interactive application; determining equipment to be awakened in equipment in a standby state, and acquiring an MAC address of the equipment to be awakened from a prestored address mapping table; and encapsulating the obtained MAC address into a data packet, and sending the data packet to the equipment to be awakened through a local area network so that the equipment to be awakened is switched from a standby state to a working state when receiving the data packet.
It should be understood that with the rapid development of internet technology, a multi-screen interaction technology has been gradually applied to mobile terminals. The multi-screen interaction technology is based on a Digital Living Network Alliance (DLNA) protocol or a flash internet protocol, connected through a WIFI Network, and comprises the following steps of: the present invention relates to a multimedia terminal equipped with an operating system such as IOS, Android, Windows, etc., such as a mobile phone, a PAD (tablet Computer), a PC (Personal Computer), a TV (Television), etc., and a technology for performing a series of operations such as transmission, analysis, display, or control of multimedia (audio, video, and picture contents), etc., the multi-screen interactive technology can simultaneously display shared contents on different platform devices, enriching multimedia life of users.
Therefore, in this embodiment, the mobile terminal is installed with the multi-screen interactive application first, and the mobile terminal is installed with the multi-screen interactive application matched with the device to be awakened, and then the mobile terminal can communicate with the device to be awakened by using the same set of multi-screen interactive communication protocol, so as to awaken the device.
Certainly, to Wake up the device through the mobile terminal, the mobile terminal and the device both have to be a mobile terminal and a device in the same Lan, and the device needs to meet the hardware requirement of network Wake-up, that is, the device needs to have a network card, a motherboard, and an ATX power supply that support WOL (Wake On Lan) functions.
In this scheme, the mobile terminal includes but is not limited to a mobile phone, a PAD, a PC, or a TV, and similarly, the device also includes but is not limited to a mobile phone, a PAD, a PC, or a TV, and the like, that is, in this scheme, the mobile phone may control the TV to wake up, or the PAD may control the mobile phone to wake up, and each terminal device is not specifically limited. For ease of understanding, the following description will be made by taking as examples a mobile terminal that explains by way of example a mobile phone and a device that explains by way of example a TV. The device wake-up in the scheme is the wake-up for the device in the standby state, and is not for the start-up of the device which is already powered off, so that the device in the scheme is the device which is already powered on.
The following are specific steps of gradually implementing device wake-up in this embodiment:
step S10, the mobile terminal searches the started equipment in the local area network based on the installed multi-screen interactive application;
in this embodiment, the implementation manner of step S10 includes:
1) the method comprises the steps that firstly, touch operation is detected in a preset awakening control of the mobile terminal, wherein the touch operation comprises click touch operation, long-time press touch operation or sliding touch operation, multi-screen interactive application is started based on the received touch operation, and then related and started equipment in a local area network is searched based on the started multi-screen interactive application;
2) and secondly, when the starting operation based on the multi-screen interactive application is detected, starting the multi-screen interactive application, then displaying a preset awakening control based on the started multi-screen interactive application, detecting touch operations including click touch operation, long-time press touch operation or sliding touch operation in the preset awakening control, and searching the associated and started equipment in the local area network based on the touch operations received in the multi-screen interactive application.
The associated device in the local area network refers to a device bound by the mobile terminal in advance, namely a device bound by the multi-screen interactive application in advance to realize multimedia synchronization.
In this embodiment, a specific way for the mobile terminal to search the started devices in the local area network based on the installed multi-screen interactive application is as follows: the mobile terminal broadcasts an online message based on the multi-screen interactive application, so that when the started equipment in the local area network receives the online message, a response message is fed back to the mobile terminal, and when the mobile terminal receives the response message, the equipment is confirmed to be searched.
That is, the mobile terminal starts a search device service based on starting the multi-screen interactive application, and then broadcasts an online message to a local area network in a form of a UDP (User Datagram Protocol) data packet, at this time, each of the booted devices associated in the same local area network receives the online message, and after each of the booted devices receives the online message, a response message is also fed back to the mobile terminal in a form of a UDP data packet. When the mobile terminal receives the response message fed back by the equipment, the equipment is confirmed to be searched, if one equipment feeds back the response message, the equipment is considered to be searched, and if two equipment feed back the response message, the two equipment are considered to be searched. The UDP data packets sent or received in the process of searching the equipment through the multi-screen interactive application are sent and received in a network socket communication mode.
Step S20, determining a device to be awakened in the device in the standby state, and acquiring the MAC address of the device to be awakened from a prestored address mapping table;
in this embodiment, before the step S20, the method further includes:
step A, when equipment is searched in a local area network, the mobile terminal generates an address mapping table of an equipment IP address and an MAC address through a preset address resolution protocol;
and B, storing the generated address mapping table.
In this embodiment, when the mobile terminal searches for a related device in a local area network, the mobile terminal first obtains an IP Address of the device, then converts the IP Address of the device into an MAC Address of the device through a preset ARP (Address Resolution Protocol), then obtains an Address mapping table of the IP Address and the MAC Address of the device, and finally stores the obtained Address mapping table in a preset storage space.
Subsequently, a device which is associated and turned on is searched in the lan, a device to be wakened is determined from the devices in the standby state, and the MAC address of the device to be wakened is obtained from a pre-stored address mapping table, and specifically, the implementation manner of step S20 includes:
1) in the first mode, referring to fig. 2, the step S20 includes:
step S21, the mobile terminal displays the identification information corresponding to the searched equipment in a preset area, wherein the displayed equipment comprises equipment in a working state and equipment in a standby state;
step S22, when the area of the standby device receives the touch operation, the touched device is used as the device to be wakened;
and step S23, acquiring a corresponding MAC address in a pre-stored address mapping table according to the IP address of the device to be awakened.
It should be understood that, because the mobile terminal can only search the turned-on device, the turned-on device is displayed in the device list of the mobile terminal, and after any device is in standby, the device on the mobile terminal changes from online to offline, and at this time, it is determined that the device is in standby, and when the user finds the device from the device list of the mobile terminal and clicks to wake up the device, the user can wake up the device.
2) In a second mode, referring to fig. 3, the step S20 further includes:
step S24, when the device in standby state includes multiple devices, the mobile terminal queries a preset wake-up priority to determine the device with the highest wake-up priority;
and step S25, acquiring a corresponding MAC address in a pre-stored address mapping table according to the IP address of the device with the highest awakening priority.
That is, when the device in the standby state includes multiple devices, the preset wake-up priority is queried to determine the device with the highest wake-up priority, the MAC address corresponding to the device with the highest wake-up priority is obtained in the pre-stored address mapping table, and then the encapsulation sending operation can be executed according to the MAC address of the device with the highest wake-up priority. The wake-up priority may be set according to the operation habit of the user, for example, the device that is connected last time is set as the device with the highest wake-up priority, or the device with the highest connection time is set as the device with the highest wake-up priority, and so on.
In the second mode, the awakening priority is set through the operation habit of the user, so that the user is prevented from executing a list of equipment searching in the mobile terminal, one of the equipment is selected as the equipment to be awakened, and a series of operations are performed, so that the awakening function is more humanized and intelligent.
Step S30, encapsulating the obtained MAC address into a data packet, and sending the data packet to the device to be wakened through a local area network, so that the device to be wakened switches from a standby state to a working state when receiving the data packet.
In this embodiment, after the MAC address of the device is acquired, the acquired MAC address is encapsulated into a data packet, specifically, the MAC address is encapsulated into a data packet in a specific wake-up format, and then the data packet is sent to the device to be woken up through a local area network, so that the device to be woken up is switched from a standby state to a working state when receiving the data packet.
According to the equipment awakening method provided by the embodiment, the mobile terminal awakens equipment in a standby state in a local area network through the installed multi-screen interactive application without downloading and installing remote awakening software specially, so that the waste of terminal memory is reduced, meanwhile, the MAC address of the equipment is obtained through the multi-screen interactive application, the equipment is awakened according to the obtained MAC address, and the MAC address of the equipment is not required to be manually input, so that the equipment is awakened more conveniently and intelligently.
Based on the specific description of the embodiments described in fig. 1 to fig. 3, this embodiment describes again the implementation process of the device wake-up method according to the present invention in a specific application scenario.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a specific scenario of device wake-up according to the present invention.
As shown in fig. 4, the mobile terminal is a mobile phone, and the device is a television, when the mobile phone starts a multi-screen interactive application, and the television is turned on, the mobile phone searches for a television associated with the local area network through the multi-screen interactive application, specifically, searches through a socket communication manner, that is, searches through a manner of sending or receiving a UDP packet, and when the television is searched, generates an address mapping table of an IP address and an MAC address of the television through an ARP address resolution protocol, at this time, a preset area of a display interface of the mobile phone displays a device list, if the device list is found, the television becomes an offline state, which indicates that the television is in a standby state, and if a user clicks or touches an area where identification information of the television is located, the mobile phone queries a prestored address mapping table to obtain a corresponding MAC address according to the IP address of the television, and then packaging the MAC address into a data packet in a specific awakening format to be sent to the television, so as to awaken the television.
The invention aims to provide a mobile terminal such as a mobile phone terminal for realizing a network awakening function based on a multi-screen interaction technology, the network awakening function is realized on the basis of the existing multi-screen interaction function, more friendly and intelligent operation experience is provided for a user, and the function polymerization degree of mobile phone software matched with a television is improved.
Furthermore, most of mobile phone end multi-screen interactive applications are matched, if the network awakening function can be realized by means of the multi-screen interactive applications, a user does not need to additionally download third-party software, waste of mobile phone memory is reduced, more functions related to a television can be aggregated in the same software, and great convenience is provided.
The invention further provides a device awakening device which is applied to the mobile terminal.
Referring to fig. 5, fig. 5 is a functional block diagram of a wake-up apparatus according to a preferred embodiment of the invention.
It should be emphasized that the functional block diagram of fig. 5 is merely an exemplary diagram of a preferred embodiment, and those skilled in the art can easily add new functional blocks around the functional blocks of the device wake-up apparatus shown in fig. 5; the names of the functional modules are self-defined names which are only used for assisting in understanding the program functional blocks of the equipment awakening device and are not used for limiting the technical scheme of the invention, and the core of the technical scheme of the invention is the functions which are to be achieved by the functional modules with the respective defined names.
In this embodiment, the mobile terminal is installed with a multi-screen interactive application matched with the device, and the device wake-up method apparatus:
the search module 10 is configured to search for a started device in the local area network based on the installed multi-screen interactive application;
the processing module 20 is configured to determine a device to be woken up from devices in a standby state, and obtain an MAC address of the device to be woken up from a pre-stored address mapping table;
and the encapsulation sending module 30 is configured to encapsulate the acquired MAC address into a data packet, and send the data packet to the device to be wakened through a local area network, so that the device to be wakened switches from a standby state to a working state when receiving the data packet.
It should be understood that with the rapid development of internet technology, a multi-screen interaction technology has been gradually applied to mobile terminals. The multi-screen interaction technology is based on a Digital Living Network Alliance (DLNA) protocol or a flash internet protocol, connected through a WIFI Network, and comprises the following steps of: a multimedia terminal provided with operating systems such as IOS, Android and Windows, such as mobile phone, PAD, PC (Personal Computer) or TV (Television), for performing a series of operations such as transmission, analysis, presentation or control of multimedia (audio, video, picture content), the multi-screen interaction technology can simultaneously display shared contents on different platform devices, enriches the multimedia life of users, is simply the screen of a plurality of terminal devices, the technology of interconnecting and converting is realized through special connection application, for example, a movie on a mobile phone can be played on a computer, a picture on a flat panel can be displayed on a television, the content of the computer can be projected on the television, and the like.
Therefore, in this embodiment, the mobile terminal is installed with the multi-screen interactive application first, and the mobile terminal is installed with the multi-screen interactive application matched with the device to be awakened, and then the mobile terminal can communicate with the device to be awakened by using the same set of multi-screen interactive communication protocol, so as to awaken the device.
Certainly, to Wake up the device through the mobile terminal, the mobile terminal and the device both have to be a mobile terminal and a device in the same Lan, and the device needs to meet the hardware requirement of network Wake-up, that is, the device needs to have a network card, a motherboard, and an ATX power supply that support WOL (Wake On Lan) functions.
In this scheme, the mobile terminal includes but is not limited to a mobile phone, a PAD, a PC, or a TV, and similarly, the device also includes but is not limited to a mobile phone, a PAD, a PC, or a TV, and the like, that is, in this scheme, the mobile phone may control the TV to wake up, or the PAD may control the mobile phone to wake up, and each terminal device is not specifically limited. For ease of understanding, the following description will be made by taking as examples a mobile terminal that explains by way of example a mobile phone and a device that explains by way of example a TV. The device wake-up in the scheme is the wake-up for the device in the standby state, and is not for the start-up of the device which is already powered off, so that the device in the scheme is the device which is already powered on.
The following are specific modules for gradually implementing device wake-up in this embodiment, and specific functions of each module:
the search module 10 is configured to search, based on the installed multi-screen interactive application, for a device that is already started up in the local area network;
in this embodiment, the implementation manner of the search module 10 includes:
1) the method comprises the steps that firstly, touch operation is detected in a preset awakening control of the mobile terminal, wherein the touch operation comprises click touch operation, long-time press touch operation or sliding touch operation, a multi-screen interactive application is started based on the received touch operation, and the searching module 10 searches associated and started equipment in a local area network based on the started multi-screen interactive application;
2) in a second mode, when the multi-screen interactive application-based opening operation is detected, the multi-screen interactive application is started, then a preset awakening control is displayed based on the started multi-screen interactive application, touch operations including a click touch operation, a long-time press touch operation or a sliding touch operation are detected in the preset awakening control, and the search module 10 searches for associated and started devices in the local area network based on the touch operations received in the multi-screen interactive application.
The associated device in the local area network refers to a device bound by the mobile terminal in advance, namely a device bound by the multi-screen interactive application in advance to realize easy multimedia synchronization.
In this embodiment, the search module 10 is further configured to broadcast an online message based on the multi-screen interactive application, so that when the started device in the local area network receives the online message, a response message is fed back to the mobile terminal, where when the mobile terminal receives the response message, the mobile terminal confirms that the device is searched.
That is, the search module 10 starts a search device service based on the starting of the multi-screen interactive application, and then broadcasts an online message to the local area network in a form of a UDP (User Datagram Protocol) data packet, at this time, each of the booted devices associated in the same local area network receives the online message, and after each of the booted devices receives the online message, a response message is also fed back to the search module 10 in a form of a UDP data packet. When the response message fed back by the equipment is received, the equipment is confirmed to be searched, if one equipment feeds back the response message, the equipment is considered to be searched, and if two equipment feed back the response message, the two equipment are considered to be searched. The UDP data packets sent or received in the process of searching the equipment through the multi-screen interactive application are sent and received in a network socket communication mode.
The processing module 20 is configured to determine a device to be woken up in a device in a standby state, and obtain an MAC address of the device to be woken up from a pre-stored address mapping table;
further, the device wake-up apparatus further includes:
the generating module is used for generating an address mapping table of the IP address and the MAC address of the equipment through a preset address resolution protocol when the equipment is searched in the local area network;
and the storage module is used for storing the generated address mapping table.
In this embodiment, when the search module 10 searches for a related device in a local area network, the generation module first obtains an IP Address of the device, then converts the IP Address of the device into an MAC Address of the device through a preset ARP (Address Resolution Protocol), then obtains an Address mapping table of the IP Address and the MAC Address of the device, and the storage module finally stores the obtained Address mapping table into a preset storage space.
Subsequently, a device which is associated and has been turned on is searched in the lan, the processing module 20 determines a device to be wakened from the devices in the standby state, and obtains an MAC address of the device to be wakened from a pre-stored address mapping table, specifically, an embodiment of the processing module 20 includes:
1) in a first way, referring to fig. 6, the processing module 20 includes:
the display unit 21 is configured to display, in a preset area, identification information corresponding to the searched device, where the displayed device includes a device in a working state and a device in a standby state;
the processing unit 22 is configured to, when a touch operation is received in an area where the device in the standby state is located, take the touched device as a device to be woken up;
a first obtaining unit 23, configured to obtain a corresponding MAC address in a pre-stored address mapping table according to the IP address of the device to be wakened.
It should be understood that, because the mobile terminal can only search the turned-on device, the turned-on device is displayed in the device list of the mobile terminal, and after any device is in standby, the device on the mobile terminal changes from online to offline, and at this time, it is determined that the device is in standby, and when the user finds the device from the device list of the mobile terminal and clicks to wake up the device, the user can wake up the device.
2) In a second mode, referring to fig. 7, the processing module 20 further includes:
an inquiring unit 24, configured to, when the device in the standby state includes multiple devices, inquire a preset wake-up priority to determine a device with a highest wake-up priority;
and a second obtaining unit 25, configured to obtain, according to the IP address of the device with the highest wake-up priority, a corresponding MAC address in the pre-stored address mapping table.
That is, when the device in the standby state includes multiple devices, the querying unit 24 queries a preset wakeup priority to determine the device with the highest wakeup priority, the second obtaining unit 25 obtains the MAC address corresponding to the device with the highest wakeup priority in the pre-stored address mapping table, and then performs a package sending operation according to the MAC address of the device with the highest wakeup priority. The wake-up priority may be set according to the operation habit of the user, for example, the device that is connected last time is set as the device with the highest wake-up priority, or the device with the highest connection time is set as the device with the highest wake-up priority, and so on.
In the second mode, the awakening priority is set through the operation habit of the user, so that the user is prevented from executing a list of equipment searching in the mobile terminal, one of the equipment is selected as the equipment to be awakened, and a series of operations are performed, so that the awakening function is more humanized and intelligent.
The encapsulation sending module 30 is configured to encapsulate the acquired MAC address into a data packet, and send the data packet to the device to be wakened through a local area network, so that the device to be wakened switches from a standby state to a working state when receiving the data packet.
In this embodiment, after the MAC address of the device is obtained, the encapsulation sending module 30 encapsulates the obtained MAC address into a data packet, specifically encapsulates the MAC address into a data packet in a specific wake-up format, and sends the data packet to the device to be woken up through a local area network, so that the device to be woken up is switched from a standby state to a working state when receiving the data packet.
The equipment awakening device provided by the embodiment awakens equipment in a standby state in a local area network through installed multi-screen interactive application without specially downloading and installing remote awakening software, so that waste of terminal memory is reduced, meanwhile, the MAC address of the equipment is acquired through the multi-screen interactive application, awakening of the equipment is realized according to the acquired MAC address, the MAC address of the equipment is not required to be manually input, and the equipment is awakened more conveniently and intelligently.
The invention further provides a device wake-up system.
Referring to fig. 8, fig. 8 is a functional block diagram of a wake-up system of a device according to a preferred embodiment of the invention.
In this embodiment, the device wake-up system includes a mobile terminal and at least one device, where the mobile terminal is the device wake-up apparatus described above, and the device includes:
an extracting module 40, configured to extract an MAC address from a data packet sent by the mobile terminal when the data packet is received;
a comparison module 50, configured to compare the extracted MAC address with a local MAC address;
and a switching module 60, configured to switch from the standby state to the operating state when the comparison result matches.
In this embodiment, the device receives a data packet sent by the mobile terminal, specifically, the data packet is received through a network card, when the data packet sent by the mobile terminal is received, the extracting module 40 of the device extracts an MAC address from the data packet, then the comparing module 50 compares the extracted MAC address with a local MAC address, if the comparison result matches, it indicates that the data packet is used to wake up the terminal, and at this time, the main board of the device can switch the device from a standby state to a working state.
It can be understood that, when the device receives a data packet sent by the mobile terminal, the MAC address is extracted from the data packet, so as to compare the extracted MAC address with the local MAC address, and when the comparison result is matched, the device is switched from the standby state to the working state, thereby avoiding that a plurality of devices all execute a state switching operation when receiving the data packet.
Further, referring to fig. 9, the extraction module 40 includes:
an analyzing unit 41, configured to, when receiving a data packet sent by the mobile terminal, analyze the data packet to determine whether the data packet includes a wake-up command;
an extracting unit 42, configured to extract the MAC address from the data packet if the data packet includes the wake-up command.
That is, when a data packet sent by the mobile terminal is received, the data packet is analyzed through a hardware processing process to determine whether the data packet contains a wake-up command, specifically: analyzing a corresponding command from the data packet, comparing the analyzed command with a wakeup command prestored in the equipment to determine whether the command is the same as the wakeup command, if so, indicating that the data packet contains the wakeup command, and at the moment, directly extracting an MAC address from the data packet and executing subsequent state switching; if the data packet does not contain the wake-up command, at this time, it is indicated that the data packet is not the data packet of the wake-up command, and the subsequent matching operation may not be performed.
It can be understood that before the MAC address is extracted and compared, it is determined whether the packet is a packet of the wake-up command, if so, the subsequent operation is performed, and if not, the packet is ignored, thereby preventing the waste of system resources caused by the subsequent execution of a series of operations.
The equipment awakening system provided by the embodiment awakens equipment in a standby state in a local area network through installed multi-screen interactive application, does not need to download and install remote awakening software specially, reduces waste of a terminal memory, and meanwhile, acquires the MAC address of the equipment through the multi-screen interactive application, awakens the equipment according to the acquired MAC address, does not need to manually input the MAC address of the equipment, and enables the equipment to be awakened more conveniently and intelligently.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An equipment awakening method is applied to a mobile terminal and is characterized in that the mobile terminal is provided with a multi-screen interactive application matched with equipment, and the equipment awakening method comprises the following steps:
the mobile terminal searches for started equipment in the local area network based on the installed multi-screen interactive application;
determining equipment to be awakened in equipment in a standby state, and acquiring an MAC address of the equipment to be awakened from a prestored address mapping table;
the obtained MAC address is packaged into a data packet, and the data packet is sent to the equipment to be awakened through a local area network, so that the equipment to be awakened is switched from a standby state to a working state when receiving the data packet;
the step of determining a device to be awakened from the devices in the standby state and acquiring the MAC address of the device to be awakened from the pre-stored address mapping table further includes:
when the equipment in the standby state comprises a plurality of pieces of equipment, the mobile terminal inquires a preset awakening priority so as to determine the equipment with the highest awakening priority;
acquiring a corresponding MAC address in a prestored address mapping table according to the IP address of the equipment with the highest awakening priority;
and the awakening priority is set according to the operation habit of the user.
2. The device wake-up method according to claim 1, wherein the step of determining the device to wake-up among the devices in the standby state is preceded by the device wake-up method further comprising:
when the equipment is searched in the local area network, the mobile terminal generates an address mapping table of an equipment IP address and an MAC address through a preset address resolution protocol;
and storing the generated address mapping table.
3. The device wake-up method according to claim 1, wherein the step of determining a device to be woken up among the devices in the standby state and obtaining the MAC address of the device to be woken up from a pre-stored address mapping table comprises:
the mobile terminal displays identification information corresponding to the searched equipment in a preset area, wherein the displayed equipment comprises equipment in a working state and equipment in a standby state;
when the area where the equipment in the standby state is located receives touch operation, the touched equipment is taken as equipment to be awakened;
and acquiring a corresponding MAC address in a pre-stored address mapping table according to the IP address of the equipment to be awakened.
4. The device wake-up method according to any one of claims 1 to 3, wherein the step of searching for the powered-on device in the local area network by the mobile terminal based on the installed multi-screen interactive application comprises:
the mobile terminal broadcasts an online message based on the multi-screen interactive application, so that when the started equipment in the local area network receives the online message, a response message is fed back to the mobile terminal, and when the mobile terminal receives the response message, the equipment is confirmed to be searched.
5. The utility model provides an equipment awakening device, is applied to mobile terminal, its characterized in that, mobile terminal installs and uses with the supporting multi-screen interaction of equipment, equipment awakening device includes:
the search module is used for searching the started equipment in the local area network based on the installed multi-screen interactive application;
the device comprises a processing module, a receiving module and a sending module, wherein the processing module is used for determining a device to be awakened in a device in a standby state and acquiring an MAC address of the device to be awakened from a prestored address mapping table;
the packaging and sending module is used for packaging the acquired MAC address into a data packet and sending the data packet to the equipment to be awakened through a local area network so that the equipment to be awakened is switched from a standby state to a working state when receiving the data packet;
wherein the processing module further comprises:
the device comprises an inquiry unit and a control unit, wherein the inquiry unit is used for inquiring a preset awakening priority when the device in the standby state comprises a plurality of devices so as to determine the device with the highest awakening priority;
the second acquisition unit is used for acquiring a corresponding MAC address in a prestored address mapping table according to the IP address of the equipment with the highest awakening priority;
and the awakening priority is set according to the operation habit of the user.
6. The device wake-up apparatus of claim 5, wherein the device wake-up apparatus further comprises:
the generating module is used for generating an address mapping table of the IP address and the MAC address of the equipment through a preset address resolution protocol when the equipment is searched in the local area network;
and the storage module is used for storing the generated address mapping table.
7. The device wake-up apparatus of claim 5, wherein the processing module comprises:
the display unit is used for displaying the identification information corresponding to the searched equipment in a preset area, wherein the displayed equipment comprises equipment in a working state and equipment in a standby state;
the processing unit is used for taking the touched equipment as equipment to be awakened when the area where the equipment in the standby state is located receives touch operation;
and the first acquisition unit is used for acquiring a corresponding MAC address in a pre-stored address mapping table according to the IP address of the equipment to be awakened.
8. The device wake-up apparatus according to any one of claims 5 to 7, wherein the search module is further configured to broadcast an online message based on the multi-screen interactive application, so that when the powered-on device in the local area network receives the online message, a response message is fed back to the mobile terminal, and when the mobile terminal receives the response message, it is determined that the device is searched.
9. A device wake-up system, characterized in that the device wake-up system comprises a mobile terminal and at least one device, the mobile terminal comprising the device wake-up apparatus of any of claims 5-8, the device comprising:
the extraction module is used for extracting the MAC address from the data packet when receiving the data packet sent by the mobile terminal;
the comparison module is used for comparing the extracted MAC address with a local MAC address;
and the switching module is used for switching from the standby state to the working state when the comparison results are matched.
10. The device wake-up system according to claim 9, wherein the extraction module comprises:
the analysis unit is used for analyzing the data packet when receiving the data packet sent by the mobile terminal so as to determine whether the data packet contains a wake-up command;
and the extracting unit is used for extracting the MAC address from the data packet if the data packet contains the awakening command.
CN201611242254.XA 2016-12-28 2016-12-28 Equipment awakening method, device and system Active CN106856433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611242254.XA CN106856433B (en) 2016-12-28 2016-12-28 Equipment awakening method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611242254.XA CN106856433B (en) 2016-12-28 2016-12-28 Equipment awakening method, device and system

Publications (2)

Publication Number Publication Date
CN106856433A CN106856433A (en) 2017-06-16
CN106856433B true CN106856433B (en) 2020-12-29

Family

ID=59127028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611242254.XA Active CN106856433B (en) 2016-12-28 2016-12-28 Equipment awakening method, device and system

Country Status (1)

Country Link
CN (1) CN106856433B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522058B (en) * 2018-11-27 2023-03-24 北京小米移动软件有限公司 Wake-up method, device, terminal and storage medium
CN112055189A (en) * 2020-09-15 2020-12-08 上海跃影科技有限公司 Holographic system with network awakening function and network awakening method thereof
CN112566083A (en) * 2020-11-19 2021-03-26 歌尔光学科技有限公司 Terminal device awakening method, terminal device and storage medium
CN113542882B (en) * 2021-07-14 2023-08-08 海信视像科技股份有限公司 Method for waking up standby display device, display device and terminal
CN114258047B (en) * 2021-12-13 2024-03-01 海信视像科技股份有限公司 Network awakening method, device, display equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333798A (en) * 2014-10-30 2015-02-04 深圳市九洲电器有限公司 Multi-screen interacting method and system
CN104394465A (en) * 2014-11-12 2015-03-04 海信集团有限公司 Method for waking up stand-by state and equipment
CN105975225A (en) * 2016-04-26 2016-09-28 深圳Tcl数字技术有限公司 Multi-screen interaction connection method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208632B (en) * 2014-06-12 2019-10-15 中国移动通信集团公司 A kind of power-economizing method and device of board
CN105365773B (en) * 2014-08-30 2017-12-22 上海汽车集团股份有限公司 Vehicle key-free access method and system
KR20160055446A (en) * 2014-11-10 2016-05-18 삼성전자주식회사 Display apparatus and Method for controlling the display apparatus thereof
CN106209390B (en) * 2016-06-30 2021-04-13 武汉大学深圳研究院 Network equipment management and energy-saving method, resource management device and routing energy-saving device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333798A (en) * 2014-10-30 2015-02-04 深圳市九洲电器有限公司 Multi-screen interacting method and system
CN104394465A (en) * 2014-11-12 2015-03-04 海信集团有限公司 Method for waking up stand-by state and equipment
CN105975225A (en) * 2016-04-26 2016-09-28 深圳Tcl数字技术有限公司 Multi-screen interaction connection method, device and system

Also Published As

Publication number Publication date
CN106856433A (en) 2017-06-16

Similar Documents

Publication Publication Date Title
CN106856433B (en) Equipment awakening method, device and system
CN107276864B (en) Method, device and system for controlling household appliances by intelligent voice equipment
CN108683574B (en) Equipment control method, server and intelligent home system
CN106569758B (en) Wireless screen projection method and device
CN105471705B (en) Intelligent control method, equipment and system based on instant messaging
RU2602982C2 (en) Method, apparatus and system for intelligently controlling device and plug-and-play device
CN108184164B (en) Audio playing method, smart television and computer readable storage medium
CN113348725B (en) Device operation method, device, gateway, electronic device and computer readable medium
CN106603944B (en) Smart television control method and system
US9514641B2 (en) Smart remote control
JP2014506057A (en) Apparatus and method for remotely controlling peripheral devices in a mobile communication terminal
AU2010318894A1 (en) Display apparatus, client terminal and control method thereof
CN103729425A (en) Operation response method, client, browser and operation response system
CN111314372A (en) Display equipment awakening method, control terminal, server and display equipment
CN105141998A (en) Smart television voice remote controller control method and system based on DLNA (Digital Living Network Alliance)
CN111726661B (en) Program push playing method, display equipment, mobile terminal and system
CN103581725A (en) Method for controlling smart TV terminal through mobile terminal and relevant terminals
CN104618801A (en) Method and system for unified operation of application by utilizing mobile phone and set-top box as well as set-top box
CN113766329A (en) Playing request processing method and display equipment
US20180096063A1 (en) Audio file acquisition and update notification sending method, device, and system
AU2013388030A1 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN109743609B (en) Control method, system, terminal and storage medium for television equipment display
WO2020228033A1 (en) Sdk plug-in loading method and apparatus, and mobile terminal and storage medium
CN105407372A (en) Control method and device of television application
CN107493518B (en) IPTV terminal network outlet switching method, device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant