CN102299818B - Method for managing computer working condition based on network access data - Google Patents

Method for managing computer working condition based on network access data Download PDF

Info

Publication number
CN102299818B
CN102299818B CN201010220357.2A CN201010220357A CN102299818B CN 102299818 B CN102299818 B CN 102299818B CN 201010220357 A CN201010220357 A CN 201010220357A CN 102299818 B CN102299818 B CN 102299818B
Authority
CN
China
Prior art keywords
computer
data
network interface
protocol
interface unit
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.)
Expired - Fee Related
Application number
CN201010220357.2A
Other languages
Chinese (zh)
Other versions
CN102299818A (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.)
Jiangsu Ruiman Information Technology Co.,Ltd.
Original Assignee
JIANGSU RUIMAN INFORMATION 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 JIANGSU RUIMAN INFORMATION TECHNOLOGY CO LTD filed Critical JIANGSU RUIMAN INFORMATION TECHNOLOGY CO LTD
Priority to CN201010220357.2A priority Critical patent/CN102299818B/en
Publication of CN102299818A publication Critical patent/CN102299818A/en
Application granted granted Critical
Publication of CN102299818B publication Critical patent/CN102299818B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention provides a method for managing computer working condition based on network access data and belongs to the technical field of computer networks. In the method, if the situation that a TCP (Transmission Control Protocol) or UDP (User Datagram Protocol) port receives no network access data within a predetermined period of time is monitored by monitoring the data received by a network interface device of a computer in a normal working condition, the computer is managed to enter an abnormal working condition. The method can be used for greatly saving the energy consumption of the computer, and also prolonging the service life of the computer.

Description

The method of visit data supervisory computer operating state Network Based
Technical field
The invention belongs to technical field of the computer network, relate to the method for supervisory computer operating state, be specifically related to a kind of method of operating state of visit data supervisory computer Network Based.
Background technology
Computer in each network comprises a Network Interface Unit being connected with network service, and it can be used for receiving/send (network) visit data, and therefore, Network Interface Unit is one of them input/output end port of computer.Conventionally Network Interface Unit is embodied in network interface card (Network Interface Card, NIC) or is integrated in the network interface card on computer motherboard.
Under normal circumstances, according to the power management calculating, for compatible AC-3 PI (AdvancedConfiguration and Power Interface, advanced configuration power-management interface) computer system, its operating state roughly can be divided into following seven kinds (S0-S5, G3) states:
S0 (or being G0) refers to the normal operating conditions of computer, and at S0 state, operating system and application program are all in normal operation, and CPU (central processing unit) carries out instruction.Under this state, power consumption is higher, generally can exceed 80W (watt).
G1 is the sleep state that comprises S1, S2, S3, tetra-kinds of states of S4, and S1, S2, S3, tetra-kinds of distributions of S4 are:
S1 is also referred to as POS (Power On Suspend, power supply is hung up), refer to that computer is except quitting work CPU by cpu clock controller, other mainboard connection devices (such as hard disk, internal memory, chipset etc.) are still normally worked, power consumption is below 30W (for example, some CPU cooling software utilizes this operation principle exactly) generally.S1 state is the sleep pattern of power consumption.All registers of processor are refreshed, and CPU stops carrying out instruction.The power supply of CPU and internal memory is maintaining always, will be stopped so power supply if some equipment do not use.This pattern is often referred to and powers on standby or be simply called POS, arranges on interface especially at BIOS.
S2 is the darker sleep state than S1 state, in this state, has not powered to CPU; But common this pattern is also seldom used.
S3 refers to STR (Suspend to RAM, internal memory is suspended to internal memory), is also the longest state of commonly using of user, and STR is exactly that the operating state data that system is entered before STR is all stored in internal memory and goes.Under STR state, main circuit power still continues as the equipment power supply that internal memory etc. is the most necessary, and to guarantee that data do not lose, and other equipment are all in closed condition, and the power consumption of system is extremely low.Now, internal memory is almost unique parts that have power supply to supply with.For example, because the state of operating system, all application programs and document of being opened etc. is to be all kept in main storage (internal memory), once we press Power button (host power switch), system is just waken up, at once reading out data return to operating state before STR (content when content of internal memory and it enter S3 state when computer is got back to S0 from S3 state is identical) from internal memory.The read or write speed of internal memory is exceedingly fast, and the time that therefore we feel to enter and leave that STR state spends is only several seconds, and power consumption is generally no more than 10W.Compare the S4 state of following explanation, S3 state has two benefits: the process ratio that (1) computer recovers is restarted fast; (2) if any application program of moving (document being opened etc.) has private information inside, these information are can not be written on hard disk.For example, but in the time that S3 state can not be waken up (in having run into power failure), cache memory may be prevented data corruption by flush (flush).
S4 is also referred to as STD (Suspend to Disk, is suspended to hard disk), and the system main power source of referring to cuts out, but hard disk is still charged and can be waken up, and now in internal memory, information is written in hard disk, and all parts quit work.S4 state is also referred to as " dormancy (Hibernate) " state.Under this state, the content of all main storages (for example internal memory) is stored in non-volatility memorizer, for example hard disk, the current state (comprising all application programs, the document of opening etc.) of protection operating system.This means from S4 wakes recovery up, user can return to operating state originally, and the method for employing is the same with S3.Difference between S4 and S3 is: (1) S4 state is the content shift-in in main storage to hard disk or to shift out the consumed time from hard disk long, and the time of therefore waking up is relatively long; (2) if once the power supply failed under S3 state, for example, data on all main storages (internal memory) will be lost, and comprise all documents that there is no preservation, and in the next not impact of S4 state.S4 and other sleep state have a great difference, are in fact more similar to G2 (Soft Off, soft-off) state and G3 (MechanicalOff, firmly shutdown) state.System under S4 state can enter G3 (Mechanical Off) state equally, and retains the state information when S4.So after turning off power supply, it can return to former running status.
S5 is also G2, also referred to as soft-off (Soft Off).G2 and G3 (Mechanical Off, hard shutdown) be almost identical, but some parts is still charged, making computer still can be also had USB device wake to return to the process of G0 normal mode of operation from G2 in startup system by keyboard, clock, modem (WOR), LAN (WOL), be that G3 or G2 must move start-up routine and start the operating system.
G3 i.e. hard shutdown (Mechanical Off) state.
Conventionally, computer is in the time of working procedure or reception external reference data, and computer must be processed normal operating conditions (S0).Particularly for the computer as server, server is mainly other network user access services is provided, for making other network user can access at any time this server, conventionally server is that whole day 24 hours is in normal operating conditions, obviously, this is unfavorable for energy-conservation, and can shorten the life-span of server.
In the method for the operating state of existing supervisory computer, normally by monitoring, whether the input/output device (for example keyboard and mouse) of the computer in normal operating conditions receives operational order and the operating state of critical computer, for example, if within the scheduled time, keyboard and mouse is not moved with input operation order, and computer will be placed in shutdown or sleep state.
But, the method of the operating state of existing this supervisory computer for example, for the computer so that access services to be provided (server), obviously be that uncomfortable merging is difficult to the object that reaches energy-conservation, such as, if server makes it enter sleep state when not receiving operational order, and at this moment visiting from outside does not stop, thereby can be an impediment to the network user's access.Therefore, conventionally server is that whole day 24 hours is in normal operating conditions.
In view of this, be necessary to propose a kind of novel being particularly useful for and be similar to method calculating, supervisory computer operating state of type of server.
Summary of the invention
The technical problem to be solved in the present invention is that the operating state of visit data supervisory computer Network Based is to reduce the energy consumption of computer.
For solving above technical problem, the invention provides a kind of method of visit data supervisory computer operating state Network Based, if in the data that the Network Interface Unit of the described computer in normal operating conditions receives, monitor TCP or udp port does not receive network access data in the given time, supervisory computer enters abnormal operating state.
As preferred technique scheme, described network access data is by described computer is for predetermined network access data.In monitoring, resolve its network communication protocol and/or monitor the IP address in the source of described network access data, take the visit data of monitoring TCP or udp port whether as described predetermined network access data.
According to an embodiment scheme of the method for supervisory computer operating state of the present invention, it is further comprising the steps of:
(1) make user accesses data arrive the Network Interface Unit of abnormal operating state computer;
(2) carry out protocol analysis by the ICP/IP protocol parsing module in Network Interface Unit;
(3) judge whether to meet the predetermined condition of starting shooting or waking up;
(4), if be judged as "Yes", trigger the main circuit of computer to start shooting or to wake described computer up.
Preferably, described step (1) comprises the following steps:
(1a) Internet user sends visit data to described computer;
(1b) described visit data arrives from the nearest router of described computer or gateway after some routers;
(1c) Network Interface Unit of described computer is responded the arp request of described router or gateway, and correspondence finds described computer;
(1d) judge that whether described computer is in normal operating conditions, if be judged as "No", enter step (2).
Particularly, described step (4) comprising:
If (4a) be judged as "Yes", described visit data is cached in to the memory cell of Network Interface Unit;
(4b) main circuit that triggers computer is to start shooting or to wake described computer up.
Particularly, described predetermined condition is the visit data of certain port or the packet of particular form that clean culture, IP and TCP detected; Described predetermined condition or for the visit data of certain port or the packet of particular form of clean culture, IP and UDP being detected.
Described ICP/IP protocol bag comprises TCP, the udp protocol of IP agreement and the transport layer of network layer.
Described ICP/IP protocol bag is stored in described memory cell to be contained in the form of embedded program module.
Preferably, described ICP/IP protocol parsing module comprises:
Memory cell, operationally for storing ICP/IP protocol bag; And
Processing unit, operationally for the ICP/IP protocol information of dissection process external the Internet visit data;
Wherein, described memory cell is connected with described processing unit data communication, and described Network Interface Unit all can be placed in electriferous state during in abnormal operating state at computer.
Particularly, described memory cell is also operationally for storing the IP address of described computer and the MAC Address of described Network Interface Unit; Described memory cell or also operationally for storing configuration information and the service set of calculating title, DynamicHost and arrange agreement.
Described memory cell is also operationally for storing the IP address of described computer and the MAC Address of described Network Interface Unit; Described memory cell or also operationally for storing configuration information and the service set of calculating title, DynamicHost and arrange agreement.
Preferably, described abnormal operating state is S4 resting state or S5 off-mode.S4 resting state is safer resting state with respect to S3 or other sleep state, even if there is power-off, the status data of computer is also can not lose.Under S5 off-mode, only make Network Interface Unit in electriferous state, therefore more can realize the power saving of computer, be not also subject in addition to make computer system can not enter the puzzlement of resting state (S1-S4) owing to distorting the interference of ACPI software.
Technique effect of the present invention is, computer can be realized according to outside visit data the condition managing of computer, make computer can automatically enter the abnormal operating state of power saving in the time of not accessed idle state, and can make computer automatically enter normal operating conditions according to outside subsequent access, thereby greatly save energy resource consumption, and can extend the useful life of computer.
Accompanying drawing explanation
Fig. 1 is the method for the supervisory computer operating state that provides according to one embodiment of the invention;
Fig. 2 is according to the real another method of executing the supervisory computer operating state that example provides of the present invention;
Fig. 3 is the structural representation of the Network Interface Unit that provides according to the embodiment of the present invention.
Embodiment
What introduce below is some in multiple possibility embodiment of the present invention, aims to provide basic understanding of the present invention.Be not intended to confirm key of the present invention or conclusive key element or limit claimed scope.
In described off-mode and appended claims, the off-mode of indication all refers to the S5 off-mode in background technology below.
The method of the supervisory computer operating state providing according to one embodiment of the invention is provided.In this embodiment, be to provide the server of access services as example as the network user take computer, this server is supported the computer system of ACPI, the procedure of basic supervisory computer state mainly comprises following steps as shown in Figure 1:
Step S510, computer is in normal operating conditions.
In this step, suppose that first computer is that under this state, the network user can directly access this computer in normal operating conditions (the S0 state described in background technology).
Step S530, when the data that receive at the Network Interface Unit of computer, the visit data that monitoring TCP or udp port receive.
In this step, can pass through the TCP of software approach monitoring network interface arrangement or the visit data flow of udp port.For example, for the computer of an open WEB service, external serve port is TCP80 and TCP443, and monitoring is for the visit data of these two ports; Again for example, for a server computer for enterprises, source IP that can snoop accesses data.
In preferred embodiment, because some network access data is negligible (whether it does not need computer in normal operating conditions), computer user can be defined as visit data scheduled visit data of some type, for example, common TCP heartbeat packet etc. is not belong to scheduled visit data, for can be according to the visit data that is set in when monitoring and gives up this TCP heartbeat packet, TCP heartbeat packet visit data does not belong to affects the visit data of computer operating state category.
In above preferred embodiment, in monitoring, while also receiving visit data, computer can also be resolved its network communication protocol simultaneously, take the visit data of monitoring TCP or udp port whether as scheduled visit data; Computer can also be monitored the source IP addresses of this visit data, take the visit data of monitoring TCP or udp port whether as scheduled visit data.
For the computer of an open visit service, tcp port can be tcp port 80, and udp port can be udp port 5000.Wherein, Network Interface Unit can be existing common network interface card, can be also following Network Interface Unit embodiment illustrated in fig. 3.
Step S550, judges whether TCP or udp port receive network access data in the given time.
In this step, user can select to determine the length of concrete scheduled time, for example, if when the accessed frequency of computer is higher, the scheduled time can be set and grow (for example half an hour), thereby avoids sleeping continually, wakes up (or shut down, start shooting); For example, if when the accessed frequency of computer is lower, the scheduled time can be set shorter (15 minutes).If described port does not receive external reference data in the given time, prove that this computer, in idle condition, therefore enters step S570; If described port has received external reference data in the given time, prove that this computer is in accessed state, therefore computer must keep normal operating conditions, returns and enters step S530, continues TCP or the udp port of this computer network interface device of monitoring.
In preferred embodiment, described visit data can be the above and predetermined visit data, even in the given time, the Network Interface Unit of computer received unscheduled visit data (for example TCP heartbeat packet, from limit IP address beyond visit data), computer is also identified as in idle condition, therefore enters step S570.
Step S570, computer enters abnormal operating state.
In this step, abnormal operating state mainly refers to sleep state or off-mode, can make computer enter sleep state or off-mode by computer main circuit.Specifically whether enter sleep state or off-mode, user can specifically select.Conventionally relatively more power saving of S5 off-mode, the relative S3 of resting state of S4 is safer, for example, even if there is power-off (having a power failure), the original software operation state of computer also can not be lost, service restoration and be waken up after, running status can be recovered (because state be to be kept in the hard disk of fixedness storage) at once.
So far, the method for the Management Calculation state of this embodiment finishes, and by above method, can realize the state of automatic Management Calculation, if while thering is no the input of external reference data, computer can enter sleep or the off-mode of power saving more automatically.
It should be noted that, above procedure can realize by the embedded software program module in Network Interface Unit, also can realize in conjunction with concrete software program by the CPU on computer motherboard.
Automatic shutdown or sleep at computer shown in Fig. 1, in method, are realized, but, after computer is shutting down or is sleeping, have at any time outside visit data and be sent to this computer, now, computer must return to normal operating conditions and provide normal access services to realize calculating function.
Figure 2 shows that the real another method of executing the supervisory computer operating state that example provides according to the present invention.In this embodiment, not only realize according to visit data and realized automatic shutdown or sleep, also realized according to visit data and realized Auto Power On or wake computer up.Equally, that server is as example take object-computer, itself and Internet connection also provide specific service to Internet user, and at this server during in normal condition, Internet user's visit data is to arrive at any time this server can be by this visit data of server process.For saving the energy, and extend useful life of server, in this embodiment, server user can be placed in server the abnormal operating state such as " shutdown " or " sleep ", for example, and the arbitrary state of the S1 to S5 described in background technology.Therefore,, in the time that Internet user sends visit data to the server of this IP address, likely need to apply the method for Auto Power On of the present invention or wake servers.
Wherein, step S510 is identical with method shown in Fig. 1 to step S517, is no longer repeated in this description at this, and method embodiment illustrated in fig. 2 also comprises following S211 to S270 step:
Step S211, Internet user for example, sends visit data to this computer (server).
In this step, because being sends based on internet, therefore visit data sends with ICP/IP protocol and transmits, and visit data comprises the IP address of object-computer.
Step S213, described visit data arrives from the nearest router of this computer or gateway after some routers.
Step S215, the Network Interface Unit of computer is responded the ARP request of described router or gateway, and correspondence finds this computer.
In this step, can send address resolution protocol (ARP) request, for example the form broadcast arp request message to broadcast to the Network Interface Unit of computer from the nearest router of this computer or gateway; In conventional art, if after computer shutdown, in Network Interface Unit, no longer preserve the IP address of this computer and also do not respond ARP request, therefore, ARP request can not get answering, and therefore, need on router or gateway, do complicated arranging and just may successfully find this computer.In this embodiment, the Network Interface Unit of computer comprises the ICP/IP protocol parsing module of resolving external the Internet visit data for this computer at " under abnormal operating state ", therefore, even if computer is in off-mode, in Network Interface Unit, also always there are MAC Address and the IP address of this computer, also can also store computer name, (host name), even DHCP (Dynamic Host Configuration Protocol, DynamicHost arranges agreement) configuration information and SSID (storing SSID while adopting radio network interface device) (Service Set Identifier, service set), thereby can correctly respond ARP request, make the data of accessing this computer correctly to be sent to this computer network interface.
Step S217, judges that whether described computer is in normal operating conditions.If be judged as "Yes", carry out according to normal access program, this computer can directly be processed this visit data; If be judged as "No", enter step S230.
Above step S211, to step S217, can realize the Network Interface Unit of user accesses data arrival abnormal operating state computer.
Step S230, carries out protocol analysis by the ICP/IP protocol parsing module in Network Interface Unit.
In this step, Network Interface Unit calls the ICP/IP protocol analysis program module in memory cell, thereby the processing unit of Network Interface Unit is operationally realized the ICP/IP protocol information in dissection process external the Internet visit data.In ICP/IP protocol analysis program module, normally comprise ICP/IP protocol bag, this ICP/IP protocol bag comprises the IP agreement of network layer and Transmission Control Protocol and the udp protocol etc. of transport layer.Therefore, realize the 3rd layer and/or the Data Analysis processing of the 4th layer of visit data, and be not limited to the data processing of ground floor (physical layer) and the second layer (data link layer).
Step S250, judges whether the predetermined condition that meets start or wake up.In this step, predetermined condition can be set in the program module in above-described memory cell, for example,, in the time the visit data of certain port of clean culture, IP, TCP and UDP being detected (even certain special packet), as start or the predetermined condition waken up.In another embodiment, predetermined condition can also be for detecting the tcp data bag of particular form, for example, the computer of serving for an open WEB, can tcp port 80 and the data access of port 443 be set to the wake-up condition of starting shooting.When detecting that visit data bag is TCP and while pointing to port 80 or 443 (these information are included in the tcp data bag of particular form), this computer is just waken up or starts shooting; Certainly we can also arrange more complicated start wake-up condition, point to 80 or 443 ports of the machine except requiring packet rs destination, also check the source IP addresses of packet, only have when source IP addresses meets default condition and just carry out start or wake (only open service can arrange like this to enterprises for some, and the outlet IP address of the different departments of enterprises is known in advance) up.In an embodiment again, start shooting or the predetermined condition waken up is the visit data of certain port or the UDP message bag of particular form (pattern) that clean culture, IP and UDP detected.
If be judged as "Yes", enter step S251; If be judged as "No", do not deal with this visit failure of Internet user.
Step S251, is cached in this visit data the memory cell of Network Interface Unit.
Because user accesses data may be larger, need the regular hour and trigger the start of computer main circuit or wake up, therefore, preferably, can carry out this step.In this step, the memory cell of Network Interface Unit can be the same memory cell that step is used before.Therefore, to the memory cell of this invention, its memory capacity there are certain requirements, and for example, the capacity range for storage of memory cell is that 1M is to 100M (can specifically need as required to select other expansion).
Step S270, triggers computer main circuit with start or wakes described computer up.After this step, computer can this visit data of normal process.At this, can be with reference to the processing procedure in existing network service process to the concrete data handling procedure of physical layer and data link layer, thus be no longer described in detail.
So far, can realize according to external network user accesses data and realize computer automatic shutdown or sleep and Auto Power On or wake up.
It should be noted that, by embodiment of the method shown in Fig. 1 by computer shutdown or sleep after, although can in conjunction with in method shown in Fig. 2 wake up or starting-up method recover computer to normal operating conditions,, be not limited to waking up or starting-up method in method shown in Fig. 2., also can also wake up or start shooting by other method after computer shutdown or sleep by embodiment of the method shown in Fig. 1, the method for for example the most manually starting shooting.
The structural representation of the Network Interface Unit providing according to the embodiment of the present invention is provided.As shown in Figure 3, in this embodiment, Network Interface Unit 300 is to be inserted on computer motherboard 30 by the PCI slot on mainboard, but it should be noted that, Network Interface Unit 300 is not limited to this with the connected mode of computer, for example, can also connect by USB interface, also can directly be integrated on computer motherboard.Network Interface Unit 300 is applicable to the data processing of ICP/IP protocol.
Continue as shown in Figure 3, in this specific embodiment, Network Interface Unit 300 not only comprises physical layer control module 330, MAC control module 320, data/address bus 340, pci interface 350, and comprises processing unit 311 and memory cell 312.Wherein, memory cell 312 is operationally for storing ICP/IP protocol bag, preferably, ICP/IP protocol bag can be written in memory cell 312 with the form being contained in program module, for example, this program module is an embedded software, can make processing unit carry out this program according to the instruction of external reference data.ICP/IP protocol bag generally includes the agreement of the 3rd layer (network layer) and the 4th layer (transport layer), for example, comprises the IP agreement of network layer and TCP, the udp protocol etc. of transport layer.Memory cell 312 is preferably nonvolatile memory.
In instantiation, processing unit 311 is generally the host CPU being different from mainboard.Host CPU on mainboard is responsible for for moving a large amount of program codes, and therefore its speed of service, frequency and power consumption are all relatively high, and structure is also more complicated.But, processing unit 311 is mainly used in the ICP/IP protocol information of dissection process external the Internet visit data, this dissection process process realizes by embedded program operation in Network Interface Unit, therefore, it is selected, and the speed of service is low, processing frequency compact processor relatively low, simple in structure and low in energy consumption, particularly, processing unit 311 can be the processor that the those of ordinary skills such as CPU, MPU, MCU know.For example MIPS or arm processor.Wherein, processing unit 311 can work alone with respect to the host CPU on mainboard.
Continue as shown in Figure 3, processing unit 311 is connected with memory cell 312 data communication by data/address bus 340, and in other embodiments, memory cell 312 also can with other form, data communication be connected with processing unit.Processing unit 311 can, according to the instruction of the external reference data of internet (it is based on ICP/IP protocol transmission), call the program that comprises ICP/IP protocol bag in memory cell 312, realizes the dissection process to network layer and transport layer protocol.Therefore the ICP/IP protocol that, this Network Interface Unit 300 is realized the 3rd layer of osi layer and the 4th layer protocol is resolved.
Continue as shown in Figure 3, Network Interface Unit 300 also comprises power management module, and this power management module can be a part for computer power management module, can be also independently a part of.In this embodiment, the power module of computer is electrically connected (host power supply that is computer is connected with the power storage such as supply socket or battery device) with power supply.Pass through power management module, can realize from computer power supply Network Interface Unit 300 is realized to power supply, especially at computer when the resting state in abnormal operating state (S4) or off-mode (S5), also can make Network Interface Unit 300 be placed in electriferous state, thereby, particularly, under off-mode, the autonomous disposal ability of Network Interface Unit 300 improves.Therefore, network interface 300 devices of this embodiment are particularly useful for according to method shown in Fig. 2, the computer of resting state (S4) being carried out WOL or the computer of off-mode (S5) being carried out to network start.
As can be seen here, processing unit 311 shown in Fig. 3 in embodiment and memory cell 312 have formed the chief component of the ICP/IP protocol parsing module of this Network Interface Unit 300, ICP/IP protocol parsing module can be used for the ICP/IP protocol information of described computer visit data of (particularly under S5 off-mode) parsing external the Internet under abnormal operating state, under normal circumstances, completing of the function of ICP/IP protocol parsing module is (for example Windows operating system) that does not rely on master operating system, it is to move to realize in the combination of processing unit 311 and memory cell 312 by the embedded system of Network Interface Unit.
Continue as shown in Figure 3, physical layer control module 330 is mainly used in realizing the function of physical layer, for example, defines data transmission and receive needed electricity and light signal, line status, clock reference, data encoding.Particularly, physical layer control module 330 can comprise transmitter, receiver, manchester codec device etc.; MAC control module 320 is mainly used in realizing the function of data link layer, for example, provide addressing mechanism, Frame structure, data error inspection, transfer control, the data-interface of standard etc. is provided to network layer, in this embodiment, MAC control module 320 is connected with physical layer control module 330, data/address bus 340 data communication, and cable interface input data instruction is to physical layer control module 330.It should be noted that, the Network Interface Unit of this invention is equally applicable to wireless communication, and therefore, the receiver of physical layer control module 330 and transmitter can receive respectively or send wireless signal.In addition, in preferred embodiment, processing unit 311 and memory cell 312 also can aid in MAC control module 320 and physical layer control module 330 realizes respectively its function, thereby can no longer include processor and memory in MAC control module 320 and physical layer control module 330.For example, memory cell 312 also stores IP address and the MAC Address etc. of computer.
Continue as shown in Figure 3, pci interface 350 is for realizing the data communication between Network Interface Unit 300 and computer motherboard 30, and pci interface 350 is direct-connected with data/address bus 340, it should be noted that, bus type is not limited by the embodiment of the present invention.
It should be noted that, the type of attachment of each functional module in the Network Interface Unit 300 shown in above Fig. 3 is not limited to shown in figure.In another embodiment, Network Interface Unit comprises the network interface card of existing not tape handling unit, also comprise the isolated system that processing unit 311 forms together with memory cell 312, this isolated system is not to integrate with this network interface card, but is connected with network interface card by data wire etc.Therefore, be easy to realize the network interface card of existing computer is transformed, to form the Network Interface Unit of this invention.Particularly, the isolated system that comprises processing unit 311 and memory cell 312 can be integrated in the mainboard of computer; Processing unit 311 is the host CPUs that are different from computer, and memory cell 312 is different from the internal storage location on computer motherboard; When processing unit 311 and memory cell 312 are integrated on mainboard, it makes it also be placed in electriferous state by power management module at computer during in abnormal operating state.
It should be noted that, start described above or awakening method and Network Interface Unit thereof are more adapted to that computer under S4 resting state wakes up or the computer that is more adapted under S5 off-mode is started shooting.This is due to respect to S3 sleep state, S4 state is safer sleep state, the status data of computer is to be kept at (fixedness storage) in hard disk, and for example, even if there is power-off (power-off fault), the status data of computer is also can not lose; And under S5 off-mode, only make Network Interface Unit in electriferous state, and therefore more can realize the power saving of computer, be not subject in addition to make computer system can not enter the puzzlement of resting state (S1-S4) owing to distorting the interference of ACPI software yet.。And in real world applications, under more susceptible condition, the computer of server or domestic consumer is the off-mode in S5, thereby need long-distance user's visit data automatically to realize start.
From the above, this Network Interface Unit 300 can be at computer under abnormal operating state (especially S5 off-mode), realize the ICP/IP protocol information more than second layer is resolved, thereby can automatically realize the computer of network start or wake up process abnormal operating state, use the computer of this Network Interface Unit to be started shooting by long-distance user easily or to wake up, computer can be placed in energy-conservation abnormal operating state under not accessed or use state, greatly save energy resource consumption, and can extend useful life of computer.
The present invention also provides a kind of computer in addition, and it comprises Network Interface Unit 300 as shown in Figure 3.Network Interface Unit 300 can be connected with mainboard 30 data communication of this computer by PCI socket etc.Use the computer of this Network Interface Unit can automatically realize network start or wake up process.
Above example has mainly illustrated the method for supervisory computer operating state of the present invention.Although only some of them embodiments of the present invention are described, those of ordinary skills should understand, and the present invention can implement not departing from its purport and scope with many other forms.Therefore, the example of showing and execution mode are regarded as illustrative and not restrictive, and in the situation that not departing from spirit of the present invention as defined in appended each claim and scope, the present invention may be contained various modifications and replacement.

Claims (9)

1. the method for a visit data supervisory computer operating state Network Based, it is characterized in that, if in the data that the Network Interface Unit of the described computer in normal operating conditions receives, monitor TCP or udp port does not receive network access data in the given time, supervisory computer enters abnormal operating state, and wherein said Network Interface Unit all can be placed in electriferous state during in abnormal operating state at computer;
If computer is in abnormal operating state, by following steps supervisory computer operating state:
(1) make the user accesses data of transmitting based on ICP/IP protocol arrive the Network Interface Unit of abnormal operating state computer;
(2) carry out protocol analysis by the ICP/IP protocol parsing module in Network Interface Unit;
(3) judge whether to meet the predetermined condition of starting shooting or waking up;
(4), if be judged as "Yes", trigger the main circuit of computer to start shooting or to wake described computer up.
2. the method for claim 1, is characterized in that, described network access data is the predetermined network access data of computer user.
3. method as claimed in claim 2, it is characterized in that, in monitoring, resolve its network communication protocol and/or monitor the IP address in the source of described network access data, take the visit data of monitoring described TCP or udp port whether as described predetermined network access data.
4. the method for claim 1, is characterized in that, described step (1) comprises the following steps:
(1a) Internet user sends visit data to described computer;
(1b) described visit data arrives from the nearest router of described computer or gateway after some routers;
(1c) Network Interface Unit of described computer is responded the arp request of described router or gateway, and correspondence finds described computer;
(1d) judge that whether described computer is in normal operating conditions, if be judged as "No", enter step (2).
5. the method for claim 1, is characterized in that, described step (4) comprising:
If (4a) be judged as "Yes", described visit data is cached in to the memory cell of Network Interface Unit;
(4b) main circuit that triggers computer is to start shooting or to wake described computer up.
6. the method for claim 1, is characterized in that, described predetermined condition is the visit data of certain port or the packet of particular form that clean culture, IP and TCP detected; Described predetermined condition or for the visit data of certain port or the packet of particular form of clean culture, IP and UDP being detected.
7. the method for claim 1, is characterized in that, described ICP/IP protocol bag comprises TCP, the udp protocol of IP agreement and the transport layer of network layer.
8. method as claimed in claim 4, is characterized in that, described ICP/IP protocol parsing module comprises:
Memory cell, operationally for storing ICP/IP protocol bag; And
Processing unit, operationally for the ICP/IP protocol information of dissection process external the Internet visit data;
Wherein, described memory cell is connected with described processing unit data communication.
9. the method as described in claim 1 or 4, is characterized in that, described abnormal operating state is S4 resting state or S5 off-mode.
CN201010220357.2A 2010-06-23 2010-06-23 Method for managing computer working condition based on network access data Expired - Fee Related CN102299818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010220357.2A CN102299818B (en) 2010-06-23 2010-06-23 Method for managing computer working condition based on network access data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010220357.2A CN102299818B (en) 2010-06-23 2010-06-23 Method for managing computer working condition based on network access data

Publications (2)

Publication Number Publication Date
CN102299818A CN102299818A (en) 2011-12-28
CN102299818B true CN102299818B (en) 2014-05-14

Family

ID=45360005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010220357.2A Expired - Fee Related CN102299818B (en) 2010-06-23 2010-06-23 Method for managing computer working condition based on network access data

Country Status (1)

Country Link
CN (1) CN102299818B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI456380B (en) * 2012-06-01 2014-10-11 Acer Inc Computer system and method for filtering reset signal
CN103873540B (en) * 2012-12-15 2018-04-06 李祥明 The remote storage system and its design method of a kind of low energy consumption

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1520215A (en) * 2003-02-04 2004-08-11 Lg电子株式会社 Energy saving system and method
CN101071554A (en) * 2006-05-08 2007-11-14 富士通西门子电脑股份有限公司 Visual display device and method for switching a visual display device to an energy-saving state
CN101668188A (en) * 2009-09-29 2010-03-10 中国电信股份有限公司 Video server and method for controlling working condition of video server
CN201479148U (en) * 2009-08-08 2010-05-19 苏州彭华信息技术有限公司 Remote power-on unit
CN102299944A (en) * 2010-06-23 2011-12-28 苏州彭华信息技术有限公司 Method for automatically starting or awakening computer through network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1520215A (en) * 2003-02-04 2004-08-11 Lg电子株式会社 Energy saving system and method
CN101071554A (en) * 2006-05-08 2007-11-14 富士通西门子电脑股份有限公司 Visual display device and method for switching a visual display device to an energy-saving state
CN201479148U (en) * 2009-08-08 2010-05-19 苏州彭华信息技术有限公司 Remote power-on unit
CN101668188A (en) * 2009-09-29 2010-03-10 中国电信股份有限公司 Video server and method for controlling working condition of video server
CN102299944A (en) * 2010-06-23 2011-12-28 苏州彭华信息技术有限公司 Method for automatically starting or awakening computer through network

Also Published As

Publication number Publication date
CN102299818A (en) 2011-12-28

Similar Documents

Publication Publication Date Title
Agarwal et al. Somniloquy: augmenting network interfaces to reduce PC energy usage
CN102299944B (en) Method for automatically starting or awakening computer through network
Christensen et al. The next frontier for communications networks: power management
Gunaratne et al. Managing energy consumption costs in desktop PCs and LAN switches with proxying, split TCP connections, and scaling of link speed
TWI495297B (en) Process, computer readable media, and system for device power management using network connections
US9170632B2 (en) Providing wakeup logic to awaken an electronic device from a lower power mode
US9104406B2 (en) Network presence offloads to network interface
US8023432B2 (en) Cost reduction of NAT connection state keep-alive
KR101075421B1 (en) Apparatus and control method for energy-aware home gateway based on network
US8234510B2 (en) System and method for energy savings through emulation of wake on LAN in energy efficient ethernet
US10613900B2 (en) Multi-tenant monitoring
US20050154933A1 (en) System and method for wake on wireless lan
US8310969B2 (en) Mobile device and power saving method thereof
US20100077063A1 (en) System and method for emulating a computing device
CN102316137A (en) Network booting or waking module and boot or wake method thereof
US7882255B2 (en) Method and apparatus for maintaining local area network (“LAN”) and wireless LAN (“WLAN”) security associations
CN107968713B (en) Remote wake-up method, device and system
TWI577154B (en) Method for keeping remote connection, electronic device and sever
CN102299943A (en) Network interface device for automatically starting or awakening computer through network
TWI472194B (en) Method and server for waking up electronic device
CN102299818B (en) Method for managing computer working condition based on network access data
US8832483B1 (en) System-on-chip with power-save mode processor
US20060026297A1 (en) Computer system with multiple data access channels and control method thereof
CN105915637A (en) Remote automatic standby and awakening method based on storage system server
CN102413179A (en) Automatic power-on or wake-up machine and power-on or wake-up method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: JIANGSU RUIMAN INFORMATION TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: SUZHOU PENGHUA INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20120315

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 215123 SUZHOU, JIANGSU PROVINCE TO: 211400 YANGZHOU, JIANGSU PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20120315

Address after: 5, building 9, block A1, No. 211400, Tai Tai Road, Yizheng Economic Development Zone, Yangzhou, Jiangsu

Applicant after: Jiangsu Ruiman Information Technology Co.,Ltd.

Address before: 215123 Jiangsu province Suzhou City Park Dushu Lake Higher Education Institute of southeast Linquan Street No. 399 Room 405

Applicant before: Suzhou Penghua Information Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140514

Termination date: 20180623