CN112616176A - Wake-up method and device and control method and device of equipment - Google Patents

Wake-up method and device and control method and device of equipment Download PDF

Info

Publication number
CN112616176A
CN112616176A CN202011536287.1A CN202011536287A CN112616176A CN 112616176 A CN112616176 A CN 112616176A CN 202011536287 A CN202011536287 A CN 202011536287A CN 112616176 A CN112616176 A CN 112616176A
Authority
CN
China
Prior art keywords
wake
equipment
information
request
identification information
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.)
Granted
Application number
CN202011536287.1A
Other languages
Chinese (zh)
Other versions
CN112616176B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shikun Electronic Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202011536287.1A priority Critical patent/CN112616176B/en
Publication of CN112616176A publication Critical patent/CN112616176A/en
Application granted granted Critical
Publication of CN112616176B publication Critical patent/CN112616176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/08Trunked mobile radio systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a device awakening method and device and a control method and device. Wherein, the method comprises the following steps: the method comprises the steps that a first device sends first information to a master device in a NAN cluster, wherein the first information comprises information used for indicating the state of the first device and whether the first device is allowed to be awakened or not, and the master device synchronizes the first information to each device in the NAN cluster; the method comprises the steps that a first device detects a wake-up request, wherein after a second device in a NAN cluster receives first information synchronized by a main device, the second device sends the wake-up request carrying identification information under the condition that the second device receives a wake-up instruction for the first device, and the main device broadcasts the wake-up request; and the first equipment awakens the first equipment according to the identification information. The invention solves the technical problem that the awakened equipment and the awakening equipment in the prior art can be awakened only by accessing the local area network based on the router, so that the equipment can not be awakened without the gateway equipment.

Description

Wake-up method and device and control method and device of equipment
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for waking up a device, and a method and an apparatus for controlling the device.
Background
With the rapid spread of electronic devices, WiFi has become one of the indispensable functions of electronic devices. At present, there are two ways for waking up functions based on network devices: WOL (Wake-on-LAN) and WOW (Wolwlan). Both of the above two wake-up modes need to be performed based on the device joining a designated lan. As shown in fig. 1, which is a schematic diagram of a local area network networking for waking up a TV television by using a mobile phone, a user mobile phone must be in the same local area network as the TV television, and when a user triggers a wake-up function, the wake-up step includes: the mobile phone sends an instruction data packet to the TV through the router, and the TV receives and processes the data packet to wake up the TV. The TV is required to be kept in a connection state with the router during standby, the awakening process needs to be forwarded through the router, so that delay exists in the awakening of the TV, user experience is poor, and once the TV is disconnected from the router, the TV awakening cannot be realized. In addition, if the wake-up object is other IOT (Internet of Things) devices in the lan, the wake-up distance is limited, so that devices far away from the wake-up distance are difficult to wake up.
Aiming at the problem that the awakened device and the awakening device in the prior art can be realized only by accessing a local area network based on a router, and the device can not be awakened without a gateway device, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a device awakening method and device, a control method and device, and a control method and device, aiming at least solving the technical problem that awakened devices and awakening devices can not be awakened when no gateway device exists because the awakened devices and the awakening devices are required to be accessed to a local area network based on a router.
According to an aspect of an embodiment of the present invention, there is provided a method for waking up a device, including: the method comprises the steps that first information is sent to a master device in a neighbor awareness network cluster to which the first device belongs, wherein the first information comprises information used for indicating the state of the first device and whether the first device is allowed to be awakened, and the master device synchronizes the first information to one or more devices in the neighbor awareness network cluster; the method comprises the steps that a first device detects a wake-up request, wherein after a second device in a neighbor awareness network cluster receives first information synchronized with a main device, the second device sends the wake-up request carrying identification information under the condition that the second device receives a wake-up instruction for the first device, and the main device broadcasts the wake-up request; and the first equipment is used for awakening the first equipment according to the identification information carried in the awakening request and awakening according to the awakening request.
Further, before the first device sends the first information to the master device in the neighbor awareness network cluster to which the first device belongs, the method further includes: judging whether the distance between the first device and the second device is larger than a preset distance or not; under the condition that the distance between first equipment and second equipment is greater than a preset distance, entering a step that the first equipment sends first information to main equipment in a neighbor awareness network cluster to which the first equipment belongs; and under the condition that the distance between the first equipment and the second equipment is less than or equal to the preset distance, the first equipment directly sends first information to the second equipment, wherein after the second equipment receives the first information, the second equipment directly sends a wake-up request to the first equipment under the condition that a wake-up instruction for the first equipment is received.
Further, the first device is configured to wake up the first device according to the identification information carried in the wake-up request, and wake up according to the wake-up request, including: the first equipment analyzes the awakening request to obtain identification information carried by the awakening request; and entering the step that the first equipment wakes up according to the wake-up request under the condition that the identification information carried by the wake-up request is the same as the identification information of the first equipment.
Further, the wake-up request also carries device identification information of the second device, and before the first device wakes up according to the wake-up request, the method further includes: the first equipment analyzes the identification information of the second equipment from the awakening request; determining whether the second device has the authority to wake up the first device according to the identification information of the second device; and if the second equipment has the authority to wake up the first equipment, entering a step that the first equipment wakes up according to the wake-up request.
Further, before the first device sends the first information to the cluster master device, the method further includes: the first device joins the detected neighbor awareness network cluster; the method comprises the steps that first equipment receives prompt information, wherein the main equipment sends the prompt information to the first equipment when detecting that the first equipment joins a neighbor awareness network cluster, and the prompt information is used for inquiring whether the first equipment is allowed to be awakened by second equipment in the neighbor awareness network cluster; the first device receives a selection operation to determine whether the second device has permission to wake up the first device.
Further, the wake-up command is a beacon frame or an Action frame.
According to another aspect of the embodiments of the present invention, there is also provided a method for waking up a device, including: the method comprises the steps that first information sent by a master device in a proximity awareness network cluster to which the second device belongs is received by the second device, wherein the first information comprises information used for indicating the state of the first device in the proximity awareness network cluster and whether the first device is allowed to be awakened; and under the condition of receiving a wake-up instruction for the first equipment, the second equipment sends a wake-up request to the main equipment, wherein the wake-up request carries identification information, and the first equipment is used for waking up the first equipment according to the identification information carried in the wake-up request and waking up according to the wake-up request.
Further, before the second device receives the first information in the neighbor awareness network cluster to which the second device belongs, the method further includes: judging whether the distance between the first device and the second device is larger than a preset distance or not; entering first information sent by a master device in a neighbor awareness network cluster to which a second device belongs under the condition that the distance between the first device and the second device is greater than a preset distance; the method comprises the steps that when the distance between first equipment and second equipment is smaller than or equal to a preset distance, the second equipment directly receives first information sent by the first equipment, and after the second equipment receives the first information, the second equipment directly sends a wake-up request to the first equipment under the condition that the second equipment receives a wake-up instruction for the first equipment.
According to another aspect of the embodiments of the present invention, there is also provided a method for controlling a device, including: the method comprises the steps that first information is sent by first equipment, wherein the first information is used for indicating the state of the first equipment and whether the first equipment is allowed to be controlled or not; a first device detects a control request, wherein after receiving first information, a second device in a neighbor awareness network cluster to which the first device belongs sends out a control request for controlling the first device under the condition of receiving a control instruction for the first device; and the first equipment executes corresponding action according to the control request.
According to another aspect of the embodiments of the present invention, there is also provided a wake-up apparatus for a device, including: a sending module, configured to send, by a first device, first information to a master device in a proximity-aware network cluster to which the first device belongs, where the first information includes information indicating a state where the first device is located and whether the first device is allowed to be woken up, and the master device synchronizes the first information to one or more devices in the proximity-aware network cluster; the detection module is used for detecting the awakening request by the first equipment, wherein after receiving first information synchronized by the main equipment, the second equipment in the proximity sensing network cluster sends the awakening request carrying identification information under the condition that the second equipment receives an awakening instruction for the first equipment, and the main equipment broadcasts the awakening request; and the first equipment is used for awakening the first equipment according to the identification information carried in the awakening request and awakening according to the awakening request.
According to another aspect of the embodiments of the present invention, there is also provided a wake-up apparatus for a device, including: a receiving module, configured to receive, by a second device, first information sent by a master device in a proximity-aware network cluster to which the second device belongs, where the first information includes information used to indicate a state of the first device in the proximity-aware network cluster and whether the first device is allowed to be woken up; the request module is used for sending a wake-up request to the main device by the second device under the condition of receiving a wake-up instruction to the first device, wherein the wake-up request carries identification information, and the first device is used for waking up the first device according to the identification information carried in the wake-up request and waking up according to the wake-up request.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus of a device, including: the device comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending first information by first equipment, and the first information comprises information used for indicating the state of the first equipment and whether the first equipment is allowed to be controlled; the detection module is used for detecting a control request by first equipment, wherein after receiving first information, second equipment in a neighbor awareness network cluster to which the first equipment belongs sends out a control request for controlling the first equipment under the condition of receiving a control instruction for the first equipment; and the execution module is used for executing the corresponding action by the first equipment according to the control request.
According to another aspect of embodiments of the present invention, there is also provided a computer storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to carry out any of the method steps described above.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform any of the method steps described above.
In the embodiment of the present invention, according to the above steps, the first device in the NAN cluster sends the first information of the state of the first device to the master device, and the master device synchronizes the information to one or more devices in the NAN cluster and broadcasts the wake-up request sent by the second device, so that the first device is woken up after receiving the wake-up request, and the self-discovery and ad-hoc network characteristics of the NAN cluster are utilized to implement the wake-up function of the devices in the NAN cluster.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a router-based device wake-up method according to the prior art;
FIG. 2 is a flow chart of a wake-up method of a device according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative wake-up method of a device according to an embodiment of the present invention;
FIG. 4 is a flow chart of a wake-up method of a device according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method of controlling a device according to an embodiment of the present invention;
FIG. 6 is a diagram of a wake-up unit of a device according to an embodiment of the present invention;
FIG. 7 is a diagram of a wake-up unit of a device according to an embodiment of the present invention;
FIG. 8 is a diagram of a wake-up unit of a device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides an embodiment of a NAN (Neighbor Awareness) based device awakening method, which is used for an awakening function of network equipment.
Example 1
According to an embodiment of the present invention, there is provided an embodiment of a wake-up method of a device, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than here.
Fig. 2 is a wake-up method of a device according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S201, a first device sends first information to a master device in a neighbor awareness network cluster to which the first device belongs, where the first information includes information indicating a state where the first device is located and whether the first device is allowed to be woken up, and the master device synchronizes the first information to one or more devices in the neighbor awareness network cluster.
In order to continuously execute a discovery function with high energy efficiency, the proximity sensing network absorbs work results related to a low duty ratio Medium Access Control (MAC) protocol and an adaptive cluster, and establishes a common clock through the protocol to keep all nodes receiving the same time scheduling, so that the energy consumption is reduced, and meanwhile, the technology has strong enough capacity of coping with changes, and a group can be kept unaffected even if a certain device moves out of reach.
The first device and one or more devices in the neighbor awareness network cluster both support a NAN function, and the first device is a wakened device. The state of the first device is a current operation state, including but not limited to a standby state, an open state, and a power-off state. Whether the first device is allowed to wake up is understood as whether the first device supports wake-up functionality.
As an optional embodiment, the first information is a discovery beacon frame (i.e., a discovery beacon frame), and the discovery beacon frame may carry information on whether the first device supports the wake-up function and a current operating state of the first device. The NAN master device (namely the master device) in the NAN cluster can analyze and acquire the information of the received NAN discovery beacon frame, arrange and construct a new beacon frame, attach the acquired and analyzed information to the new beacon frame, and synchronize the beacon frame to one or more devices of the NAN cluster through the NAN synchronization beacon frame.
Step S202, a first device detects a wake-up request, wherein after a second device in a proximity-aware network cluster receives first information synchronized with a main device, the second device sends a wake-up request carrying identification information under the condition that the second device receives a wake-up instruction for the first device, and the main device broadcasts the wake-up request.
The wake-up instruction is sent by a user, the user may send the wake-up instruction through a physical key pre-fabricated on the second device, optionally, the second device is an intelligent terminal device (e.g., a mobile phone or a tablet computer), and the user may send the wake-up instruction through a human-computer interaction interface on the second device, for example, a wake-up function key on an application program interface of the mobile phone or a voice command recognition function.
The second device is one of the devices in the neighbor awareness network cluster in step S201, the first device and the second device are in the same NAN cluster, and the second device may acquire the current operating state of the first device and whether to allow the first device to be woken up by acquiring and parsing a specific field in a synchronization beacon frame sent by a NAN master or by using a Protocol such as SSDP (Simple Service Discovery Protocol) before standby.
The identification information is authorization information that allows the second device to wake up the first device, and in the NAN cluster, the first device only processes a wake-up request sent by a device having the authorization information. Optionally, the identification information is a physical address (i.e., a MAC address), or a specific field preset in a program code of the wake-up request.
It should be noted that, when only one awakened device is included in the NAN cluster, the main device broadcasts the wake-up request, that is, forwards the wake-up request to the wake-up device; when the NAN cluster includes a plurality of awakened devices, the master device broadcasts an awakening request, that is, the awakening request is to be sent to all the awakened devices in a group, and the awakening request may include identification information of the plurality of awakened devices.
In an optional embodiment, the second device triggers, according to a wake-up instruction sent by a user, a wake-up request to be sent to a master device of the NAN cluster, where the wake-up request may be a designated beacon frame, and the wake-up request requires to wake up the first device, where the designated beacon frame is accompanied by a MAC address of the first device as identification information, after receiving the beacon frame, the NAN master device includes a wake-up request in a next synchronization beacon frame and broadcasts the wake-up request to all devices in the cluster, and the first device may determine that the first device is a control object of the wake-up request according to the MAC address carried in the beacon frame.
Step S203, the first device is configured to wake up the first device according to the identification information carried in the wake-up request, and wake up according to the wake-up request.
Optionally, the first device receives, through the NAN function, a beacon frame or an Action frame sent by the NAN master device, acquires and processes the specific field from the beacon frame or the Action frame, and triggers a power-on function of the device, so that the first device is awakened. After the first device is awakened, a beacon frame is sent to the NAN master device, the beacon frame carries the current running state of the first device, and the NAN master device receives and processes the beacon frame sent by the first device and synchronizes to other devices in the NAN cluster.
It should be noted that the master device may be any one device in the NAN cluster, for example, the master device may be the second device, and when the master device is the second device, the wake-up request may be directly sent to the first device by the second device; the master device may also be a third device in the NAN cluster, and forwards the wake-up request to the first device after receiving the wake-up request sent by the second device. The first device and the second device NAN are in an open state by default, the first device is understood as the first device in a standby state by default when detecting the wake-up request, the first device can set the default NAN function to be in the open state when in standby, and can receive and process the wake-up request sent by the NAN master device.
According to the steps, the first device in the NAN cluster sends the first confidence of the state of the first device to the master device, the master device synchronizes the information to one or more devices in the NAN cluster and broadcasts the awakening request sent by the second device, so that the first device is awakened after receiving the awakening request, the self-discovery and ad-hoc network characteristics of the NAN cluster are utilized, the awakening function of the devices in the NAN cluster is realized, the devices do not need to be in a local area network with gateway devices, and the technical problem that the awakened devices and the awakening devices in the prior art can be realized only by accessing the local area network based on the router, and the awakening of the devices cannot be realized without the gateway devices is solved.
As an optional embodiment, before the first device sends the first information to the master device in the neighbor awareness network cluster to which the first device belongs, the method further includes: judging whether the distance between the first device and the second device is larger than a preset distance or not; under the condition that the distance between first equipment and second equipment is greater than a preset distance, entering a step that the first equipment sends first information to main equipment in a neighbor awareness network cluster to which the first equipment belongs; and under the condition that the distance between the first equipment and the second equipment is less than or equal to the preset distance, the first equipment directly sends first information to the second equipment, wherein after the second equipment receives the first information, the second equipment directly sends a wake-up request to the first equipment under the condition that a wake-up instruction for the first equipment is received.
The preset distance is the farthest distance at which the first device and the second device can normally communicate, and when the distance between the first device and the second device is greater than the preset distance, the first device and the second device cannot directly communicate with each other and need an intermediate device for forwarding NAN master device information.
When the distance between the first device and the second device is smaller than or equal to the preset distance, the second device itself may serve as a master device of the NAN cluster, so that the first device directly sends the first information to the second device and the second device directly sends the wake-up instruction to the first device. Optionally, the first device and the second device may communicate through an SSDP or other protocol, and the second device obtains that the first device supports the NAN wake-up function and the current operating state.
As an optional embodiment, the first device is configured to wake up the first device according to the identification information carried in the wake-up request, and wake up according to the wake-up request, including: the first equipment analyzes the awakening request to obtain identification information carried by the awakening request; and entering the step that the first equipment wakes up according to the wake-up request under the condition that the identification information carried by the wake-up request is the same as the identification information of the first equipment.
The identification information is authorization information that allows the second device to wake up the first device, and the identification information may be a physical address of the first device (i.e., a MAC address of the woken-up device), or a specific field preset in a program code carried in the wake-up request.
For example, if the identification information is the MAC address of the awakened device, and the MAC address carried in the awakening request received by the first device is the MAC address of the first device itself, it can be determined that the identification information carried in the awakening request is the same as the identification information of the first device, and the first device can be awakened; and if the MAC address carried in the wake-up request received by the first equipment is the MAC address of other equipment, the first equipment refuses to respond to the wake-up request.
As an optional embodiment, the wake-up request further carries device identification information of the second device, and before the first device wakes up according to the wake-up request, the method further includes: the first equipment analyzes the identification information of the second equipment from the awakening request; determining whether the second device has the authority to wake up the first device according to the identification information of the second device; and if the second equipment has the authority to wake up the first equipment, entering a step that the first equipment wakes up according to the wake-up request.
The identification information may be information characterizing the second device that issued the wake-up request, such as the MAC address of the second device, or a program field containing the name of the second device.
In an optional embodiment, the first device has analyzed its own MAC address from the wake-up request, the identification information carried by the wake-up request is the same as the identification information of the first device, the first device should wake up in response, but according to the above steps, the MAC address of the second device is also added to the wake-up request, when the first device receives the MAC address of the second device, it needs to determine whether the second device has the authority to wake up the second device, when the second device has no authority, the first device refuses to wake up in response, and by setting the wake-up request including the identification information of the wake-up device and the awakened device, interference of other NAN clusters on wake-up of the first device can be avoided, and the security of the current NAN cluster networking is improved.
In an optional embodiment, when there are multiple wakenable devices in the NAN cluster, if the wake-up request is accompanied by MAC addresses of all wakened devices, the accompanying information of the wake-up request may be larger, so that only one identification information needs to be added by adding the MAC address of the wake-up device in the wake-up request, thereby reducing the data volume carried by the wake-up request. For example, the NAN cluster includes a plurality of wakenable devices (respectively, a device a, a device B, and a device C having different MAC addresses, where the devices a and B authorize the cell phone to have a wake-up permission, and the device C is not authorized), a user sends a wake-up instruction for simultaneously waking up the device A, B, C through the cell phone, the wake-up instruction attaches a MAC address of the cell phone, when the device A, B, C parses a beacon frame field of the wake-up instruction, the MAC address of the cell phone is obtained through parsing, and whether the device a and the device B have permission is determined according to the MAC address of the cell phone, the device a and the device B may trigger a wake-up procedure according to a preset permission, and the device C rejects a response to the.
As an optional embodiment, before the first device sends the first information to the cluster master device, the method further includes: the first device joins the detected neighbor awareness network cluster; the method comprises the steps that first equipment receives prompt information, wherein the main equipment sends the prompt information to the first equipment when detecting that the first equipment joins a neighbor awareness network cluster, and the prompt information is used for inquiring whether the first equipment is allowed to be awakened by second equipment in the neighbor awareness network cluster; the first device receives a selection operation to determine whether the second device has permission to wake up the first device.
According to the steps, when the first device and the second device join the NAN cluster, the awakening authority is determined. Since there may be multiple NAN cluster networks around the first device, the user may select which device to use as the wake-up device by sending the alert information. For example, the television is used as a wakened device, the presence of a NAN cluster network containing a user mobile phone and a NAN cluster network containing a user tablet computer is detected, both NAN clusters send prompt messages after the television is found, and a user can only authorize the mobile phone to be used as the wakened device according to personal use habits. In addition, through the permission setting of the awakening device, the NAN cluster which is not authorized by the user is prevented from awakening the first device. For example, the television detects a neighbor's NAN cluster network and the user refuses authorization to wake up the television.
As an alternative embodiment, the wake-up command is a beacon frame or an Action frame.
Based on the beacon frame characteristic of the NAN function, the problem existing in the wake-up between the current devices can be solved.
Through the steps, the awakening of a single device or a plurality of devices by one device in the NAN cluster can be realized without the limitation of a local area network based on a router.
Fig. 3 is a flowchart of an optional wake-up method of a device according to an embodiment of the present invention, as shown in fig. 3, the method includes:
in step S301, it is determined that both the a device and the B device support the NAN function.
In step S302, the a device and the B device are in the same NAN cluster.
In step S303, the device B acquires that the device a supports the NAN wake-up function, and the device a authorizes the device B to wake up the device.
And step S304, the device A is in a standby state, the beacon frame is sent to indicate that the NAN awakening function is supported, and meanwhile, the beacon frame is in the standby state.
Step S305, the NAN cluster Master device obtains beacon information sent by the device A, and the beacon frame carries the state information of the device A.
Step S306, the B device receives the beacon information, acquires the state of the A device and retains the state. The B device constructs a beacon frame or an Action frame through a physical key or an application and sends the beacon frame or the Action frame based on the NAN. The step of the B device sending the beacon frame to the a device may be any one of step S307 and step S308, and may optionally enter step S307 or step S308 in a manner specified by a user, or may optionally enter step S307 or step S308 according to a distance between the a device and the B device.
In step S307, the device a directly receives the beacon or Action frame sent by the device B.
And step S308, analyzing the information by the synchronization beacon frame or the Action frame of the NAN cluster master device information, adding the information into the next synchronization beacon frame, and receiving the information by the device A.
In step S309, the device a obtains the device B wake-up request by processing and analyzing the beacon field, and triggers the wake-up device.
Through the steps, the B device in the NAN cluster wakes up the A device.
Example 2
According to an embodiment of the present invention, an embodiment of a wake-up method of a device is provided, as shown in fig. 4, the method includes the following steps:
step S401, the second device receives first information sent by a master device in a proximity-aware network cluster to which the second device belongs, where the first information includes information used to indicate a state of the first device in the proximity-aware network cluster and whether the first device is allowed to be woken up.
The first device and the second device both support the NAN function, the first device is a wakened device, the second device is a device sending a wakening request, for example, the first device is a TV television, the second device is a mobile phone, and a user can wake up the TV television through the mobile phone. The state of the first device is a current operation state, including but not limited to a standby state, an on state, an off state, and an on or off state of the NAN function. Whether the first device is allowed to wake up is understood as whether the first device supports wake-up functionality.
As an optional embodiment, the first information is a discovery beacon frame (i.e., a discovery beacon frame), and the discovery beacon frame may carry information on whether the first device supports the wake-up function and a current operating state of the first device. The NAN master device (namely the master device) in the NAN cluster can analyze and acquire the information of the received NAN discovery beacon frame, arrange and construct a new beacon frame, attach the acquired and analyzed information to the new beacon frame, and synchronize the beacon frame to one or more devices of the NAN cluster through the NAN synchronization beacon frame.
Step S402, under the condition that a wake-up instruction for the first device is received, the second device sends a wake-up request to the main device, wherein the wake-up request carries identification information, and the first device is used for waking up the first device according to the identification information carried in the wake-up request and waking up according to the wake-up request.
The first device and the second device are in the same NAN cluster, and the second device can acquire the NAN awakening support function and the current running state of the first device by acquiring and analyzing a specific field in a synchronization beacon frame sent by a NAN master or by using protocols such as SSDP before standby.
The identification information is authorization information that allows the second device to wake up the first device, and in the NAN cluster, the first device only processes a wake-up request sent by a device having the authorization information. Optionally, the identification information is a physical address (i.e., a MAC address), or a specific field preset in a program code of the wake-up request.
As an optional embodiment, the second device triggers, according to a wake-up instruction sent by a user, a wake-up request to be sent to a master device of the NAN cluster, where the wake-up request may be a designated beacon frame, and the wake-up request requires to wake up the first device, where the designated beacon frame is accompanied by an MAC address of the first device as identification information, after receiving the beacon frame, the NAN master device includes a wake-up request in a next synchronization beacon frame and broadcasts the wake-up request to all devices in the cluster, and the first device may determine that the first device is a control object of the wake-up request according to the MAC address carried in the beacon frame, trigger a power-on function, and the first device is woken up.
As an optional embodiment, before the second device receives the first information in the neighbor awareness network cluster to which the second device belongs, the method further includes: judging whether the distance between the first device and the second device is larger than a preset distance or not; entering first information sent by a master device in a neighbor awareness network cluster to which a second device belongs under the condition that the distance between the first device and the second device is greater than a preset distance; the method comprises the steps that when the distance between first equipment and second equipment is smaller than or equal to a preset distance, the second equipment directly receives first information sent by the first equipment, and after the second equipment receives the first information, the second equipment directly sends a wake-up request to the first equipment under the condition that the second equipment receives a wake-up instruction for the first equipment.
The preset distance is the farthest distance at which the first device and the second device can normally communicate, and when the distance between the first device and the second device is greater than the preset distance, the first device and the second device cannot directly communicate with each other and need an intermediate device for forwarding NAN master device information.
When the distance between the first device and the second device is smaller than or equal to the preset distance, the second device itself may serve as a master device of the NAN cluster, so that the first device directly sends the first information to the second device and the second device directly sends the wake-up instruction to the first device. Optionally, the first device and the second device may communicate through an SSDP or other protocol, and the second device obtains that the first device supports the NAN wake-up function and the current operating state.
It should be noted that the second device mentioned in embodiment 2 may be the second device in embodiment 1, the first device mentioned in embodiment 2 may be the first device in embodiment 1, and the second device in embodiment 2 may perform other method steps of the second device in embodiment 1 and implement the same functions, and therefore, details are not described again in embodiment 2.
In this embodiment, the first device in the NAN cluster sends the first information of the state to the master device, the master device synchronizes the information to one or more devices in the NAN cluster and broadcasts the wake-up request sent by the second device, so that the first device is woken up after receiving the wake-up request, the self-discovery and self-networking characteristics of the NAN cluster are utilized, the wake-up function of the devices in the NAN cluster is realized, the devices do not need to be in the local area network based on the gateway device, and the technical problem that the devices cannot be woken up due to the fact that the wakened-up device and the wake-up device need to be accessed to the local area network based on the router in the prior art is solved.
Example 3
According to an embodiment of the present invention, there is provided an embodiment of a method for controlling a device, as shown in fig. 5, the method for controlling a device includes:
step S501, the first device sends first information, wherein the first information comprises information used for indicating the state of the first device and whether the first device is allowed to be controlled.
Step S502, a first device detects a control request, where after receiving first information, a second device in a neighbor awareness network cluster to which the first device belongs sends a control request for controlling the first device under the condition of receiving a control instruction for the first device.
In step S503, the first device executes a corresponding action according to the control request.
The control request and the control instruction may be issued by a processor having a control function, for example, when the electronic device is a wake-up device having a control function, the processor may issue the control request and the control instruction to control the first device to be woken up.
Example 4
According to another aspect of the embodiments of the present invention, there is further provided a wake-up apparatus of a device for performing the method steps in embodiment 1, as shown in fig. 6, a sending module 61, configured to send, by a first device, first information to a master device in a proximity-aware network cluster to which the first device belongs, where the first information includes information indicating a state where the first device is located and whether the first device is allowed to be woken up, and the master device synchronizes the first information to one or more devices in the proximity-aware network cluster; a detection module 62, configured to detect a wake-up request by a first device, where after receiving first information synchronized by a master device, a second device in a proximity-aware network cluster sends a wake-up request carrying identification information when receiving a wake-up instruction for the first device, and the master device broadcasts the wake-up request; and the awakening module 63 is configured to awaken the first device according to the identification information carried in the awakening request, and awaken according to the awakening request.
As an optional embodiment, the sending module further includes: and the comparison submodule is used for enabling the first equipment to directly send the first information to the second equipment under the condition that the distance between the first equipment and the second equipment is smaller than or equal to the preset distance, wherein the second equipment directly sends the awakening request to the first equipment under the condition that the awakening instruction for the first equipment is received after the first information is received by the second equipment.
As an optional embodiment, the wake-up module further includes: the analysis submodule is used for the first equipment to analyze the awakening request to obtain the identification information carried by the awakening request; and the information comparison submodule is used for enabling the first equipment to be awakened according to the awakening request under the condition that the identification information carried by the awakening request is the same as the identification information of the first equipment.
As an alternative embodiment, the apparatus further comprises: the first analysis module is used for the first equipment to analyze the identification information of the second equipment from the awakening request; the permission confirmation module is used for determining whether the second equipment has permission to wake up the first equipment according to the identification information of the second equipment; and if the second equipment has the authority to wake up the first equipment, the first equipment wakes up according to the wake-up request.
As an alternative embodiment, the apparatus further comprises: the access module is used for the first equipment to join the detected adjacent perception network cluster; the device comprises an inquiry module, a first device and a second device, wherein the inquiry module is used for receiving prompt information by the first device, the main device sends the prompt information to the first device when detecting that the first device joins the neighbor awareness network cluster, and the prompt information is used for inquiring whether the first device is allowed to be awakened by the second device in the neighbor awareness network cluster; and the selection module is used for receiving the selection operation by the first equipment so as to determine whether the second equipment has the authority to wake up the first equipment.
The device also comprises modules for realizing other method steps in the embodiment 1. The method comprises the steps that first information of the state of the first device is sent to a master device through the first device in the NAN cluster, the master device synchronizes the information to one or more devices in the NAN cluster and broadcasts a wake-up request sent by a second device, the first device is woken up after receiving the wake-up request, the self-discovery and self-networking characteristics of the NAN cluster are utilized, the wake-up function of the devices in the NAN cluster is achieved, the devices do not need to be in the same local area network, the problem that the wakened-up devices and the wakening-up devices in the prior art can be achieved only by accessing the local area network based on a router, and the technical problem that the devices cannot be woken up when no local area network exists is.
Example 5
According to another aspect of the embodiments of the present invention, there is also provided a wake-up apparatus for a device, which is configured to perform the method steps in embodiment 2, and as shown in fig. 7, the wake-up apparatus includes: a receiving module 71, configured to receive, by a second device, first information sent by a master device in a proximity-aware network cluster to which the second device belongs, where the first information includes information used to indicate a state of the first device in the proximity-aware network cluster and whether the first device is allowed to be woken up; the request module 72 is configured to, when receiving a wake-up instruction for a first device, send a wake-up request to a main device by a second device, where the wake-up request carries identification information, and the first device is configured to wake up the first device according to the identification information carried in the wake-up request and wake up according to the wake-up request.
The device also comprises modules for realizing other method steps in the embodiment 1.
Example 6
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus of an apparatus for performing the method steps in embodiment 3, as shown in fig. 8, including: the method comprises the following steps: a sending module 81, configured to send, by a first device, first information, where the first information includes information indicating a state where the first device is located and whether the first device is allowed to be controlled; a detection module 82, configured to detect a control request by a first device, where after receiving first information, a second device in a neighbor awareness network cluster to which the first device belongs sends a control request for controlling the first device under the condition of receiving a control instruction for the first device; and the execution module is used for executing the corresponding action by the first equipment according to the control request.
Example 7
According to another aspect of embodiments of the present invention, there is also provided a computer storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to carry out any of the method steps described above, sending, by a first device in a NAN cluster, first information of its status to a master device, the master device synchronizing the information to one or more devices in the NAN cluster and broadcasting a wake-up request by a second device, the first device is awakened after receiving the awakening request, the self-discovery and ad hoc network characteristics of the NAN cluster are utilized, the awakening function of the devices in the NAN cluster is realized, and the equipment does not need to be in a local area network with gateway equipment, so that the technical problem that the equipment cannot be awakened without the gateway equipment in the prior art because both the awakened equipment and the awakening equipment need to be accessed to the local area network based on the router to be realized.
Example 8
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform any of the method steps described above.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device includes the above-mentioned interaction device main body and a touch frame, and as shown in fig. 9, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001, which is connected to various parts throughout the electronic device 1000 using various interfaces and lines, performs various functions of the electronic device 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005 and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 9, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an operating application of the electronic device.
In the electronic device 1000 shown in fig. 9, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to call an operation application of the electronic device stored in the memory 1005 and specifically perform any one of the operations of embodiment 1.
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.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit may be a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (14)

1. A method for waking up a device, comprising:
the method comprises the steps that first information is sent to a master device in a neighbor awareness network cluster to which the first device belongs, wherein the first information comprises information used for indicating the state of the first device and whether the first device is allowed to be awakened, and the master device synchronizes the first information to one or more devices in the neighbor awareness network cluster;
the first device detects a wake-up request, wherein after receiving the first information synchronized by the master device, a second device in the neighbor awareness network cluster sends a wake-up request carrying identification information under the condition that the second device receives a wake-up instruction for the first device, and the master device broadcasts the wake-up request;
and the first equipment is used for awakening the first equipment according to the identification information carried in the awakening request.
2. The method of claim 1, wherein before the first device sends the first information to the master device in the proximity-aware network cluster to which the first device belongs, the method further comprises:
judging whether the distance between the first equipment and the second equipment is greater than a preset distance or not;
under the condition that the distance between the first device and the second device is greater than a preset distance, entering a step that the first device sends the first information to a master device in a neighbor awareness network cluster to which the first device belongs; or the like, or, alternatively,
and under the condition that the distance between the first equipment and the second equipment is smaller than or equal to the preset distance, the first equipment directly sends the first information to the second equipment, wherein after the second equipment receives the first information, the second equipment directly sends a wake-up request to the first equipment under the condition that a wake-up instruction for the first equipment is received.
3. The method according to claim 1, wherein the first device is configured to wake up the first device according to the identification information carried in the wake-up request, and the method includes:
the first equipment analyzes the awakening request to obtain identification information carried by the awakening request;
and entering a step of waking up the first equipment according to the wake-up request under the condition that the identification information carried by the wake-up request is the same as the identification information of the first equipment.
4. The method according to claim 1, wherein the wake-up request further carries device identification information of the second device, and before the first device wakes up according to the wake-up request, the method further comprises:
the first equipment analyzes the identification information of the second equipment from the awakening request;
determining whether the second device has the authority to wake up the first device according to the identification information of the second device;
and if the second equipment has the authority to wake up the first equipment, entering a step that the first equipment is waken up according to the wake-up request.
5. The method of claim 4, wherein before the first device sends the first information to the cluster master, the method further comprises:
the first device joining the detected neighbor aware network cluster;
the first device receives prompt information, wherein the main device sends the prompt information to the first device when detecting that the first device joins the neighbor aware network cluster, and the prompt information is used for inquiring whether to be allowed to be awakened by a second device in the neighbor aware network cluster;
the first device receives a selection operation to determine whether the second device has permission to wake up the first device.
6. The method of claim 1, wherein the wake-up command is a beacon frame or an Action frame.
7. A method for waking up a device, comprising:
the method comprises the steps that a second device receives first information sent by a master device in a proximity awareness network cluster to which the second device belongs, wherein the first information comprises information used for indicating the state of a first device in the proximity awareness network cluster and whether the first device is allowed to be awakened;
and under the condition of receiving a wake-up instruction for the first equipment, the second equipment sends a wake-up request to the main equipment, wherein the wake-up request carries identification information, and the first equipment is used for waking up the first equipment according to the identification information carried in the wake-up request.
8. The method of claim 7, wherein before a second device receives first information in a neighbor aware network cluster to which the second device belongs, the method further comprises:
judging whether the distance between the first equipment and the second equipment is greater than a preset distance or not;
entering a step that the second device receives the first information sent by a master device in a neighbor awareness network cluster to which the second device belongs when the distance between the first device and the second device is greater than a preset distance; or the like, or, alternatively,
the method comprises the steps that when the distance between first equipment and second equipment is smaller than or equal to the preset distance, the second equipment directly receives first information sent by the first equipment, and after the second equipment receives the first information, the second equipment directly sends a wake-up request to the first equipment under the condition that the second equipment receives a wake-up instruction for the first equipment.
9. A method of controlling a device, comprising:
the method comprises the steps that first information is sent by first equipment, wherein the first information comprises information used for indicating the state of the first equipment and whether the first equipment is allowed to be controlled;
the first device detects a control request, wherein after receiving the first information, a second device in a neighbor awareness network cluster to which the first device belongs sends out a control request for controlling the first device under the condition of receiving a control instruction for the first device;
and the first equipment executes corresponding action according to the control request.
10. A wake-up unit of a device, comprising:
a sending module, configured to send, by a first device, first information to a master device in a proximity-aware network cluster to which the first device belongs, where the first information includes information indicating a state where the first device is located and whether the first device is allowed to be woken up, and the master device synchronizes the first information to one or more devices in the proximity-aware network cluster;
a detection module, configured to detect a wake-up request by the first device, where after receiving the first information synchronized by the master device, a second device in the proximity-aware network cluster sends a wake-up request carrying identification information when receiving a wake-up instruction for the first device, and the master device broadcasts the wake-up request;
and the first equipment is used for awakening the first equipment according to the identification information carried in the awakening request and awakening according to the awakening request.
11. A wake-up unit of a device, comprising:
a receiving module, configured to receive, by a second device, first information sent by a master device in a proximity-aware network cluster to which the second device belongs, where the first information includes information used to indicate a state of a first device in the proximity-aware network cluster and whether the first device is allowed to be woken up;
the request module is configured to, when receiving a wake-up instruction for the first device, send a wake-up request to the main device by the second device, where the wake-up request carries identification information, and the first device is configured to wake up the first device according to the identification information carried in the wake-up request and wake up according to the wake-up request.
12. A control apparatus of a device, characterized by comprising:
the device comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending first information by first equipment, and the first information comprises information used for indicating the state of the first equipment and whether the first equipment is allowed to be controlled;
a detection module, configured to detect a control request by the first device, where after receiving the first information, and under a condition that a control instruction for the first device is received, a second device in a neighbor awareness network cluster to which the first device belongs sends a control request for controlling the first device;
and the execution module is used for executing the corresponding action by the first equipment according to the control request.
13. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any of claims 1 to 9.
14. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 9.
CN202011536287.1A 2020-12-22 2020-12-22 Wake-up method and device and control method and device of equipment Active CN112616176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011536287.1A CN112616176B (en) 2020-12-22 2020-12-22 Wake-up method and device and control method and device of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011536287.1A CN112616176B (en) 2020-12-22 2020-12-22 Wake-up method and device and control method and device of equipment

Publications (2)

Publication Number Publication Date
CN112616176A true CN112616176A (en) 2021-04-06
CN112616176B CN112616176B (en) 2023-03-31

Family

ID=75244913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011536287.1A Active CN112616176B (en) 2020-12-22 2020-12-22 Wake-up method and device and control method and device of equipment

Country Status (1)

Country Link
CN (1) CN112616176B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301989A (en) * 2021-12-28 2022-04-08 中国电信股份有限公司 Information transmission method, device and system
CN114697151A (en) * 2022-03-15 2022-07-01 杭州控客信息技术有限公司 Intelligent home system with non-voice awakening function and non-voice awakening method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105723780A (en) * 2013-12-16 2016-06-29 英特尔公司 Remote wakeup for wi-fi devices
CN105940689A (en) * 2014-02-03 2016-09-14 高通股份有限公司 Discovery of a neighbor awareness network (NAN) using a wake up message
CN107251621A (en) * 2015-02-13 2017-10-13 高通股份有限公司 Efficient ranging
US20170353560A1 (en) * 2016-06-06 2017-12-07 Intel IP Corporation Communicating routing messages using service discovery in neighbor awareness networks
US20180184427A1 (en) * 2016-12-23 2018-06-28 Intel IP Corporation Method system and apparatus for dynamic wakeup interval in neighbor awareness networking cluster
CN111314372A (en) * 2020-03-04 2020-06-19 海信视像科技股份有限公司 Display equipment awakening method, control terminal, server and display equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105723780A (en) * 2013-12-16 2016-06-29 英特尔公司 Remote wakeup for wi-fi devices
CN105940689A (en) * 2014-02-03 2016-09-14 高通股份有限公司 Discovery of a neighbor awareness network (NAN) using a wake up message
CN107251621A (en) * 2015-02-13 2017-10-13 高通股份有限公司 Efficient ranging
US20170353560A1 (en) * 2016-06-06 2017-12-07 Intel IP Corporation Communicating routing messages using service discovery in neighbor awareness networks
US20180184427A1 (en) * 2016-12-23 2018-06-28 Intel IP Corporation Method system and apparatus for dynamic wakeup interval in neighbor awareness networking cluster
CN111314372A (en) * 2020-03-04 2020-06-19 海信视像科技股份有限公司 Display equipment awakening method, control terminal, server and display equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301989A (en) * 2021-12-28 2022-04-08 中国电信股份有限公司 Information transmission method, device and system
CN114697151A (en) * 2022-03-15 2022-07-01 杭州控客信息技术有限公司 Intelligent home system with non-voice awakening function and non-voice awakening method thereof

Also Published As

Publication number Publication date
CN112616176B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
US11751135B2 (en) Method and system for wirelessly transmitting data
EP3010289B1 (en) Method and apparatus for controlling signal transmission and computer program product
WO2018000134A1 (en) Bluetooth connection method and terminal
US8437275B2 (en) Remote wireless service invocation with efficient power use on target wireless device
EP2996367B1 (en) Device, method, and system for starting mobile hotspot
EP3200512B1 (en) Method, apparatus and device for waking up devices in batches
US9549420B2 (en) Method of remotely waking up wireless router equipment
CN104486732B (en) Mobile station, intermediate station, trunked communication system and its method
CN112616176B (en) Wake-up method and device and control method and device of equipment
JP2017507586A (en) Neighbor aware network (NAN) discovery using wake-up messages
WO2014117535A1 (en) Method and apparatus for waking up device
CN111615220B (en) Equipment connection method and equipment based on neighbor awareness network
JP7049086B2 (en) Communication equipment, control methods, and programs
CN110381489B (en) Bluetooth connection method, display terminal and television
US20140219148A1 (en) Method and Apparatus for Waking Up a Device
CN109816830B (en) Unlocking method and device
WO2014114075A1 (en) Mobile hotspot wakeup processing method and device
CN111935517B (en) Awakening method and device of intelligent set top box, electronic equipment and storage medium
CN114449491A (en) Communication method, device and electronic equipment
CN113014898B (en) Projector wake-up control method, projector and readable storage medium
WO2023151423A1 (en) Device connection method and apparatus, device, and storage medium
WO2020038157A1 (en) Nan-based intelligent management method and related product
WO2023124257A1 (en) Networking method of bluetooth device, terminal device and bluetooth device
CN113840358A (en) Message filtering method, mobile terminal and computer readable storage medium
KR20090037227A (en) Communication terminal and method for always connecting with wireless fidelity thereof

Legal Events

Date Code Title Description
PB01 Publication
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