CN103164299B - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN103164299B
CN103164299B CN201110427485.9A CN201110427485A CN103164299B CN 103164299 B CN103164299 B CN 103164299B CN 201110427485 A CN201110427485 A CN 201110427485A CN 103164299 B CN103164299 B CN 103164299B
Authority
CN
China
Prior art keywords
equipment
control
shared
testing result
switched
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
CN201110427485.9A
Other languages
Chinese (zh)
Other versions
CN103164299A (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 CN201110427485.9A priority Critical patent/CN103164299B/en
Publication of CN103164299A publication Critical patent/CN103164299A/en
Application granted granted Critical
Publication of CN103164299B publication Critical patent/CN103164299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention provides a kind of control method and electronic equipment.This control method is applied in the electronic equipment including the first equipment and the second equipment, and methods described includes:Detect described first equipment and the mode of operation of described second equipment, obtain a testing result;When described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, the task of the first equipment is switched to the second equipment;And when described testing result shows that the second equipment is in abnormality and the first equipment is in normal condition, the task of the second equipment is switched to the first equipment.

Description

Control method and electronic equipment
Technical field
The present invention relates to the field of electronic equipment, more particularly it relates to a kind of control method and use this control The electronic equipment of method processed.
Background technology
At present, the hybrid system including multiple electronic equipments has caught on.For example, including client and server System in, when client abnormal, the ongoing work of user is lost, and this brings a lot of inconvenience to user.Or, For example, in including the hybrid system of the first electronic equipment and the second electronic equipment, a usual electronic equipment works in front end, Occupy the control of the shared equipment including control unit and operating unit etc., and another equipment is in background work.In this feelings Under condition, if the inoperable states such as deadlock in an equipment occupying the control of shared equipment, user must weigh New startup hybrid system, but regardless of the mode of operation of another equipment.Now, user on another equipment of normal work just Also will lose in the work carrying out, this also brings a lot of inconvenience to user.
Therefore, it is necessary to improve the control for multiple equipment in hybrid system, thus effectively utilizing hybrid system.
Content of the invention
According to one embodiment of the invention, there is provided a kind of control method, it is applied to including the first equipment and the second equipment Electronic equipment in, methods described includes:
Detect described first equipment and the mode of operation of described second equipment, obtain a testing result;
When described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, by The task of one equipment is switched to the second equipment;And
When described testing result shows that the second equipment is in abnormality and the first equipment is in normal condition, by The task of two equipment is switched to the first equipment.
Preferably, described first equipment has the first hardware system and run first based on described first hardware system Operating system, described second equipment has the second hardware system and the second operation system running based on described second hardware system System, and described electronic equipment also includes shared equipment.
Preferably, in the startup stage of electronic equipment, the control of described shared equipment is distributed to the first equipment and One that in two equipment, toggle speed is fast.
Preferably, the situation of the control of described shared equipment in the operation phase of electronic equipment, is occupied in the first equipment Under, if described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, described common The control enjoying equipment is switched to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, if described testing result shows that second sets Standby be in abnormality and the first equipment is in normal condition, then the control of described shared equipment is switched to second and sets Standby.
Preferably, the situation of the control of described shared equipment in the awakening phase of electronic equipment, is occupied in the first equipment Under, if described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, will share The control of equipment automatically switches to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, if described testing result shows that second sets Standby be in abnormality and the first equipment is in normal condition, then the control of shared equipment is automatically switched and sets to first Standby.
Preferably, the first equipment also includes controller, is configured to detect the behaviour of described first equipment and described second equipment Make state, to obtain described testing result.
Preferably, the second equipment also includes controller, is configured to detect the behaviour of described first equipment and described second equipment Make state, to obtain described testing result.
Preferably, described electronic equipment also includes controller, is configured to detect described first equipment and described second equipment Mode of operation, to obtain described testing result.
Preferably, occupy the control of described shared equipment in the first equipment in the case of, if described testing result table Bright first equipment is in abnormality and the second equipment is in normal condition, then the switching part passing through to operate electronic equipment will The control of shared equipment is switched to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, if when described testing result shows second Equipment is in abnormality and the first equipment is in normal condition, then pass through to operate described switching part by the control of shared equipment Power processed is switched to the first equipment.
According to another embodiment of the present invention, there is provided a kind of electronic equipment, including:
First equipment;
Second equipment;And
Controller, is configured to detect the mode of operation of described first equipment and described second equipment, obtains a testing result,
Wherein, when described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition When, the task of the first equipment is switched to the second equipment by described controller, and when described testing result shows at the second equipment In abnormality and when the first equipment is in normal condition, the task of the second equipment is switched to first and sets by described controller Standby.
According to another embodiment of the present invention, there is provided a kind of electronic equipment, including:
First equipment, including controller;And
Second equipment;
Wherein, described controller is configured to detect the mode of operation of described first equipment and described second equipment, obtains one Testing result,
Wherein, when described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition When, the task of the first equipment is switched to the second equipment by described controller, and when described testing result shows at the second equipment In abnormality and when the first equipment is in normal condition, the task of the second equipment is switched to first and sets by described controller Standby.
According to another embodiment of the present invention, there is provided a kind of electronic equipment, including:
First equipment;And
Second equipment, including controller;
Wherein, described controller is configured to detect the mode of operation of described first equipment and described second equipment, obtains one Testing result,
Wherein, when described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition When, the task of the first equipment is switched to the second equipment by described controller, and when described testing result shows at the second equipment In abnormality and when the first equipment is in normal condition, the task of the second equipment is switched to first and sets by described controller Standby.
Preferably, described first equipment has the first hardware system and run first based on described first hardware system Operating system, described second equipment has the second hardware system and the second operation system running based on described second hardware system System, and described electronic equipment also includes shared equipment.
Preferably, described controller is additionally configured to the startup stage in electronic equipment, by the control of described shared equipment Distribute to that in the first equipment and the second equipment, toggle speed is fast.
Preferably, described controller is additionally configured to the operation phase in electronic equipment, occupies described shared in the first equipment In the case of the control of equipment, when described testing result shows that the first equipment is in abnormality and the second equipment is just in Often during state, the control of described shared equipment is switched to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, when described testing result shows the second equipment It is in abnormality and when the first equipment is in normal condition, the control of described shared equipment is switched to the second equipment.
Preferably, described controller is also disposed at the awakening phase of electronic equipment, occupies described sharing in the first equipment and sets In the case of standby control, if described testing result shows that the first equipment is in abnormality and the second equipment is just in Often state, then automatically switch the control of shared equipment to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, if described testing result shows that second sets Standby be in abnormality and the first equipment is in normal condition, then the control of shared equipment is automatically switched and sets to first Standby.
Preferably, described electronic equipment also includes switching part, occupies the control of described shared equipment in the first equipment In the case of, when described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, lead to Cross operation switching part and the control of shared equipment is switched to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, when described testing result shows the second equipment It is in abnormality and when the first equipment is in normal condition, by operating switching part, the control of shared equipment is switched To the first equipment.
By control method according to embodiments of the present invention and electronic equipment, even if one of hybrid system equipment occurs Abnormality it is also possible to the task of this equipment is switched to (including the control of shared equipment) another equipment of normal work, Efficiently work so as to effectively utilize hybrid system.
Brief description
Fig. 1 is the flow chart of control method according to a first embodiment of the present invention;
Fig. 2 is the block diagram of electronic equipment according to a second embodiment of the present invention;
Fig. 3 is the block diagram of electronic equipment according to a third embodiment of the present invention;And
Fig. 4 is the block diagram of electronic equipment according to a fourth embodiment of the present invention.
Specific embodiment
Hereinafter, will be described in detail with reference to the accompanying drawings embodiments of the invention.
The embodiment of the present invention can be applied in mixed architecture (hybrid) system being made up of the first equipment and the second equipment In, wherein, mixed architecture system can be that two independent electronic apparatus combinations form it is also possible to be included in same shell In the first equipment and the second equipment a mancarried electronic aid.Such as mixed architecture system can be by the single system of independence The notebook of system and a smart mobile phone composition or the notebook with mixed architecture system.This Inventive embodiments can also be applied to the system being for example made up of client and server.
First equipment can include the first hardware system, the such as system based on X86-based or ARM architecture processor.The Two equipment can include the second hardware system, the such as system based on X86-based or ARM architecture processor.I.e. the first equipment and Second equipment can be based on identical hardware structure it is also possible to according to different hardware structures.
Further, the first equipment can include first hardware system with the first operating system, is such as provided with desktop Device operating system (such as Windows, Linux or MacOS) or be provided with portable device system (such as Android, Symbian or iOS) the first hardware system.Second equipment can include second hardware system with the second operating system, than As being provided with desk device operating system (such as Windows, Linux or MacOS) or being provided with portable device system (ratio As Android, Symbian or iOS) the second hardware system.I.e. the first operating system can be identical with the second operating system Can be different, as long as may operate in corresponding hardware system.Preferably, the first equipment is based on ARM architecture processor , the system of portable device system is installed, the second equipment is based on X86-based processor, is provided with desktop operated The system of system.To be the Pad equipment based on ARM architecture processor with the first equipment in explained below, the second equipment is base It is described as a example the main process equipment of X86-based processor.
<First embodiment>
First, by the control method according to a first embodiment of the present invention with reference to Fig. 1 description.
It is applied in the electronic equipment including the first equipment and the second equipment according to the control method of invention first embodiment, Wherein said first equipment has the first hardware system and the first operating system run based on described first hardware system, institute Second equipment of stating has the second hardware system and the second operating system run based on described second hardware system.As above institute State, this electronic equipment can be that two independent electronic apparatus combinations form it is also possible to be included in same shell One equipment and a mancarried electronic aid of the second equipment.
Methods described includes:
Step S101:Detect described first equipment and the mode of operation of described second equipment, obtain a testing result.
In this step, the mode of operation of detection the first equipment and the second equipment, and obtain testing result.Can pass through Detecting the mode of operation of the first equipment and the second equipment, this detector can be the independent detection in electronic equipment to detector Device or be incorporated to the detector in the first equipment or the second equipment.This detector can detect with independent operation that first sets The state of standby or the second equipment.
Step S102:When described testing result shows that the first equipment is in abnormality and the second equipment is in normal shape During state, the task of the first equipment is switched to the second equipment.
In this step, according to the testing result obtaining in step S101, the first equipment and the operation of the second equipment are determined State.The state of the first equipment and the second equipment includes abnormality and normal condition.Abnormality includes such as crashing, blue screen Etc. can not execute task state it is also possible to include that CPU usage is too high, low memory or task is excessive etc. can not have The state of effect ground execution task.If described testing result shows that the first equipment is in abnormality and the second equipment is just in Often state, then be switched to the second equipment by the task of the first equipment, to execute the task of the first equipment using the second equipment, Thus effectively utilizing the advantage of mixed architecture system.
For example, in the case of the system of server and client side's composition, when client is carrying out task process, such as Now abnormal (as crashed) to fruit in client, then can be preserved the task scene of current for client execution, will simultaneously This task is switched to server, continues executing with this task by server.Additionally, for example in the first equipment and the second equipment same In mixed architecture system in shell, when the first equipment is carrying out task process, if now the first equipment occurs extremely (as crashed), then can be preserved the task scene of current for the first equipment execution, this task is switched to second simultaneously and set Standby, this task is continued executing with by the second equipment.
Step S103:When described testing result shows that the second equipment is in abnormality and the first equipment is in normal shape During state, the task of the second equipment is switched to the first equipment.
In this step, similar with the mode of above-mentioned steps S102, the control of described shared equipment is occupied in the second equipment In the case of power, when the second equipment is in abnormality and the first equipment is in normal condition, by the task of the second equipment It is switched to the first equipment.The descriptions thereof are omitted for here.
Additionally, in the first equipment and the second equipment in the case of the electronic equipment of the mixed architecture system in same shell, Described electronic equipment also includes shared equipment, such as input and output unit.This input block can include such as keyboard, Mus Mark, touch screen, mike etc..This output unit can include display, speaker etc..
Therefore, in the startup stage of electronic equipment, can by the control of described shared equipment distribute to the first equipment and One that in second equipment, toggle speed is fast.As described above, the first equipment can be based on ARM architecture processor, it is provided with The system of portable device system, the second equipment can be based on X86-based processor, is provided with desktop operating system System.Now, the toggle speed of the first equipment is faster than the second equipment, therefore, after the completion of the first equipment starts, can be described common The control enjoying equipment distributes to the first equipment.
Additionally, in the operation phase of electronic equipment, in the case that the first equipment occupies the control of described shared equipment, When described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, shared set described Standby control is switched to the second equipment.
Specifically, when the first equipment occupies the control of described shared equipment, if the first equipment is in abnormal shape State, then whole electronic equipment include input and the shared equipment of output unit all can not operate, accordingly, it would be desirable to by shared equipment Control be switched to the second equipment.
Similarly, occupy the control of described shared equipment in the second equipment in the case of, when described testing result shows Second equipment is in abnormality and when the first equipment is in normal condition, and the control of described shared equipment is switched to Two equipment.
Additionally, in the awakening phase of electronic equipment, in the case that the first equipment occupies the control of described shared equipment, If described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, set shared Standby control automatically switches to the second equipment.
Specifically, because as well known to the skilled person, can when electronic equipment is not operated for a long time To enter resting state, to save electric power, when reusing electronic equipment, electronic equipment can be waken up.And in electronic equipment Awakening phase, in the case that the first equipment occupies the control of described shared equipment, if first equipment that detects is in Abnormality, then the inclusion input of whole electronic equipment and the shared equipment of output unit all can not operate, accordingly, it would be desirable to will be total to The control enjoying equipment is switched to the second equipment.
Similarly, occupy the control of described shared equipment in the second equipment in the case of, if described testing result table Bright second equipment is in abnormality and when the first equipment is in normal condition, then the control of shared equipment automatically switches To the first equipment.
Additionally, electronic equipment can also include switching part, such as switch, button etc., occupy described common in the first equipment In the case of enjoying the control of equipment, when described testing result shows that the first equipment is in abnormality and the second equipment is in During normal condition, by operating the switching part of electronic equipment, the control of shared equipment is switched to the second equipment.
Specifically, occupy the control of described shared equipment in the first equipment in the case of, if it find that the first equipment It is in abnormality, can also be switched over manually, by the control of shared equipment by operating switch of setting etc. on electronic equipment Power processed is switched to the second equipment.
Similarly, occupy the control of described shared equipment in the second equipment in the case of, when described testing result shows Second equipment is in abnormality and when the first equipment is in normal condition, by operating described switching part by shared equipment Control be switched to the first equipment.
Control method according to a first embodiment of the present invention, even if abnormality in one of hybrid system equipment, The task (including the control of shared equipment) of this equipment can also be switched to another equipment of normal work such that it is able to have Effect ground is efficiently worked using hybrid system.
<Second embodiment>
Then, the electronic equipment according to a second embodiment of the present invention by description.
Fig. 2 is the block diagram of electronic equipment 200 according to a second embodiment of the present invention.
Electronic equipment 200 according to a second embodiment of the present invention includes:
First equipment 201;
Second equipment 202;And
Controller 203, is configured to detect the mode of operation of described first equipment 201 and described second equipment 202, obtains one Testing result,
Wherein, when described testing result shows that the first equipment 201 is in abnormality and the second equipment 202 is in normally During state, the task of the first equipment 201 is switched to the second equipment 202 by described controller 203, and works as described testing result table Bright second equipment 202 is in abnormality and when the first equipment 201 is in normal condition, and described controller 203 sets second Standby 202 task is switched to the first equipment 201.
Additionally, described first equipment 201 has the first hardware system and run the based on described first hardware system One operating system, described second equipment 202 has the second hardware system and run second based on described second hardware system Operating system, and described electronic equipment 200 also includes shared equipment 204.This controller 203 and the first equipment 201, second set It is connected with each other, such that it is able to detect the state of each equipment for 202 and shared equipment 204.
Additionally, described controller 203 was additionally configured in the startup stage of electronic equipment 200, by described shared equipment 204 Control distributes to that in the first equipment 201 and the second equipment 202, toggle speed is fast.
For example, the first equipment 201 can be based on ARM architecture processor, and be provided with portable device system is System, the second equipment 202 can be the system being provided with desktop operating system based on X86-based processor.Now, first set Standby 201 toggle speed is faster than the second equipment 202, therefore, after the completion of the first equipment 201 starts, can described shared equipment 204 control distributes to the first equipment 201.
Additionally, described controller 203 is additionally configured to, in the operation phase of electronic equipment 200, occupy institute in the first equipment 201 In the case of stating the control of shared equipment 204, when described testing result shows that the first equipment 201 is in abnormality and When two equipment 202 are in normal condition, the control of described shared equipment 204 is switched to the second equipment 202.In addition, In the case that two equipment 202 occupy the control of described shared equipment 204, when described testing result shows at the second equipment 202 In abnormality and when the first equipment 201 is in normal condition, the control of described shared equipment 204 is switched to second and sets Standby 202.
Additionally, described controller 203 is additionally configured to the awakening phase in electronic equipment 200, if described testing result table Bright first equipment 201 is in abnormality and the second equipment 202 is in normal condition, then by the control of shared equipment 204 Automatically switch to the second equipment 202.In addition, if described testing result shows that the second equipment 202 is in abnormality and When one equipment 201 is in normal condition, then the control of shared equipment 204 is automatically switched to the first equipment 201.
Additionally, described electronic equipment 200 also includes switching part 205, occupy described shared equipment in the first equipment 201 In the case of 204 control, when described testing result shows that the first equipment 201 is in abnormality and the second equipment 202 When being in normal condition, by operating switching part 205, the control of shared equipment 204 is switched to the second equipment 202.Separately Outward, occupy the control of described shared equipment 204 in the second equipment 202 in the case of, when described testing result shows that second sets Standby 202 are in abnormality and when the first equipment 201 is in normal condition, by operating switching part by shared equipment 204 Control be switched to the first equipment 201.
Electronic equipment according to a second embodiment of the present invention, even if abnormality in one of electronic equipment equipment, The task (including the control of shared equipment) of this equipment can also be switched to another equipment of normal work such that it is able to have Work effect land productivity electronics equipment high efficiency.
<3rd embodiment>
Then, the electronic equipment according to a third embodiment of the present invention by description.
Fig. 3 is the block diagram of electronic equipment 300 according to a third embodiment of the present invention.
Electronic equipment 300 according to a third embodiment of the present invention includes:
First equipment 301, including controller 303;And
Second equipment 302;
Wherein, described controller 303 is configured to detect the operation shape of described first equipment 301 and described second equipment 302 State, obtains a testing result,
Wherein, when described testing result shows that the first equipment 301 is in abnormality and the second equipment 302 is in normally During state, the task of the first equipment 301 is switched to the second equipment 302 by described controller 303, and works as described testing result table Bright second equipment 302 is in abnormality and when the first equipment 301 is in normal condition, and described controller 303 sets second Standby 302 task is switched to the first equipment 301.
The electronic equipment 300 of 3rd embodiment is essentially identical with the configuration of the electronic equipment 200 of second embodiment, except In the electronic equipment 200 of two embodiments independent controller 203 in the electronic equipment 300 of 3rd embodiment physically by simultaneously Enter in the first equipment 301.It is pointed out that the controller 303 being incorporated in the first equipment 301 can be independent of the first equipment 301 operations.
Additionally, described electronic equipment 300 also includes switching part 305, it is used for switching over.
The electronic equipment 300 of 3rd embodiment is essentially identical with the operation of the electronic equipment 200 of second embodiment, and here saves Slightly its repeated description.
Similarly, electronic equipment according to a third embodiment of the present invention, even if the appearance of one of electronic equipment equipment is different Often state is it is also possible to be switched to (including the control of shared equipment) another equipment of normal work by the task of this equipment, from And electronic equipment can be effectively utilized and efficiently work.
<Fourth embodiment>
Then, the electronic equipment according to a fourth embodiment of the present invention by description.
Fig. 4 is the block diagram of electronic equipment 400 according to a fourth embodiment of the present invention.
Electronic equipment 400 according to a fourth embodiment of the present invention includes:
First equipment 401;And
Second equipment 402, including controller 403;
Wherein, described controller 403 is configured to detect the operation shape of described first equipment 401 and described second equipment 402 State, obtains a testing result,
Wherein, when described testing result shows that the first equipment 401 is in abnormality and the second equipment 402 is in normally During state, the task of the first equipment 401 is switched to the second equipment 402 by described controller 403, and works as described testing result table Bright second equipment 402 is in abnormality and when the first equipment 401 is in normal condition, and described controller 403 sets second Standby 402 task is switched to the first equipment 401.
The electronic equipment 400 of fourth embodiment is essentially identical with the configuration of the electronic equipment 200 of second embodiment, except In the electronic equipment 200 of two embodiments independent controller 203 in the electronic equipment 400 of fourth embodiment physically by simultaneously Enter in the second equipment 402.It is pointed out that the controller 403 being incorporated in the second equipment 402 can be independent of the second equipment 402 operations.
Additionally, described electronic equipment 400 also includes switching part 405, it is used for switching over.
The electronic equipment 400 of fourth embodiment is essentially identical with the operation of the electronic equipment 200 of second embodiment, and here saves Slightly its repeated description.
Similarly, electronic equipment according to a fourth embodiment of the present invention, even if the appearance of one of electronic equipment equipment is different Often state is it is also possible to be switched to (including the control of shared equipment) another equipment of normal work by the task of this equipment, from And electronic equipment can be effectively utilized and efficiently work.
Described above is several preferred embodiments of the present invention, it should be noted that in this manual, term " bag Include ", "comprising" or its any other variant be intended to comprising of nonexcludability, so that including a series of mistake of key elements Journey, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or Also include for this process, method, article or the intrinsic key element of equipment.In the absence of more restrictions, by sentence The key element that " including one ... " limits is it is not excluded that go back in process, method, article or the equipment include described key element There is other identical element.
Finally in addition it is also necessary to illustrate, a series of above-mentioned process are not only included with order described here in temporal sequence The process of execution, and include the process executing parallel or respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of necessary hardware platform to realize naturally it is also possible to all implement by hardware.Based on such understanding, What technical scheme contributed to background technology can be embodied in whole or in part in the form of software product, This computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions in order to make Obtain a computer equipment (can be personal computer, server, or network equipment etc.) and execute each embodiment of the present invention Or some partly described methods of embodiment.
Above the present invention is described in detail, specific case used herein is to the principle of the present invention and embodiment party Formula is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept;Meanwhile, right In one of ordinary skill in the art, according to the thought of the present invention, all have change in specific embodiments and applications Part, in sum, this specification content should not be construed as limitation of the present invention.

Claims (15)

1. a kind of control method, is applied in the electronic equipment including the first equipment and the second equipment, methods described includes:
Detect described first equipment and the mode of operation of described second equipment, obtain a testing result;
When described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, first is set Standby task is switched to the second equipment;And
When described testing result shows that the second equipment is in abnormality and the first equipment is in normal condition, second is set Standby task is switched to the first equipment,
Wherein said first equipment has the first hardware system and the first operation system running based on described first hardware system System, described second equipment has the second hardware system and the second operating system run based on described second hardware system, and And described electronic equipment also includes shared equipment, described task includes the control of described shared equipment.
2. the method for claim 1, also includes:
In the startup stage of electronic equipment, the control of described shared equipment is distributed in the first equipment and the second equipment and starts Fireballing one.
3. the method for claim 1, also includes:
In the operation phase of electronic equipment, in the case that the first equipment occupies the control of described shared equipment, if described Testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, then by the control of described shared equipment Power processed is switched to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, if described testing result shows at the second equipment In abnormality and the first equipment is in normal condition, then the control of described shared equipment is switched to the second equipment.
4. the method for claim 1, also includes:
In the awakening phase of electronic equipment, in the case that the first equipment occupies the control of described shared equipment, if described Testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, then by the control of shared equipment Automatically switch to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, if described testing result shows at the second equipment In abnormality and the first equipment is in normal condition, then the control of shared equipment is automatically switched to the first equipment.
5. the method for claim 1, the wherein first equipment also includes controller, be configured to detect described first equipment and The mode of operation of described second equipment, to obtain described testing result.
6. the method for claim 1, the wherein second equipment also includes controller, be configured to detect described first equipment and The mode of operation of described second equipment, to obtain described testing result.
7. the method for claim 1, wherein said electronic equipment also includes controller, is configured to detect that described first sets The standby mode of operation with described second equipment, to obtain described testing result.
8. the method for claim 1, wherein occupy the control of described shared equipment in the first equipment in the case of, when When described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, set by operating electronics The control of shared equipment is switched to the second equipment by standby switching part;And
In the case that the second equipment occupies the control of described shared equipment, when described testing result shows that the second equipment is in The control of shared equipment is switched by abnormality and when the first equipment is in normal condition by operating described switching part To the first equipment.
9. a kind of electronic equipment, including:
First equipment;
Second equipment;And
Controller, is configured to detect the mode of operation of described first equipment and described second equipment, obtains a testing result,
Wherein, when described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, institute State controller and the task of the first equipment is switched to the second equipment, and when described testing result shows that the second equipment is in exception State and when the first equipment is in normal condition, the task of the second equipment is switched to the first equipment by described controller,
Wherein said first equipment has the first hardware system and the first operation system running based on described first hardware system System, described second equipment has the second hardware system and the second operating system run based on described second hardware system, and And described electronic equipment also includes shared equipment, described task includes the control of described shared equipment.
10. a kind of electronic equipment, including:
First equipment, including controller;And
Second equipment;
Wherein, described controller is configured to detect the mode of operation of described first equipment and described second equipment, obtains a detection As a result,
Wherein, when described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, institute State controller and the task of the first equipment is switched to the second equipment, and when described testing result shows that the second equipment is in exception State and when the first equipment is in normal condition, the task of the second equipment is switched to the first equipment by described controller,
Wherein said first equipment has the first hardware system and the first operation system running based on described first hardware system System, described second equipment has the second hardware system and the second operating system run based on described second hardware system, and And described electronic equipment also includes shared equipment, described task includes the control of described shared equipment.
11. a kind of electronic equipments, including:
First equipment;And
Second equipment, including controller;
Wherein, described controller is configured to detect the mode of operation of described first equipment and described second equipment, obtains a detection As a result,
Wherein, when described testing result shows that the first equipment is in abnormality and the second equipment is in normal condition, institute State controller and the task of the first equipment is switched to the second equipment, and when described testing result shows that the second equipment is in exception State and when the first equipment is in normal condition, the task of the second equipment is switched to the first equipment by described controller,
Wherein said first equipment has the first hardware system and the first operation system running based on described first hardware system System, described second equipment has the second hardware system and the second operating system run based on described second hardware system, and And described electronic equipment also includes shared equipment, described task includes the control of described shared equipment.
12. electronic equipments as claimed in claim 11, wherein said controller is additionally configured to the startup stage in electronic equipment, The control of described shared equipment is distributed to that in the first equipment and the second equipment, toggle speed is fast.
13. electronic equipments as claimed in claim 11, wherein said controller is additionally configured to the operation phase in electronic equipment, In the case that the first equipment occupies the control of described shared equipment, if to show that the first equipment is in different for described testing result Often state and the second equipment is in normal condition, then the control of described shared equipment is switched to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, if described testing result shows at the second equipment In abnormality and the first equipment is in normal condition, then the control of described shared equipment is switched to the second equipment.
14. electronic equipments as claimed in claim 11, wherein said controller is also disposed at the awakening phase of electronic equipment, In the case that first equipment occupies the control of described shared equipment, if described testing result shows that the first equipment is in exception State and the second equipment is in normal condition, then automatically switch the control of shared equipment to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, if described testing result shows at the second equipment In abnormality and the first equipment is in normal condition, then the control of shared equipment is automatically switched to the first equipment.
15. electronic equipments as claimed in claim 11, wherein said electronic equipment also includes switching part, accounts in the first equipment In the case of having the control of described shared equipment, if described testing result shows that the first equipment is in abnormality and Two equipment are in normal condition, then by operating switching part, the control of shared equipment is switched to the second equipment;And
In the case that the second equipment occupies the control of described shared equipment, if described testing result shows at the second equipment In abnormality and the first equipment is in normal condition, then by operating switching part, the control of shared equipment is switched to First equipment.
CN201110427485.9A 2011-12-19 2011-12-19 Control method and electronic equipment Active CN103164299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110427485.9A CN103164299B (en) 2011-12-19 2011-12-19 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110427485.9A CN103164299B (en) 2011-12-19 2011-12-19 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103164299A CN103164299A (en) 2013-06-19
CN103164299B true CN103164299B (en) 2017-03-01

Family

ID=48587409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110427485.9A Active CN103164299B (en) 2011-12-19 2011-12-19 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103164299B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354608B (en) * 2016-09-30 2019-08-23 北京海誉动想科技股份有限公司 The device and method of electronic equipment hardware requests registration management
CN109033207A (en) * 2018-06-29 2018-12-18 郑州云海信息技术有限公司 Control the method, apparatus and medium of the client High Availabitity of distributed file system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1115502A (en) * 1997-06-24 1999-01-22 Mitsubishi Electric Corp Digital controller
CN101651580A (en) * 2009-09-08 2010-02-17 中兴通讯股份有限公司 Method and device for triggering double-machine switching

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4831599B2 (en) * 2005-06-28 2011-12-07 ルネサスエレクトロニクス株式会社 Processing equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1115502A (en) * 1997-06-24 1999-01-22 Mitsubishi Electric Corp Digital controller
CN101651580A (en) * 2009-09-08 2010-02-17 中兴通讯股份有限公司 Method and device for triggering double-machine switching

Also Published As

Publication number Publication date
CN103164299A (en) 2013-06-19

Similar Documents

Publication Publication Date Title
CN104346050B (en) A kind of information processing method and electronic equipment
US20170344096A1 (en) Methods and apparatuses to wake computer systems from sleep states
US20100264741A1 (en) Adaptation of an active power supply set using an event trigger
CN103312901A (en) Power-saving method and device for mobile terminal with screen
CN107305416A (en) A kind of control method and terminal
CN105022955A (en) Locking method and mobile terminal of application program
CN105208639A (en) Wearable device and power consumption optimization method thereof
CN103106020A (en) Display method and electronic equipment
CN103164299B (en) Control method and electronic equipment
CN102830752B (en) Electronic equipment and working method thereof
WO2022156603A1 (en) Message processing method and apparatus, and electronic device
TW201249271A (en) Motherboard of a computing device
US9661480B2 (en) Triggering application action using non-standard controls
CN104636233B (en) Mobile terminal power consumption condition control method and system
CN111008090A (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN105491242A (en) Mobile communication terminal, control method and control device thereof
CN103257867B (en) Control method, electronic equipment and electronic installation
CN103064696B (en) Starting method and electronic equipment
CN107272864B (en) Reset circuit, battery and electronic equipment
CN113316057B (en) Earphone, method and device for reducing power consumption and electronic equipment
US20120272098A1 (en) Computer with power-off system
US20150156304A1 (en) Electronic Device And Information Processing Method
CN103631499B (en) A kind of mode switching method and electronic equipment
US20110099309A1 (en) Power supply circuit for cpu
CN103246342B (en) Electronic equipment and method for managing power supply thereof

Legal Events

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