CN111897581B - Screen-off awakening method and device, storage medium and all-in-one machine equipment - Google Patents

Screen-off awakening method and device, storage medium and all-in-one machine equipment Download PDF

Info

Publication number
CN111897581B
CN111897581B CN202010561196.7A CN202010561196A CN111897581B CN 111897581 B CN111897581 B CN 111897581B CN 202010561196 A CN202010561196 A CN 202010561196A CN 111897581 B CN111897581 B CN 111897581B
Authority
CN
China
Prior art keywords
built
screen
network
message data
background service
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
CN202010561196.7A
Other languages
Chinese (zh)
Other versions
CN111897581A (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 Lango Electronic Science and Technology Co Ltd
Original Assignee
Guangzhou Lango Electronic Science and 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 Lango Electronic Science and Technology Co Ltd filed Critical Guangzhou Lango Electronic Science and Technology Co Ltd
Priority to CN202010561196.7A priority Critical patent/CN111897581B/en
Publication of CN111897581A publication Critical patent/CN111897581A/en
Application granted granted Critical
Publication of CN111897581B publication Critical patent/CN111897581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a screen-off awakening method, a screen-off awakening device, a storage medium and all-in-one machine equipment based on a standard WOL message, wherein the method comprises the following steps: initializing a background service when a built-in system of the all-in-one machine equipment is started, and enabling the background service to be in a waiting state; when the built-in system enters a screen-off state, monitoring all network message data received by all network cards built in the all-in-one machine equipment; performing data format query matching operation on all monitored network message data, and after judging that the network message data belong to a preset message format, executing a screen lightening action by a background service, and converting a built-in system of the all-in-one machine device from a screen resting state to a normal working state; and stopping monitoring all message data received by all network cards built in the all-in-one machine equipment after the built-in system enters a normal working state. In the embodiment of the invention, under the condition of being compatible with the WOL standard, the system is supported to be converted into the normal working state from the screen-saving state, and the wake-up message does not need to be additionally customized.

Description

Screen-off awakening method and device, storage medium and all-in-one machine equipment
Technical Field
The invention relates to the technical field of all-in-one machines, in particular to a screen-off awakening method and device based on a standard WOL message, a storage medium and all-in-one machine equipment.
Background
Wake-on-LAN (WOL) is a Wake-on-LAN technology for computers, which converts a computer in a shutdown or sleep state into a Boot Loader or running state; the conference all-in-one machine usually comprises different power states such as a shutdown state, a screen-off (power-saving) state, a normal working state and the like, wherein the machine can realize network awakening in a local area network based on Magic Packet by depending on a WOL (world Wide Web) function supported by Ethernet card hardware in the shutdown mode; the standard WOL only supports waking up the machine from a deep sleep state (shutdown state) to a normal operating state, whereas in the screen-saving mode, because the system is not in the deep sleep state, the original WOL function cannot wake up the machine from the screen-saving mode to the normal operating state in this case.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a screen-off awakening method, a screen-off awakening device, a storage medium and all-in-one machine equipment based on a standard WOL message, which support the system to be converted from a screen-off state to a normal working state under the condition of being compatible with the WOL standard and do not need to define an awakening message additionally.
In order to solve the technical problem, the embodiment of the invention discloses a screen-off awakening method based on a standard WOL message, which comprises the following steps:
initializing a background service when a built-in system of the all-in-one machine equipment is started, and enabling the background service to be in a waiting state;
when the built-in system enters a screen-off state, the background service monitors all network message data received by all network cards built in the all-in-one machine equipment;
performing data format query matching operation on all monitored network message data, and judging whether the network message data is in a preset message format;
if the network message data belong to a preset message format, the background service executes a screen lightening action and converts a built-in system of the all-in-one machine device from a screen resting state to a normal working state;
and after the built-in system enters a normal working state, the background service stops monitoring all message data received by all network cards built in the all-in-one machine equipment.
Optionally, the monitoring, by the background service, of all network packet data received by all network cards built in the all-in-one machine device includes:
establishing a corresponding socket for each built-in network card of the all-in-one machine device based on an original socket mode;
setting a corresponding socket to be bound to a corresponding network card through bind;
and the background service starts to monitor all network message data received by all network cards built in the all-in-one machine equipment.
Optionally, the querying and matching operation of the data format is performed on all the monitored network message data, and whether the data format is the preset message format is determined, including:
judging whether all the monitored network message data have the network message data at the beginning of a preset rule;
if yes, whether the message format is a preset message format is further judged based on whether the message content of a plurality of continuous local MAC addresses is contained in the network message data.
Optionally, the preset message format is a Magic Packet format for waking up a built-in system of the local machine.
Optionally, the network message data at the beginning of the preset rule is broadcast message data at the beginning of FF.
Optionally, the content of the consecutive messages of the plurality of local MAC addresses is the content of the consecutive messages of the 16 local MAC addresses.
Optionally, the method further includes:
and when the all-in-one machine equipment built-in system enters a shutdown mode, stopping the running of the background service before shutdown of the all-in-one machine equipment built-in system.
In addition, an embodiment of the present invention further provides a screen-off wake-up apparatus based on a standard WOL packet, where the apparatus includes:
an initialization module: initializing a background service when a built-in system of the all-in-one machine equipment is started, and enabling the background service to be in a waiting state;
a monitoring module: the background service monitors all network message data received by all network cards built in the all-in-one machine equipment when the built-in system enters a screen-off state;
a matching judgment module: the device is used for inquiring and matching the data formats of all the monitored network message data and judging whether the network message data is in a preset message format or not;
an execution module: the background service executes a screen-on action if the network message data belong to a preset message format, and converts a built-in system of the all-in-one machine device from a screen-on state to a normal working state;
stopping the monitoring module: and the background service is used for stopping monitoring all message data received by all network cards built in the all-in-one machine equipment after the built-in system enters a normal working state.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the screen-off wake-up method described in any one of the above.
In addition, an embodiment of the present invention further provides an all-in-one machine device, which includes:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: executing the screen-off awakening method.
In the embodiment of the invention, under the condition of being compatible with the WOL standard, the support system is converted from the screen-on state to the normal working state without additionally customizing the wake-up message; the method can be compatible with the existing WOL standard, and can achieve the aim that any machine running the WOL awakening program executes network awakening on the machine running the service.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a screen-off wakeup method based on a standard WOL message in an embodiment of the present invention;
fig. 2 is a schematic structural component diagram of a screen-off wake-up apparatus based on a standard WOL message in the embodiment of the present invention;
fig. 3 is a schematic structural composition diagram of the all-in-one machine device in the embodiment of the present invention.
Detailed Description
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.
In the state of the all-in-one machine, the method comprises the following steps: s0: in a normal working state, all equipment normally operates; s1: sleeping with Processor Context Maintailed, i.e. Standby under Windows; the CPU stops working and does not execute any instructions, but the CPU, chipset and DRAM contents are not lost. This state can be quickly restored to the working state (S1 is the hibernation in the sniff state); s2: deeper and more power-saving than the sleep state of S1, the CPU stops working, but the contents of the CPU and the cache are lost; the DRAM is still in a charged state; s3: the system is called Suspend to RAM, so that the power consumption is lower, the memory information is kept, and the contents of a CPU, a Cache and a Chipset are lost; the DRAM is still in a charged state; s4: called Suspend to Disk, the power consumption is lowest, the time required for waking up is longest, and all devices do not work any more; the Memory data is stored in Disk. When the system receives the wake-up signal, firstly, restoring memory from Disk; in the states S2-S4, the states all belong to deep sleep states.
Examples
Referring to fig. 1, fig. 1 is a flowchart illustrating a normal WOL message-based screen-break wakeup method according to an embodiment of the present invention.
As shown in fig. 1, a method for waking up a screen by turning off a screen based on a standard WOL message includes:
s11: initializing a background service when a built-in system of the all-in-one machine equipment is started, and enabling the background service to be in a waiting state;
in the specific implementation process of the invention, after the all-in-one machine equipment is started, namely when the built-in system is started, a background service is initialized at the same time, the background service only runs in the background, the running of the built-in system of the all-in-one machine equipment is not influenced, and the background service is enabled to be in a waiting state, namely the background service reduces the occupied memory and the resources of a CPU (Central processing Unit) as much as possible in the background, and the influence of the background service on the running of the built-in system of the all-in-one machine equipment and the running of other application software is reduced.
S12: when the built-in system enters a screen-off state, the background service monitors all network message data received by all network cards built in the all-in-one machine equipment;
in the specific implementation process of the present invention, the monitoring, by the background service, of all network message data received by all network cards built in the all-in-one machine device includes: establishing a corresponding socket for each built-in network card of the all-in-one machine device based on an original socket mode; setting a corresponding socket to be bound to a corresponding network card through bind; and the background service starts to monitor all network message data received by all network cards built in the all-in-one machine equipment.
Specifically, when the built-in system of the all-in-one machine device enters a screen sleep state, the background service starts to run, that is, all network message data received by all network cards built in the all-in-one machine device are monitored; when monitoring is performed, the background service firstly creates a corresponding socket (socket) for each network card built in the ALL-in-one machine device according to the mode of an original socket (PF _ PACKET, SOCK _ RAW, htons (ETH _ P _ ALL)), then sets the corresponding socket to be bound to the corresponding network card through bind, and then the background service starts to monitor ALL network message data received by ALL network cards built in the ALL-in-one machine device.
S13: performing data format query matching operation on all monitored network message data, and judging whether the network message data is in a preset message format;
in the specific implementation process of the present invention, the querying and matching operation of the data format is performed on all the monitored network message data, and whether the data format is the preset message format is determined, including: judging whether all the monitored network message data have the network message data at the beginning of a preset rule; if yes, whether the message format is a preset message format is further judged based on whether the message content of a plurality of continuous local MAC addresses is contained in the network message data.
Further, the preset message format is a Magic Packet format for waking up a built-in system of the local machine.
Further, the network message data at the beginning of the preset rule is the broadcast message data at the beginning of FF, FF and FF.
Further, the message contents of the consecutive local MAC addresses are the message contents of the consecutive 16 local MAC addresses.
Specifically, after monitoring all network message data, analyzing all the monitored network message data to obtain whether the start in the corresponding network message data is the start of the corresponding preset rule, and if so, determining whether the start is in the preset message format according to whether the network message data contains the message content of a plurality of continuous local MAC addresses; if so, considering that the network message data belongs to a preset message format and a preset rule for awakening a built-in system of the local computer; presetting a message format as a Magic Packet format for awakening a built-in system of the local machine; the network message data at the beginning of the preset rule is the broadcast message data at the beginning of FF, FF and FF; the message contents of a plurality of continuous local MAC addresses are the message contents of 16 continuous local MAC addresses; and returning to the previous step to continue monitoring when the network message data is judged not to belong to the preset message format.
S14: if the network message data belong to a preset message format, the background service executes a screen lightening action and converts a built-in system of the all-in-one machine device from a screen resting state to a normal working state;
in the specific implementation process of the invention, after the network message data belongs to the preset message format, the background service executes the screen-on action, converts the built-in system of the all-in-one machine equipment from the screen-off state to the screen-on state and is in a normal working state.
S15: and after the built-in system enters a normal working state, the background service stops monitoring all message data received by all network cards built in the all-in-one machine equipment.
In the specific implementation process of the invention, after the built-in system of the all-in-one machine equipment enters a normal working state, the background service enters a waiting state again, and stops monitoring all message data received by all network cards built in the all-in-one machine equipment; and the occupation of resources is reduced.
In the specific implementation process of the invention, the method further comprises the following steps: and when the all-in-one machine equipment built-in system enters a shutdown mode, stopping the running of the background service before shutdown of the all-in-one machine equipment built-in system.
Specifically, when the built-in system of the all-in-one machine device enters the shutdown mode, the background program cannot run when the built-in system of the all-in-one machine device enters the deep sleep state, and therefore the running of the background program needs to be stopped before shutdown.
In the embodiment of the invention, under the condition of being compatible with the WOL standard, the support system is converted from the screen-on state to the normal working state without additionally customizing the wake-up message; the method can be compatible with the existing WOL standard, and can achieve the aim that any machine running the WOL awakening program executes network awakening on the machine running the service.
Fig. 2 is a schematic structural diagram of a normal WOL message-based screen-off wake-up apparatus according to an embodiment of the present invention.
Referring to fig. 2, an apparatus for waking up from a screen with a normal WOL message includes:
the initialization module 21: initializing a background service when a built-in system of the all-in-one machine equipment is started, and enabling the background service to be in a waiting state;
in the specific implementation process of the invention, after the all-in-one machine equipment is started, namely when the built-in system is started, a background service is initialized at the same time, the background service only runs in the background, the running of the built-in system of the all-in-one machine equipment is not influenced, and the background service is enabled to be in a waiting state, namely the background service reduces the occupied memory and the resources of a CPU (Central processing Unit) as much as possible in the background, and the influence of the background service on the running of the built-in system of the all-in-one machine equipment and the running of other application software is reduced.
The listening module 22: the background service monitors all network message data received by all network cards built in the all-in-one machine equipment when the built-in system enters a screen-off state;
in the specific implementation process of the present invention, the monitoring, by the background service, of all network message data received by all network cards built in the all-in-one machine device includes: establishing a corresponding socket for each built-in network card of the all-in-one machine device based on an original socket mode; setting a corresponding socket to be bound to a corresponding network card through bind; and the background service starts to monitor all network message data received by all network cards built in the all-in-one machine equipment.
Specifically, when the built-in system of the all-in-one machine device enters a screen sleep state, the background service starts to run, that is, all network message data received by all network cards built in the all-in-one machine device are monitored; when monitoring is performed, the background service firstly creates a corresponding socket (socket) for each network card built in the ALL-in-one machine device according to the mode of an original socket (PF _ PACKET, SOCK _ RAW, htons (ETH _ P _ ALL)), then sets the corresponding socket to be bound to the corresponding network card through bind, and then the background service starts to monitor ALL network message data received by ALL network cards built in the ALL-in-one machine device.
The matching judgment module 23: the device is used for inquiring and matching the data formats of all the monitored network message data and judging whether the network message data is in a preset message format or not;
in the specific implementation process of the present invention, the querying and matching operation of the data format is performed on all the monitored network message data, and whether the data format is the preset message format is determined, including: judging whether all the monitored network message data have the network message data at the beginning of a preset rule; if yes, whether the message format is a preset message format is further judged based on whether the message content of a plurality of continuous local MAC addresses is contained in the network message data.
Further, the preset message format is a Magic Packet format for waking up a built-in system of the local machine.
Further, the network message data at the beginning of the preset rule is the broadcast message data at the beginning of FF, FF and FF.
Further, the message contents of the consecutive local MAC addresses are the message contents of the consecutive 16 local MAC addresses.
Specifically, after monitoring all network message data, analyzing all the monitored network message data to obtain whether the start in the corresponding network message data is the start of the corresponding preset rule, and if so, determining whether the start is in the preset message format according to whether the network message data contains the message content of a plurality of continuous local MAC addresses; if so, considering that the network message data belongs to a preset message format and a preset rule for awakening a built-in system of the local computer; presetting a message format as a Magic Packet format for awakening a built-in system of the local machine; the network message data at the beginning of the preset rule is the broadcast message data at the beginning of FF, FF and FF; the message contents of a plurality of continuous local MAC addresses are the message contents of 16 continuous local MAC addresses; and returning to the previous step to continue monitoring when the network message data is judged not to belong to the preset message format.
The execution module 24: the background service executes a screen-on action if the network message data belong to a preset message format, and converts a built-in system of the all-in-one machine device from a screen-on state to a normal working state;
in the specific implementation process of the invention, after the network message data belongs to the preset message format, the background service executes the screen-on action, converts the built-in system of the all-in-one machine equipment from the screen-off state to the screen-on state and is in a normal working state.
The stop listening module 25: and the background service is used for stopping monitoring all message data received by all network cards built in the all-in-one machine equipment after the built-in system enters a normal working state.
In the specific implementation process of the invention, after the built-in system of the all-in-one machine equipment enters a normal working state, the background service enters a waiting state again, and stops monitoring all message data received by all network cards built in the all-in-one machine equipment; and the occupation of resources is reduced.
In the specific implementation process of the invention, the device further comprises: a stopping module: and when the all-in-one machine equipment built-in system enters a shutdown mode, the all-in-one machine equipment built-in system stops the running of the background service before shutdown.
Specifically, when the built-in system of the all-in-one machine device enters the shutdown mode, the background program cannot run when the built-in system of the all-in-one machine device enters the deep sleep state, and therefore the running of the background program needs to be stopped before shutdown.
In the embodiment of the invention, under the condition of being compatible with the WOL standard, the support system is converted from the screen-on state to the normal working state without additionally customizing the wake-up message; the method can be compatible with the existing WOL standard, and can achieve the aim that any machine running the WOL awakening program executes network awakening on the machine running the service.
In an embodiment of the present invention, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer-readable storage medium implements the screen-turning wake-up method according to any one of the foregoing embodiments. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
The embodiment of the invention also provides a computer application program which runs on a computer and is used for executing the screen-off awakening method of any one of the embodiments.
In addition, fig. 3 is a schematic structural composition diagram of the all-in-one machine device in the embodiment of the present invention.
The embodiment of the invention also provides all-in-one machine equipment, as shown in fig. 3. The all-in-one machine device comprises a processor 302, a memory 303, an input unit 304, a display unit 305 and the like. Those skilled in the art will appreciate that the device configuration means shown in fig. 3 do not constitute a limitation of all devices and may include more or less components than those shown, or some components in combination. The memory 303 may be used to store the application 301 and various functional modules, and the processor 302 executes the application 301 stored in the memory 303, thereby performing various functional applications of the device and data processing. The memory may be internal or external memory, or include both internal and external memory. The memory may comprise read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a usb-disk, a magnetic tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The disclosed memory is by way of example only and not by way of limitation.
The input unit 304 is used for receiving input of signals and receiving keywords input by a user. The input unit 304 may include a touch panel and other input devices. The touch panel can collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel by using any suitable object or accessory such as a finger, a stylus and the like) and drive the corresponding connecting device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., play control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. The display unit 305 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 305 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 302 is a control center of the terminal device, connects various parts of the entire device using various interfaces and lines, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 302 and calling data stored in the memory.
As an embodiment, the all-in-one machine device includes: one or more processors 302, a memory 303, and one or more applications 301, wherein the one or more applications 301 are stored in the memory 303 and configured to be executed by the one or more processors 302, and wherein the one or more applications 301 are configured to perform the screen-off wake-up method in any of the above embodiments.
In addition, the above detailed description is given to a screen-off awakening method, device, storage medium and all-in-one machine device based on the standard WOL message provided by the embodiment of the present invention, and a specific example should be adopted herein to explain the principle and the implementation manner of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A screen-off awakening method based on a standard WOL message is characterized by comprising the following steps:
initializing a background service when a built-in system of the all-in-one machine equipment is started, and enabling the background service to be in a waiting state;
when the built-in system enters a screen-off state, the background service monitors all network message data received by all network cards built in the all-in-one machine equipment;
performing data format query matching operation on all monitored network message data, and judging whether the network message data is in a preset message format;
if the network message data belong to a preset message format, the background service executes a screen lightening action and converts a built-in system of the all-in-one machine device from a screen resting state to a normal working state;
after the built-in system enters a normal working state, the background service stops monitoring all message data received by all network cards built in the all-in-one machine equipment;
the background service monitors all network message data received by all network cards built in the all-in-one machine device, and the monitoring comprises the following steps:
establishing a corresponding socket for each built-in network card of the all-in-one machine device based on an original socket mode;
setting a corresponding socket to be bound to a corresponding network card through bind;
and the background service starts to monitor all network message data received by all network cards built in the all-in-one machine equipment.
2. The screen turn-off awakening method according to claim 1, wherein the querying and matching operation of the data format of all the monitored network message data is performed, and whether the data format is a preset message format is judged, including:
judging whether all the monitored network message data have the network message data at the beginning of a preset rule;
if yes, whether the message format is a preset message format is further judged based on whether the message content of a plurality of continuous local MAC addresses is contained in the network message data.
3. The screen off wakeup method according to claim 2, wherein the preset message format is a Magic Packet format for waking up a native built-in system.
4. The screen off wakeup method according to claim 2, wherein the network message data at the beginning of the preset rule is broadcast message data at the beginning of FF: FF: FF: FF: FF: FF.
5. The screen off wakeup method according to claim 2, wherein the message contents of the consecutive local MAC addresses are the message contents of the consecutive 16 local MAC addresses.
6. The screen rest wake-up method according to claim 1, further comprising:
and when the all-in-one machine equipment built-in system enters a shutdown mode, stopping the running of the background service before shutdown of the all-in-one machine equipment built-in system.
7. A screen-break wake-up apparatus based on a standard WOL packet, the apparatus comprising:
an initialization module: initializing a background service when a built-in system of the all-in-one machine equipment is started, and enabling the background service to be in a waiting state;
a monitoring module: the background service monitors all network message data received by all network cards built in the all-in-one machine equipment when the built-in system enters a screen-off state;
a matching judgment module: the device is used for inquiring and matching the data formats of all the monitored network message data and judging whether the network message data is in a preset message format or not;
an execution module: the background service executes a screen-on action if the network message data belong to a preset message format, and converts a built-in system of the all-in-one machine device from a screen-on state to a normal working state;
stopping the monitoring module: the background service is used for stopping monitoring all message data received by all network cards built in the all-in-one machine equipment after the built-in system enters a normal working state;
the background service monitors all network message data received by all network cards built in the all-in-one machine device, and the monitoring comprises the following steps:
establishing a corresponding socket for each built-in network card of the all-in-one machine device based on an original socket mode;
setting a corresponding socket to be bound to a corresponding network card through bind;
and the background service starts to monitor all network message data received by all network cards built in the all-in-one machine equipment.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the screen break wake-up method according to any one of claims 1 to 6.
9. An all-in-one machine device, characterized in that it comprises:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: executing the screen off wake-up method according to any one of claims 1 to 6.
CN202010561196.7A 2020-09-25 2020-09-25 Screen-off awakening method and device, storage medium and all-in-one machine equipment Active CN111897581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010561196.7A CN111897581B (en) 2020-09-25 2020-09-25 Screen-off awakening method and device, storage medium and all-in-one machine equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010561196.7A CN111897581B (en) 2020-09-25 2020-09-25 Screen-off awakening method and device, storage medium and all-in-one machine equipment

Publications (2)

Publication Number Publication Date
CN111897581A CN111897581A (en) 2020-11-06
CN111897581B true CN111897581B (en) 2021-08-31

Family

ID=73206881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010561196.7A Active CN111897581B (en) 2020-09-25 2020-09-25 Screen-off awakening method and device, storage medium and all-in-one machine equipment

Country Status (1)

Country Link
CN (1) CN111897581B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700473B (en) * 2022-09-13 2024-04-05 荣耀终端有限公司 Display method and device for screen-extinguishing display and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072147A (en) * 2007-06-20 2007-11-14 重庆邮电大学 Industrial Ethernet protocol analysisand field tester
CN102571507A (en) * 2010-12-10 2012-07-11 华为终端有限公司 Equipment wake-up method, dormant agent equipment and equipment wake-up system
CN104639607A (en) * 2014-12-31 2015-05-20 北京奇虎科技有限公司 Remote control method and router
CN107071079A (en) * 2017-03-07 2017-08-18 上海斐讯数据通信技术有限公司 A kind of private net terminal obtains the method and system of public network IP
CN110489199A (en) * 2019-08-23 2019-11-22 深圳传音控股股份有限公司 Breath screen display method, apparatus, terminal and storage medium
CN110933739A (en) * 2019-12-02 2020-03-27 锐捷网络股份有限公司 Electronic equipment awakening method and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002228683A1 (en) * 2000-11-29 2002-06-11 Albertus Wilhelm Martinus Bonke Wooden leg gene, promoter and uses thereof
JP2008085687A (en) * 2006-09-28 2008-04-10 Nec Corp Remote control system, method and device, and control packet transmitter, and control method and program for them
US8086879B2 (en) * 2007-12-31 2011-12-27 Intel Corporation Powering on devices via intermediate computing device
US8892710B2 (en) * 2011-09-09 2014-11-18 Microsoft Corporation Keep alive management
CN105975818A (en) * 2015-11-06 2016-09-28 乐视移动智能信息技术(北京)有限公司 Method and device for obtaining super user permission
US10284436B2 (en) * 2016-04-21 2019-05-07 Wyse Technology L.L.C. Cloud based wake-on-LAN for thin clients
TWI656769B (en) * 2016-07-20 2019-04-11 群暉科技股份有限公司 Method for performing wake-up management, and associated apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072147A (en) * 2007-06-20 2007-11-14 重庆邮电大学 Industrial Ethernet protocol analysisand field tester
CN102571507A (en) * 2010-12-10 2012-07-11 华为终端有限公司 Equipment wake-up method, dormant agent equipment and equipment wake-up system
CN104639607A (en) * 2014-12-31 2015-05-20 北京奇虎科技有限公司 Remote control method and router
CN107071079A (en) * 2017-03-07 2017-08-18 上海斐讯数据通信技术有限公司 A kind of private net terminal obtains the method and system of public network IP
CN110489199A (en) * 2019-08-23 2019-11-22 深圳传音控股股份有限公司 Breath screen display method, apparatus, terminal and storage medium
CN110933739A (en) * 2019-12-02 2020-03-27 锐捷网络股份有限公司 Electronic equipment awakening method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于ARM平台的远程唤醒技术;张希弓;《电脑知识与技术》;20190731;第15卷(第19期);第271页 *

Also Published As

Publication number Publication date
CN111897581A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
US11200101B2 (en) Managing applications for power conservation
CN102789305B (en) Postponing suspend
US7409537B2 (en) Fast booting an operating system from an off state
EP2367091B1 (en) Operating system independent network event handling
US7093116B2 (en) Methods and apparatus to operate in multiple phases of a basic input/output system (BIOS)
US8286169B2 (en) Dynamic scheduling an interval for polling devices based on a current operational power mode in an extensible firmware interface architecture
CN108132735B (en) Terminal and application control method
CN107545067B (en) Log information reporting method and device, storage medium, ADSP and terminal
US7383450B2 (en) Low power firmware
US11662803B2 (en) Control method, apparatus, and electronic device
CN107609120B (en) Log information reporting method and device, storage medium, ADSP and terminal
US20140282587A1 (en) Multi-core binary translation task processing
CN111897581B (en) Screen-off awakening method and device, storage medium and all-in-one machine equipment
CN102141920B (en) Method for dynamically configuring C-State and communication equipment
CN107562602B (en) Log information reporting method and device, storage medium, ADSP and terminal
US20140237475A1 (en) Sleep/wake with suppression and donated importance
CN106249874B (en) A kind of report method of sensing data, processor and mobile terminal
CN115587049A (en) Memory recovery method and device, electronic equipment and storage medium
CN114816031A (en) Power saving method of terminal device, terminal device and medium
CN107515750A (en) Computer control method and computer
CN117311822A (en) Dual-operating-system hot switching method, device, equipment and storage medium
CN115237479A (en) Screen control method and device, mobile terminal and storage medium
WO2019061201A1 (en) Method for optimizing power consumption, terminal device and computer readable storage medium

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 238, room 406, No.1, Yichuang street, Huangpu District, Guangzhou, Guangdong 510000

Patentee after: Guangzhou langguo Electronic Technology Co.,Ltd.

Address before: 510000 unit a and B, zone 02, 4th floor, No. 136, Gaopu Road, high tech Development Zone, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU LANGO ELECTRONIC SCIENCE & TECHNOLOGY Co.,Ltd.