CN103019836A - State switching method and electronic equipment - Google Patents

State switching method and electronic equipment Download PDF

Info

Publication number
CN103019836A
CN103019836A CN201110288750XA CN201110288750A CN103019836A CN 103019836 A CN103019836 A CN 103019836A CN 201110288750X A CN201110288750X A CN 201110288750XA CN 201110288750 A CN201110288750 A CN 201110288750A CN 103019836 A CN103019836 A CN 103019836A
Authority
CN
China
Prior art keywords
electronic equipment
state
power consumption
testing result
switching command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110288750XA
Other languages
Chinese (zh)
Other versions
CN103019836B (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 CN201110288750.XA priority Critical patent/CN103019836B/en
Publication of CN103019836A publication Critical patent/CN103019836A/en
Application granted granted Critical
Publication of CN103019836B publication Critical patent/CN103019836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a state switching method and electronic equipment. The switching method is applied to first electronic equipment which is engaged in data connection with second electronic equipment. The first electronic equipment has a first state and a second state; when the first electronic equipment is in the first state, the electronic equipment can execute a first amount of instructions; and when the first electronic equipment is in the second state, the first electronic equipment can execute a second amount of instructions, wherein the second amount is less than the first amount. The state switching method includes the steps that: the data connection state of the first electronic equipment with the second electronic equipment is detected to obtain a first detection result when the first electronic equipment is in the first state; a first switching command is generated when the first detection result shows that the data connection between the first and second electronic equipment is cut out; and according to the first switching command, the first electronic equipment switches from the first state to the second state. With the state switching method, when the data connection of the electronic equipment with other electronic equipment is cut out, the electronic equipment can rapidly switch to the second state so as reduce power consumption of the system and/or to guarantee the security of the user information.

Description

State switching method and electronic equipment
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of state switching method and electronic equipment.
Background technology
In the prior art, can carry out two electronic equipments of data connection when disconnecting, electronic equipment usually can only be according to predefined power management scheme, behind certain hour, just enter lock-out state, holding state or dormant state, perhaps only according to user's direct control, enter lock-out state, holding state or dormant state, this causes the waste of the dangerous or system power dissipation of user profile.
Summary of the invention
In view of this, the invention provides a kind of state switching method and electronic equipment, can when disconnection is connected with the data of other electronic equipments, switch to fast low power consumpting state to save system power dissipation and/or to switch to lock-out state to guarantee user information safety.
For addressing the above problem, the invention provides a kind of state switching method, be applied to the first electronic equipment, described the first electronic equipment is connected with the second electronic equipment data, described the first electronic equipment has the first state and the second state, when being in described the first state, can carry out by described the first electronic equipment the instruction of the first quantity, when being in described the second state, can carry out by described the first electronic equipment the instruction of the second quantity, described the second quantity is less than described the first quantity, described method comprises: when described the first electronic equipment is in described the first state, the data connection status of detection and described the second electronic equipment obtains the first testing result; When described the first testing result shows that described the first electronic equipment disconnection is connected with the data of described the second electronic equipment, produce the first switching command; According to described the first switching command, described the first electronic equipment switches to described the second state from described the first state.
Optionally, the described switching command of described foundation, described the first electronic equipment also comprises after described the first state switches to the step of described the second state: when described the first electronic equipment is in described the second state, obtain an input message; Detect described input message and whether meet the requirements, obtain the second testing result; When described the second testing result shows that described input message meets the requirements, produce the second switching command; According to described the second switching command, described the first electronic equipment switches to described the first state from described the second state.
Optionally, the described input message link information that is other electronic equipments and described the first electronic equipment; Whether whether the described input message of described detection meets the requirements, and the step that obtains the second testing result comprises: detecting described other electronic equipments is described the second electronic equipment, if so, obtains to show satisfactory described the second testing result of described input message.
Optionally, described input message is keyboard input information.
Optionally, described the second state comprises: the first power consumption state and the second power consumption state, power consumption when the power consumption the when power consumption when described the first electronic equipment is in described the first power consumption state equals described the first electronic equipment and is in described the first state, the power consumption when described the first electronic equipment is in described the second power consumption state are lower than described the first electronic equipment and are in described the first state.
Optionally, described the first switching command of described foundation, described the first electronic equipment also comprises from the step that described the first state switches to described the second state before: whether have default application task move, obtain the 3rd testing result if detecting described the first electronic equipment; When described the 3rd testing result shows when having described default application task moving in described the first electronic equipment, according to described the first switching command, described the first electronic equipment switches to described the first power consumption state from described the first state; When described the 3rd testing result shows when not having described default application task moving in described the first electronic equipment, according to described the first switching command, described the first electronic equipment switches to described the second power consumption state from described the first state.
The present invention also provides a kind of electronic equipment, be connected with the second electronic equipment data, described electronic equipment has the first state and the second state, when being in described the first state, can carry out by described electronic equipment the instruction of the first quantity, when being in described the second state, can carry out by described electronic equipment the instruction of the second quantity, described the second quantity is less than described the first quantity, described electronic equipment comprises: first detection module, be used for when described electronic equipment is in described the first state, the data connection status of detection and described the second electronic equipment obtains the first testing result; The first generation module is used for producing the first switching command when described the first testing result shows that described electronic equipment disconnection is connected with the data of described the second electronic equipment; The first handover module is used for according to described the first switching command described electronic equipment being switched to described the second state from described the first state.
Optionally, described electronic equipment also comprises: acquisition module is used for obtaining an input message when described electronic equipment is in described the second state; Whether the second detection module meets the requirements for detection of described input message, obtains the second testing result; The second generation module is used for producing the second switching command when described the second testing result shows that described input message meets the requirements; The second handover module is used for according to described the second switching command, and described electronic equipment switches to described the first state from described the second state.
Optionally, described the second state comprises: the first power consumption state and the second power consumption state, power consumption when the power consumption the when power consumption when described the first electronic equipment is in described the first power consumption state equals described the first electronic equipment and is in described the first state, the power consumption when described the first electronic equipment is in described the second power consumption state are lower than described the first electronic equipment and are in described the first state.
Optionally, described the first handover module comprises: the 3rd detection module, and whether there is default application task to move for detection of described electronic equipment, obtain the 3rd testing result; The first execution module is used for when described the 3rd testing result shows that there is the default application task that is moving in described electronic equipment, and according to described the first switching command, described electronic equipment switches to described the first power consumption state from described the first state; The second execution module is used for when described the 3rd testing result shows that there is not the default application task that is moving in described electronic equipment, and according to described the first switching command, described electronic equipment switches to described the second power consumption state from described the first state.
The present invention also provides a kind of electronic equipment, comprising: link block is used for being connected with the second electronic equipment data; Memory module is used for the storage instruction; Processing module, be used for carrying out described instruction, described electronic equipment has the first state and the second state, when described electronic equipment is in described the first state, described processing module can be carried out the described instruction of the first quantity, when described electronic equipment was in described the second state, described processing module can be carried out the described instruction of the second quantity, and described the second quantity is less than described the first quantity; Wherein, described processing module also is used for detecting the data connection status of described link block and described the second electronic equipment when described electronic equipment is in described the first state, obtains the first testing result; When described the first testing result shows that described link block disconnection is connected with the data of described the second electronic equipment, produce the first switching command; According to described the first switching command, described electronic equipment is switched to described the second state from described the first state.
The present invention has following beneficial effect:
When the electronic equipment disconnection is connected with the data of other electronic equipments, can switch to low power consumpting state (holding state, dormant state or off-mode) with the saving system power dissipation from normal operating conditions fast, and/or switch to lock-out state to guarantee user information safety.
After electronic equipment switches to lock-out state, can switch back normal operating conditions according to satisfactory input message, do not affect user's normal use.
Before electronic equipment switches to low power consumpting state or lock-out state, if operation has default application task in the electronic equipment, electronic equipment is switched to lock-out state, to guarantee user information safety, do not affect simultaneously the operation of default application task, if do not move default application task in the electronic equipment, electronic equipment is switched to low power consumpting state, to save system power dissipation.
Description of drawings
Fig. 1 is a flow process synoptic diagram of the state switching method of the embodiment of the invention;
Fig. 2 is another schematic flow sheet of the state switching method of the embodiment of the invention;
Fig. 3 is the another schematic flow sheet of the state switching method of the embodiment of the invention;
Fig. 4 is an again flow process synoptic diagram of the state switching method of the embodiment of the invention;
Fig. 5 is a structural representation of the electronic equipment of the embodiment of the invention;
Fig. 6 is another structural representation of the electronic equipment of the embodiment of the invention;
Fig. 7 is the another structural representation of the electronic equipment of the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.
Be illustrated in figure 1 as a flow process synoptic diagram of the state switching method of the embodiment of the invention, this state switching method is applied to the first electronic equipment, this first electronic equipment is connected with the second electronic equipment data, namely, when this first electronic equipment is connected with the second electronic equipment, can carry out data interaction between the two.This first electronic equipment has the first state and the second state, when being in the first state, can carry out by the first electronic equipment the instruction of the first quantity, can carry out the instruction of the second quantity when the first electronic equipment is in the second state, wherein, the second quantity is less than the first quantity.
Above-mentioned state switching method may further comprise the steps:
Step 101, when the first electronic equipment is in the first state, detect the data connection status with the second electronic equipment, obtain the first testing result, when the first testing result shows that the disconnection of the first electronic equipment is connected with the data of the second electronic equipment, execution in step 102, otherwise continue execution in step 101;
Step 102 produces the first switching command;
Step 103, according to the first switching command, the first electronic equipment switches to the second state from the first state.
In the embodiment of the invention, this first state refers to normal operating conditions, and under the normal operating conditions, the first electronic equipment is all powered to parts such as internal memory, hard disk, CPU.This second state is low power consumpting state and/or lock-out state.
Wherein, low power consumpting state comprises: holding state, dormant state and off-mode.So-called holding state refers to: the current data that are in running status are kept in the internal memory, and the first electronic equipment is only powered to internal memory, and the parts such as hard disk, CPU are stopped power supply.So-called dormant state refers to: be that the current data that are in running status are kept in the hard disk, the whole parts in the first electronic equipment are stopped power supply.So-called off-mode refers to: do not preserve the current data that are in running status, the whole parts in the first electronic equipment are stopped power supply.
The below describes the lock-out state of electronic equipment.
Need to prove that at first this first electronic equipment has complete or collected works' instruction set, and this first electronic equipment have lock-out state and released state (being normal operating conditions); Under lock-out state, this first electronic equipment can respond as the first instruction set of first in this complete or collected works' instruction set (such as instructions such as shutdown, releases), under released state, this first electronic equipment can respond the second instruction set as second portion in this complete or collected works' instruction set, and the instruction number in the first instruction set is less than the instruction number in the second instruction set.
That is to say that the first electronic equipment can respond a part of instruction under lock-out state, in other words, lock-out state refers to that the first electronic equipment only can respond the state of the instruction in the first instruction set.Instruction in the first instruction set comprises release authentication, unlock command etc.Wherein, when the first electronic equipment is in the lock state, can make the first electronic equipment switch to released state from lock-out state by carrying out unlock command.
Need to prove, under lock-out state, can produce the release authentication, receive the release authentication information, if by the release authentication, can generate unlock command.The release authentication can be to the reservation character string, or the authentication of subscribing touch track or predetermined biological characteristic etc.That is to say that the release authentication is used for prompting user input release authentication information, and unlock command is used for the first electronic equipment is switched to released state from lock-out state.
The first electronic equipment also can respond a part of instruction under released state, this part instruction almost can be the complete order in complete or collected works' instruction set.For example, can comprise downloading data, access local data, accessing local network etc.; Can also be included in the instruction that can respond under the lock-out state, for example, downloading data etc.
As seen, the first electronic equipment can respond a part of instruction under lock-out state and under the released state, if the instruction that can respond under lock-out state forms the first instruction set, the instruction that can respond under released state forms the second instruction set, then usually has common factor between the first instruction set and the second instruction set, and because the instruction that under lock-out state, can respond, under released state, almost can both respond, but the instruction that under released state, can respond, under lock-out state, but not necessarily can respond, therefore, the director data in the second instruction set is usually greater than the instruction number in the first instruction set.
The below is with when the disconnection of the first electronic equipment is connected with the data of the second electronic equipment, and it is that example describes that the first electronic equipment switches to lock-out state from normal operating conditions.
Be illustrated in figure 2 as another schematic flow sheet of the state switching method of the embodiment of the invention, the method may further comprise the steps:
Step 201, when the first electronic equipment is in normal operating conditions, detect the data connection status with the second electronic equipment, obtain the first testing result, when the first testing result shows that the disconnection of the first electronic equipment is connected with the data of the second electronic equipment, execution in step 202, otherwise continue execution in step 201;
Step 202 produces the first switching command;
Step 203, according to the first switching command, the first electronic equipment switches to lock-out state from normal operating conditions;
Step 204 when the first electronic equipment is in the lock state, obtains an input message;
Whether step 205 detects this input message and meets the requirements, and obtains the second testing result; When this second testing result shows that this input message meets the requirements, execution in step 206, otherwise, return step 204;
Step 206 produces the second switching command;
Step 207, according to this second switching command, this first electronic equipment switches to normal operating conditions from lock-out state.
Above-mentioned input message can be polytype, and the below describes for example.
This input message can be the link information of other electronic equipments and described the first electronic equipment, and based on this, as shown in Figure 3, the state switching method of the embodiment of the invention can also may further comprise the steps:
Step 301, when the first electronic equipment was in the lock state, whether detection was connected with other electronic equipments, if so, execution in step 302, otherwise continue execution in step 301;
Step 302, whether detect these other electronic equipments is the second electronic equipment, if so, execution in step 303, otherwise, return step 301;
This second electronic equipment is before the first electronic equipment switches to lock-out state from normal operating conditions, the electronic equipment that is connected with these the first electronic equipment data; In the embodiment of the invention, can one unique identification information be set for the second electronic equipment, when the second electronic equipment is connected with the first electronic equipment, send this identification information to the first electronic equipment, to verify its identity.
Step 303 produces the second switching command;
Step 304, according to this second switching command, this first electronic equipment switches to normal operating conditions from lock-out state.
This input message can also be keyboard input information, and namely by keyboard input validation password, if the authentication secret of input meets the requirements, then the first electronic equipment switches to normal operating conditions from lock-out state.
When the disconnection of the first electronic equipment is connected with the data of the second electronic equipment; may move default application task in the first electronic equipment; as download task; data send task; image Processing tasks etc.; at this moment; the first electronic equipment can be switched to the screen protection state from normal operating conditions; to avoid the interruption of those default application tasks; can guarantee again simultaneously the safety of user profile; when application task is not preset in operation in the first electronic equipment; the first electronic equipment can be switched to low power consumpting state from normal operating conditions; such as holding state; dormant state or off-mode are to reduce the power consumption of the first electronic equipment.
In the embodiment of the invention, the second state is divided into: the first power consumption state (such as lock-out state) and the second power consumption state (being above-mentioned low power consumpting state), wherein, power consumption when the power consumption the when power consumption when the first electronic equipment is in the first power consumption state equals the first electronic equipment and is in the first state, the power consumption when the first electronic equipment is in the second power consumption state are lower than the first electronic equipment and are in the first state.
Based on foregoing description, as shown in Figure 4, the state switching method of the embodiment of the invention can may further comprise the steps:
Step 401, when the first electronic equipment is in the first state (being normal operating conditions), detect the data connection status with the second electronic equipment, obtain the first testing result, when the first testing result shows that the disconnection of the first electronic equipment is connected with the data of the second electronic equipment, execution in step 402, otherwise continue execution in step 401;
Step 402 produces the first switching command;
Step 403, whether in first electronic equipment have default application task move, obtain the 3rd testing result if detecting; When the 3rd testing result shows when having default application task moving in this first electronic equipment execution in step 404; When the 3rd testing result shows that the Non-precondition application task is moving in this first electronic equipment, execution in step 405;
Step 404, according to the first switching command, the first electronic equipment switches to the first power consumption state (such as the screen protection state) from the first state;
Step 405, according to the first switching command, the first electronic equipment switches to the second power consumption state from the first state.
In above-described embodiment, when the first electronic equipment need to switch to low power consumpting state, can according to user's setting, switch to holding state, dormant state or off-mode.
Can find out, the first electronic equipment reduces successively in the power consumption in holding state, dormant state and off-mode lower time, in the embodiment of the invention, can also be when the first electronic equipment need to switch to low power consumpting state, at first the first electronic equipment is switched to holding state, after switching to holding state, if the first electronic equipment does not obtain satisfactory input message in the schedule time, just switch to dormant state, after switching to dormant state, if the first electronic equipment does not obtain satisfactory input message in the schedule time, just switch to off-mode.Certainly, switch to holding state after, if the schedule time in the first electronic equipment do not obtain satisfactory input message, also can be directly switch into off-mode.
As shown in Figure 5, the embodiment of the invention also provides a kind of electronic equipment, this electronic equipment is connected with the second electronic equipment data, this electronic equipment has the first state and the second state, when being in the first state, can carry out by this electronic equipment the instruction of the first quantity, can carry out the instruction of the second quantity when this electronic equipment is in the second state, this second quantity is less than this first quantity, and this electronic equipment comprises:
First detection module 501 is used for when this electronic equipment is in this first state, and the data connection status of detection and the second electronic equipment obtains the first testing result;
The first generation module 502 is used for producing the first switching command when this first testing result shows that this electronic equipment disconnection is connected with the data of the second electronic equipment;
The first handover module 503 is used for according to this first switching command, and this electronic equipment is switched to the second state from the first state.
This electronic equipment is the first electronic equipment in above-described embodiment.
In the embodiment of the invention, this first state refers to normal operating conditions.This second state is low power consumpting state and/or lock-out state.
When the second state was lock-out state, for this electronic equipment being switched back normal operating conditions from lock-out state, the electronic equipment of the embodiment of the invention can also comprise:
Acquisition module is used for obtaining an input message when this electronic equipment is in the second state;
Whether the second detection module meets the requirements for detection of this input message, obtains the second testing result;
The second generation module is used for producing the second switching command when this second testing result shows that this input message meets the requirements;
The second handover module is used for according to this second switching command, and this electronic equipment switches to the first state from the second state.
This input message can be the link information of other electronic equipments and this electronic equipment; At this moment, whether this second detection module is the second electronic equipment for detection of these other electronic equipments, if so, obtains to show satisfactory the second testing result of this input message.
In addition, this input message can also be keyboard input information.
When this electronic equipment disconnection is connected with the data of the second electronic equipment; may move default application task in this electronic equipment; as download task; data send task; image Processing tasks etc.; at this moment; this electronic equipment can be switched to the screen protection state from normal operating conditions; to avoid the interruption of those default application tasks; can guarantee again simultaneously the safety of user profile; when application task is not preset in operation in this electronic equipment; this electronic equipment can be switched to low power consumpting state from normal operating conditions; such as holding state; dormant state or off-mode are to reduce the power consumption of this electronic equipment.
In the embodiment of the invention, the second state is divided into: the first power consumption state (such as lock-out state) and the second power consumption state (being above-mentioned low power consumpting state), wherein, power consumption when the power consumption the when power consumption when the first electronic equipment is in the first power consumption state equals the first electronic equipment and is in the first state, the power consumption when the first electronic equipment is in the second power consumption state are lower than the first electronic equipment and are in the first state.
Based on foregoing description, this first handover module can comprise:
Whether the 3rd detection module has default application task to move for detection of this electronic equipment, obtains the 3rd testing result;
The first execution module is used for when the 3rd testing result shows that there is the default application task that is moving in this electronic equipment, and according to the first switching command, this electronic equipment switches to the first power consumption state from the first state;
The second execution module is used for when the 3rd testing result shows that there is not the default application task that is moving in this electronic equipment, and according to the first switching command, this electronic equipment switches to the second power consumption state from the first state.
As shown in Figure 6, the embodiment of the invention also provides a kind of electronic equipment, and this electronic equipment is above-mentioned the first electronic equipment, comprising:
Link block 601 is used for being connected with the second electronic equipment data;
Memory module 602 is used for the storage instruction;
Processing module 603, be used for carrying out instruction, this electronic equipment has the first state and the second state, when this electronic equipment is in the first state, processing module can be carried out the instruction of the first quantity, when this electronic equipment was in the second state, processing module can be carried out the instruction of the second quantity, and this second quantity is less than this first quantity;
Wherein, this processing module also is used for detecting the data connection status of link block and the second electronic equipment when this electronic equipment is in the first state, obtains the first testing result; When the first testing result shows that the link block disconnection is connected with the data of the second electronic equipment, produce the first switching command; According to the first switching command, this electronic equipment is switched to the second state from the first state.
The embodiment of the invention can be applied in mixed architecture (hybrid) system that is comprised of the first electronic equipment and the second electronic equipment, wherein, this mixed architecture system can be two independently electronic apparatus combination form, form such as notebook and a smart mobile phone by a platform independent triangular web.This mixed architecture system also can be a portable equipment that comprises the first electronic equipment and the second electronic equipment, such as the notebook with mixed architecture system.
Wherein, the first electronic equipment can comprise the first hardware system, such as based on X86-based or ARM architecture processor from system; The second electronic equipment can comprise the second hardware system, such as the main system based on X86-based or ARM architecture processor.Namely the first electronic equipment and the second electronic equipment can be based on identical hardware structures, also can be according to different hardware structures.In addition, main system and from system can be the differentiation two systems carried out according to importance or priority or processing power or power consumption (for example, the corresponding importance of main system is high, priority is high, processing power is strong or power consumption is large, and from system with above-mentioned opposite), also can only be the differentiation in order to name, and the importance of non-limiting system or priority or processing power or power consumption.
Further, the second electronic equipment can comprise the second hardware system with second operating system, such as desk device operating system being installed (such as Windows, Linux or MacOS) or the second hardware system of portable device system (such as Android, Symbian or iOS) is installed; The first electronic equipment can comprise the first hardware system with first operating system, such as desk device operating system being installed (such as Windows, Linux or MacOS) or the first hardware system of portable device system (such as Android, Symbian or iOS) is installed.Namely the first operating system and the second operating system can be the same or different, as long as may operate in corresponding hardware system.Preferably, the second electronic equipment is based on the X86-based processor, and the main system of desktop operating system is installed; The first electronic equipment is based on the ARM architecture processor, be equipped with the portable device system from system.
Wherein, the first electronic equipment has first interface (communication unit), and the second electronic equipment has the second corresponding interface, the first electronic equipment be connected the first interface of electronic equipment by correspondence and be connected or separate with the second Interface realization.First interface and the second interface can be that wireline interface also can be wave point, do not do restriction herein, as long as the first interface of the first electronic equipment can be realized being connected of two electronic equipments with the second interface of the second electronic equipment and separate, and can intercommunication data, especially operative scenario data.
When first interface and the second interface were wireline interface, first interface can be specially data bus interface, such as USB interface, or the UART interface, or self defined interface satisfies two connection or separation between the equipment.The second interface also can be the USB interface of correspondence, or the UART interface, or self defined interface satisfies two connection or separation between the system.When first interface and the second interface were wave point, both sides can be the blue tooth interfaces of coupling, or infrared interface, or the Wifi interface.
Take the notebook of hybrid system configuration as example, as shown in Figure 7, the first electronic equipment 701 and the second electronic equipment 702 are two relative independent system, can work alone respectively or link together work.The second electronic equipment 702 is arranged at the host computer side with respect to the single system notebook, possesses processing unit, input block, and storage unit, but do not possess display unit; The first electronic equipment 701 is arranged at the display screen side with respect to the single system notebook, possesses processing unit, input block, storage unit, display unit.The first electronic equipment 701 be connected that electronic equipment 702 connects and during in conjunction with work, two electronic equipments can shared portion hardware cell, for example display unit.Because display unit and the first electronic equipment 701 are integrated, therefore when the first electronic equipment 701 during with 702 disconnections of the second electronic equipment or wired the separation, only for the first electronic equipment 701; When the first electronic equipment 701 be connected electronic equipment 702 when connecting, can use for the first electronic equipment 701, also can use for the second electronic equipment 702, operation result/output content of namely using (containing operating system) in the first electronic equipment 701 and/or the second electronic equipment 702 can show by display unit.
Be in the mancarried electronic aid of above-mentioned composition hybrid system configuration, have from the equipment of the similar panel computer (PAD) of system and be equivalent to electronic equipment (or second electronic equipment) above-described embodiment, the main process equipment with main system is equivalent to the first electronic equipment in the embodiment of the invention.
In sum, embodiments of the invention have the following advantages:
When the electronic equipment disconnection is connected with the data of other electronic equipments, can switch to low power consumpting state (holding state, dormant state or off-mode) with the saving system power dissipation from normal operating conditions fast, and/or switch to lock-out state to guarantee user information safety.
After electronic equipment switches to lock-out state, can switch back normal operating conditions according to satisfactory input message, do not affect user's normal use.
Before electronic equipment switches to low power consumpting state or lock-out state, if operation has default application task in the electronic equipment, electronic equipment is switched to lock-out state, to guarantee user information safety, do not affect simultaneously the operation of default application task, if do not move default application task in the electronic equipment, electronic equipment is switched to low power consumpting state, to save system power dissipation.
Many functional parts described in this instructions all are called as module, in order to emphasize more especially the independence of its implementation.
In the embodiment of the invention, module can realize with software, in order to carried out by various types of processing modules.For instance, the executable code module of a sign can comprise one or more physics or the logical block of computer instruction, and for instance, it can be built as object, process or function.However, the executable code of institute's identification module need not to be physically located in together, but can comprise the different instruction on being stored in the coordination not, when combining on these command logics, and its composition module and realize the regulation purpose of this module.
In fact, executable code module can be individual instructions or many instructions, and even can be distributed on a plurality of different code segments, be distributed in the middle of the distinct program, and cross over a plurality of memory devices and distribute.Similarly, service data can be identified in module, and can realize and be organized in the data structure of any suitable type according to any suitable form.Described service data can be used as the individual data collection and is collected, and perhaps can be distributed on the diverse location (to be included on the different storage device), and can only be present on system or the network as electronic signal at least in part.
When module can utilize software to realize, consider the level of existing hardware technique, so can be with the module of software realization, in the situation of not considering cost, those skilled in the art can build corresponding hardware circuit and realize corresponding function, and described hardware circuit comprises conventional ultra-large integrated (VLSI) circuit or gate array and the existing semiconductor such as logic chip, transistor or other discrete element.Module can also be used programmable hardware device, realizations such as field programmable gate array, programmable logic array, programmable logic device.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1. state switching method, be applied to the first electronic equipment, described the first electronic equipment is connected with the second electronic equipment data, described the first electronic equipment has the first state and the second state, can carry out the instruction of the first quantity when described the first electronic equipment is in described the first state, can carries out the instruction of the second quantity when described the first electronic equipment is in described the second state, described the second quantity is less than described the first quantity, it is characterized in that described method comprises:
When described the first electronic equipment was in described the first state, the data connection status of detection and described the second electronic equipment obtained the first testing result;
When described the first testing result shows that described the first electronic equipment disconnection is connected with the data of described the second electronic equipment, produce the first switching command;
According to described the first switching command, described the first electronic equipment switches to described the second state from described the first state.
2. state switching method as claimed in claim 1 is characterized in that, the described switching command of described foundation, and described the first electronic equipment also comprises after described the first state switches to the step of described the second state:
When described the first electronic equipment is in described the second state, obtain an input message;
Detect described input message and whether meet the requirements, obtain the second testing result;
When described the second testing result shows that described input message meets the requirements, produce the second switching command;
According to described the second switching command, described the first electronic equipment switches to described the first state from described the second state.
3. state switching method as claimed in claim 2 is characterized in that, described input message is the link information of other electronic equipments and described the first electronic equipment; Whether the described input message of described detection meets the requirements, and the step that obtains the second testing result comprises:
Whether be described second electronic equipment, if so, obtain to show satisfactory described the second testing result of described input message if detecting described other electronic equipments.
4. state switching method as claimed in claim 2 is characterized in that, described input message is keyboard input information.
5. state switching method as claimed in claim 1, it is characterized in that, described the second state comprises: the first power consumption state and the second power consumption state, power consumption when the power consumption the when power consumption when described the first electronic equipment is in described the first power consumption state equals described the first electronic equipment and is in described the first state, the power consumption when described the first electronic equipment is in described the second power consumption state are lower than described the first electronic equipment and are in described the first state.
6. state switching method as claimed in claim 5 is characterized in that, described the first switching command of described foundation, and described the first electronic equipment also comprises from the step that described the first state switches to described the second state before:
Whether have default application task move, obtain the 3rd testing result if detecting in described the first electronic equipment;
When described the 3rd testing result shows when having described default application task moving in described the first electronic equipment, according to described the first switching command, described the first electronic equipment switches to described the first power consumption state from described the first state;
When described the 3rd testing result shows when not having described default application task moving in described the first electronic equipment, according to described the first switching command, described the first electronic equipment switches to described the second power consumption state from described the first state.
7. electronic equipment, be connected with the second electronic equipment data, described electronic equipment has the first state and the second state, when being in described the first state, can carry out by described electronic equipment the instruction of the first quantity, when being in described the second state, can carry out by described electronic equipment the instruction of the second quantity, described the second quantity is characterized in that less than described the first quantity described electronic equipment comprises:
First detection module is used for when described electronic equipment is in described the first state, and the data connection status of detection and described the second electronic equipment obtains the first testing result;
The first generation module is used for producing the first switching command when described the first testing result shows that described electronic equipment disconnection is connected with the data of described the second electronic equipment;
The first handover module is used for according to described the first switching command described electronic equipment being switched to described the second state from described the first state.
8. electronic equipment as claimed in claim 7 is characterized in that, also comprises:
Acquisition module is used for obtaining an input message when described electronic equipment is in described the second state;
Whether the second detection module meets the requirements for detection of described input message, obtains the second testing result;
The second generation module is used for producing the second switching command when described the second testing result shows that described input message meets the requirements;
The second handover module is used for according to described the second switching command, and described electronic equipment switches to described the first state from described the second state.
9. electronic equipment as claimed in claim 7, it is characterized in that, described the second state comprises: the first power consumption state and the second power consumption state, power consumption when the power consumption the when power consumption when described the first electronic equipment is in described the first power consumption state equals described the first electronic equipment and is in described the first state, the power consumption when described the first electronic equipment is in described the second power consumption state are lower than described the first electronic equipment and are in described the first state.
10. state switching method as claimed in claim 9 is characterized in that, described the first handover module comprises:
Whether the 3rd detection module has default application task to move for detection of described electronic equipment, obtains the 3rd testing result;
The first execution module is used for when described the 3rd testing result shows that there is the default application task that is moving in described electronic equipment, and according to described the first switching command, described electronic equipment switches to described the first power consumption state from described the first state;
The second execution module is used for when described the 3rd testing result shows that there is not the default application task that is moving in described electronic equipment, and according to described the first switching command, described electronic equipment switches to described the second power consumption state from described the first state.
11. an electronic equipment comprises:
Link block is used for being connected with the second electronic equipment data;
Memory module is used for the storage instruction;
Processing module, be used for carrying out described instruction, described electronic equipment has the first state and the second state, when described electronic equipment is in described the first state, described processing module can be carried out the described instruction of the first quantity, when described electronic equipment was in described the second state, described processing module can be carried out the described instruction of the second quantity, and described the second quantity is less than described the first quantity;
Wherein, described processing module also is used for detecting the data connection status of described link block and described the second electronic equipment when described electronic equipment is in described the first state, obtains the first testing result; When described the first testing result shows that described link block disconnection is connected with the data of described the second electronic equipment, produce the first switching command; According to described the first switching command, described electronic equipment is switched to described the second state from described the first state.
CN201110288750.XA 2011-09-26 2011-09-26 State switching method and electronic equipment Active CN103019836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110288750.XA CN103019836B (en) 2011-09-26 2011-09-26 State switching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110288750.XA CN103019836B (en) 2011-09-26 2011-09-26 State switching method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103019836A true CN103019836A (en) 2013-04-03
CN103019836B CN103019836B (en) 2017-05-24

Family

ID=47968467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110288750.XA Active CN103019836B (en) 2011-09-26 2011-09-26 State switching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103019836B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753620A (en) * 2013-12-31 2015-07-01 联想(北京)有限公司 Information processing method and electronic device
CN104754703A (en) * 2013-12-26 2015-07-01 上海科勒电子科技有限公司 Communication method for master end equipment of paired wireless communication device and master end equipment
CN104888454A (en) * 2014-03-03 2015-09-09 联想(北京)有限公司 Data processing method and corresponding electronic equipment
CN105045664A (en) * 2015-09-01 2015-11-11 联想(北京)有限公司 Information processing device and information processing method
CN106681470A (en) * 2015-11-05 2017-05-17 丰唐物联技术(深圳)有限公司 Helmet-mounted virtual reality device and electricity saving method of same
CN106980380A (en) * 2017-03-31 2017-07-25 联想(北京)有限公司 Electronic equipment and collecting method
CN107105346A (en) * 2017-04-13 2017-08-29 深圳创维-Rgb电子有限公司 A kind of intelligent television standby control method and system
CN109445858A (en) * 2018-09-30 2019-03-08 联想(北京)有限公司 Switching method and system
CN111666056A (en) * 2020-05-28 2020-09-15 北京百度网讯科技有限公司 Screen switching display method and device, intelligent rearview mirror and readable storage medium
CN111885447A (en) * 2020-07-16 2020-11-03 歌尔科技有限公司 Electronic device, control method thereof, control device thereof, and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303618A (en) * 2007-05-07 2008-11-12 联发科技股份有限公司 Integrated circuit with power control and power control method thereof
US20090141439A1 (en) * 2005-11-09 2009-06-04 George Moser Portable Computer With Reconfigurable Display
CN101714021A (en) * 2008-10-08 2010-05-26 联想(北京)有限公司 Computer of hybrid system
CN102193610A (en) * 2010-03-19 2011-09-21 艾欧互联有限公司 Power management method and related power management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090141439A1 (en) * 2005-11-09 2009-06-04 George Moser Portable Computer With Reconfigurable Display
CN101303618A (en) * 2007-05-07 2008-11-12 联发科技股份有限公司 Integrated circuit with power control and power control method thereof
CN101714021A (en) * 2008-10-08 2010-05-26 联想(北京)有限公司 Computer of hybrid system
CN102193610A (en) * 2010-03-19 2011-09-21 艾欧互联有限公司 Power management method and related power management system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754703B (en) * 2013-12-26 2018-06-22 上海科勒电子科技有限公司 A kind of communication means and main side equipment for matching wireless communication device main side equipment
CN104754703A (en) * 2013-12-26 2015-07-01 上海科勒电子科技有限公司 Communication method for master end equipment of paired wireless communication device and master end equipment
CN104753620A (en) * 2013-12-31 2015-07-01 联想(北京)有限公司 Information processing method and electronic device
CN104888454A (en) * 2014-03-03 2015-09-09 联想(北京)有限公司 Data processing method and corresponding electronic equipment
CN104888454B (en) * 2014-03-03 2020-07-24 联想(北京)有限公司 Data processing method and corresponding electronic equipment
CN105045664A (en) * 2015-09-01 2015-11-11 联想(北京)有限公司 Information processing device and information processing method
CN105045664B (en) * 2015-09-01 2019-02-05 联想(北京)有限公司 Information processing equipment and information processing method
CN106681470A (en) * 2015-11-05 2017-05-17 丰唐物联技术(深圳)有限公司 Helmet-mounted virtual reality device and electricity saving method of same
CN106980380A (en) * 2017-03-31 2017-07-25 联想(北京)有限公司 Electronic equipment and collecting method
CN106980380B (en) * 2017-03-31 2021-07-16 联想(北京)有限公司 Electronic device and data acquisition method
CN107105346A (en) * 2017-04-13 2017-08-29 深圳创维-Rgb电子有限公司 A kind of intelligent television standby control method and system
CN109445858A (en) * 2018-09-30 2019-03-08 联想(北京)有限公司 Switching method and system
CN111666056A (en) * 2020-05-28 2020-09-15 北京百度网讯科技有限公司 Screen switching display method and device, intelligent rearview mirror and readable storage medium
CN111666056B (en) * 2020-05-28 2024-01-05 阿波罗智联(北京)科技有限公司 Screen switching display method and device, intelligent rearview mirror and readable storage medium
CN111885447A (en) * 2020-07-16 2020-11-03 歌尔科技有限公司 Electronic device, control method thereof, control device thereof, and readable storage medium
CN111885447B (en) * 2020-07-16 2022-07-22 歌尔科技有限公司 Electronic device, control method thereof, control device thereof, and readable storage medium

Also Published As

Publication number Publication date
CN103019836B (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN103019836A (en) State switching method and electronic equipment
CN102778943B (en) Condition control method, device and portable terminal device
CN100341007C (en) Multi-smart cards for internal operating system
CN103294970B (en) Method for sharing encryption setting by dual operating systems and electronic device
CN103246335B (en) Condition control method and electronic equipment
KR101712846B1 (en) Mechanism for facilitating efficent operations paths for storage devices in computing systems
CN102117182B (en) Multi-hardware system data processing equipment and storage equipment switching method thereof
CN103649911A (en) Switching between processor cache and random-access memory
CN103927239A (en) Method and device for restoring system of terminal equipment
CN103218030A (en) Power management system based on multi-node micro servers and micro servers
CN102882267A (en) Power supply device, electronic equipment and power supply method
CN102308274A (en) Method, network card and hard disk card of accessing power-off hard disk
CN103970601A (en) Operational order execution method and operational order execution device
CN102855428B (en) A kind of method of controlling security of computing machine and this computing machine
CN104346572A (en) Construction method of universal external intelligent terminal safety operation environment
CN202177905U (en) Multi-system physical switch device and computer
CN103020068A (en) Synchronizing method and synchronizing device
CN103020500A (en) Login authentication method and electronic device
CN103984616A (en) Server monitoring method and server
CN104200148A (en) Smart card redundancy switching method based on independently domestic redundancy server
CN105739666A (en) Conversion method for reducing power consumption and computing apparatus using the same
US20120185713A1 (en) Server, storage medium, and method for controlling sleep and wakeup function of the server
CN101510240A (en) Safety management system for multiple independent operation platforms
CN103257867A (en) Control method, electronic device and electronic apparatus
CN201331760Y (en) Double hard disks network safe isolation card

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