Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for recording the real power-on service life of a computer

A computer and real technology, applied in the computer field, can solve problems such as slow recovery speed, and achieve the effect of convenient query

Inactive Publication Date: 2017-03-08
HEFEI LCFC INFORMATION TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The recovery speed of this mode is slower, depending on the size of the memory and the speed of the hard disk

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for recording the real power-on service life of a computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0035] Taking Intel X86 series microprocessor architecture as an example to illustrate the specific implementation of the present invention, all X86 series CPUs have a CPU instruction RDTSC, and the time count of computer startup can be obtained by using this RDTSC instruction.

[0036] The RDTSC instruction reads the time stamp counter, as shown in Table 1 below, by executing the RDTSC instruction, the current value of the time stamp counter of the CPU is loaded into the EDX:EAX register. The time stamp counter is contained in the 64-bit MSR register. The upper 32 bits of the MSR register are loaded into the EDX register and its lower 32 bits are loaded into the EAX register. The CPU increments the time stamp counter MSR once per clock cycle, and resets it to "0" when the CPU is reset.

[0037] opcode

instruction

il...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for recording the real boot life of a computer. The method comprises: when the computer is turned on, it runs to a designated code of the BIOS, and issues an RDTSC command; Counting is added; when the computer tries to enter standby mode, hibernation mode or shut down, execute the BIOS ACPI code and issue SMI; in the SMI processing program, issue the RDTSC instruction again; the time count obtained by the above-mentioned RDTSC instruction issued again and the BIOS The time count already present in ROM is added. The method for recording the real starting service life of the computer involved in the present invention can obtain the real starting service life of the computer.

Description

technical field [0001] The invention relates to a computer, in particular to a method for recording the real power-on service life of the computer. Background technique [0002] At present, there is no good way to obtain the real power-on life of the computer since it was shipped from the factory. The user guarantees the computer, but only uses the invoice time to determine whether the warranty period has been reached. For example, if the warranty period of a computer is set as one year, but there are actually two kinds of users: one is to use the computer every day, and the frequency of use is quite high; Lifespan is of course different. In the case of obtaining the real power-on service life of the computer, the maintenance cycle of the computer can be set: the warranty period of the user's computer is either the invoice time or the real power-on life, whichever comes first, even if the warranty period has reached . The automotive industry uses a similar method of calc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/34G06F9/445
Inventor 郑红文叶振兴穆元春王再跃
Owner HEFEI LCFC INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products