CN104123205A - Method and device for detecting CPU over-clock working state - Google Patents

Method and device for detecting CPU over-clock working state Download PDF

Info

Publication number
CN104123205A
CN104123205A CN201310146171.0A CN201310146171A CN104123205A CN 104123205 A CN104123205 A CN 104123205A CN 201310146171 A CN201310146171 A CN 201310146171A CN 104123205 A CN104123205 A CN 104123205A
Authority
CN
China
Prior art keywords
overclocking
state data
operating state
cpu
historical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310146171.0A
Other languages
Chinese (zh)
Other versions
CN104123205B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310146171.0A priority Critical patent/CN104123205B/en
Publication of CN104123205A publication Critical patent/CN104123205A/en
Application granted granted Critical
Publication of CN104123205B publication Critical patent/CN104123205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and a device for detecting a CPU over-clock working state. The method is used in electronic equipment which is at least provided with a CPU and a BIOS. The method comprises the steps that at a first moment, first over-clock working state data of a CPU with the frequency over preset frequency are obtained; the first over-clock working state data and history over-clock working state data stored in the BIOS are accumulated, and second over-clock working state data are obtained; the second over-clock working state data are used for refreshing the history over-clock working state data; and after triggering information for outputting the second over-clock working state data is received, the second over-clock working state data are output. The method and the device are used for solving the technical problem that in the prior art, a product with over-clock software carrying out a CPU over-clock function is opened, and working state data of working in a range over a quality guaranteeing frequency range of the product cannot be accurately and conveniently obtained.

Description

A kind of method and device that detects CPU overclocking duty
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method and device of the CPU of detection overclocking duty.
Background technology
CPU manufacturer is in the time generating CPU, and in order to ensure quality and the reliability of product, the general frequency of CPU of all can giving reserves enough allowances, and meanwhile, dominant frequency corresponding to CPU model that producer marks in the ordinary course of things can full-load run yet.To user, urgent wish can by artificial mode, excavates its potential part more than needed, allows CPU steady operation under the frequency state specified higher than it, and to exchange higher running frequency for, thereby raising performance namely allows the work of CPU overclocking.At present, a lot of computers and cell phone manufacturer, in order to meet under the prerequisite of user's amount of money outside amount paid not, obtain the demand of optimal performance, a series of products from CPU overclocking capabilities to user that open are provided, and allow user to use overclocking capabilities in certain frequency range, and quality assurance service is provided, so that user obtains larger frequency performance.
The CPU overclocking capabilities that computer and cell phone manufacturer provide at present has two kinds of implementations, and the one,, user can realize overclocking by a key and open, but user can not control concrete overclocking frequency; Another kind is that the overclocking software that user provides by manufacturer arranges the higher frequency performance of acquisition.To a lot of users, be more ready to carry out overclocking by overclocking software, obtain larger independence.But user is using overclocking software to carry out in the process of overclocking, there will be CPU frequency of operation is set to the situation that exceedes the quality guarantee frequency range that computer and mobile phone producer allow, this situation inevitably can cause slowly or the damage of moment hardware.
At present, all kinds of electronic equipment manufacturer is carrying out in the process of after sale service the product of open CPU overclocking capabilities, in the time of situation about damaging in the face of CPU, it is general that staff can be according to the damaged condition of CPU after sale, utilize the experience of self, having got rid of after the artificial destruction factors such as machinery, collision, environment, all give quality guarantee processing.
But present inventor realizing in the process of invention technical scheme in the embodiment of the present application, finds that above-mentioned technology at least exists following technical matters:
The staff after sale of computer and cell phone manufacturer can not conveniently distinguish whether product was once operated in non-quality guarantee frequency range accurately, and acquisition is operated in concrete duration and the frequency values of non-quality guarantee frequency, will cause the CPU damage causing exceeding the work of quality guarantee frequency also to carry out quality guarantee, increase unnecessary CPU quality guarantee cost.
That is, of the prior art opening used overclocking software to carry out the product of CPU overclocking capabilities, and existence can not conveniently not obtain the technical matters that product exceedes quality guarantee frequency range and carry out the operating state data of work accurately.
Summary of the invention
The embodiment of the present application is by providing a kind of method and device of the CPU of detection overclocking duty, having solved having opened of existing in prior art uses overclocking software to carry out the product of CPU overclocking capabilities, can not conveniently obtain accurately the technical matters that product exceedes quality guarantee frequency range and carry out the operating state data of work, realized do not affect user to the use of product in, reduce the technique effect of unnecessary CPU quality guarantee cost.
On the one hand, the application's embodiment, provides following technical scheme:
Detect a method for CPU overclocking duty, be applied in the electronic equipment at least with CPU, BIOS, comprise the following steps:
In the first moment, obtain the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work;
The historical overclocking operating state data that at least one overclocking operating state data by the described CPU before described the first moment of storing in described the first overclocking operating state data and described BIOS is formed adds up, and obtains the second overclocking operating state data;
Utilize described the second overclocking operating state data to upgrade described historical overclocking operating state data, make to store in BIOS the second overclocking operating state data;
After the trigger message receiving for exporting described the second overclocking operating state data, based on described trigger message, export described the second overclocking operating state data.
Optionally,,, before obtaining the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work, also comprise in the first moment described:
Detect described CPU and whether carry out work in the overfrequency to exceed described predeterminated frequency, obtain the first testing result; When being, carry out step: in the first moment, obtain the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work described in described the first testing result.
Optionally, described the first overclocking operating state data comprises: described CPU carries out the first duration that work continues and the first maximum frequency values in described overfrequency during described the first duration in the overfrequency to exceed described predeterminated frequency.
Optionally, the described historical overclocking operating state data that at least one overclocking operating state data by the described CPU before described the first moment of storing in described the first overclocking operating state data and described BIOS is formed adds up, obtain the second overclocking operating state data, specifically comprise:
After the historical duration in described the first duration and described historical overclocking operating state data is added as the second duration of described the second overclocking operating state data;
Historical maximum frequency values in described the first maximum frequency values and described historical overclocking operating state data is compared, choose second maximum frequency values of higher value as described the second overclocking operating state data.
Optionally, the described described historical overclocking operating state data of described the second overclocking operating state data renewal that utilizes, makes to store the second overclocking operating state data in BIOS and comprises:
Store described the second overclocking operating state data to the Serial Peripheral Interface (SPI) memory module in BIOS, and delete described historical overclocking operating state data.
On the other hand, the application's embodiment, also provides a kind of device of the CPU of detection overclocking duty, comprising:
Data acquisition module, in the first moment, obtains the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work;
Data processing module, the historical overclocking operating state data forming at least one overclocking operating state data by the described CPU before described the first moment that described the first overclocking operating state data and described BIOS are stored adds up, and obtains the second overclocking operating state data;
Data update module, for utilizing described the second overclocking operating state data to upgrade described historical overclocking operating state data, makes to store in BIOS the second overclocking operating state data;
Data outputting module, after the trigger message receiving for exporting described the second overclocking operating state data, based on described trigger message, exports described the second overclocking operating state data.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
1, take in the time that CPU exceedes predeterminated frequency and carries out work, obtain its overclocking operating state data, and the overclocking operating state data accumulative total storage with storage in the past by the overclocking operating state data obtaining at every turn, then receiving after a trigger message, overclocking operating state data after output accumulative total, thereby make staff after sale can conveniently obtain accurately the operating state data that product exceedes quality guarantee frequency range and carries out work, realized the technique effect that reduces unnecessary CPU quality guarantee cost.
2, only take to carry out after overclocking having opened the product of overclocking capabilities in operation overclocking application program, just remove to detect overclocking state, compared to when the product work, remove to detect overclocking state always, can reduce greatly taking system resource; And adopt direct-detection overclocking application program whether CPU is set and exceedes predeterminated frequency work, compared to the frequency of operation of directly removing to detect CPU, also can reduce greatly the taking of system resource, do not affect the use of user to product.
3, upgrade again described historical overclocking operating state data after taking acquisition overclocking operating state data and historical overclocking operating state data to add up, reduce to greatest extent the shared storage space of overclocking operating state data, can not affect the use of user to product.
4, take overclocking operating state data to be stored in BIOS, can make overclocking operating state data not be subject to the impact of the operations such as system is restarted, refitting, format and lose or change, ensure the memory reliability of overclocking operating state data.
Brief description of the drawings
Fig. 1 is the process flow diagram that detects the method for CPU overclocking duty in the embodiment of the present invention;
Fig. 2 is the structural drawing that detects the device of CPU overclocking duty in the embodiment of the present invention.
Embodiment
The embodiment of the present application is by providing a kind of method and device of the CPU of detection overclocking duty, having solved having opened of existing in prior art uses overclocking software to carry out the product of CPU overclocking capabilities, can not conveniently obtain accurately the technical matters that product exceedes quality guarantee frequency range and carry out the operating state data of work, realized do not affect user to the use of product in, reduce the technique effect of unnecessary CPU quality guarantee cost.
Technical scheme in the embodiment of the present application is to have solved opening of above-mentioned existence to use overclocking software to carry out the product of CPU overclocking capabilities, can not conveniently obtain accurately the technical matters that product exceedes quality guarantee frequency range and carry out the operating state data of work, general thought is as follows:
While carrying out work by exceed predeterminated frequency at CPU, obtain its overclocking operating state data, and the overclocking operating state data accumulative total storage with storage in the past by the overclocking operating state data obtaining at every turn, then receiving after a trigger message, overclocking operating state data after output accumulative total, reduce to greatest extent the shared storage space of overclocking operating state data, can not affect the use of user to product.Again by the overclocking operating state data after accumulation is stored in BIOS, can make data not restarted by system, refitting, the impact of the operations such as format and lose or change, ensure the memory reliability of overclocking operating state data, use overclocking software to carry out the product of CPU overclocking capabilities so effectively solved having opened of existing in prior art, can not conveniently obtain accurately the technical matters that product exceedes quality guarantee frequency range and carry out the operating state data of work, and then realized do not affect user to the use of product in, reduce unnecessary CPU quality guarantee cost.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
Embodiment mono-:
A kind of method of the CPU of detection overclocking duty is provided in embodiment mono-, has been applied in the electronic equipment at least with CPU, BIOS, in actual applications, can be applied to computer, also can be applied to the electronic products such as smart mobile phone.
Please refer to Fig. 1, for detecting the process flow diagram of method of CPU overclocking duty in the embodiment of the present application one, the method specifically comprises step:
Step 101, in the first moment, obtains the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work;
In embodiments of the present invention, described described in the first moment, before obtaining the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work, also comprise:
Detect described CPU and whether carry out work in the overfrequency to exceed described predeterminated frequency, obtain the first testing result; When being, carry out step: in the first moment, obtain the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work described in described the first testing result.
For how detecting CPU whether exceed predeterminated frequency and carry out work, specific implementation process can be:
Whether detect overclocking application program arranges CPU and exceedes predeterminated frequency and carry out work, the overclocking application program that described overclocking application program can provide for the electronic product manufacturer of Freeware overclocking capabilities, also can be the overclocking application program that user oneself installs, carry out work for CPU overclocking is set; Wherein, whether detect described overclocking application program arranges CPU and exceedes predeterminated frequency to carry out work can be self to detect by overclocking application program, also can be by the specific function in application-specific, detect described overclocking application program and whether CPU is set exceedes predeterminated frequency and carry out work such as overclocking detects measuring ability in application program.
Specifically, only need to carry out after overclocking having opened the product of overclocking capabilities in operation overclocking application program, just remove to detect overclocking state, compared to when the product work, remove to detect overclocking state always, can reduce greatly taking system resource; And adopt direct-detection overclocking application program whether CPU is set and exceedes predeterminated frequency work, compared to the frequency of operation of directly removing to detect CPU, also can reduce greatly the taking of system resource, do not affect the use of user to product.
For the first overclocking operating state data that how to obtain described CPU and exceed predeterminated frequency and carry out work, specific implementation process, can be by overclocking application program, the first overclocking operating state data to be recorded to obtain, also can be by the specific function in application-specific, the writing function detecting in application program such as overclocking records and obtains the first overclocking operating state data.
In embodiments of the present invention, described the first overclocking operating state data comprises: described CPU carries out the first lasting duration of work and the first maximum frequency values in described overfrequency during described the first duration in the overfrequency to exceed described predeterminated frequency, can certainly comprise that exceeding predeterminated frequency carries out the average frequency value of work or exceed predeterminated frequency the number of times that carries out work, will not enumerate in the embodiment of the present application.
For the first duration that how to obtain described CPU and exceed predeterminated frequency and carry out work, specific implementation process can be:
A, can be in the time detecting that described CPU exceedes predeterminated frequency and carries out work, starts timing by overclocking application program, in the time detecting that described CPU no longer exceedes predeterminated frequency and carries out work, stops timing by overclocking application program;
B, also can be in the time detecting that described CPU exceedes predeterminated frequency and carries out work, by the specific function in application-specific, the clocking capability detecting in application program such as overclocking starts timing, in the time detecting that described CPU no longer exceedes predeterminated frequency and carries out work, stop timing by the specific function in application-specific.
For the first maximum frequency values that how to obtain described CPU and exceed predeterminated frequency and carry out work, specific implementation process can be:
A, can be in the time detecting that described CPU exceedes predeterminated frequency and carries out work, by overclocking application program, CPU frequency of operation is monitored, in the time detecting that described CPU no longer exceedes predeterminated frequency and carries out work, stopped CPU frequency of operation to monitor by overclocking application program, and converse the first maximum frequency values by overclocking application program;
B, can be in the time detecting that described CPU exceedes predeterminated frequency and carries out work, by the specific function in application-specific, such as the frequency monitoring function that overclocking detects in application program is monitored CPU frequency of operation, in the time detecting that described CPU no longer exceedes predeterminated frequency and carries out work, stopped CPU frequency of operation to monitor by the specific function in application-specific, and converse the first maximum frequency values by the specific function in application-specific.
Passing through step 101 in the first moment, obtain after the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work, perform step 102, that is:
Step 102, the historical overclocking operating state data that at least one overclocking operating state data by the described CPU before described the first moment of storing in described the first overclocking operating state data and described BIOS is formed adds up, and obtains the second overclocking operating state data;
In embodiments of the present invention, the described historical overclocking operating state data that at least one overclocking operating state data by the described CPU before described the first moment of storing in described the first overclocking operating state data and described BIOS is formed adds up, obtain the second overclocking operating state data, comprising:
After the historical duration in described the first duration and described historical overclocking operating state data is added as the second duration of described the second overclocking operating state data;
Historical maximum frequency values in described the first maximum frequency values and described historical overclocking operating state data is compared, choose second maximum frequency values of higher value as described the second overclocking operating state data.
For how described the first duration and described historical duration being added to obtain to described the second duration, specific implementation process can be:
Read historical duration; Wherein, reading historical duration can be to be read in BIOS by overclocking application program, can be also by the specific function in application-specific, and the read functions detecting in application program such as overclocking reads in BIOS.
Described the first duration and described historical duration are added; Wherein, can be by overclocking application program, the first duration obtaining and the historical duration reading to be added by described the first duration and described historical duration addition, also can be by the specific function in application-specific, the calculation function detecting in application program such as overclocking be added the first duration obtaining and the historical duration reading.
For how described the first maximum frequency values and described historical maximum frequency values being got to maximal value as the second maximum frequency values, specific implementation process can be:
Read historical maximum frequency values; Wherein, reading historical maximum frequency values can be to be read in BIOS by overclocking application program, can be also by the specific function in application-specific, and the read functions detecting in application program such as overclocking reads in BIOS.
Relatively the first maximum frequency values and historical maximum frequency values, and choose maximal value; Wherein, relatively the first maximum frequency values and historical maximum frequency values, and to choose maximal value can be by overclocking application program, the first maximum frequency values obtaining and the historical maximum frequency values that reads to be compared, and choose maximal value as the second maximum frequency values, also can be by the specific function in application-specific, the calculation function detecting in application program such as overclocking compares the first maximum frequency values obtaining and the historical maximum frequency values reading, and chooses maximal value as the second maximum frequency values.
Passing through step 102, the historical overclocking operating state data that at least one overclocking operating state data by the described CPU before described the first moment of storing in described the first overclocking operating state data and described BIOS is formed adds up, obtain after the second overclocking operating state data, perform step 103, that is:
Step 103, utilizes described the second overclocking operating state data to upgrade described historical overclocking operating state data, makes to store in BIOS the second overclocking operating state data;
In embodiments of the present invention, the described described historical overclocking operating state data of described the second overclocking operating state data renewal that utilizes, makes to store the second overclocking operating state data in BIOS, comprising:
Store described the second overclocking operating state data to the Serial Peripheral Interface (SPI) memory module in BIOS, and delete described historical overclocking operating state data.
For how storing described the second overclocking operating state data in BIOS, and delete described historical overclocking operating state data, specific implementation process can be: the second overclocking operating state data computing being obtained by overclocking application program stores the Serial Peripheral Interface (SPI) memory module in BIOS into, and delete the historical overclocking operating state data of storing in BIOS, also can be by the specific function in application-specific, the second overclocking operating state data computing being obtained such as the renewal function in overclocking detection application program stores the Serial Peripheral Interface (SPI) memory module in BIOS into, and delete the historical overclocking operating state data of storing in BIOS.
Specifically, after taking the first overclocking status data and historical overclocking duty to add up, store again, and delete historical state data in the past, and reduce to greatest extent the shared storage space of overclocking operating state data, can not affect the use of user to product.And take overclocking operating state data to be stored in BIOS, can make overclocking operating state data not be subject to the impact of the operations such as system is restarted, refitting, format and lose or change, ensure the memory reliability of overclocking operating state data.
Utilize described the second overclocking operating state data to upgrade described historical overclocking operating state data by step 103, make to store after the second overclocking operating state data in BIOS, perform step 104, that is:
Step 104, after the trigger message receiving for exporting described the second overclocking operating state data, based on described trigger message, exports described the second overclocking operating state data.
For how after the trigger message receiving for exporting described the second overclocking operating state data, based on described trigger message, export described the second overclocking operating state data, specific implementation process is illustrated as: when product after sale personnel receive CPU damage product time, can adopt the specific function of the application-specific in another electronic equipment to read out the second overclocking operating state data being stored in BIOS, also can adopt the specific function of the application-specific that product carries to read out the second overclocking operating state data being stored in BIOS, again according to the second overclocking operating state data obtaining, judge whether user arranges CPU and exceed preset frequency and carry out work, and the duration and the maximum frequency values that exceed preset frequency and carry out work, finally determine whether that the product that CPU is damaged carries out quality guarantee.
Embodiment bis-:
A kind of device of the CPU of detection overclocking duty is provided in embodiment bis-.
Please refer to Fig. 2, for detecting the structural drawing of device of CPU overclocking duty in the embodiment of the present application two, this device 201 specifically comprises:
Data acquisition module 203, in the first moment, obtains the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work;
Data processing module 204, the historical overclocking operating state data forming at least one overclocking operating state data by the described CPU before described the first moment that described the first overclocking operating state data and described BIOS are stored adds up, and obtains the second overclocking operating state data;
Data update module 205, for utilizing described the second overclocking operating state data to upgrade described historical overclocking operating state data, makes to store in BIOS the second overclocking operating state data;
Data outputting module 206, after the trigger message receiving for exporting described the second overclocking operating state data, based on described trigger message, exports described the second overclocking operating state data.
In the device 201 of the detection CPU of the present embodiment overclocking duty, this device 201 also comprises:
Whether overclocking detection module 202, carry out work in the overfrequency to exceed described predeterminated frequency for detection of described CPU, obtains the first testing result; When being,, by data acquisition module, in the first moment, obtain the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work described in described the first testing result.
How to detect CPU for overclocking detection module 202 and whether exceed predeterminated frequency and carry out work, specific implementation process can be:
Overclocking detection module 202 detects described overclocking application program and whether CPU is set exceedes predeterminated frequency and carry out work.
Specifically, only need to carry out after overclocking having opened the product of overclocking capabilities in operation overclocking application program, just remove to detect overclocking state, compared to when the product work, remove to detect overclocking state always, can reduce greatly taking system resource; And adopt and by overclocking detection module 202 direct-detection overclocking application programs, whether CPU is set and exceedes predeterminated frequency work, compared to the frequency of operation of directly removing to detect CPU, also can reduce greatly the taking of system resource, do not affect the use of user to product.
For the first overclocking operating state data that how to record described CPU and exceed predeterminated frequency and carry out work, specific implementation process is: by overclocking detection module 202, the first overclocking operating state data is carried out to record.
In the device 201 of the detection CPU of the present embodiment overclocking duty, described data acquisition module 203 also comprises that for obtaining described CPU carries out the first duration that work continues and the first overclocking operating state data of the first maximum frequency values of described overfrequency during described the first duration in the overfrequency to exceed described predeterminated frequency, can certainly comprise that exceeding predeterminated frequency carries out the average frequency value of work or exceed predeterminated frequency the number of times that carries out work, will not enumerate in the embodiment of the present application.
How to obtain for data acquisition module 203 the first duration that described CPU exceedes predeterminated frequency and carries out work, specific works principle is:
In the time that data detection module 202 detects that described CPU exceedes predeterminated frequency and carries out work, start timing by data detection module 202, until data detection module 202 detects when described CPU no longer exceedes predeterminated frequency and carries out work, stop timing;
The first duration of record is passed to data acquisition module 203 by data detection module 202.
How to obtain for data acquisition module 203 the first maximum frequency values that described CPU exceedes predeterminated frequency and carries out work, specific works principle is:
In the time that data detection module 202 detects that described CPU exceedes predeterminated frequency and carries out work, by data detection module 202, CPU frequency of operation is monitored, until data detection module 202 detects when described CPU no longer exceedes predeterminated frequency and carries out work, stop CPU frequency of operation to monitor, and converse the first maximum frequency values by data detection module 202;
The first maximum frequency values of record is passed to data acquisition module 203 by data detection module 202.
In the device 201 of the detection CPU of the present embodiment overclocking duty, described data processing module 204 is also for the second duration as described the second overclocking operating state data after the historical duration of described the first duration and described historical overclocking operating state data is added; And the historical maximum frequency values in described the first maximum frequency values and described historical overclocking operating state data is compared, choose second maximum frequency values of higher value as described the second overclocking operating state data.
How described the first duration and described historical duration are added to obtain to described the second duration for data processing module 204, specific works principle is:
Data processing module 204 reads historical duration from BIOS207; Data processing module 204 obtains the first duration from data acquisition module 203; Described the first duration and described historical duration are added to obtain described the second duration by data processing module 204;
For how described the first maximum frequency values and described historical maximum frequency values being got to maximal value as the second maximum frequency values, specific works principle is:
Data processing module 204 reads historical maximum frequency values from BIOS207; Data processing module 204 obtains the first maximum frequency values from data acquisition module 203; Relatively the first maximum frequency values and historical maximum frequency values of data processing module 204, and choose maximal value as the second maximum frequency values;
In the device 201 of the detection CPU of the present embodiment overclocking duty, described data update module 205 is also for storing the Serial Peripheral Interface (SPI) memory module of described the second overclocking operating state data to BIOS207, and deletes described historical overclocking operating state data.
How to store described the second overclocking operating state data in BIOS for data update module 205, and delete described historical overclocking operating state data, specific works principle is:
Data update module 205 data processing modules 204 are processed the second overclocking operating state data obtaining, and store described the second overclocking operating state data into Serial Peripheral Interface (SPI) memory module in BIOS207, delete the historical overclocking operating state data of storing in BIOS207 simultaneously.
Specifically, data update module 205 is stored after taking the first overclocking status data and historical overclocking duty to add up again, and deletion historical state data in the past, reduce to greatest extent the shared storage space of overclocking operating state data, can not affect the use of user to product.And take overclocking operating state data to be stored in BIOS207, can make overclocking operating state data not be subject to the impact of the operations such as system is restarted, refitting, format and lose or change, ensure the memory reliability of overclocking operating state data.
How to receive after a trigger message for data outputting module 206, export described the second overclocking operating state data, specific implementation process is illustrated as: when product after sale personnel receive CPU damage product time, can adopt the specific function of the application-specific in another electronic equipment to send a trigger message and transfer data outputting module 206, also can adopt the specific function of the application-specific that product carries to send a trigger message and transfer data outputting module 206, when data outputting module 206 receives after this trigger message, will read the second overclocking operating state data of storing in BIOS207, and output.Product after sale personnel according to obtain the second overclocking operating state data, judge whether user arranges CPU and exceed preset frequency and carry out work, and the duration and the maximum frequency values that exceed preset frequency and carry out work, finally determine whether that the product that CPU is damaged carries out quality guarantee.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
1, take in the time that CPU exceedes predeterminated frequency and carries out work, obtain its overclocking operating state data, and the overclocking operating state data accumulative total storage with storage in the past by the overclocking operating state data obtaining at every turn, then receiving after a trigger message, overclocking operating state data after output accumulative total, thereby make staff after sale can conveniently obtain accurately the operating state data that product exceedes quality guarantee frequency range and carries out work, realized the technique effect that reduces unnecessary CPU quality guarantee cost.
2, only take to carry out after overclocking having opened the product of overclocking capabilities in operation overclocking application program, just remove to detect overclocking state, compared to when the product work, remove to detect overclocking state always, can reduce greatly taking system resource; And adopt direct-detection overclocking application program whether CPU is set and exceedes predeterminated frequency work, compared to the frequency of operation of directly removing to detect CPU, also can reduce greatly the taking of system resource, do not affect the use of user to product.
3, upgrade again described historical overclocking operating state data after taking acquisition overclocking operating state data and historical overclocking operating state data to add up, reduce to greatest extent the shared storage space of overclocking operating state data, can not affect the use of user to product.
4, take overclocking operating state data to be stored in BIOS, can make overclocking operating state data not be subject to the impact of the operations such as system is restarted, refitting, format and lose or change, ensure the memory reliability of overclocking operating state data.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and amendment to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

1. detect a method for CPU overclocking duty, be applied in the electronic equipment at least with CPU, BIOS, it is characterized in that, described method comprises:
In the first moment, obtain the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work;
The historical overclocking operating state data that at least one overclocking operating state data by the described CPU before described the first moment of storing in described the first overclocking operating state data and described BIOS is formed adds up, and obtains the second overclocking operating state data;
Utilize described the second overclocking operating state data to upgrade described historical overclocking operating state data, make to store in BIOS the second overclocking operating state data;
After the trigger message receiving for exporting described the second overclocking operating state data, based on described trigger message, export described the second overclocking operating state data.
2. the method for claim 1, is characterized in that,,, before obtaining the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work, also comprises in the first moment described:
Detect described CPU and whether carry out work in the overfrequency to exceed described predeterminated frequency, obtain the first testing result;
When being, carry out step: in the first moment, obtain the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work described in described the first testing result.
3. the method for claim 1, it is characterized in that, described the first overclocking operating state data comprises: described CPU carries out the first lasting duration of work and the first maximum frequency values in described overfrequency during described the first duration in the overfrequency to exceed described predeterminated frequency.
4. method as claimed in claim 3, it is characterized in that, the described historical overclocking operating state data that at least one overclocking operating state data by the described CPU before described the first moment of storing in described the first overclocking operating state data and described BIOS is formed adds up, obtain the second overclocking operating state data, specifically comprise:
After the historical duration in described the first duration and described historical overclocking operating state data is added as the second duration of described the second overclocking operating state data;
Historical maximum frequency values in described the first maximum frequency values and described historical overclocking operating state data is compared, choose second maximum frequency values of higher value as described the second overclocking operating state data.
5. the method for claim 1, is characterized in that, utilizes described the second overclocking operating state data to upgrade described historical overclocking operating state data, makes to store the second overclocking operating state data in BIOS, specifically comprises:
Store described the second overclocking operating state data to the Serial Peripheral Interface (SPI) memory module in BIOS;
Delete described historical overclocking operating state data.
6. a device that detects CPU overclocking duty, is characterized in that, comprising:
Data acquisition module, in the first moment, obtains the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work;
Data processing module, the historical overclocking operating state data forming at least one overclocking operating state data by the described CPU before described the first moment that described the first overclocking operating state data and described BIOS are stored adds up, and obtains the second overclocking operating state data;
Data update module, for utilizing described the second overclocking operating state data to upgrade described historical overclocking operating state data, makes to store in BIOS the second overclocking operating state data;
Data outputting module, after the trigger message receiving for exporting described the second overclocking operating state data, based on described trigger message, exports described the second overclocking operating state data.
7. device as claimed in claim 6, is characterized in that, this device also comprises:
Whether overclocking detection module, carry out work in the overfrequency to exceed described predeterminated frequency for detection of described CPU, obtains the first testing result; When being,, by data acquisition module, in the first moment, obtain the first overclocking operating state data of described CPU in the time that the overfrequency to exceed predeterminated frequency is carried out work described in described the first testing result.
8. device as claimed in claim 6, it is characterized in that, described data acquisition module also comprises that for obtaining described CPU carries out the first duration that work continues and the first overclocking operating state data of the first maximum frequency values of described overfrequency during described the first duration in the overfrequency to exceed described predeterminated frequency.
9. device as claimed in claim 8, is characterized in that, described data processing module is also for the second duration as described the second overclocking operating state data after the historical duration of described the first duration and described historical overclocking operating state data is added; And the historical maximum frequency values in described the first maximum frequency values and described historical overclocking operating state data is compared, choose second maximum frequency values of higher value as described the second overclocking operating state data.
10. device as claimed in claim 6, is characterized in that, described data update module also, for storing the Serial Peripheral Interface (SPI) memory module of described the second overclocking operating state data to BIOS, is deleted described historical overclocking operating state data.
CN201310146171.0A 2013-04-24 2013-04-24 A kind of method and device of detection CPU overclocking working conditions Active CN104123205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310146171.0A CN104123205B (en) 2013-04-24 2013-04-24 A kind of method and device of detection CPU overclocking working conditions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310146171.0A CN104123205B (en) 2013-04-24 2013-04-24 A kind of method and device of detection CPU overclocking working conditions

Publications (2)

Publication Number Publication Date
CN104123205A true CN104123205A (en) 2014-10-29
CN104123205B CN104123205B (en) 2018-01-23

Family

ID=51768625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310146171.0A Active CN104123205B (en) 2013-04-24 2013-04-24 A kind of method and device of detection CPU overclocking working conditions

Country Status (1)

Country Link
CN (1) CN104123205B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260286A (en) * 2015-10-29 2016-01-20 浪潮电子信息产业股份有限公司 Method for monitoring CPU working state in real time
CN107357654A (en) * 2017-06-21 2017-11-17 联想(北京)有限公司 A kind of CPU overclockings working state control method and device
CN110161399A (en) * 2018-02-12 2019-08-23 三星电子株式会社 Semiconductor devices

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050144498A1 (en) * 2003-12-25 2005-06-30 Chia-Lung Lin [method and apparatus for tuning over clock and tuning method for sub-stable state with high performance]
CN1940885A (en) * 2005-09-30 2007-04-04 联想(北京)有限公司 System and method for counting use time
CN101206496A (en) * 2006-12-20 2008-06-25 富士通株式会社 Automatic frequency monitoring circuit, electronic device, automatic frequency monitoring method and automatic frequency monitoring program
US20080150570A1 (en) * 2006-12-22 2008-06-26 Brookreson Chris J Over clocking detector
CN101819531A (en) * 2009-02-27 2010-09-01 华硕电脑股份有限公司 Super-frequency control device and method
JP2012164006A (en) * 2011-02-03 2012-08-30 Fujitsu Ltd Clock frequency control program and clock frequency controller

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050144498A1 (en) * 2003-12-25 2005-06-30 Chia-Lung Lin [method and apparatus for tuning over clock and tuning method for sub-stable state with high performance]
CN1940885A (en) * 2005-09-30 2007-04-04 联想(北京)有限公司 System and method for counting use time
CN101206496A (en) * 2006-12-20 2008-06-25 富士通株式会社 Automatic frequency monitoring circuit, electronic device, automatic frequency monitoring method and automatic frequency monitoring program
US20080150570A1 (en) * 2006-12-22 2008-06-26 Brookreson Chris J Over clocking detector
CN101819531A (en) * 2009-02-27 2010-09-01 华硕电脑股份有限公司 Super-frequency control device and method
JP2012164006A (en) * 2011-02-03 2012-08-30 Fujitsu Ltd Clock frequency control program and clock frequency controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "Device for overclock detection and marking", 《RESEARCH DISCLOSURE》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260286A (en) * 2015-10-29 2016-01-20 浪潮电子信息产业股份有限公司 Method for monitoring CPU working state in real time
CN107357654A (en) * 2017-06-21 2017-11-17 联想(北京)有限公司 A kind of CPU overclockings working state control method and device
CN107357654B (en) * 2017-06-21 2020-07-24 联想(北京)有限公司 Method and device for controlling over-frequency working state of CPU
CN110161399A (en) * 2018-02-12 2019-08-23 三星电子株式会社 Semiconductor devices

Also Published As

Publication number Publication date
CN104123205B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN101788936B (en) Snapshot backup and restoration method and device when in running of mobile terminal
CN104951395A (en) Debugging information processing method and device for embedded system
CN103927239A (en) Method and device for restoring system of terminal equipment
CN108872762B (en) Electronic equipment leakage detection method and device, electronic equipment and storage medium
CN104932963B (en) The method and device of management terminal
CN105512056A (en) Method and device for data storage, and terminal
CN102087604A (en) Computer and method for acquiring hardware configuration information
CN103500130A (en) Method for backing up dual-computer hot standby data in real time
CN107357408B (en) NVMe JBOF energy-saving method and system and data center
EP4031971A1 (en) Incrementally updating recovery map data for a memory system
CN103810429A (en) Computer virus searching and killing method based on desktop cloud virtualization technology
CN104636240A (en) Method for acquiring information report and terminal
CN104049999A (en) Automatic storage device repair system based on network and method thereof
CN104123205A (en) Method and device for detecting CPU over-clock working state
CN103885869A (en) Substrate management controller safety protection system and method
CN103914397A (en) Flash memory device and management method thereof
CN103514063B (en) Method and device for processing FLASH data
CN102750202B (en) Data protection method and device
CN103870319A (en) Method and device for information processing and electronic device
CN102915264A (en) Data protection method and device
CN111475334A (en) TiDB database maintenance method and device, computer equipment and storage medium
CN105893867A (en) Terminal equipment operation method and terminal equipment
CN203365649U (en) Lithium battery monitoring system with fault diagnosis device
CN101739115A (en) Simplified type host computer and method for wakening same
CN105354491A (en) Standby state detection method and device of intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant