CN111913557A - Automatic startup and shutdown system and method based on service needs - Google Patents

Automatic startup and shutdown system and method based on service needs Download PDF

Info

Publication number
CN111913557A
CN111913557A CN202010757371.XA CN202010757371A CN111913557A CN 111913557 A CN111913557 A CN 111913557A CN 202010757371 A CN202010757371 A CN 202010757371A CN 111913557 A CN111913557 A CN 111913557A
Authority
CN
China
Prior art keywords
client
service
equipment
starting
target
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.)
Pending
Application number
CN202010757371.XA
Other languages
Chinese (zh)
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.)
Yangzhou Bridge Software Technology Co ltd
Original Assignee
Yangzhou Bridge Software 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 Yangzhou Bridge Software Technology Co ltd filed Critical Yangzhou Bridge Software Technology Co ltd
Priority to CN202010757371.XA priority Critical patent/CN111913557A/en
Publication of CN111913557A publication Critical patent/CN111913557A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken

Abstract

The invention relates to an automatic power on/off system based on service requirements and a method thereof, wherein the system comprises a client and a host, the host comprises target equipment, a power on module is arranged in the target equipment, and the client needs to access the service on the target equipment; the client constructs and sends an automatic startup message to a startup module; the starting module drives the target equipment to start; the client side performs service access; the client side notifies the end of service access; and the target equipment comprehensively judges whether the shutdown condition is met or not by combining the service access condition, automatically shuts down if the shutdown condition is met, and continuously maintains the startup state if the shutdown condition is not met. The invention is based on the automatic on-off of the service requirement of the user, is used for improving the convenience of the user operation, and has the function of saving the power supply after the automatic on-off according to the service requirement of the user.

Description

Automatic startup and shutdown system and method based on service needs
Technical Field
The invention relates to the technical field of computer communication, in particular to an automatic startup and shutdown system and method based on service requirements.
Background
Currently, a personal computer supports auto-on and auto-off functions, wherein:
the automatic startup uses WOL (wake On Lan) technology, and the personal computer is triggered to be started up after a network adapter of the personal computer receives a specific message containing an MAC (media Access control) address of the personal computer. Because a specific message needs to be constructed to wake up a specific computer, a current common method is that a user uses other devices (a router, other computers, and a mobile phone) in a local area network to send a wake-up message when the user needs to wake up the computer, and the step needs to be actively operated by the user.
The automatic shutdown function is already included in a windows operating system, and the technical principle is that the system automatically shuts down if input signals of external equipment such as a keyboard or a mouse are not detected within a certain time.
The prior art is inconvenient to use in a specific scene, for example, a user needs to perform 3 steps of operation when the user wants to back up mobile phone data to a computer through a network instead of a data line: firstly, before backup, the computer is actively started (power is turned on or WOL is awakened); then, the mobile phone starts to backup data; and finally, actively closing the computer after the backup is finished. At this time, the system cannot be started to automatically shut down, because no signal input of a mouse/keyboard or other devices is available in the backup process, the system may be automatically shut down before the backup is completed, and data loss may be caused.
In summary, in the prior art, the computer needs to participate in booting and shutting down, user experience is poor, and the computer cannot be shut down in time after the transaction is finished, which causes a certain waste of power.
Disclosure of Invention
The present invention is directed to a system and method for automatically powering on and powering off a computer based on service requirements to solve the above-mentioned problems encountered in the background art.
In order to achieve the purpose, the technical scheme of the invention is as follows:
an automatic power on and off system based on service needs comprises a client and a host, wherein the host comprises target equipment, a power on module is arranged in the target equipment, and the client needs to access services on the target equipment; the client constructs and sends an automatic startup message to the startup module; the starting module drives the target equipment to start; the client side performs service access to the target equipment; the client side informs the end of the host side service access; and the target equipment comprehensively judges whether the shutdown condition is met or not by combining the service access condition, automatically shuts down if the shutdown condition is met, and continuously maintains the startup state if the shutdown condition is not met.
In the above scheme, the system further comprises auxiliary starting-up equipment, and a search module is arranged in the client; the search module searches for auxiliary starting-up equipment corresponding to a host end through the target identification and sends the data message to the auxiliary starting-up equipment; the auxiliary starting-up equipment sends a data message to the target equipment and requests to open the specified target equipment; the auxiliary starting-up equipment constructs and sends an automatic starting-up message to the starting-up module.
In the above scheme, the auxiliary boot device is a device for automatically booting a target device having a driving host end.
In the above scheme, the target device comprehensively determines whether the shutdown condition is met in combination with the service access condition, where the condition includes that the client service access is finished and the target device has no user operation behavior.
In the above scheme, the target device is any one of a desktop computer, a tablet computer and a laptop computer.
An automatic power on/off method based on service needs comprises the following steps when a client and a target device are in the same local area network:
s101, a client needs to access services on target equipment;
s102, a client constructs and sends an automatic starting message to a starting module of target equipment;
s103, starting the target equipment, and accessing the service by the client;
s104, the client notifies the end of service access;
and S105, comprehensively judging whether the shutdown condition is met or not by the target equipment according to the service access condition.
Further, when the client and the target device are in different local area networks, step S102 is decomposed into the following steps:
s201, a search module searches for auxiliary starting equipment corresponding to a host end through a target identifier and sends a data message to the auxiliary starting equipment;
s202, the auxiliary starting device constructs and sends an automatic starting message to a starting module of the target device to request for opening the specified target device.
Compared with the prior art, the invention has the beneficial effects that: the invention is based on the automatic startup and shutdown of the service requirement of the user, is used for improving the convenience of user operation and also improving the secrecy of the network access target equipment. When the user needs to access the service on the computer due to the service, the computer is automatically started, and the computer is automatically shut down after the access is finished. And after the machine is automatically turned on and off according to the service requirement of the user, the power supply is saved, the target device is prevented from being in a standby state for a long time, and the system stability of the target device is indirectly protected.
Drawings
FIG. 1 is a block diagram showing the constitution of the present invention in embodiment 1;
FIG. 2 is a flow chart of the present invention in example 1;
FIG. 3 is a block diagram showing the constitution of the present invention in embodiment 2;
fig. 4 is a flowchart of the present invention in example 2.
Detailed Description
The technical solution of the present invention is further described in detail with reference to the accompanying drawings and examples.
In embodiment 1, when the client and the target device are in the same lan, as shown in fig. 1, an automatic power on/off system based on service needs includes a client 1 and a host 2, the host 2 includes a target device 21, the target device 21 is any one of a desktop computer, a tablet computer, and a laptop computer, and may be other storage devices with a display function.
The target device 21 is internally provided with a boot module 22, and the boot module 22 is a module existing in the existing device and is used for driving the target device 21 to boot. When the client 1 needs to access the service on the target device 21, for example, the target device 21 is used to dump files, send mails, copy backup files, browse and search files, surf the internet, and so on. An automatic boot message is constructed and sent to the boot module 22 in the system of the client 1, and the boot module 22 drives the target device 21 to boot, so that the client 1 can conveniently access the service.
After the user completes a certain job or needs to complete a certain job at the client 1, the system monitors that these tasks occur, and then automatically accesses the service on the target device 21, for example, automatically accesses the storage service on the target device 2 after the shooting is completed, so that the target device 21 is triggered to start up, and the access target device 21 correspondingly stores the shot image data on the client 1. When the user actively accesses a service on the target device 21, such as browsing a photo on the target device or accessing a website on the target device, the target device 21 is also triggered to power on.
In this embodiment, the client constructs and sends an automatic boot packet, where the boot packet includes, but is not limited to, an IP address packet, so as to facilitate searching for a corresponding target device.
When the client 1 notifies that the service access is finished, the target device 21 comprehensively judges whether the shutdown condition is met or not by combining the service access condition, automatically shuts down the device if the shutdown condition is met, and continuously maintains the startup state if the shutdown condition is not met. The target device 21 comprehensively determines whether a shutdown condition is met by combining the service access condition, where the condition includes that the service access of the client 1 is finished and the target device 21 has no user operation behavior, that is, an operator of the client 1 may automatically shutdown when the service access of the target device 21 is finished, and the target device 21 automatically detects no user operation behavior, such as mouse and keyboard input operation, and performs automatic shutdown within a certain time.
Referring to fig. 2, when the client and the target device are in the same lan, in combination with the above-mentioned automatic power on/off system based on service requirement, an automatic power on/off method based on service requirement is provided, which includes the following steps:
s101, triggering service by a client to access target equipment;
s102, a client constructs and sends an automatic starting message to a starting module of target equipment;
s103, starting the target equipment, and accessing the service by the client;
s104, the client notifies the end of service access;
and S105, comprehensively judging whether the target equipment meets the shutdown condition or not by combining the service access condition, automatically shutting down if the condition is met, and continuously maintaining the startup state if the condition is not met.
Embodiment 2, when the client and the target device are in different local area networks, as shown in fig. 3, an automatic power on/off system based on service needs includes the client 1 and the host 2 as described in embodiment 1, the host 2 includes the target device 21, and the target device 21 is internally provided with a power on module 22.
In this embodiment, the device further includes an auxiliary boot device 3, where the auxiliary boot device 3 is any one of a router, a computer, and a smart phone, and may also be a device for automatically booting another target device 21 having a driving host end 2. A search module 11 is arranged inside the client 1, and the search module 11 is configured to obtain information of the auxiliary startup device 3, so as to send a startup message to the auxiliary startup device 3. When the client 1 needs to access the target device 21 due to the service, the service needs to be operated as required by using the target device 21 to dump files, send mails, copy backup files, browse and search files, surf the internet, and the like. The target device 21 is any one of a desktop computer, a tablet computer, and a laptop computer, but may be other network devices.
In this embodiment, when the client 1 needs to access the target device 21, the stored content is not only video/photo, but also may be any form of file, and the service is not only storage, but also other services, such as a user's computer serving as a web server accessing a website on the target device 21, and further browsing files such as photo/video/table/document on the target device.
The search module 11 searches the auxiliary starting-up device 3 corresponding to the host end 2 through the target identifier, and sends the data message to the auxiliary starting-up device 3, and each target device 21 has a unique ID, so that the identifier search is facilitated. The auxiliary power-on device 3 sends a data message to the target device 21 requesting the opening of the specified target device 21 in accordance with the unique ID on the target device 21. The auxiliary starting-up device 3 relies on its own system structure and sends an automatic starting-up IP message to the starting-up module 22, and the starting-up module 22 drives the target device 21 to start up automatically, so as to facilitate the service access of the client 1. When the client 1 notifies that the service access is finished, the target device 21 comprehensively judges whether the shutdown condition is met or not according to the service access condition, automatically shuts down the device if the shutdown condition is met, and continuously maintains the startup state if the shutdown condition is not met.
In this embodiment, the client 1 constructs and sends an automatic boot packet, where the boot packet includes, but is not limited to, an IP address packet, so as to facilitate searching for a corresponding target device.
The target device 21 comprehensively determines whether a shutdown condition is met by combining the service access condition, where the condition includes that the service access of the client 1 is finished and the target device 21 has no user operation behavior, that is, an operator of the client 1 may automatically shutdown when the service access of the target device 21 is finished, and the target device 21 automatically detects no user operation behavior, such as mouse and keyboard input operation, and performs automatic shutdown within a certain time.
Referring to fig. 4, when the client and the target device are in different lans, in combination with the automatic power on/off system based on service needs described above, an automatic power on/off method based on service needs is provided, which includes the following steps:
s301, the client needs to access the service on the target equipment;
s302, the search module searches for auxiliary starting equipment corresponding to a host end through the target identifier and sends a data message to the auxiliary starting equipment;
s303, the auxiliary starting device constructs and sends an automatic starting message to a starting module of the target device to request for opening the appointed target device;
s304, starting the target equipment, and accessing the service by the client;
s305, the client notifies the end of service access;
s306, the target device comprehensively judges whether the shutdown condition is met or not by combining the service access condition, if yes, the target device is automatically shut down, and if not, the target device is continuously maintained in the startup state.
The invention is based on the automatic startup and shutdown of the service requirement of the user, is used for improving the convenience of user operation and also improving the secrecy of the network access target equipment 21. When the user needs to access the service on the computer due to the service, the computer is automatically started, and the computer is automatically shut down after the access is finished. And after the machine is automatically turned on and off according to the service requirement of the user, the power supply is saved, the target device 21 is prevented from being in a standby state for a long time, and the system stability of the target device 21 is indirectly protected.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (7)

1. The utility model provides an automatic power on/off system based on service needs, includes the client and with the host computer end, the host computer end includes target equipment, the inside power on module that is equipped with of target equipment which characterized in that:
the client needs to access the service on the target device;
the client constructs and sends an automatic startup message to the startup module;
the starting module drives the target equipment to start;
the client side performs service access to the target equipment;
the client side informs the end of the host side service access;
and the target equipment comprehensively judges whether the shutdown condition is met or not by combining the service access condition.
2. The automatic power on/off system based on service needs of claim 1, wherein: the system also comprises auxiliary starting-up equipment, and a search module is arranged in the client;
the search module searches the auxiliary starting-up equipment corresponding to the host terminal through the target identification and sends a data message to the auxiliary starting-up equipment;
the auxiliary starting-up equipment sends a data message to the target equipment to request for opening the specified target equipment;
and the auxiliary starting-up equipment constructs and sends an automatic starting-up message to the starting-up module.
3. The automatic power on/off system based on service needs according to claim 2, wherein: the auxiliary starting-up equipment is a device for automatically starting up the target equipment with a driving host end.
4. The automatic power on/off system based on service needs of claim 1, wherein: and the target equipment comprehensively judges whether the conditions of shutdown are met or not by combining the service access conditions, wherein the conditions comprise the end of the service access of the client and no user operation behavior of the target equipment.
5. The automatic power on/off system based on service needs of claim 1, wherein: the target device is any one of a desktop computer, a tablet computer and a portable computer.
6. An automatic startup and shutdown method based on service needs is characterized in that: using the system of any one of claims 1-5, when the client and the target device are in the same lan, comprising the following steps:
s101, a client needs to access services on target equipment;
s102, a client constructs and sends an automatic starting message to a starting module of target equipment;
s103, starting the target equipment, and accessing the service by the client;
s104, the client notifies the end of service access;
and S105, comprehensively judging whether the shutdown condition is met or not by the target equipment according to the service access condition.
7. The method according to claim 6, wherein when the client and the target device are in different local area networks, step S102 is divided into the following steps:
s201, a search module searches for auxiliary starting equipment corresponding to a host end through a target identifier and sends a data message to the auxiliary starting equipment;
s202, the auxiliary starting device constructs and sends an automatic starting message to a starting module of the target device to request for opening the specified target device.
CN202010757371.XA 2020-07-31 2020-07-31 Automatic startup and shutdown system and method based on service needs Pending CN111913557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010757371.XA CN111913557A (en) 2020-07-31 2020-07-31 Automatic startup and shutdown system and method based on service needs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010757371.XA CN111913557A (en) 2020-07-31 2020-07-31 Automatic startup and shutdown system and method based on service needs

Publications (1)

Publication Number Publication Date
CN111913557A true CN111913557A (en) 2020-11-10

Family

ID=73288172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010757371.XA Pending CN111913557A (en) 2020-07-31 2020-07-31 Automatic startup and shutdown system and method based on service needs

Country Status (1)

Country Link
CN (1) CN111913557A (en)

Similar Documents

Publication Publication Date Title
US20200278737A1 (en) Terminal control method and apparatus, and terminal
JP5666591B2 (en) Method and system for operating a computer with a low power auxiliary processor
KR100799385B1 (en) Data processor, data processing method, and recording medium
US8285345B2 (en) Mobile terminal and method for switching states thereof
US7051236B2 (en) Wirelessly network-connected, battery-powered information handling system featuring prevention of data corruption after wake-up by a network event
US8806028B2 (en) System and method for accessing data and applications on a host when the host is in a dormant state
US20170153683A9 (en) System wakeup on wireless network messages
US9128891B2 (en) Method, mobile terminal and computer program product for sharing storage device
US11895364B2 (en) Bluetooth connection method and television
WO2012031540A1 (en) Method for adjusting memory running frequency and electronic device
WO2024067803A1 (en) Data processing method, data processing apparatus, and electronic device and readable storage medium
WO2020135131A1 (en) Network hotspot switching method, intelligent terminal and computer-readable storage medium
CN104412669A (en) Method for switching a device between hibernat mode and wake-up
JP4839715B2 (en) Thin client system
US20090183013A1 (en) Method and computer for processing an operation command in a computer
TWI521348B (en) Controling system and method for cache coherency
CN111913557A (en) Automatic startup and shutdown system and method based on service needs
TW201018132A (en) Power saving control method for wireless LAN
WO2024067356A1 (en) Network connection method and apparatus, and electronic device and readable storage medium
US9008622B2 (en) Information processing apparatus and wireless communication module setting method
KR20080052871A (en) Apparatus and method of power control in portable device
JP2002341975A (en) Information processor, resume control method and operation mode control method
JP2001350535A (en) Portable electronic equipment and operation state restoration system
JP2012190478A (en) Processor and program

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