CN105573877B - 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
CN105573877B
CN105573877B CN201510924904.8A CN201510924904A CN105573877B CN 105573877 B CN105573877 B CN 105573877B CN 201510924904 A CN201510924904 A CN 201510924904A CN 105573877 B CN105573877 B CN 105573877B
Authority
CN
China
Prior art keywords
program
memory
crash
electronic equipment
output system
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.)
Active
Application number
CN201510924904.8A
Other languages
Chinese (zh)
Other versions
CN105573877A (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 CN201510924904.8A priority Critical patent/CN105573877B/en
Publication of CN105573877A publication Critical patent/CN105573877A/en
Application granted granted Critical
Publication of CN105573877B publication Critical patent/CN105573877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Abstract

The invention discloses a kind of information processing method and electronic equipments, the information processing method includes: when starting the basic input output system of electronic equipment, and the embedded controller EC control first memory of the electronic equipment exports the capture program for grabbing the basic input output system crash program;When grabbing the crash program of the basic input output system by running the capture program, the crash program is stored in the second memory of the embedded controller EC.The technical issues of above method provided by the invention, higher cost needed for the mode of the system testing to electronic equipment exists in the prior art in solution.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, in particular to a kind of information processing method and electronic equipment.
Background technique
With the continuous development of science and technology, more and more electronic equipments enter people's lives, for example, smart phone, Tablet computer, laptop, integrated computer etc., these electronic equipments bring great convenience to people's lives. Before electronic equipment factory, a large amount of test can be done to electronic equipment, and then exclude some failures, to ensure that electronic equipment dispatches from the factory After can be stable.In the prior art, when testing the system of electronic equipment, usually using (the mainboard event of debug card Barrier diagnostic card) come grasping system operation when crash program.Due to electronic equipment occur crash have randomness, and crash rate compared with It is low, also, electronic equipment is all volume production, when testing the system in case of system halt failure of electronic equipment using debug card, is needed every It is all inserted into debug card in platform electronic equipment, can just guarantee the information for obtaining the deadlock of all electronic equipments.Thus may be used See, the technical issues of higher cost needed for the mode of the system testing to electronic equipment exists in the prior art.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, exists in the prior art for solving to electricity The technical issues of higher cost needed for the mode of the system testing of sub- equipment.
On the one hand the embodiment of the present invention provides a kind of information processing method, comprising:
When starting the basic input output system of electronic equipment, the embedded controller EC control the of the electronic equipment One memory exports the capture program for grabbing the basic input output system crash program;Wherein, the electronic equipment Power management is carried out by each functional module of the embedded controller EC to the electronic equipment;
It, will be described dead when grabbing the crash program of the basic input output system by running the capture program Machine program is stored in the second memory of the embedded controller EC.
Optionally, the embedded controller EC control first memory output of the electronic equipment is described basic for grabbing The capture program of input-output system crash program, specifically:
The embedded controller EC controls the first memory and exports the capture program with prefixed time interval.
Optionally, it exports in the embedded controller EC control first memory of the electronic equipment for grabbing the base After the capture program of this input-output system crash program, the method also includes:
At current time, the basic input output system is grabbed when described current by running the capture program Carve the first program of operation;
Obtain the second program for being stored in the third memory of the embedded controller EC, wherein second program The basic input and output system grabbed for the first moment before the current time by running the capture program The time interval at the program that system is run at first moment, first moment and the current time is the preset time Interval, the third memory are dynamic memory;
Judge whether first program and second program are identical;If not, by third memory storage Content update is first program;If so, determining that first program is the crash program.
Optionally, the determination first program is the crash program, is specifically included:
When determining that first program is identical as second program, judge whether first program is described in load Corresponding end program when basic input output system;
If not, determining that first program is the crash program.
Optionally, the second memory is static memory, and the crash program is stored in the insertion described After in the second memory of formula controller EC, the method also includes:
When starting the basic input output system next time, the basic input output system by with the insertion The crash program stored in the second memory is read in the port of protocol definition between formula controller EC, exports the crash Program.
On the other hand the embodiment of the present invention provides a kind of electronic equipment, comprising:
First memory, for storing at least one program module, at least one described program module is included at least and is used for Grab the capture program of the basic input output system crash program;
Embedded controller EC, by obtaining and running at least one described program module, in starting electronic equipment Basic input output system when, control the storage unit and export the capture program;By running the capture program When grabbing the crash program of the basic input output system, the crash program is stored in the embedded controller EC Second memory in, wherein the electronic equipment is by the embedded controller EC to each function of the electronic equipment Module carries out power management.
Optionally, the embedded controller EC is also used to:
It controls the storage unit and the capture program is exported with prefixed time interval.
Optionally, the embedded controller EC is also used to:
The storage unit output is controlled for grabbing the basic input output system in the embedded controller EC After the capture program of crash program, at current time, the basic input and output are grabbed by running the capture program The first program that system is run at the current time;
Obtain the second program for being stored in the third memory of the embedded controller EC, wherein second program The basic input and output system grabbed for the first moment before the current time by running the capture program The time interval at the program that system is run at first moment, first moment and the current time is the preset time Interval, the third memory are dynamic memory;
Judge whether first program and second program are identical;If not, by third memory storage Content update is first program;If so, determining that first program is the crash program.
Optionally, the embedded controller EC is also used to:
When determining that first program is identical as second program, judge whether first program is described in load Corresponding end program when basic input output system;
If not, determining that first program is the crash program.
Optionally, the second memory is static memory, when starting the basic input output system next time, The basic input output system reads second storage by the port of protocol definition between the embedded controller EC The crash program stored in device, exports the crash program.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
1, due in technical solution in the embodiment of the present application, using the basic input and output in starting electronic equipment When system, the embedded controller EC control first memory of the electronic equipment is exported for grabbing the basic input and output The capture program of system in case of system halt program;Wherein, the electronic equipment is by the embedded controller EC to the electronic equipment Each functional module carry out power management;The dead of the basic input output system is being grabbed by running the capture program When machine program, the technological means that the crash program is stored in the second memory of the embedded controller EC.In this way, Electronic equipment executes crawl basic input output system by EC (Embedded Controller, embedded controller) Crash program is electronic equipment sheet since EC is for carrying out the module of power management to other function module in electronic equipment The module that body has, so, do not have to need to plug on each electronic equipment as electronic equipment in the prior art Debug card grabs the crash program of BIOS (Basic Input Output System: basic input output system), only leads to The module of electronic equipment itself is crossed to carry out system testing, thus it is possible to effectively solve to exist in the prior art to electronic equipment The technical issues of higher cost needed for the mode of system testing, realizes the technical effect for reducing testing cost.
2, due in technical solution in the embodiment of the present application, using starting the basic input and output next time When system, the basic input output system reads described the by the port of protocol definition between the embedded controller EC The crash program stored in two memories, exports the technological means of the crash program.In this way, the crash program of EC crawl Be stored in static memory, it is not easy to lose, electronic equipment next time start BIOS when, i.e., exportable crash program, So that research staff determines failure.So realizing convenient for effectively saving crash program, the technical effect checked convenient for user.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application or in prior art, below retouches embodiment Attached drawing needed in stating is briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention one A little embodiments.
Fig. 1 is the flow chart of information processing method in the embodiment of the present application one;
Fig. 2 is the structure chart of a kind of electronic equipment in the embodiment of the present application two.
Specific embodiment
The embodiment of the present invention provides a kind of information processing method and electronic equipment, exists in the prior art for solving to electricity The technical issues of higher cost needed for the mode of the system testing of sub- equipment.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of information processing method, and general thought is as follows:
When starting the basic input output system of electronic equipment, the embedded controller EC control the of the electronic equipment One memory exports the capture program for grabbing the basic input output system crash program;Wherein, the electronic equipment Power management is carried out by each functional module of the embedded controller EC to the electronic equipment;
It, will be described dead when grabbing the crash program of the basic input output system by running the capture program Machine program is stored in the second memory of the embedded controller EC.
Due in technical solution in the embodiment of the present application, using the basic input and output system in starting electronic equipment When system, the embedded controller EC control first memory of the electronic equipment is exported for grabbing the basic input and output system The capture program for crash program of uniting;Wherein, the electronic equipment is by the embedded controller EC to the electronic equipment Each functional module carries out power management;In the crash for grabbing the basic input output system by running the capture program When program, the technological means that the crash program is stored in the second memory of the embedded controller EC.In this way, electric Sub- equipment executes the dead of crawl basic input output system by EC (Embedded Controller, embedded controller) Machine program is electronic equipment itself since EC is for carrying out the module of power management to other function module in electronic equipment A module having, so, do not have to need to plug debug on each electronic equipment as electronic equipment in the prior art Block to grab the crash program of BIOS (Basic Input Output System: basic input output system), only passes through electronics The module of equipment itself carries out system testing, thus it is possible to effectively solve that the system survey to electronic equipment exists in the prior art The technical issues of higher cost needed for the mode of examination, realizes the technical effect for reducing testing cost.
With reference to the accompanying drawing to main realization principle, specific embodiment and its correspondence of the embodiment of the present application technical solution The beneficial effect that can reach is explained in detail.
Embodiment one
In the specific implementation process, which can be applied in an electronic equipment, match in the electronic equipment It is equipped with the EC for carrying out power management to each functional module, the electronic equipment can be the desktop for being equipped with BIOS system The electronic equipments such as brain, laptop, tablet computer are also possible to other electronic equipment, here, just different one schematically illustrating.
Referring to FIG. 1, the embodiment of the present invention provides a kind of information processing method, comprising:
S101: when starting the basic input output system of electronic equipment, the embedded controller EC of the electronic equipment Control first memory exports the capture program for grabbing the basic input output system crash program;Wherein, the electricity Sub- equipment carries out power management by each functional module of the embedded controller EC to the electronic equipment;
S102:, will when grabbing the crash program of the basic input output system by running the capture program The crash program is stored in the second memory of the embedded controller EC.
Specifically, in the present embodiment, being stored in the first memory of electronic equipment for grabbing BIOS crash program Capture program.Also, BIOS is arranged the relevant first memory of chipset and passes through LPC (Low Pin Count, few number of pins) 80 ports of bus definition are the port for exporting capture program.When electronic equipment starts BIOS system, when EC is in activation shape When state, the EC of electronic equipment exports capture program by 80 ports of LPC by control first memory, grabs journey by operation Crash program is stored in the second of EC when grabbing the crash program of BIOS system to grab the crash program of BIOS by sequence In memory.Wherein, the port for exporting capture program can determines according to actual conditions, and the application is without limitation herein.Also, the One memory and second memory can be static memory, to guarantee the capture program stored in the first memory and deposit Crash program of the storage in second memory is not allowed easy to be lost.First memory, second memory can be integrated in EC One memory or the memory of two separation, are also possible to electronic equipment memory predetermined, here, the application does not make It limits.
In this way, electronic equipment executes the crash of crawl basic input output system by electronic equipment EC Program is that electronic equipment itself has since EC is for carrying out the module of power management to other function module in electronic equipment A module having, so, do not have to need to plug debug card on each electronic equipment as electronic equipment in the prior art The crash program of BIOS is grabbed, only system testing is carried out by the module of electronic equipment itself, thus it is possible to effectively solve existing Needed for having the mode in technology with the system testing to electronic equipment, realizing reduces testing cost Technical effect.
Further, in the present embodiment, step: the embedded controller EC control first memory of the electronic equipment is defeated Out for grabbing the capture program of the basic input output system crash program, in the specific implementation process, including walk as follows It is rapid:
The embedded controller EC controls the first memory and exports the capture program with prefixed time interval.
Specifically, in the present embodiment, the EC in electronic equipment has a timer, finger is regularly sent for controlling EC It enables to first memory, for controlling one prefixed time interval of first memory output capture program, prefixed time interval can be with It is set as 1 second, 3 seconds or 5 seconds etc., in the specific implementation process, prefixed time interval can be set according to the actual situation, This, the application is without limitation.In this way, EC, which does not have to control first memory always, exports capture program, but between preset time Every operation capture program, the effect of energy saving is played.
Further, in the present embodiment, when grabbing the program of BIOS by operation capture program, it is thus necessary to determine that crawl journey Whether the program that sequence currently grabs is crash program, so, in step: the embedded controller EC of electronic equipment control the After capture program of the one memory output for grabbing the basic input output system crash program, information in the present embodiment Processing method further includes following steps:
At current time, the basic input output system is grabbed when described current by running the capture program Carve the first program of operation;
Obtain the second program for being stored in the third memory of the embedded controller EC, wherein second program The basic input and output system grabbed for the first moment before the current time by running the capture program The time interval at the program that system is run at first moment, first moment and the current time is the preset time Interval, the third memory are dynamic memory;
Judge whether first program and second program are identical;If not, by third memory storage Content update is first program;If so, determining that first program is the crash program.
Determination first program is the crash program, is specifically included:
When determining that first program is identical as second program, judge whether first program is described in load Corresponding end program when basic input output system;
If not, determining that first program is the crash program.
Specifically, in the present embodiment, capture program is run with prefixed time interval, when running each time, can all grab It takes and obtains the program that BIOS is run at this moment, and the program grabbed is stored in the third memory into electronic equipment.Institute Stating third memory is a dynamic memory, this is because the read or write speed of dynamic memory is very fast, convenient for the interim of program Storage.Certainly, third memory is also possible to static memory, here, the application is not construed as limiting.Third memory can be collection At a memory in EC, it is also possible to electronic equipment memory predetermined, here, the application is not construed as limiting.
At current time, when running capture program crawl and obtaining currently running first program of BIOS, EC is stored in The second program stored in third memory, the second program grabbed the BIOS obtained in upper a period of time in last moment for capture program Carve the program of operation.In turn, judge whether the first program is identical as the second program, if identical, show BIOS at two not With at the time of the same program that runs, BIOS is likely to be at crash state.When further, due to load BIOS, BIOS is run to The last item program when, system is with regard to out of service.So, it is also necessary to determine that currently running first program of BIOS is The corresponding the last item of BIOS terminates program, when the first program is not that the corresponding the last item of BIOS terminates program, shows BIOS There is no loads to complete, and BIOS is stuck at the position for running the first program, is in crash state.In turn, EC is by the first program And operation address storage relevant to the first program in turn, is restarted into the static memory of EC in electronic equipment When, which will not be rewritten and crash program is caused to be lost, and guarantee that crash program is not easy to lose.
Further, crash program is stored in the second storage of EC by the crash program that acquisition BIOS is grabbed in capture program After in device, it is also necessary to export crash program, in order to which researcher analyzes deadlock.Therefore, in the present embodiment, in step It is rapid: further include following steps after the crash program is stored in the second memory of the embedded controller EC:
When starting the basic input output system next time, the basic input output system by with the insertion The crash program stored in the second memory is read in the port of protocol definition between formula controller EC, exports the crash Program.
Specifically, in the present embodiment, the mode of output crash program can be when starting BIOS next time, in BIOS Setup interface display crash program.Specifically, grabbing the crash program for obtaining BIOS in capture program, crash program is deposited After storage is in the second memory of EC, BIOS can also be controlled and be restarted automatically, or restarted when detecting reboot operation.? When BIOS is restarted, BIOS can access EC by the access path (such as: 62 or 66 ports) defined with EC, obtain second in EC The crash program stored in memory, and crash program display at the interface BIOS setup.In turn, research staff can lead to It crosses and checks that crash program analyzes deadlock.In this way, the crash program of EC crawl is stored in static memory, Do not allow it is easy to be lost, electronic equipment next time start BIOS when, i.e., exportable crash program, for research staff determine therefore Barrier.So realizing convenient for effectively saving crash program, the technical effect checked convenient for user.
Certainly, in the specific implementation process, when grabbing crash program, can also export otherwise, such as: Be sent to the second electronic equipment, checked convenient for research staff, when being sent to the second electronic equipment, need to send simultaneously with it is damned The identification information of the corresponding electronic equipment of machine program, such as: the model of the electronic equipment, in this way, which research staff can determine Platform electronic equipment is in crash state, also, by checking that crash program can analyze the deadlock of this electronic equipment.Into One step can also export prompt information and crash for prompting research staff's electronic equipment to be in when grabbing crash program State finds failure convenient for research staff in time, solves a problem promptly.
Embodiment two
Referring to FIG. 2, the embodiment of the present application also provides a kind of electronic equipment, comprising:
First memory 201, for storing at least one program module, at least one described program module, which includes at least, to be used In the capture program for grabbing the basic input output system crash program;
Embedded controller EC202, by obtaining and running at least one described program module, for being set in starting electronics When standby basic input output system, controls the storage unit and export the capture program;By running the crawl journey When sequence grabs the crash program of the basic input output system, the crash program is stored in the embedded controller In the second memory of EC, wherein the electronic equipment is by the embedded controller EC to each function of the electronic equipment It can module progress power management.
Optionally, the embedded controller EC is also used to:
It controls the storage unit and the capture program is exported with prefixed time interval.
Optionally, the embedded controller EC is also used to:
The storage unit output is controlled for grabbing the basic input output system in the embedded controller EC After the capture program of crash program, at current time, the basic input and output are grabbed by running the capture program The first program that system is run at the current time;
Obtain the second program for being stored in the third memory of the embedded controller EC, wherein second program The basic input and output system grabbed for the first moment before the current time by running the capture program The time interval at the program that system is run at first moment, first moment and the current time is the preset time Interval, the third memory are dynamic memory;
Judge whether first program and second program are identical;If not, by third memory storage Content update is first program;If so, determining that first program is the crash program.
Optionally, the embedded controller EC is also used to:
When determining that first program is identical as second program, judge whether first program is described in load Corresponding end program when basic input output system;
If not, determining that first program is the crash program.
Optionally, the second memory is static memory, when starting the basic input output system next time, The basic input output system reads second storage by the port of protocol definition between the embedded controller EC The crash program stored in device, exports the crash program.
Following one or more technical effects may be implemented in one or more technical solutions in embodiment:
1, due in technical solution in the embodiment of the present application, using the basic input and output in starting electronic equipment When system, the embedded controller EC control first memory of the electronic equipment is exported for grabbing the basic input and output The capture program of system in case of system halt program;Wherein, the electronic equipment is by the embedded controller EC to the electronic equipment Each functional module carry out power management;The dead of the basic input output system is being grabbed by running the capture program When machine program, the technological means that the crash program is stored in the second memory of the embedded controller EC.In this way, Electronic equipment executes crawl basic input output system by EC (Embedded Controller, embedded controller) Crash program is electronic equipment sheet since EC is for carrying out the module of power management to other function module in electronic equipment The module that body has, so, do not have to need to plug on each electronic equipment as electronic equipment in the prior art Debug card grabs the crash program of BIOS (Basic Input Output System: basic input output system), only leads to The module of electronic equipment itself is crossed to carry out system testing, thus it is possible to effectively solve to exist in the prior art to electronic equipment The technical issues of higher cost needed for the mode of system testing, realizes the technical effect for reducing testing cost.
2, due in technical solution in the embodiment of the present application, using starting the basic input and output next time When system, the basic input output system reads described the by the port of protocol definition between the embedded controller EC The crash program stored in two memories, exports the technological means of the crash program.In this way, the crash program of EC crawl Be stored in static memory, it is not easy to lose, electronic equipment next time start BIOS when, i.e., exportable crash program, So that research staff determines failure.So realizing convenient for effectively saving crash program, the technical effect checked convenient for user.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.It can be used moreover, the present invention can be used in the computer that one or more wherein includes computer available programs The computer program product implemented on storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Form.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage medium One electronic equipment reads or is performed, and includes the following steps:
When starting the basic input output system of electronic equipment, the embedded controller EC control the of the electronic equipment One memory exports the capture program for grabbing the basic input output system crash program;Wherein, the electronic equipment Power management is carried out by each functional module of the embedded controller EC to the electronic equipment;
It, will be described dead when grabbing the crash program of the basic input output system by running the capture program Machine program is stored in the second memory of the embedded controller EC.
Optionally, stored in the storage medium and step: the embedded controller EC control the of the electronic equipment The output of one memory refers to for grabbing the corresponding computer program of capture program of the basic input output system crash program It enables when executed, specifically comprises the following steps:
The embedded controller EC controls the first memory and exports the capture program with prefixed time interval.
Optionally, other computer program instructions are also stored in the storage medium, the other computer Program instruction is with step: the embedded controller EC control first memory of the electronic equipment is exported for grabbing the base The corresponding computer program instructions of capture program of this input-output system crash program are performed after being performed, implementation procedure In include the following steps:
At current time, the basic input output system is grabbed when described current by running the capture program Carve the first program of operation;
Obtain the second program for being stored in the third memory of the embedded controller EC, wherein second program The basic input and output system grabbed for the first moment before the current time by running the capture program The time interval at the program that system is run at first moment, first moment and the current time is the preset time Interval, the third memory are dynamic memory;
Judge whether first program and second program are identical;If not, by third memory storage Content update is first program;If so, determining that first program is the crash program.
Optionally, stored in the storage medium with step: determine first program be the crash program it is corresponding Computer program instructions when executed, specifically comprise the following steps:
When determining that first program is identical as second program, judge whether first program is described in load Corresponding end program when basic input output system;
If not, determining that first program is the crash program.
Optionally, other computer program instructions are also stored in the storage medium, the other computer Program instruction with step: corresponding meter in the second memory that the crash program is stored in the embedded controller EC Calculation machine program instruction is performed after being performed, and is included the following steps: in implementation procedure
The second memory is static memory, when starting the basic input output system next time, the base This input-output system is read in the second memory by the port of protocol definition between the embedded controller EC and is deposited The crash program of storage, exports the crash program.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of information processing method, comprising:
When starting the basic input output system of electronic equipment, the embedded controller EC control first of the electronic equipment is deposited Reservoir exports the capture program for grabbing the basic input output system crash program;Wherein, the electronic equipment passes through The embedded controller EC carries out power management to each functional module of the electronic equipment;
When grabbing the crash program of the basic input output system by running the capture program, by the crash journey Sequence is stored in the second memory of the embedded controller EC;
Wherein, the capture program is run with prefixed time interval;
It exports in the embedded controller EC control first memory of the electronic equipment for grabbing the basic input and output After the capture program of system in case of system halt program, the method also includes:
At current time, the basic input output system is grabbed by the operation capture program and is transported at the current time The first capable program;
Obtain be stored in the embedded controller EC third memory the second program, wherein second program be The first moment before the current time is existed by running the basic input output system that the capture program grabs The time interval at the program of the first moment operation, first moment and the current time is between the preset time Every the third memory is dynamic memory;
Judge whether first program and second program are identical;If not, the content that the third memory is stored It is updated to first program;If so, determining that first program is the crash program.
2. the method as described in claim 1, which is characterized in that the embedded controller EC control first of the electronic equipment is deposited Reservoir exports the capture program for grabbing the basic input output system crash program, specifically:
The embedded controller EC controls the first memory and exports the capture program with prefixed time interval.
3. the method as described in claim 1, which is characterized in that determination first program is the crash program, tool Body includes:
When determining that first program is identical as second program, judge whether first program is that load is described basic Corresponding end program when input-output system;
If not, determining that first program is the crash program.
4. the method as described in claim any in claim 1-3, which is characterized in that the second memory is static storage Device, in the second memory that the crash program is stored in the embedded controller EC after, the method is also Include:
When starting the basic input output system next time, the basic input output system by with the embedded control The crash program stored in the second memory is read in the port of protocol definition between device EC processed, exports the crash journey Sequence.
5. a kind of electronic equipment, comprising:
First memory, for storing at least one program module, at least one described program module is included at least for grabbing The capture program of basic input output system crash program;
Embedded controller EC, by obtaining and running at least one described program module, for the base in starting electronic equipment When this input-output system, control storage unit exports the capture program;Institute is being grabbed by running the capture program When stating the crash program of basic input output system, second that the crash program is stored in the embedded controller EC is deposited In reservoir, wherein the electronic equipment is carried out by each functional module of the embedded controller EC to the electronic equipment Power management;
Wherein, the capture program is run with prefixed time interval;
The embedded controller EC is also used to:
The storage unit output is controlled in the embedded controller EC to crash for grabbing the basic input output system After the capture program of program, at current time, the basic input output system is grabbed by running the capture program In the first program of current time operation;
Obtain be stored in the embedded controller EC third memory the second program, wherein second program be The first moment before the current time is existed by running the basic input output system that the capture program grabs The time interval at the program of the first moment operation, first moment and the current time is between the preset time Every the third memory is dynamic memory;
Judge whether first program and second program are identical;If not, the content that the third memory is stored It is updated to first program;If so, determining that first program is the crash program.
6. electronic equipment as claimed in claim 5, which is characterized in that the embedded controller EC is also used to:
It controls the storage unit and the capture program is exported with prefixed time interval.
7. electronic equipment as claimed in claim 5, which is characterized in that the embedded controller EC is also used to:
When determining that first program is identical as second program, judge whether first program is that load is described basic Corresponding end program when input-output system;
If not, determining that first program is the crash program.
8. the electronic equipment as described in any claim in claim 5-7, which is characterized in that the second memory is quiet State memory, when starting the basic input output system next time, the basic input output system by with it is described embedding The crash program stored in the second memory is read in the port for entering protocol definition between formula controller EC, exports described dead Machine program.
CN201510924904.8A 2015-12-14 2015-12-14 A kind of information processing method and electronic equipment Active CN105573877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510924904.8A CN105573877B (en) 2015-12-14 2015-12-14 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510924904.8A CN105573877B (en) 2015-12-14 2015-12-14 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105573877A CN105573877A (en) 2016-05-11
CN105573877B true CN105573877B (en) 2019-09-24

Family

ID=55884043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510924904.8A Active CN105573877B (en) 2015-12-14 2015-12-14 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105573877B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375141B (en) * 2016-08-25 2020-01-07 上海斐讯数据通信技术有限公司 Router crash test method and system
CN107180479B (en) * 2017-05-15 2020-10-20 深圳怡化电脑股份有限公司 Bill identification method, device, equipment and storage medium
CN108399076A (en) * 2018-03-02 2018-08-14 山东超越数控电子股份有限公司 A kind of firmware update and device based on UEFI
CN112199235A (en) * 2020-09-30 2021-01-08 联想(北京)有限公司 Electronic equipment and starting method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892587A (en) * 2005-07-08 2007-01-10 福菱电子股份有限公司 Insert-type controller and method for renewing fixer
CN101290748A (en) * 2007-04-20 2008-10-22 深圳市顶星数码网络技术有限公司 Method and system for displaying status of system by LCD
CN103729220A (en) * 2013-12-25 2014-04-16 合肥联宝信息技术有限公司 Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040076043A1 (en) * 2002-10-21 2004-04-22 Phoenix Technologies Ltd. Reliable and secure updating and recovery of firmware from a mass storage device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892587A (en) * 2005-07-08 2007-01-10 福菱电子股份有限公司 Insert-type controller and method for renewing fixer
CN101290748A (en) * 2007-04-20 2008-10-22 深圳市顶星数码网络技术有限公司 Method and system for displaying status of system by LCD
CN103729220A (en) * 2013-12-25 2014-04-16 合肥联宝信息技术有限公司 Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM

Also Published As

Publication number Publication date
CN105573877A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN105573877B (en) A kind of information processing method and electronic equipment
CN105550640B (en) A kind of information processing method and electronic equipment
CN105492997B (en) Optimize the peak power when starting of server/machine frame system
CN106662970B (en) Method and device for setting interruption threshold of fingerprint identifier and terminal equipment
CN105760241B (en) A kind of internal storage data deriving method and system
CN103853516B (en) A kind of electronic equipment and switching method
CN102073602B (en) Computer system, connection control device as well as connecting and disconnecting method
CN110515794A (en) Log information grasping means, device, electronic equipment and storage medium
CN110569154B (en) Chip interface function testing method, system, terminal and storage medium
CN103902396B (en) A kind of information processing method and electronic equipment
CN106886477B (en) Method and device for setting monitoring threshold in cloud system
CN107729188A (en) Data back up method, device and electronic equipment
CN105320246B (en) A kind of information processing method and electronic equipment
CN203658991U (en) Computer evidence obtaining system
CN103530742B (en) Improve the method and device of scheduling arithmetic speed
CN115599438A (en) Method, device, equipment and medium for constructing application program publishing package
JP5966890B2 (en) Constraint extraction program, constraint extraction device, and constraint extraction method
CN105022647B (en) A kind of control method and terminal of application installation
CN104199777B (en) A kind of central processing unit system verification method and device
CN110175096B (en) GPU (graphics processing Unit) pressurization test method, system, terminal and storage medium
CN108345471B (en) The method and detection device of detection device processing asynchronous event
CN107688418B (en) The methods of exhibiting and system of network instruction control
CN106605185A (en) Individual device reset and recovery in a computer
CN106788522B (en) A kind of device, method and mobile terminal for reading and writing card
CN110297097A (en) Sample rack repositioning method, device and equipment

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