CN106293796A - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN106293796A
CN106293796A CN201510317318.7A CN201510317318A CN106293796A CN 106293796 A CN106293796 A CN 106293796A CN 201510317318 A CN201510317318 A CN 201510317318A CN 106293796 A CN106293796 A CN 106293796A
Authority
CN
China
Prior art keywords
memory block
time
electronic equipment
time parameter
parameter
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
CN201510317318.7A
Other languages
Chinese (zh)
Other versions
CN106293796B (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 CN201510317318.7A priority Critical patent/CN106293796B/en
Publication of CN106293796A publication Critical patent/CN106293796A/en
Application granted granted Critical
Publication of CN106293796B publication Critical patent/CN106293796B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the invention discloses a kind of information processing method and electronic equipment.Described method includes: during electronic equipment is in starting up, reads the very first time parameter and the second time parameter prestored respectively from the first memory block and the second memory block;Wherein, described first memory block storage data need not power supply support;Described second memory block storage data need power supply to support;Judge whether exceed predetermined threshold value between described very first time parameter and described second time parameter, it is thus achieved that judged result;When described judged result is to exceed predetermined threshold value between described very first time parameter and described second time parameter, controlling output information, described information is for pointing out the battery changing described second memory block.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to the information processing technology, be specifically related to a kind of information processing method and electronic equipment.
Background technology
Electronic equipment generally arranges a memory block for storing the setup parameter of time or some application program; Described memory block can be complementary metal oxide semiconductors (CMOS) (CMOS, Complementary Metal Oxide Semiconductor) depositor;Described memory block needs battery to be powered.Battery when described memory block After power-off, the data updated in described memory block can be eliminated, and recovers to primary data, thus can cause electricity Subset shows the system time appearance extremely.
Summary of the invention
For solving the technical problem of existing existence, the embodiment of the present invention provides a kind of information processing method and electronics Equipment, it is possible to abnormal problem occurs in the system time solving electronic equipment.
For reaching above-mentioned purpose, the technical scheme of the embodiment of the present invention is achieved in that
Embodiments providing a kind of information processing method, described method includes:
During electronic equipment is in starting up, read pre-from the first memory block and the second memory block respectively The very first time parameter first stored and the second time parameter;Wherein, described first memory block storage data are not required to Power support;Described second memory block storage data need power supply to support;
Judge whether exceed predetermined threshold value between described very first time parameter and described second time parameter, it is thus achieved that Judged result;
When described judged result is to exceed default threshold between described very first time parameter and described second time parameter During value, controlling output information, described information is for pointing out the battery changing described second memory block.
In such scheme, when described judged result be described very first time parameter with described second time parameter it Between when exceeding predetermined threshold value, described method also includes:
Described electronic equipment and the second electronic equipment communication, obtained for the 3rd time at described second electronic equipment Parameter;
Show the system time based on described 3rd time parameter.
In such scheme, described second memory block also prestores the setup parameter of the first application program;Then When described judged result is to exceed predetermined threshold value between described very first time parameter and described second time parameter Time, described method also includes:
The setup parameter controlling to export described first application program is abnormal, to perform described first application program Setup parameter recovery operation.
In such scheme, before described electronic equipment is in starting up's process, described method also includes:
Detecting when described electronic equipment is in shutdown process, described electronic equipment is by upper layer software (applications), basic Input-output system (BIOS, Basic Input Output System) or embedded controller (EC, Embedded Controller) obtain very first time parameter, by described in described very first time parameter read-in first Memory block;Wherein, described very first time parameter is the time during shutdown of described electronic equipment.
In such scheme, described when reading, from the first memory block and the second memory block, first prestored respectively Between parameter and the second time parameter, including:
Described electronic equipment reads storage by upper layer software (applications), BIOS or EC from described first memory block Very first time parameter, and after reading completes, remove very first time parameter in described first memory block;
From described second memory block, the second time of storage is read by described upper layer software (applications), BIOS or EC Parameter.
The embodiment of the present invention additionally provides a kind of electronic equipment, and described electronic equipment includes: date read-write cell, Judging unit and output unit;Wherein,
Described date read-write cell, for during electronic equipment is in starting up, deposits from first respectively The very first time parameter and the second time parameter prestored is read in storage area and the second memory block;Wherein, described First memory block storage data need not power supply and support;Described second memory block storage data need power supply to support;
Described judging unit, is used for judging described very first time parameter and the institute that described date read-write cell reads State and whether exceed predetermined threshold value between the second time parameter, it is thus achieved that judged result;
Described output unit, is the described very first time for the described judged result obtained when described judging unit When exceeding predetermined threshold value between parameter and described second time parameter, control output information, described prompting Information is for pointing out the battery changing described second memory block.
In such scheme, described electronic equipment also includes communication unit, for obtain when described judging unit When described judged result is to exceed predetermined threshold value between described very first time parameter and described second time parameter, With the second electronic equipment communication, at described second electronic equipment, obtain the 3rd time parameter;
Described output unit, when being additionally operable to show based on described 3rd time parameter that described communication unit obtains Between.
In such scheme, described second memory block also prestores the setup parameter of the first application program;
Described output unit, is additionally operable to when the described judged result that described judging unit obtains is described first Between when exceeding predetermined threshold value between parameter and described second time parameter, control to export described first application program Setup parameter abnormal, to perform the setup parameter recovery operation of described first application program.
In such scheme, described date read-write cell, it is additionally operable to described electronic equipment and is in starting up's process Before, detect when described electronic equipment is in shutdown process, by upper layer software (applications), basic input and output system System BIOS or embedded controller EC obtains very first time parameter, described in described very first time parameter read-in First memory block;Wherein, described very first time parameter is the time during shutdown of described electronic equipment.
In such scheme, described date read-write cell, it is used for by upper layer software (applications), BIOS or EC from described First memory block is read the very first time parameter of storage, and after reading completes, removes described first memory block Middle very first time parameter;It is additionally operable to by described upper layer software (applications), BIOS or EC from described second memory block Read the second time parameter of storage.
The information processing method of embodiment of the present invention offer and electronic equipment, when electronic equipment is in starting up During, read, from the first memory block and the second memory block, the very first time parameter and second prestored respectively Time parameter;Wherein, described first memory block storage data need not power supply support;Described second memory block Storage data need power supply to support;Whether judge between described very first time parameter and described second time parameter Exceed predetermined threshold value, it is thus achieved that judged result;When described judged result is described very first time parameter and described the When exceeding predetermined threshold value between two time parameters, controlling output information, described information is used for pointing out Change the battery of described second memory block.So, the technical scheme of the embodiment of the present invention is used, by electricity During subset shutdown, system time (very first time parameter) is stored in and is not required to the first memory block that power supply is supported In, when electronic equipment starting up by by the very first time parameter in the first memory block and the second memory block In the second time parameter compare, judge according to comparative result whether the power supply of the second memory block occurs different Often, thus solve in the case of user is unwitting due to the abnormal electrical power supply of the second memory block thus cause The problem of the system time display exception of electronic equipment, is greatly improved the operating experience of user.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the information processing method of the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet of the information processing method of the embodiment of the present invention two;
Fig. 3 is the schematic flow sheet of the information processing method of the embodiment of the present invention three;
Fig. 4 is the schematic flow sheet of the information processing method of the embodiment of the present invention four;
Fig. 5 is the first composition structural representation of the electronic equipment of the embodiment of the present invention;
Fig. 6 is the second composition structural representation of the electronic equipment of the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further detailed explanation.
Embodiment one
Embodiments providing a kind of information processing method, described information processing method is applied to electronics and sets In Bei, described electronic equipment can be in the electronic equipments such as desktop computer, notebook computer, integrated computer. Fig. 1 is the schematic flow sheet of the information processing method of the embodiment of the present invention one;As it is shown in figure 1, described method Including:
Step 101: during electronic equipment is in starting up, deposits from the first memory block and second respectively Storage area reads the very first time parameter and the second time parameter prestored;Wherein, described first memory block is deposited Storage data need not power supply and support;Described second memory block storage data need power supply to support.
In the present embodiment, described electronic equipment is provided with the first memory block and the second memory block;Wherein, described Second memory block storage has the second time parameter, when described second time parameter is the system of described electronic equipment Between, described system time can be understood as the time that the lower right corner of usual computer shows, such as " xxxx xx The xx day xx:xx moon ";Wherein, described second memory block is usually CMOS depositor, and described second deposits It is its power supply that storage area typically requires battery, could be after described electronic equipment shuts down, in described second memory block Clock calculation device work on so that when described electronic equipment upper once start shooting time display system time Without exception;And when the electricity deficiency of the battery of described second memory block thinks that described second memory block powers, In described second memory block, second time parameter (namely system time) of storage recovers to initial time;Institute Stating initial time can be the time that described electronic equipment is pre-configured with when dispatching from the factory, it is understood that for dispatching from the factory The default time arranged, the system time that electronic equipment shows in this case then there will be exception.
Wherein, described first memory block storage has very first time parameter.In the present embodiment, described first storage District can be the memory block of EC, such as the read only memory (ROM, Read-Only Memory) of EC.Institute Stating very first time parameter is described electronic equipment system time of storage when shutdown every time.In the present embodiment, Described first memory block is supported still to preserve data without power supply when electronic equipment is in shutdown.
Concrete, in this step, described electronic equipment passes through upper layer software (applications), BIOS or EC from described first Memory block reads the very first time parameter of storage, and after reading completes, removes in described first memory block One time parameter;
From described second memory block, the second time of storage is read by described upper layer software (applications), BIOS or EC Parameter.
Step 102: judge whether to exceed between described very first time parameter and described second time parameter default Threshold value, it is thus achieved that judged result.
Step 103: when described judged result is between described very first time parameter and described second time parameter When exceeding predetermined threshold value, controlling output information, described information is used for pointing out replacing described second to deposit The battery of storage area.
In the present embodiment, described very first time parameter is on the described electronic equipment of described first memory block storage The first system time when once shutting down;Described second time parameter is the described of described second memory block storage The second system time of electronic equipment, and the described second system time is in the power supply capacity of described second memory block Being real-time update in the case of Zheng Chang, say, that under normal circumstances, the described second system time is then For current time.In this step, when described judged result is described very first time parameter and described second time Predetermined threshold value is exceeded, i.e. super between described the first system time and described second system time between parameter When crossing predetermined threshold value it can be understood as, when the time of last shutdown exceedes predetermined threshold value with current time, Determining that the power supply capacity of described second memory area is abnormal, the output display unit output of described electronic equipment carries Showing information, described information is not enough for the electricity representing the battery of described second memory block, and prompting is described The user of electronic equipment changes the battery of described second memory block.And when described judged result is described first Time between time parameter and described second time parameter not less than predetermined threshold value, i.e. when the described the first system time And between the described second system time not less than during predetermined threshold value it can be understood as, the time of last shutdown During with current time not less than predetermined threshold value, determine that the power supply capacity of described second memory area is normal, then institute State electronic equipment and do not show any information of output.Wherein, described predetermined threshold value can be according to described electronic equipment The time of making the product configures;I.e. when the time of making the product of described electronic equipment is separated by longer with current time, described pre- If threshold value can be configured to a bigger numerical value;It is separated by with current time when the time of making the product of described electronic equipment Time shorter, described predetermined threshold value can be configured to a less numerical value;But which kind of sight the most above-mentioned, institute State predetermined threshold value and be respectively less than the time of making the product of described electronic equipment with current time in time interval.
Use the embodiment of the present invention technical scheme, by when electronic equipment shuts down by system time (first Time parameter) it is stored in the first memory block being not required to power supply support, pass through when electronic equipment starting up Very first time parameter in first memory block is compared with the second time parameter in the second memory block, root Judge according to comparative result whether the power supply of the second memory block exception occurs, thus solve at user ignorant In the case of due to the abnormal electrical power supply of the second memory block thus cause the system time display of electronic equipment abnormal Problem, is greatly improved the operating experience of user.
Embodiment two
The embodiment of the present invention additionally provides a kind of information processing method, and described information processing method is applied to electronics In equipment, described electronic equipment can be the electronic equipments such as desktop computer, notebook computer, integrated computer In.Fig. 2 is the schematic flow sheet of the information processing method of the embodiment of the present invention two;As in figure 2 it is shown, it is described Method includes:
Step 201: during electronic equipment is in starting up, deposits from the first memory block and second respectively Storage area reads the very first time parameter and the second time parameter prestored;Wherein, described first memory block is deposited Storage data need not power supply and support;Described second memory block storage data need power supply to support.
In the present embodiment, described electronic equipment is provided with the first memory block and the second memory block;Wherein, described Second memory block storage has the second time parameter, when described second time parameter is the system of described electronic equipment Between, described system time can be understood as the time that the lower right corner of usual computer shows, such as " xxxx xx The xx day xx:xx moon ";Wherein, described second memory block is usually CMOS depositor, and described second deposits It is its power supply that storage area typically requires battery, could be after described electronic equipment shuts down, in described second memory block Clock calculation device work on so that when described electronic equipment upper once start shooting time display system time Without exception;And when the electricity deficiency of the battery of described second memory block thinks that described second memory block powers, In described second memory block, second time parameter (namely system time) of storage recovers to initial time;Institute Stating initial time can be the time that described electronic equipment is pre-configured with when dispatching from the factory, it is understood that for dispatching from the factory The default time arranged, the system time that electronic equipment shows in this case then there will be exception.
Wherein, described first memory block storage has very first time parameter.In the present embodiment, described first storage District can be the memory block of EC, such as EC ROM.Described very first time parameter is that described electronic equipment is often The system time of storage during secondary shutdown.In the present embodiment, described first memory block is in shutdown at electronic equipment State under without power supply support still can preserve data.
Concrete, in this step, described electronic equipment passes through upper layer software (applications), BIOS or EC from described first Memory block reads the very first time parameter of storage, and after reading completes, removes in described first memory block One time parameter;
From described second memory block, the second time of storage is read by described upper layer software (applications), BIOS or EC Parameter.
Step 202: judge whether to exceed between described very first time parameter and described second time parameter default Threshold value, it is thus achieved that judged result.
Step 203: when described judged result is between described very first time parameter and described second time parameter When exceeding predetermined threshold value, controlling output information, described information is used for pointing out replacing described second to deposit The battery of storage area;Further, and the second electronic equipment communication, when obtaining the 3rd at described second electronic equipment Between parameter;Show the system time based on described 3rd time parameter.
Here, described very first time parameter is the pass of described electronic equipment last time of described first memory block storage The first system time during machine;Described second time parameter is that the described electronics of described second memory block storage sets The standby second system time, and the power supply capacity that the described second system time is in described second memory block is normal In the case of be real-time update, say, that under normal circumstances, the described second system time is then current Time.In this step, when described judged result be described very first time parameter with described second time parameter it Between exceed predetermined threshold value, i.e. exceed default between described the first system time and described second system time During threshold value it can be understood as, when the time of last shutdown exceedes predetermined threshold value with current time, determine institute The power supply capacity stating the second memory block is abnormal, the output display unit output information of described electronic equipment, Described information is not enough for the electricity representing the battery of described second memory block, points out described electronic equipment User change described second memory block battery.And when described judged result is described very first time parameter And time between described second time parameter not less than predetermined threshold value, i.e. when the described the first system time and described the Between the two system time not less than during predetermined threshold value it can be understood as, the time of last shutdown with time current Between not less than predetermined threshold value time, determine that the power supply capacity of described second memory area is normal, the most described electronics sets Standby display exports any information.Wherein, described predetermined threshold value can be according to the time of making the product of described electronic equipment Configuration;I.e. when the time of making the product of described electronic equipment is separated by longer with current time, described predetermined threshold value can It is configured to a bigger numerical value;When the time of making the product of described electronic equipment is separated by shorter with current time, Described predetermined threshold value can be configured to a less numerical value;But which kind of sight the most above-mentioned, described default threshold Value is respectively less than the time of making the product of described electronic equipment with current time in time interval.
In the present embodiment, when described judged result be described very first time parameter with described second time parameter it Between when exceeding predetermined threshold value, namely when determining the power supply capacity exception of described second memory block, described electronics sets Standby with the second electronic equipment communication, described second electronic equipment is specifically as follows network time server, namely Described electronic equipment obtains the 3rd time parameter characterizing current time from described network time server, and controls 3rd time parameter described in output display processed.
Use the embodiment of the present invention technical scheme, by when electronic equipment shuts down by system time (first Time parameter) it is stored in the first memory block being not required to power supply support, pass through when electronic equipment starting up Very first time parameter in first memory block is compared with the second time parameter in the second memory block, root Judge according to comparative result whether the power supply of the second memory block exception occurs, thus solve at user ignorant In the case of due to the abnormal electrical power supply of the second memory block thus cause the system time display of electronic equipment abnormal Problem, is greatly improved the operating experience of user.
Embodiment three
The embodiment of the present invention additionally provides a kind of information processing method, and described information processing method is applied to electronics In equipment, described electronic equipment can be the electronic equipments such as desktop computer, notebook computer, integrated computer In.Fig. 3 is the schematic flow sheet of the information processing method of the embodiment of the present invention three;As it is shown on figure 3, it is described Method includes:
Step 301: during electronic equipment is in starting up, deposits from the first memory block and second respectively Storage area reads the very first time parameter and the second time parameter prestored;Wherein, described first memory block is deposited Storage data need not power supply and support;Described second memory block storage data need power supply to support.
In the present embodiment, described electronic equipment is provided with the first memory block and the second memory block;Wherein, described Second memory block storage has the second time parameter, when described second time parameter is the system of described electronic equipment Between, described system time can be understood as the time that the lower right corner of usual computer shows, such as " xxxx xx The xx day xx:xx moon ";Wherein, described second memory block is usually CMOS depositor, and described second deposits It is its power supply that storage area typically requires battery, could be after described electronic equipment shuts down, in described second memory block Clock calculation device work on so that when described electronic equipment upper once start shooting time display system time Without exception;And when the electricity deficiency of the battery of described second memory block thinks that described second memory block powers, In described second memory block, second time parameter (namely system time) of storage recovers to initial time;Institute Stating initial time can be the time that described electronic equipment is pre-configured with when dispatching from the factory, it is understood that for dispatching from the factory The default time arranged, the system time that electronic equipment shows in this case then there will be exception.
Wherein, described first memory block storage has very first time parameter.In the present embodiment, described first storage District can be the memory block of EC, such as EC ROM.Described very first time parameter is that described electronic equipment is often The system time of storage during secondary shutdown.In the present embodiment, described first memory block is in shutdown at electronic equipment State under without power supply support still can preserve data.
Concrete, in this step, described electronic equipment passes through upper layer software (applications), BIOS or EC from described first Memory block reads the very first time parameter of storage, and after reading completes, removes in described first memory block One time parameter;
From described second memory block, the second time of storage is read by described upper layer software (applications), BIOS or EC Parameter.
Step 302: judge whether to exceed between described very first time parameter and described second time parameter default Threshold value, it is thus achieved that judged result.
Step 303: when described judged result is between described very first time parameter and described second time parameter When exceeding predetermined threshold value, controlling output information, described information is used for pointing out replacing described second to deposit The battery of storage area;Further, the setup parameter controlling to export described first application program is abnormal, described to perform The setup parameter recovery operation of the first application program.
Here, described very first time parameter is the pass of described electronic equipment last time of described first memory block storage The first system time during machine;Described second time parameter is that the described electronics of described second memory block storage sets The standby second system time, and the power supply capacity that the described second system time is in described second memory block is normal In the case of be real-time update, say, that under normal circumstances, the described second system time is then current Time.In this step, when described judged result be described very first time parameter with described second time parameter it Between exceed predetermined threshold value, i.e. exceed default between described the first system time and described second system time During threshold value it can be understood as, when the time of last shutdown exceedes predetermined threshold value with current time, determine institute The power supply capacity stating the second memory area is abnormal, the output display unit output information of described electronic equipment, Described information is not enough for the electricity representing the battery of described second memory block, points out described electronic equipment User change described second memory block battery.And when described judged result is described very first time parameter And time between described second time parameter not less than predetermined threshold value, i.e. when the described the first system time and described the Between the two system time not less than during predetermined threshold value it can be understood as, the time of last shutdown with time current Between not less than predetermined threshold value time, determine that the power supply capacity of described second memory area is normal, the most described electronics sets Standby display exports any information.Wherein, described predetermined threshold value can be according to the time of making the product of described electronic equipment Configuration;I.e. when the time of making the product of described electronic equipment is separated by longer with current time, described predetermined threshold value can It is configured to a bigger numerical value;When the time of making the product of described electronic equipment is separated by shorter with current time, Described predetermined threshold value can be configured to a less numerical value;But which kind of sight the most above-mentioned, described default threshold Value is respectively less than the time of making the product of described electronic equipment with current time in time interval.
In the present embodiment, in described second memory block in addition to storage has described second time parameter, the most pre- First store the setup parameter of the first application program;Described application program includes can running in described electronic equipment Any application;The first application program described in this step characterizes to store in storage the second memory block to be had At least one application program of setup parameter.When described judged result is described very first time parameter and described the When exceeding predetermined threshold value between two time parameters, namely when determining the power supply capacity exception of described second memory block, The second time parameter in described second memory block recovers to initial time, and described first application program Setup parameter is also restored to the parameter of initial setting up.Based on this, the output display unit of described electronic equipment is defeated Go out to characterize the second information that the setup parameter of described first application program is abnormal, point out described electronic equipment User perform the recovery operation of setup parameter of described first application program.
Use the embodiment of the present invention technical scheme, by when electronic equipment shuts down by system time (first Time parameter) it is stored in the first memory block being not required to power supply support, pass through when electronic equipment starting up Very first time parameter in first memory block is compared with the second time parameter in the second memory block, root Judge according to comparative result whether the power supply of the second memory block exception occurs, thus solve at user ignorant In the case of due to the abnormal electrical power supply of the second memory block thus cause the system time display of electronic equipment abnormal Problem, and storage has the application program of setup parameter abnormal problem occur, significantly in the second memory block Improve the operating experience of user.
Embodiment four
The embodiment of the present invention additionally provides a kind of information processing method, and described information processing method is applied to electronics In equipment, described electronic equipment can be the electronic equipments such as desktop computer, notebook computer, integrated computer In.Fig. 4 is the schematic flow sheet of the information processing method of the embodiment of the present invention four;As shown in Figure 4, described Method includes:
Step 401: detect that, when described electronic equipment is in shutdown process, described electronic equipment passes through upper strata Software, BIOS or EC obtain very first time parameter, by the first storage described in described very first time parameter read-in District;Wherein, described very first time parameter is the system time during shutdown of described electronic equipment.
Here, described electronic equipment is provided with the first memory block, and described first memory block storage has the very first time Parameter.In the present embodiment, described first memory block can be the memory block of EC, such as EC ROM.Described Very first time parameter is described electronic equipment system time of storage when shutdown every time.In the present embodiment, institute State the first memory block to support still to preserve data without power supply when electronic equipment is in shutdown.Tool Body, described electronic equipment can pass through upper layer software (applications), BIOS or EC obtains current system time, by institute State system time and write described first memory block.Wherein, described upper layer software (applications) specifically can be pre-configured with Application program or functional module.
Step 402: during electronic equipment is in starting up, deposits from the first memory block and second respectively Storage area reads the very first time parameter and the second time parameter prestored;Wherein, described first memory block is deposited Storage data need not power supply and support;Described second memory block storage data need power supply to support.
In the present embodiment, described electronic equipment is additionally provided with the second memory block;Wherein, described second memory block It is the system time of described electronic equipment that storage has the second time parameter, described second time parameter, described system The system time can be understood as the time that the lower right corner of usual computer shows, as " the xxxx xx xx month, xx day: xx”;Wherein, described second memory block is usually CMOS depositor, and described second memory block generally needs Wanting battery is its power supply, could be after described electronic equipment shuts down, the clock calculation in described second memory block Device works on so that when described electronic equipment upper once start shooting time display system time without exception;And When the electricity deficiency of the battery of described second memory block thinks that described second memory block powers, described second deposits In storage area, second time parameter (namely system time) of storage recovers to initial time;Described initial time It can be time of being pre-configured with when dispatching from the factory of described electronic equipment, it is understood that for the acquiescence of Default Value Time, the system time that electronic equipment shows in this case then there will be exception.
Concrete, in this step, described electronic equipment passes through upper layer software (applications), BIOS or EC from described first Memory block reads the very first time parameter of storage, and after reading completes, removes in described first memory block One time parameter;
From described second memory block, the second time of storage is read by described upper layer software (applications), BIOS or EC Parameter.
Step 403: judge whether to exceed between described very first time parameter and described second time parameter default Threshold value, it is thus achieved that judged result.
Step 404: when described judged result is between described very first time parameter and described second time parameter When exceeding predetermined threshold value, controlling output information, described information is used for pointing out replacing described second to deposit The battery of storage area.
Here, described very first time parameter is the pass of described electronic equipment last time of described first memory block storage The first system time during machine;Described second time parameter is that the described electronics of described second memory block storage sets The standby second system time, and the power supply capacity that the described second system time is in described second memory block is normal In the case of be real-time update, say, that under normal circumstances, the described second system time is then current Time.In this step, when described judged result be described very first time parameter with described second time parameter it Between exceed predetermined threshold value, i.e. exceed default between described the first system time and described second system time During threshold value it can be understood as, when the time of last shutdown exceedes predetermined threshold value with current time, determine institute The power supply capacity stating the second memory area is abnormal, the output display unit output information of described electronic equipment, Described information is not enough for the electricity representing the battery of described second memory block, points out described electronic equipment User change described second memory block battery.And when described judged result is described very first time parameter And time between described second time parameter not less than predetermined threshold value, i.e. when the described the first system time and described the Between the two system time not less than during predetermined threshold value it can be understood as, the time of last shutdown with time current Between not less than predetermined threshold value time, determine that the power supply capacity of described second memory area is normal, the most described electronics sets Standby display exports any information.Wherein, described predetermined threshold value can be according to the time of making the product of described electronic equipment Configuration;I.e. when the time of making the product of described electronic equipment is separated by longer with current time, described predetermined threshold value can It is configured to a bigger numerical value;When the time of making the product of described electronic equipment is separated by shorter with current time, Described predetermined threshold value can be configured to a less numerical value;But which kind of sight the most above-mentioned, described default threshold Value is respectively less than the time of making the product of described electronic equipment with current time in time interval.
Use the embodiment of the present invention technical scheme, by when electronic equipment shuts down by system time (first Time parameter) it is stored in the first memory block being not required to power supply support, pass through when electronic equipment starting up Very first time parameter in first memory block is compared with the second time parameter in the second memory block, root Judge according to comparative result whether the power supply of the second memory block exception occurs, thus solve at user ignorant In the case of due to the abnormal electrical power supply of the second memory block thus cause the system time display of electronic equipment abnormal Problem, is greatly improved the operating experience of user.
Embodiment five
The embodiment of the present invention additionally provides a kind of electronic equipment.Fig. 5 is the electronic equipment of the embodiment of the present invention The first forms structural representation;As it is shown in figure 5, described electronic equipment includes: date read-write cell 51, Judging unit 52 and output unit 53;Wherein,
Described date read-write cell 51, for during electronic equipment is in starting up, respectively from first The very first time parameter and the second time parameter prestored is read in memory block and the second memory block;Wherein, institute State the first memory block storage data and need not power supply support;Described second memory block storage data need power supply Hold;
Described judging unit 52, for judging the ginseng of the described very first time that described date read-write cell 51 reads Whether predetermined threshold value is exceeded, it is thus achieved that judged result between several and described second time parameter;
Described output unit 53, the described judged result for obtaining when described judging unit 52 is described the When exceeding predetermined threshold value between one time parameter and described second time parameter, control output information, institute State information for pointing out the battery changing described second memory block.
Concrete, described date read-write cell 51, for by upper layer software (applications), BIOS or EC from described the One memory block is read the very first time parameter of storage, and removes after reading completes in described first memory block Very first time parameter;It is additionally operable to be read from described second memory block by described upper layer software (applications), BIOS or EC Take the second time parameter of storage.
It will be appreciated by those skilled in the art that the function of each processing unit in the electronic equipment of the embodiment of the present invention, Can refer to the associated description of aforementioned information processing method and understand, in the electronic equipment of the embodiment of the present invention everywhere Reason unit, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to pass through Perform the operation on intelligent terminal of the software of function described in the embodiment of the present invention and realize.
Embodiment six
The embodiment of the present invention additionally provides a kind of electronic equipment, and with reference to shown in Fig. 5, described electronic equipment includes: Date read-write cell 51, judging unit 52 and output unit 53;Wherein,
Described date read-write cell 51, for during electronic equipment is in starting up, respectively from first The very first time parameter and the second time parameter prestored is read in memory block and the second memory block;Wherein, institute State the first memory block storage data and need not power supply support;Described second memory block storage data need power supply Hold;Described second memory block also prestores the setup parameter of the first application program;
Described judging unit 52, for judging the ginseng of the described very first time that described date read-write cell 51 reads Whether predetermined threshold value is exceeded, it is thus achieved that judged result between several and described second time parameter;
Described output unit 53, the described judged result for obtaining when described judging unit 52 is described the When exceeding predetermined threshold value between one time parameter and described second time parameter, control output information, institute State information for pointing out the battery changing described second memory block;Further, controlling output described first should Abnormal, to perform the setup parameter recovery operation of described first application program with the setup parameter of program.
Concrete, described date read-write cell 51, for by upper layer software (applications), BIOS or EC from described the One memory block is read the very first time parameter of storage, and removes after reading completes in described first memory block Very first time parameter;It is additionally operable to be read from described second memory block by described upper layer software (applications), BIOS or EC Take the second time parameter of storage.
It will be appreciated by those skilled in the art that the function of each processing unit in the electronic equipment of the embodiment of the present invention, Can refer to the associated description of aforementioned information processing method and understand, in the electronic equipment of the embodiment of the present invention everywhere Reason unit, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to pass through Perform the operation on intelligent terminal of the software of function described in the embodiment of the present invention and realize.
Embodiment seven
The embodiment of the present invention additionally provides a kind of electronic equipment, and with reference to shown in Fig. 5, described electronic equipment includes: Date read-write cell 51, judging unit 52 and output unit 53;Wherein,
Described date read-write cell 51, is used for detecting when described electronic equipment is in shutdown process, by upper Layer software, BIOS or EC obtain very first time parameter, deposit described in described very first time parameter read-in first Storage area;Wherein, described very first time parameter is the system time during shutdown of described electronic equipment;It is additionally operable to work as During electronic equipment is in starting up, reads from the first memory block and the second memory block respectively and prestore Very first time parameter and the second time parameter;Wherein, described first memory block storage data need not power supply Support;Described second memory block storage data need power supply to support;
Described judging unit 52, for judging the ginseng of the described very first time that described date read-write cell 51 reads Whether predetermined threshold value is exceeded, it is thus achieved that judged result between several and described second time parameter;
Described output unit 53, the described judged result for obtaining when described judging unit 52 is described the When exceeding predetermined threshold value between one time parameter and described second time parameter, control output information, institute State information for pointing out the battery changing described second memory block;Further, controlling output described first should Abnormal, to perform the setup parameter recovery operation of described first application program with the setup parameter of program.
Concrete, described date read-write cell 51, for by upper layer software (applications), BIOS or EC from described the One memory block is read the very first time parameter of storage, and removes after reading completes in described first memory block Very first time parameter;It is additionally operable to be read from described second memory block by described upper layer software (applications), BIOS or EC Take the second time parameter of storage.
It will be appreciated by those skilled in the art that the function of each processing unit in the electronic equipment of the embodiment of the present invention, Can refer to the associated description of aforementioned information processing method and understand, in the electronic equipment of the embodiment of the present invention everywhere Reason unit, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to pass through Perform the operation on intelligent terminal of the software of function described in the embodiment of the present invention and realize.
Embodiment eight
The embodiment of the present invention additionally provides a kind of electronic equipment.Fig. 6 is the electronic equipment of the embodiment of the present invention The second composition structural representation;As shown in Figure 6, described electronic equipment includes: date read-write cell 51, Judging unit 52, output unit 53 and communication unit 54;Wherein,
Described date read-write cell 51, for during electronic equipment is in starting up, respectively from first The very first time parameter and the second time parameter prestored is read in memory block and the second memory block;Wherein, institute State the first memory block storage data and need not power supply support;Described second memory block storage data need power supply Hold;
Described judging unit 52, for judging the ginseng of the described very first time that described date read-write cell 51 reads Whether predetermined threshold value is exceeded, it is thus achieved that judged result between several and described second time parameter;
Described output unit 53, the described judged result for obtaining when described judging unit 52 is described the When exceeding predetermined threshold value between one time parameter and described second time parameter, control output information, institute State information for pointing out the battery changing described second memory block;It is additionally operable to based on described communication unit 54 Described 3rd time parameter obtained shows the system time;
Described communication unit 54, the described judged result for obtaining when described judging unit 52 is described the When exceeding predetermined threshold value between one time parameter and described second time parameter, and the second electronic equipment communication, The 3rd time parameter is obtained at described second electronic equipment.
Concrete, described date read-write cell 51, for by upper layer software (applications), BIOS or EC from described the One memory block is read the very first time parameter of storage, and removes after reading completes in described first memory block Very first time parameter;It is additionally operable to be read from described second memory block by described upper layer software (applications), BIOS or EC Take the second time parameter of storage.
It will be appreciated by those skilled in the art that the function of each processing unit in the electronic equipment of the embodiment of the present invention, Can refer to the associated description of aforementioned information processing method and understand, in the electronic equipment of the embodiment of the present invention everywhere Reason unit, can realize by realizing the analog circuit of the function described in the embodiment of the present invention, it is also possible to pass through Perform the operation on intelligent terminal of the software of function described in the embodiment of the present invention and realize.
In the embodiment of the present invention five to embodiment eight, date read-write cell 51 in described electronic equipment, sentence Disconnected unit 52, the most all can be by central processing unit (CPU, the Central in described electronic equipment Processing Unit), digital signal processor (DSP, Digital Signal Processor) or programmable gate Array (FPGA, Field-Programmable Gate Array) realizes;Output in described electronic equipment Unit 53, can be realized by the display in described electronic equipment or display screen in actual applications;Described electronics Communication unit 54 in equipment, can be connect by the dual-mode antenna in described electronic equipment or communication in actual applications Cause for gossip is existing.
In several embodiments provided herein, it should be understood that disclosed equipment and method, can To realize by another way.Apparatus embodiments described above is only schematically, such as, and institute Stating the division of unit, be only a kind of logic function and divide, actual can have other dividing mode when realizing, As: multiple unit or assembly can be in conjunction with, or it is desirably integrated into another system, or some features can be neglected Slightly, or do not perform.It addition, the coupling each other of shown or discussed each ingredient or directly coupling Close or communication connection can be the INDIRECT COUPLING by some interfaces, equipment or unit or communication connection, can Be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, it is possible to To be distributed on multiple NE;Part or all of unit therein can be selected according to the actual needs Realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, Can also be that each unit is individually as a unit, it is also possible to two or more unit are integrated in one In individual unit;Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds soft The form of part functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can Completing with the hardware relevant by programmed instruction, aforesaid program can be stored in an embodied on computer readable and deposit In storage media, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage Medium includes: movable storage device, read only memory (ROM, Read-Only Memory), deposit at random Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
Or, if the above-mentioned integrated unit of the present invention is using the form realization of software function module and as independent Production marketing or use time, it is also possible to be stored in a computer read/write memory medium.Based on so Understanding, the part that prior art is contributed by the technical scheme of the embodiment of the present invention the most in other words can Embodying with the form with software product, this computer software product is stored in a storage medium, bag Include some instructions with so that a computer equipment (can be personal computer, server or network Equipment etc.) perform all or part of of method described in each embodiment of the present invention.And aforesaid storage medium bag Include: movable storage device, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should It is as the criterion with described scope of the claims.

Claims (10)

1. an information processing method, described method includes:
During electronic equipment is in starting up, read pre-from the first memory block and the second memory block respectively The very first time parameter first stored and the second time parameter;Wherein, described first memory block storage data are not required to Power support;Described second memory block storage data need power supply to support;
Judge whether exceed predetermined threshold value between described very first time parameter and described second time parameter, it is thus achieved that Judged result;
When described judged result is to exceed default threshold between described very first time parameter and described second time parameter During value, controlling output information, described information is for pointing out the battery changing described second memory block.
Method the most according to claim 1, it is characterised in that when described judged result is described first When exceeding predetermined threshold value between time parameter and described second time parameter, described method also includes:
Described electronic equipment and the second electronic equipment communication, obtained for the 3rd time at described second electronic equipment Parameter;
Show the system time based on described 3rd time parameter.
Method the most according to claim 1, it is characterised in that deposit the most in advance in described second memory block Store up the setup parameter of the first application program;It is then described very first time parameter and described the when described judged result When exceeding predetermined threshold value between two time parameters, described method also includes:
The setup parameter controlling to export described first application program is abnormal, to perform described first application program Setup parameter recovery operation.
Method the most according to claim 1, it is characterised in that described electronic equipment is in starting up Before process, described method also includes:
Detecting when described electronic equipment is in shutdown process, described electronic equipment is by upper layer software (applications), basic Input-output system BIOS or embedded controller EC obtains very first time parameter, is joined the described very first time Number writes described first memory block;Wherein, described very first time parameter be described electronic equipment shutdown time time Between.
Method the most according to claim 1, it is characterised in that described respectively from the first memory block and The very first time parameter and the second time parameter prestored is read in two memory blocks, including:
Described electronic equipment reads storage by upper layer software (applications), BIOS or EC from described first memory block Very first time parameter, and after reading completes, remove very first time parameter in described first memory block;
From described second memory block, the second time of storage is read by described upper layer software (applications), BIOS or EC Parameter.
6. an electronic equipment, described electronic equipment includes: date read-write cell, judging unit and output list Unit;Wherein,
Described date read-write cell, for during electronic equipment is in starting up, deposits from first respectively The very first time parameter and the second time parameter prestored is read in storage area and the second memory block;Wherein, described First memory block storage data need not power supply and support;Described second memory block storage data need power supply to support;
Described judging unit, is used for judging described very first time parameter and the institute that described date read-write cell reads State and whether exceed predetermined threshold value between the second time parameter, it is thus achieved that judged result;
Described output unit, is the described very first time for the described judged result obtained when described judging unit When exceeding predetermined threshold value between parameter and described second time parameter, control output information, described prompting Information is for pointing out the battery changing described second memory block.
Electronic equipment the most according to claim 6, it is characterised in that described electronic equipment also includes leading to News unit, is that described very first time parameter is with described for the described judged result obtained when described judging unit When exceeding predetermined threshold value between the second time parameter, with the second electronic equipment communication, set from described second electronics Standby place obtains the 3rd time parameter;
Described output unit, when being additionally operable to show based on described 3rd time parameter that described communication unit obtains Between.
Electronic equipment the most according to claim 6, it is characterised in that the most pre-in described second memory block First store the setup parameter of the first application program;
Described output unit, is additionally operable to when the described judged result that described judging unit obtains is described first Between when exceeding predetermined threshold value between parameter and described second time parameter, control to export described first application program Setup parameter abnormal, to perform the setup parameter recovery operation of described first application program.
Electronic equipment the most according to claim 6, it is characterised in that described date read-write cell, also Before described electronic equipment is in starting up's process, detect that described electronic equipment is in shutdown process Time, obtain the very first time by upper layer software (applications), basic input-output system BIOS or embedded controller EC Parameter, by the first memory block described in described very first time parameter read-in;Wherein, described very first time parameter is The time during shutdown of described electronic equipment.
Electronic equipment the most according to claim 6, it is characterised in that described date read-write cell, For being read the very first time parameter of storage from described first memory block by upper layer software (applications), BIOS or EC, And after reading completes, remove very first time parameter in described first memory block;It is additionally operable to by described upper strata soft Part, BIOS or EC read the second time parameter of storage from described second memory block.
CN201510317318.7A 2015-06-10 2015-06-10 A kind of information processing method and electronic equipment Active CN106293796B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510317318.7A CN106293796B (en) 2015-06-10 2015-06-10 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510317318.7A CN106293796B (en) 2015-06-10 2015-06-10 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106293796A true CN106293796A (en) 2017-01-04
CN106293796B CN106293796B (en) 2019-11-26

Family

ID=57661267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510317318.7A Active CN106293796B (en) 2015-06-10 2015-06-10 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106293796B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992397A (en) * 2017-12-21 2018-05-04 联想(北京)有限公司 BIOS program starts monitoring method and electronic equipment
CN108513196A (en) * 2018-04-08 2018-09-07 歌尔股份有限公司 A kind of wireless headset and its matching method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1632707A (en) * 2003-12-24 2005-06-29 鸿富锦精密工业(深圳)有限公司 Battery feeding type memory electricity quantity measuring system and method
CN101162259A (en) * 2006-10-12 2008-04-16 中兴通讯股份有限公司 Function testing device and method for small electric quantity extra battery
CN102736512A (en) * 2011-04-15 2012-10-17 国基电子(上海)有限公司 Electronic device and system time setting method thereof
CN104333112A (en) * 2014-10-31 2015-02-04 福建星网视易信息系统有限公司 RTC (real time clock) power management device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1632707A (en) * 2003-12-24 2005-06-29 鸿富锦精密工业(深圳)有限公司 Battery feeding type memory electricity quantity measuring system and method
CN101162259A (en) * 2006-10-12 2008-04-16 中兴通讯股份有限公司 Function testing device and method for small electric quantity extra battery
CN102736512A (en) * 2011-04-15 2012-10-17 国基电子(上海)有限公司 Electronic device and system time setting method thereof
CN104333112A (en) * 2014-10-31 2015-02-04 福建星网视易信息系统有限公司 RTC (real time clock) power management device and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANNYONGDU 等: ""为什么开机时系统时间保持在上次关机时间?"", 《HTTPS://M.WENDA.SO.COM/Q/1378195463069684》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992397A (en) * 2017-12-21 2018-05-04 联想(北京)有限公司 BIOS program starts monitoring method and electronic equipment
CN108513196A (en) * 2018-04-08 2018-09-07 歌尔股份有限公司 A kind of wireless headset and its matching method

Also Published As

Publication number Publication date
CN106293796B (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN101566870B (en) Computer system and control method thereof
CN104536321B (en) A kind of system and method for realizing detection of power loss and relay status control
CN103425506A (en) Powering off method, starting up method and communication terminal
CN103559055A (en) Activity starting method and device applied to Android platform
CN107480011A (en) BIOS switching devices
CN104516747A (en) System switching method and electronic device
CN104133730A (en) Method and device for repairing system abnormality and mobile terminal
CN104123208A (en) System abnormality repairing method and device and mobile terminal
JP6175788B2 (en) Electronic devices that can update microprograms
CN101645016A (en) System for switching BIOS set values
CN106293796A (en) A kind of information processing method and electronic equipment
CN102169442A (en) Method, equipment, device and system for performing system boot by using USB (universal serial bus) device
CN103488516A (en) System repair method and electronic equipment
CN103890713B (en) Device and method for managing the register information in processing system
CN107436575A (en) Power failure protection method and household appliance
CN1936850A (en) Set-value accessing method of basic input/output system
CN105159433A (en) Broadcast information processing method and user terminal
CN104238394A (en) Universal control method including triggering conditions, state judgment conditions and judgment implementation conditions
TW201500902A (en) Rack and power controlling method thereof
CN108536462A (en) A kind of method, apparatus and electronic controller updating parameter in EEPROM
CN105761692A (en) System for online adjusting gamma coding of liquid crystal display panel
CN104951325A (en) Information display method and electronic equipment
CN203535643U (en) Control device with system use function
CN102694719B (en) The port configuration method of micro telecommunication computing architecture system, support plate hub module and PCI E exchangers
CN109210688A (en) Multi fan clarifier control method and device, clarifier

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