CN103019836B - State switching method and electronic equipment - Google Patents

State switching method and electronic equipment Download PDF

Info

Publication number
CN103019836B
CN103019836B CN201110288750.XA CN201110288750A CN103019836B CN 103019836 B CN103019836 B CN 103019836B CN 201110288750 A CN201110288750 A CN 201110288750A CN 103019836 B CN103019836 B CN 103019836B
Authority
CN
China
Prior art keywords
state
electronic equipment
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.)
Active
Application number
CN201110288750.XA
Other languages
Chinese (zh)
Other versions
CN103019836A (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

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

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, more particularly to a kind of state switching method and electronic equipment.
Background technology
In the prior art, two electronic equipments of data cube computation can be carried out when disconnecting, electronic equipment is generally only Can according to power management scheme set in advance, to certain hour after just enter lock-out state, holding state or resting state, or Only according to the direct operation of user, into lock-out state, holding state or resting state, this causes the dangerous of user profile to person Or the waste of system power dissipation.
The content of the invention
In view of this, the present invention provides a kind of state switching method and electronic equipment, can be set with other electronics disconnecting During standby data cube computation, it is rapidly switched to low power consumpting state to save system power dissipation and/or switch to lock-out state to ensure to use Family information security.
To solve the above problems, the present invention provides a kind of state switching method, is applied to the first electronic equipment, described first Electronic equipment is connected with the second electronic device data, and first electronic equipment has first state and the second state, when described First electronic equipment is able to carry out the instruction of the first quantity when being in the first state, when first electronic equipment is in institute The instruction of the second quantity is able to carry out when stating the second state, second quantity is less than first quantity, and methods described includes: When first electronic equipment is in the first state, the data connection state of detection and second electronic equipment is obtained Obtain the first testing result;When first testing result shows that first electronic equipment disconnects and second electronic equipment During data cube computation, the first switching command is produced;According to first switching command, first electronic equipment is from first shape State switches to second state.
Optionally, described according to the switching command, first electronic equipment switches to described from the first state Also include after the step of second state:When first electronic equipment is in second state, obtains one and be input into information; Detect whether the input information meets the requirements, obtain the second testing result;When second testing result shows the input When information meets the requirements, the second switching command is produced;According to second switching command, first electronic equipment is from described Two-state switches to the first state.
Optionally, the input information is the link information of other electronic equipments and first electronic equipment;The inspection Survey whether the input information meets the requirements, obtain the second testing result the step of include:Detecting described other electronic equipments is No is second electronic equipment, if it is, acquisition shows satisfactory second testing result of the input information.
Optionally, the input information is keyboard input information.
Optionally, second state includes:First power consumption state and the second power consumption state, at first electronic equipment Power consumption when first power consumption state is equal to power consumption when first electronic equipment is in the first state, and described the When power consumption when one electronic equipment is in second power consumption state is in the first state less than first electronic equipment Power consumption.
Optionally, described according to first switching command, first electronic equipment is switched to from the first state Also include before the step of second state:Whether detect in first electronic equipment has default application task to transport OK, the 3rd testing result is obtained;There is the default application to appoint in the 3rd testing result shows first electronic equipment Do honest work operationally, according to first switching command, first electronic equipment switches to described from the first state One power consumption state;There is no the default application task to transport in the 3rd testing result shows first electronic equipment During row, according to first switching command, first electronic equipment switches to the second power consumption shape from the first state State.
The present invention also provides a kind of electronic equipment, is connected with the second electronic device data, and the electronic equipment has first State and the second state, the instruction of the first quantity are able to carry out when the electronic equipment is in the first state, when described Electronic equipment is able to carry out the instruction of the second quantity when being in second state, second quantity is less than the described first number Amount, the electronic equipment includes:First detection module, for when the electronic equipment be in the first state when, detection with The data connection state of second electronic equipment, obtains the first testing result;First generation module, for when the described first inspection When survey result shows that the electronic equipment disconnects the data cube computation with second electronic equipment, the first switching command is produced;The One handover module, for according to first switching command, the electronic equipment being switched into described from the first state Two-state.
Optionally, the electronic equipment also includes:Acquisition module, for being in second state when the electronic equipment When, obtain one and be input into information;Second detection module, for detecting whether the input information meets the requirements, obtains second and detects As a result;Second generation module, for when second testing result shows that the input information meets the requirements, producing second to cut Change order;Second handover module, for according to second switching command, the electronic equipment to be switched to from second state The first state.
Optionally, second state includes:First power consumption state and the second power consumption state, at first electronic equipment Power consumption when first power consumption state is equal to power consumption when first electronic equipment is in the first state, and described the When power consumption when one electronic equipment is in second power consumption state is in the first state less than first electronic equipment Power consumption.
Optionally, first handover module includes:3rd detection module, for detecting it is pre- whether the electronic equipment has If application task is currently running, the 3rd testing result is obtained;First performing module, for showing institute when the 3rd testing result When stating electronic equipment and there is the default application task being currently running, according to first switching command, the electronic equipment is from institute State first state and switch to first power consumption state;Second performing module, for showing described when the 3rd testing result When electronic equipment does not exist the default application task being currently running, according to first switching command, the electronic equipment is from institute State first state and switch to second power consumption state.
The present invention also provides a kind of electronic equipment, including:Link block, for being connected with the second electronic device data;Deposit Storage module, for store instruction;Processing module, for performing the instruction, the electronic equipment has first state and second State, when the electronic equipment is in the first state, the processing module is able to carry out the instruction of the first quantity, When the electronic equipment is in second state, the processing module is able to carry out the instruction of the second quantity, described Second quantity is less than first quantity;Wherein, the processing module, is additionally operable to be in first shape when the electronic equipment During state, the data connection state of the link block and second electronic equipment is detected, obtain the first testing result;When described When first testing result shows that the link block disconnects the data cube computation with second electronic equipment, the first switching life is produced Order;According to first switching command, the electronic equipment is switched into second state from the first state.
The invention has the advantages that:
When electronic equipment disconnects the data cube computation with other electronic equipments, quickly can be switched to from normal operating conditions Low power consumpting state (holding state, resting state or off-mode) is saving system power dissipation, and/or switches to lock-out state to protect Card user information safety.
After electronic equipment switches to lock-out state, normal work can be switched back into according to satisfactory input information State, does not influence the normal of user to use.
Before electronic equipment switches to low power consumpting state or lock-out state, if operation has default application in electronic equipment Task, lock-out state is switched to by electronic equipment, to ensure user information safety, while not influenceing the fortune of default application task OK, if without the default application task of operation in electronic equipment, electronic equipment is switched into low power consumpting state, to save system work( Consumption.
Brief description of the drawings
Fig. 1 is a schematic flow sheet of the state switching method of the embodiment of the present invention;
Fig. 2 is another schematic flow sheet of the state switching method of the embodiment of the present invention;
Fig. 3 is the another schematic flow sheet of the state switching method of the embodiment of the present invention;
Fig. 4 is another schematic flow sheet of the state switching method of the embodiment of the present invention;
Fig. 5 is a structural representation of the electronic equipment of the embodiment of the present invention;
Fig. 6 is another structural representation of the electronic equipment of the embodiment of the present invention;
Fig. 7 is the another structural representation of the electronic equipment of the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiment of the invention is described in further detail.
It is as shown in Figure 1 a schematic flow sheet of the state switching method of the embodiment of the present invention, the state switching method should For the first electronic equipment, first electronic equipment is connected with the second electronic device data, i.e. first electronic equipment and second When electronic equipment is connected, data interaction can be carried out between the two.First electronic equipment has first state and the second state, The instruction of the first quantity is able to carry out when the first electronic equipment is in first state, when the first electronic equipment is in the second state When be able to carry out the instruction of the second quantity, wherein, the second quantity is less than the first quantity.
Above-mentioned state switching method is comprised the following steps:
Step 101, when the first electronic equipment is in first state, the data cube computation shape of detection and the second electronic equipment State, obtains the first testing result, connects with the data of the second electronic equipment when the first testing result shows that the first electronic equipment disconnects When connecing, step 102 is performed, otherwise continue executing with 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 first state.
In the embodiment of the present invention, the first state refers to normal operating conditions, under normal operating conditions, the first electronic equipment The parts such as internal memory, hard disk, CPU are powered.Second state is low power consumpting state and/or lock-out state.
Wherein, low power consumpting state includes:Holding state, resting state and off-mode.So-called holding state refers to:Ought The preceding data in running status are stored in internal memory, and the first electronic equipment is only powered to internal memory, and to parts such as hard disk, CPU Stop power supply.So-called resting state refers to:It is that the data that will be currently at running status are preserved in a hard disk, the first electronics is set Whole parts in standby are stopped power supply.So-called off-mode refers to:The data for being currently at running status are not preserved, to the first electricity Whole parts in sub- equipment are stopped power supply.
The lock-out state to electronic equipment is illustrated below.
Firstly the need of explanation, first electronic equipment has complete or collected works' instruction set, and first electronic equipment With lock-out state and released state (i.e. normal operating conditions);In the locked state, first electronic equipment can respond work It is first instruction set (such as shut down, unblock instruction) of Part I in complete or collected works' instruction set, in the unlocked state, this One electronic equipment can respond the second instruction set as Part II in complete or collected works' instruction set, also, the first instruction set Instruction number in conjunction is less than the instruction number in the second instruction set.
That is, the first electronic equipment can respond a part of instruction in the locked state, in other words, lock-out state is Refer to that the first electronic equipment can only respond the state of the instruction in the first instruction set.Instruction in first instruction set includes solution Lock certification, unlock instruction etc..Wherein, when the first electronic equipment is in the lock state, can be made by performing unlock instruction First electronic equipment switches to released state from lock-out state.
It should be noted that in the locked state, unblock certification can be produced, unblock authentication information is received, if by unblock Certification, can generate unlock instruction.Unblock certification can be to subscribing character string, or reservation touch track or predetermined biological characteristic etc. Certification.That is, unblock certification is used to point out user input to unlock authentication information, and unlock instruction is used for the first electronics Equipment switches to released state from lock-out state.
First electronic equipment is in the unlocked state, it is also possible to which response part instruction, the instruction of this part can be almost complete Complete order in collection instruction set.For example, downloading data can be included, local data, accessing local network etc. is accessed;Also The instruction that can be responded in the locked state can be included, for example, downloading data etc..
It can be seen that, the first electronic equipment can respond a part of instruction in the locked state and under released state, if The instruction that can be responded under lock-out state constitutes the first instruction set, and the instruction composition second that can be responded in the unlocked state refers to Order set, then generally have between the first instruction set and the second instruction set and occur simultaneously, and due in the locked state can The instruction of response, can almost respond in the unlocked state, but the instruction that can be responded in the unlocked state, in lock-out state Under but can not necessarily respond, therefore, the director data in the second instruction set is typically larger than the instruction in the first instruction set Quantity.
Below with when the first electronic equipment is disconnected with the data cube computation of the second electronic equipment, the first electronic equipment is from normal Working condition is illustrated as a example by switching to lock-out state.
Another schematic flow sheet of the state switching method of the embodiment of the present invention is illustrated in figure 2, the method includes following Step:
Step 201, when the first electronic equipment is in normal operating conditions, the data cube computation of detection and the second electronic equipment State, obtains the first testing result, when the first testing result shows that the first electronic equipment disconnects the data with the second electronic equipment During connection, step 202 is performed, otherwise continue executing with 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 one and is input into information;
Step 205, detects whether the input information meets the requirements, and obtains the second testing result;When second testing result When showing that the input information meets the requirements, step 206, otherwise, return to step 204 are performed;
Step 206, produces the second switching command;
Step 207, according to second switching command, first electronic equipment switches to normal work shape from lock-out state State.
Above-mentioned input information can be polytype, and citing below is illustrated.
The input information can be the link information of other electronic equipments and first electronic equipment, based on this, such as Fig. 3 Shown, the state switching method of the embodiment of the present invention can also be comprised the following steps:
Step 301, when the first electronic equipment is in the lock state, detects whether to be connected with other electronic equipments, if It is to perform step 302, otherwise continues executing with step 301;
Step 302, detects whether other electronic equipments are the second electronic equipment, if it is, step 303 is performed, otherwise, Return to step 301;
Second electronic equipment be before the first electronic equipment switches to lock-out state from normal operating conditions, with this The electronic equipment of one electronic device data connection;In the embodiment of the present invention, one unique mark can be set for the second electronic equipment Knowledge information, when the second electronic equipment is connected with the first electronic equipment, the identification information is sent to the first electronic equipment, to verify Its identity.
Step 303, produces the second switching command;
Step 304, according to second switching command, first electronic equipment switches to normal work shape from lock-out state State.
The input information can also be keyboard input information, i.e., verify password by input through keyboard, if the checking of input Key meets the requirements, then the first electronic equipment switches to normal operating conditions from lock-out state.
When the first electronic equipment disconnects the data cube computation with the second electronic equipment, may be run in the first electronic equipment There are default application task, such as downloading task, data is activation task, image processing tasks, at this point it is possible to by the first electronic equipment Screen protection state is switched to from normal operating conditions, to avoid the interruption of those default application tasks, while ensure that again The safety of user profile, when application task default without operation in the first electronic equipment, can be by the first electronic equipment from just Normal working condition switches to low power consumpting state, such as holding state, resting state or off-mode, to reduce the first electronic equipment Power consumption.
In the embodiment of the present invention, the second state is divided into:First power consumption state (such as lock-out state) and the second power consumption state (i.e. above-mentioned low power consumpting state), wherein, power consumption when the first electronic equipment is in the first power consumption state is equal to the first electronic equipment Power consumption during in first state, power consumption when the first electronic equipment is in the second power consumption state is in less than the first electronic equipment Power consumption during first state.
Based on foregoing description, as shown in figure 4, the state switching method of the embodiment of the present invention may comprise steps of:
Step 401, when the first electronic equipment is in first state (i.e. normal operating conditions), detection sets with the second electronics Standby data connection state, obtains the first testing result, when the first testing result shows that the first electronic equipment disconnects and the second electricity During the data cube computation of sub- equipment, step 402 is performed, otherwise continue executing with step 401;
Step 402, produces the first switching command;
Whether step 403, have default application task to be currently running in the first electronic equipment of detection, obtains the 3rd detection knot Really;When the 3rd testing result shows to have default application task to be currently running in first electronic equipment, step 404 is performed;When When 3rd testing result shows that Non-precondition application task is currently running in first electronic equipment, step 405 is performed;
Step 404, according to the first switching command, the first electronic equipment switches to the first power consumption state (such as from first state Screen protection state);
Step 405, according to the first switching command, the first electronic equipment switches to the second power consumption state from first state.
In above-described embodiment, when the first electronic equipment needs to switch to low power consumpting state, can according to the setting of user, Switch to holding state, resting state or off-mode.
As can be seen that power consumption when the first electronic equipment is under holding state, resting state and off-mode is to drop successively Low, in the embodiment of the present invention, can also be when the first electronic equipment needs to switch to low power consumpting state, first by the first electronics Equipment switches to holding state, after switching to holding state, if the first electronic equipment is not obtained and met the requirements in the scheduled time Input information, resting state is handed off, after switching to resting state, if the first electronic equipment is not obtained in the scheduled time Satisfactory input information, is handed off off-mode.Certainly, after switching to holding state, if first in the scheduled time Electronic equipment does not obtain satisfactory input information, it is also possible to be directly switch into off-mode.
As shown in figure 5, the embodiment of the present invention also provides a kind of electronic equipment, the electronic equipment and the second electronic device data Connection, the electronic equipment has first state and the second state, and first is able to carry out when the electronic equipment is in first state The instruction of quantity, the instruction of the second quantity is able to carry out when the electronic equipment is in the second state, and second quantity is less than should First quantity, the electronic equipment includes:
First detection module 501, for when the electronic equipment is in the first state, detecting and the second electronic equipment Data connection state, obtains the first testing result;
First generation module 502, for showing that the electronic equipment disconnects and the second electronic equipment when first testing result Data cube computation when, produce the first switching command;
First handover module 503, for according to first switching command, the electronic equipment being switched into from first state Two-state.
The electronic equipment is the first electronic equipment in above-described embodiment.
In the embodiment of the present invention, the first state refers to normal operating conditions.Second state be low power consumpting state and/or Lock-out state.
When the second state is locked out state, in order to the electronic equipment is switched back into normal work shape from lock-out state State, the electronic equipment of the embodiment of the present invention can also include:
Acquisition module, for when the electronic equipment is in the second state, obtaining one and being input into information;
Second detection module, for detecting whether the input information meets the requirements, obtains the second testing result;
Second generation module, for when second testing result shows that the input information meets the requirements, producing second to cut Change order;
Second handover module, for according to second switching command, the electronic equipment to switch to the first shape from the second state State.
The input information can be the link information of other electronic equipments and the electronic equipment;Now, the second detection mould Block is used to detect whether other electronic equipments are the second electronic equipment, if it is, acquisition shows that the input information meets the requirements The second testing result.
Additionally, the input information can also be keyboard input information.
When the electronic equipment disconnects the data cube computation with the second electronic equipment, may be run in the electronic equipment pre- If application task, such as downloading task, data is activation task, image processing tasks, at this point it is possible to by the electronic equipment from normal Working condition switches to screen protection state, to avoid the interruption of those default application tasks, while ensure that user believes again The safety of breath, when application task default without operation in the electronic equipment, can be by the electronic equipment from normal operating conditions Low power consumpting state, such as holding state, resting state or off-mode are switched to, to reduce the power consumption of the electronic equipment.
In the embodiment of the present invention, the second state is divided into:First power consumption state (such as lock-out state) and the second power consumption state (i.e. above-mentioned low power consumpting state), wherein, power consumption when the first electronic equipment is in the first power consumption state is equal to the first electronic equipment Power consumption during in first state, power consumption when the first electronic equipment is in the second power consumption state is in less than the first electronic equipment Power consumption during first state.
Based on foregoing description, first handover module can include:
3rd detection module, for detecting whether the electronic equipment has default application task to be currently running, obtains the 3rd inspection Survey result;
First performing module, for showing that the electronic equipment has the default application being currently running and appoints when the 3rd testing result During business, according to the first switching command, the electronic equipment switches to the first power consumption state from first state;
Second performing module, for showing that the electronic equipment does not exist the default application being currently running when the 3rd testing result During task, according to the first switching command, the electronic equipment switches to the second power consumption state from first state.
As shown in fig. 6, the embodiment of the present invention also provides a kind of electronic equipment, the electronic equipment is that above-mentioned first electronics sets It is standby, including:
Link block 601, for being connected with the second electronic device data;
Memory module 602, for store instruction;
Processing module 603, for execute instruction, the electronic equipment has first state and the second state, when the electronics sets During in first state, processing module is able to carry out the instruction of the first quantity, when the electronic equipment is in the second state, place Reason module is able to carry out the instruction of the second quantity, and second quantity is less than first quantity;
Wherein, the processing module, is additionally operable to when the electronic equipment is in first state, and detection link block is electric with second The data connection state of sub- equipment, obtains the first testing result;When the first testing result shows that link block disconnects and the second electricity During the data cube computation of sub- equipment, the first switching command is produced;According to the first switching command, the electronic equipment is cut from first state It is changed to the second state.
The embodiment of the present invention can be applied in the mixed architecture being made up of the first electronic equipment and the second electronic equipment (hybrid) in system, wherein, the mixed architecture system can be that two independent electronic apparatus combinations are formed, such as by one The notebook of independent triangular web and a smart mobile phone composition.The mixed architecture system can also be comprising the first electricity One portable equipment of sub- equipment and the second electronic equipment, such as with the notebook of mixed architecture system.
Wherein, the first electronic equipment can include the first hardware system, such as based on X86-based or ARM architecture processors From system;Second electronic equipment can include the second hardware system, such as the master based on X86-based or ARM architecture processors System.That is the first electronic equipment and the second electronic equipment can be based on identical hardware structure, it is also possible to according to different hardware Framework.Additionally, main system and can enter to two systems according to importance or priority or disposal ability or power consumption from system Capable differentiation is (for example, main system correspondence importance is high, priority is high, disposal ability is strong or power consumption big, and from system and above-mentioned phase Instead), it is also possible to just for the sake of name differentiation, and non-limiting system importance or priority or disposal ability or power consumption.
Further, the second electronic equipment can include the second hardware system with the second operating system, such as be provided with Desk device operating system (such as Windows, Linux or MacOS) is provided with portable device system (such as Android, Symbian or iOS) the second hardware system;First electronic equipment can include with the first operating system the One hardware system, such as be provided with desk device operating system (such as Windows, Linux or MacOS) or be provided with portable setting First hardware system of standby operating system (such as Android, Symbian or iOS).That is the first operating system and the second operation system System can be the same or different, as long as may operate in corresponding hardware system.Preferably, the second electronic equipment is base In X86-based processor, the main system of desktop operating system is installed;First electronic equipment is based on ARM architecture processors , be provided with portable device system from system.
Wherein, the first electronic equipment has first interface (communication unit), and the second electronic equipment has corresponding second to connect Mouthful, the first electronic equipment and the second electronic equipment are realized connection or are separated by corresponding first interface and second interface.First Interface and second interface can be that wireline interface can also be wave point, not limit herein, as long as the first electronic equipment First interface and the second interface of the second electronic equipment can realize the connection of two electronic equipments and separate, and being capable of intercommunication number According to especially operative scenario data.
When first interface and second interface are wireline interfaces, first interface can be specially data bus interface, such as USB interface, or UART interface, or self defined interface meet connection or separation between two equipment.Second interface also may be used Think corresponding USB interface, or UART interface, or self defined interface to meet the connection between two systems or separation.When When first interface and second interface are wave points, both sides can be that the blue tooth interface of matching, or infrared interface, or Wifi connect Mouthful.
By taking the notebook of hybrid system configuration as an example, as shown in fig. 7, the first electronic equipment 701 and the second electronics Equipment 702 is two relative independent systems, can independently be worked or the work that links together.Second electronic equipment 702 The host computer side relative to single system notebook is arranged at, possesses processing unit, input block, memory cell, but do not possess display Unit;First electronic equipment 701 is arranged at the display screen side relative to single system notebook, possesses processing unit, input block, Memory cell, display unit.When the first electronic equipment 701 and the second electronic equipment 702 are connected and combine work, two electronics Equipment can share fractional hardware unit, such as display unit.Because display unit is integrated with the first electronic equipment 701, therefore Disconnected when the first electronic equipment 701 and the second electronic equipment 702 or during wired separation, only used for the first electronic equipment 701;When When first electronic equipment 701 and the second electronic equipment 702 are connected, can be used for the first electronic equipment 701, it is also possible to supply second Electronic equipment 702 is used, i.e. using the operation of (containing operating system) in the first electronic equipment 701 and/or the second electronic equipment 702 As a result/output content can be shown by display unit.
In the mancarried electronic aid of i.e. above-mentioned composition hybrid system configuration, with the similar panel computer (PAD) from system Equipment equivalent to the electronic equipment (or second electronic equipment) in above-described embodiment, the host device with main system equivalent to The first electronic equipment in the embodiment of the present invention.
In sum, embodiments of the invention have advantages below:
When electronic equipment disconnects the data cube computation with other electronic equipments, quickly can be switched to from normal operating conditions Low power consumpting state (holding state, resting state or off-mode) is saving system power dissipation, and/or switches to lock-out state to protect Card user information safety.
After electronic equipment switches to lock-out state, normal work can be switched back into according to satisfactory input information State, does not influence the normal of user to use.
Before electronic equipment switches to low power consumpting state or lock-out state, if operation has default application in electronic equipment Task, lock-out state is switched to by electronic equipment, to ensure user information safety, while not influenceing the fortune of default application task OK, if without the default application task of operation in electronic equipment, electronic equipment is switched into low power consumpting state, to save system work( Consumption.
This many functional part described in this description is all referred to as module, specifically to emphasize its realization side The independence of formula.
In the embodiment of the present invention, module can be realized with software, to be performed by various types of processing modules.Citing comes Say, an executable code module for mark can include one or more physics or logical block of computer instruction, citing For, it can be built as object, process or function.Even so, the executable code of institute's mark module is without physically It is located together, and can be, including storing the different instruction in different positions, to be combined together when in these command logics When, it constitutes module and realizes the regulation purpose of the module.
In fact, executable code module can be individual instructions or the instruction of many bars, and can even be distributed On multiple different code segments, it is distributed in the middle of distinct program, and is distributed across multiple memory devices.Similarly, grasp Making data can be identified in module, and can realize according to any appropriate form and be organized in any appropriate class In the data structure of type.The peration data can be collected as individual data collection, or can be distributed on diverse location (being included in different storage device), and only can be present in system or network as electronic signal at least in part.
When module can be realized using software, it is contemplated that the level of existing hardware technique, it is possible to implemented in software Module, in the case where cost is not considered, those skilled in the art can build corresponding hardware circuit realize correspondence Function, the hardware circuit includes conventional ultra-large integrated (VLSI) circuit or gate array and such as logic core The existing semiconductor of piece, transistor etc or other discrete elements.Module can also use programmable hardware device, such as Field programmable gate array, programmable logic array, programmable logic device etc. are realized.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (11)

1. a kind of state switching method, is applied to the first electronic equipment, first electronic equipment and the second electronic device data Connection, first electronic equipment has first state and the second state, when first electronic equipment is in first shape The instruction of the first quantity is able to carry out during state, the second number is able to carry out when first electronic equipment is in second state The instruction of amount, second quantity is less than first quantity, it is characterised in that methods described includes:
When first electronic equipment is in the first state, the data cube computation shape with second electronic equipment is detected State, obtains the first testing result;
When first testing result shows that first electronic equipment disconnects the data cube computation with second electronic equipment, Produce the first switching command;
According to first switching command, first electronic equipment switches to second state from the first state.
2. state switching method as claimed in claim 1, it is characterised in that described according to the switching command, described first Electronic equipment from the first state switch to second state the step of after also include:
When first electronic equipment is in second state, obtains one and be input into information;
Detect whether the input information meets the requirements, obtain the second testing result;
When second testing result shows that the input information meets the requirements, the second switching command is produced;
According to second switching command, first electronic equipment switches to the first state from second state.
3. state switching method as claimed in claim 2, it is characterised in that the input information is other electronic equipments and institute State the link information of the first electronic equipment;Whether the detection input information meets the requirements, and obtains the second testing result Step includes:
Whether described other electronic equipments of detection are second electronic equipment, if it is, obtain showing the input information symbol Close desired second testing result.
4. state switching method as claimed in claim 2, it is characterised in that the input information is keyboard input information.
5. state switching method as claimed in claim 1, it is characterised in that second state includes:First power consumption state With the second power consumption state, first electronic equipment be in first power consumption state when power consumption set equal to first electronics Power consumption during in the first state, power consumption when first electronic equipment is in second power consumption state is less than institute Power consumption when stating the first electronic equipment in the first state.
6. state switching method as claimed in claim 5, it is characterised in that described according to first switching command, it is described First electronic equipment from the first state switch to second state the step of before also include:
Whether have default application task be currently running, obtain the 3rd testing result if detecting in first electronic equipment;
When thering is the default application task to be currently running during the 3rd testing result shows first electronic equipment, foundation First switching command, first electronic equipment switches to first power consumption state from the first state;
When there is no the default application task to be currently running during the 3rd testing result shows first electronic equipment, according to According to first switching command, first electronic equipment switches to second power consumption state from the first state.
7. a kind of electronic equipment, is connected with the second electronic device data, and the electronic equipment has first state and the second state, The instruction of the first quantity is able to carry out when the electronic equipment is in the first state, when the electronic equipment is in described The instruction of the second quantity is able to carry out during the second state, second quantity is less than first quantity, it is characterised in that described Electronic equipment includes:
First detection module, for when the electronic equipment is in the first state, detecting and second electronic equipment Data connection state, obtain the first testing result;
First generation module, for showing that the electronic equipment disconnects and second electronic equipment when first testing result Data cube computation when, produce the first switching command;
First handover module, for according to first switching command, the electronic equipment being switched to from the first state Second state.
8. electronic equipment as claimed in claim 7, it is characterised in that also include:
Acquisition module, for when the electronic equipment is in second state, obtaining one and being input into information;
Second detection module, for detecting whether the input information meets the requirements, obtains the second testing result;
Second generation module, for when second testing result shows that the input information meets the requirements, producing second to cut Change order;
Second handover module, for according to second switching command, the electronic equipment to switch to institute from second state State first state.
9. electronic equipment as claimed in claim 7, it is characterised in that second state includes:First power consumption state and Two power consumption states, the power consumption when electronic equipment is in first power consumption state is equal to the electronic equipment and is in described the Power consumption during one state, the power consumption when electronic equipment is in second power consumption state is in institute less than the electronic equipment State power consumption during first state.
10. electronic equipment as claimed in claim 9, it is characterised in that first handover module includes:
3rd detection module, for detecting whether the electronic equipment has default application task to be currently running, obtains the 3rd detection As a result;
First performing module, for showing that the electronic equipment has the default application being currently running when the 3rd testing result During task, according to first switching command, the electronic equipment switches to first power consumption state from the first state;
Second performing module, for when the 3rd testing result shows that the electronic equipment does not exist be currently running default should When using task, according to first switching command, the electronic equipment switches to the second power consumption shape from the first state State.
11. a kind of electronic equipment, including:
Link block, for being connected with the second electronic device data;
Memory module, for store instruction;
Processing module, for performing the instruction, the electronic equipment has first state and the second state, when the electronics sets During in the first state, the processing module is able to carry out the instruction of the first quantity, at the electronic equipment When second state, the processing module is able to carry out the instruction of the second quantity, and second quantity is less than described First quantity;
Wherein, the processing module, is additionally operable to, when the electronic equipment is in the first state, detect the link block With the data connection state of second electronic equipment, the first testing result is obtained;When first testing result shows described When link block disconnects the data cube computation with second electronic equipment, the first switching command is produced;According to the described first switching Order, second state is switched to by the electronic equipment from 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 CN103019836A (en) 2013-04-03
CN103019836B true 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)

Families Citing this family (10)

* 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
CN104753620A (en) * 2013-12-31 2015-07-01 联想(北京)有限公司 Information processing method and electronic device
CN104888454B (en) * 2014-03-03 2020-07-24 联想(北京)有限公司 Data processing method and corresponding electronic equipment
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
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
CN109445858B (en) * 2018-09-30 2021-10-22 联想(北京)有限公司 Switching method and system
CN111666056B (en) * 2020-05-28 2024-01-05 阿波罗智联(北京)科技有限公司 Screen switching display method and device, intelligent rearview mirror and readable storage medium
CN111885447B (en) * 2020-07-16 2022-07-22 歌尔科技有限公司 Electronic device, control method thereof, control device thereof, and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7656652B2 (en) * 2005-11-09 2010-02-02 George Moser Portable computer with reconfigurable display
US7831847B2 (en) * 2007-05-07 2010-11-09 Mediatek Inc. Integrated circuit with power control and power control method thereof
CN101714021B (en) * 2008-10-08 2015-01-28 联想(北京)有限公司 Computer of hybrid system
US9310838B2 (en) * 2010-03-19 2016-04-12 I/O Interconnect, Ltd. Power management method for switching power mode of a computer system based on detection of a human interface device

Also Published As

Publication number Publication date
CN103019836A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103019836B (en) State switching method and electronic equipment
CN107506663A (en) Server security based on credible BMC starts method
US8490177B2 (en) Apparatus and method for variable authentication requirements
CN100341007C (en) Multi-smart cards for internal operating system
CN101542444B (en) Security features in interconnect centric architectures
CN101483524A (en) Distributed finger print recognition system for network and implementing method thereof
CN201397508Y (en) Stand-alone terminal secure login and monitoring device
CN102023888A (en) Virtual device based on multiple encryption cards
CN105867196A (en) Express delivery cabinet and power control board
CN104008345A (en) Method and device for protecting user privacy data of application program
CN103618762A (en) System and method for enterprise service bus state pretreatment based on AOP
CN101625649A (en) Loading method and loading device of software
CN104794395A (en) Architecture characteristic based lightweight multi-system safety management structure
CN102855428B (en) A kind of method of controlling security of computing machine and this computing machine
CN102567682A (en) User access method based on BIOS (Basic Input Output System) setting
CN110197070A (en) Have the trust authentication of booting and the computer system and method for failover
CN103500304A (en) Virtual machine personalized security monitoring system and method based on Xen
CN102542189A (en) Authentication method, device and electronic equipment
CN105069384B (en) A kind of split type China second-generation identity card card-reading system and implementation method
CN103927244B (en) A kind of method of the plug-in unit scheduling process monitoring realized based on dynamic proxy
CN101655734B (en) Computer with power saving state control and control method
CN104346572A (en) Construction method of universal external intelligent terminal safety operation environment
CN202177905U (en) Multi-system physical switch device and computer
CN100555260C (en) The integrating device of master-controlled bottom layer managing plane and method
CN104200148A (en) Smart card redundancy switching method based on independently domestic redundancy server

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