CN103425520B - Event response method and electronic equipment - Google Patents
Event response method and electronic equipment Download PDFInfo
- Publication number
- CN103425520B CN103425520B CN201210159294.3A CN201210159294A CN103425520B CN 103425520 B CN103425520 B CN 103425520B CN 201210159294 A CN201210159294 A CN 201210159294A CN 103425520 B CN103425520 B CN 103425520B
- Authority
- CN
- China
- Prior art keywords
- event
- class
- processing unit
- electronic equipment
- state
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000004044 response Effects 0.000 title claims abstract description 36
- 230000005540 biological transmission Effects 0.000 claims abstract description 26
- 238000010586 diagram Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of event response method and use the electronic equipment of the event response method.The method is applied to the electronic equipment including the first system and the second system different from the first system, the electronic equipment further includes a shared device, the first system can obtain first kind event and the second class event different from the first kind event, the first system is able to respond the first kind event and the second class event, the second system can obtain the first kind event, the second system is able to respond the first kind event, the described method includes: when the second system is foreground system, the second system occupies the shared device;The first system as background system obtains the second class event;The first system is notified the second class event to the second system by the transmission channel between the first system and the second system.
Description
Technical field
The present invention relates to the fields of electronic equipment, more particularly it relates to a kind of event response method and use
The electronic equipment of the event response method.
Background technique
In recent years, such as mobile phone, tablet computer and the electronic equipment of personal digital assistant are more more and more universal,
Have the advantages that it is light, using simple touch control operation, can easily realize online, play game, see video, read magazine etc.
Function.With the continuous enhancing of the hardware capability of electronic equipment, same terminal device has been able to support two operating systems (all
Such as Deng) run simultaneously on it.For example, by runningBehaviour
Make the X86 system and operation of systemUnder the Hybrid system architecture that the ARM system of operating system is constituted, Yong Huke
To carry out free switching between the two systems as needed.By the way that foreground system is switched to operationOperation system
The ARM system of system, and allow backstage X86 system in a dormant state or sleep state, can substantially reduce power consumption to
Extend the cruise duration of electronic equipment.
In above-mentioned Hybrid system architecture, it is used as in Hybrid system architecture there are embedded controller (EC) and is used for thing
The component of part detection and transmitting.However, EC can not detect the own event of all X86 systems, such as Wake on LAN, in real time
Clock (RTC) wake-up etc., so that the ARM system is not when ARM system is switched to the foreground system of Hybrid system architecture
It can know and handle the own event of these X86 systems.Accordingly, it is desirable to provide a kind of event response method and use the event
The electronic equipment of response method, so that when ARM system is switched to the foreground system of Hybrid system architecture, the ARM system energy
Enough know and handle the own event of these X86 systems.
Summary of the invention
In view of the above, the present invention provides the electricity of a kind of event response method and the use event response method
Sub- equipment, so that the ARM system can be known and handle when ARM system is switched to the foreground system of Hybrid system architecture
The own event of these X86 systems.
According to embodiments of the present invention, provide a kind of event response method, the method be applied to include the first system and
The electronic equipment of the second system different from the first system, the electronic equipment further include a shared device, and described first
System can obtain first kind event and the second class event different from the first kind event, and the first system is able to respond
The first kind event and the second class event, the second system can obtain the first kind event, second system
System is able to respond the first kind event, which comprises when the second system is foreground system, the second system
Occupy the shared device;The first system as background system obtains the second class event;The first system is logical
The transmission channel crossed between the first system and the second system notifies the second class event to the second system.
In addition, event response method according to an embodiment of the present invention, further includes the second system for first system
The second class event of system notice responds.
In addition, event response method according to an embodiment of the present invention, wherein the first system includes first processing units
With third processing unit, the second system includes the second processing unit, between the first system and the second system
Transmission channel is established by the first processing units and described the second processing unit.
In addition, event response method according to an embodiment of the present invention, wherein the first kind event is first processing
The event that unit is received and responded, and the second class event is the event that the third processing unit is received and responded.
In addition, event response method according to an embodiment of the present invention, wherein the first system have first state with it is described
The second different state of first state, the second system have the third state and fourth state different from the third state.
In addition, event response method according to an embodiment of the present invention, wherein the first system is X86 system, and institute
Stating second system is ARM system or X86 system.
In addition, event response method according to an embodiment of the present invention, wherein the shared device is keyboard, mouse, display
Device, network interface card etc..
In addition, event response method according to an embodiment of the present invention, wherein the first system passes through the first system
The second class event is notified to include: that third processing is single to the second system by the transmission channel between the second system
Member will be transferred to second in the transmission channel according to transport protocol predetermined about the notice of the second class event
Processing unit.
In addition, event response method according to an embodiment of the present invention, the second system notifies the first system
The second class event respond that include: the second processing unit turn the notice about the second class event received
It is changed to the manageable event of the second system.
Another embodiment according to the present invention, provides a kind of electronic equipment, and the electronic equipment includes: shared device;The
One system, the first system can obtain first kind event and the second class event different from the first kind event, and
The first system is able to respond the first kind event and the second class event;And second system, the second system
Different from the first system, the second system can obtain the first kind event, and the second system can be rung
Answer the first kind event;Wherein, when the second system is foreground system, the second system occupies described share and sets
It is standby;The first system as background system obtains the second class event;The first system passes through the first system
Transmission channel between the second system notifies the second class event to the second system.
In addition, electronic equipment according to another embodiment of the present invention, wherein the second system is for the first system
The second class event of notice responds.
In addition, electronic equipment according to another embodiment of the present invention, wherein the first system includes first processing units
With third processing unit, the second system includes the second processing unit, between the first system and the second system
Transmission channel is established by the first processing units and described the second processing unit.
In addition, electronic equipment according to another embodiment of the present invention, wherein the first kind event is first processing
The event that unit is received and responded, and the second class event is the event that the third processing unit is received and responded.
In addition, electronic equipment according to another embodiment of the present invention, wherein the first system have first state with it is described
The second different state of first state, the second system have the third state and fourth state different from the third state.
In addition, electronic equipment according to another embodiment of the present invention, wherein the first system is X86 system, and institute
Stating second system is ARM system or X86 system.
In addition, electronic equipment according to another embodiment of the present invention, wherein the shared device is keyboard, mouse, display
Device, network interface card etc..
In addition, electronic equipment according to another embodiment of the present invention, wherein the first system passes through the first system
The second class event is notified to include: that third processing is single to the second system by the transmission channel between the second system
Member will be transferred to second in the transmission channel according to transport protocol predetermined about the notice of the second class event
Processing unit.
In addition, electronic equipment according to another embodiment of the present invention, the second system notifies the first system
The second class event respond that include: the second processing unit turn the notice about the second class event received
It is changed to the manageable event of the second system.
It is to be understood that foregoing general description and following detailed description are both illustrative, and it is intended to
In the further explanation of the claimed technology of offer.
Detailed description of the invention
Fig. 1 is the block diagram for illustrating the electronic equipment of Hybrid system architecture according to an embodiment of the present invention;And
Fig. 2 is the flow chart for illustrating event response method according to an embodiment of the present invention.
Specific embodiment
Hereinafter, by preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.
Firstly, electronic equipment according to an embodiment of the present invention will be described referring to Fig.1.Fig. 1 is to illustrate to implement according to the present invention
The block diagram of the electronic equipment of the Hybrid system architecture of example.
As shown in Figure 1, the electronic equipment 10 of Hybrid system architecture according to an embodiment of the present invention includes the first system 100
The second system 200 different with from the first system.In a preferred embodiment of the invention, the first system 100
It is X86 system, and the second system 200 is ARM system.As understood by the skilled person in the art, described first
System 100 and the second system 200 are without being limited thereto.In addition, as shown, the electronic equipment 10 of Hybrid system architecture includes
Shared device 300.In a preferred embodiment of the invention, shared device 300 is keyboard, mouse, display, network interface card etc..
In the electronic equipment 10 of the Hybrid system architecture, foreground system is used as in the first system 100 and the second system 200
The system of system will occupy the shared device 300.In addition, the electronic equipment of Hybrid system architecture according to an embodiment of the present invention
10 further include the electronic equipment 10 of Hybrid system architecture according to an embodiment of the present invention, the first system 100 and described
Two system 200 carries out the transmission of data information via the data transmission channel 400.In a preferred embodiment of the present invention
In, the data transmission channel 400 is established by the first processing units 101 and described the second processing unit 201.In this hair
In a bright preferred embodiment, the data transmission channel 400 can be UART or USB etc..
The inside configuration of the first system 100 and the second system 200 is described further below.It is to be understood that
The first system 100 and the second system 200 are not limited to those components shown in FIG. 1, but can also wrap as needed
Containing other components.
As shown in Figure 1, the first system 100 includes first processing units 101, the first switching treatmenting unit 102, first
Shared driving unit 103 and third processing unit 104.The second system 200 switches comprising the second processing unit 201, second
Processing unit 202 and the second shared driving unit 203.In a preferred embodiment of the invention, the first processing units
101 be, for example, embedded controller EC, and described the second processing unit 201 is, for example, micro-control unit MCU, and the third is handled
Unit 104 is different from the first processing units 101 and the second processing unit 201, is, for example, the South Bridge chip group of X86 system
Deng.In another preferred embodiment of the invention, described the second processing unit 201 is, for example, the primary processor of ARM system.Institute
The first switching treatmenting unit 102 and second switching treatmenting unit 202 are stated according to the instruction of user, in the first system
Free switching is carried out between 100 and the second system 200, so that corresponding system is switched to foreground system.Described first
Driving unit 103 and the second shared driving unit 203 are shared then when respective system is switched to foreground system, for institute
It states shared device 300 and carries out drive control, to realize corresponding system occupying for the shared device 300.
In the Hybrid system architecture being made of X86 system and ARM system, first processing units 101 and described
The second processing unit 201 can obtain and respond the first kind event of Hybrid system.Therefore, the first kind event is
The event that the event that X86 system and ARM system can respond thereto, such as embedded controller EC generate.On the contrary, described
Third processing unit 104 can then obtain and respond the second class event of Hybrid system, and the second class event is described
The first system 100(X86 system) own event, Wake on LAN, real-time clock (RTC) wake up etc..In addition, described
Three processing units 104 can notify the second class event to the second system via the data transmission channel 400
200, so that the second class event of 201 pairs of the second processing unit notices of the second system 200 responds.In this hair
In a bright preferred embodiment, the third processing unit 104 will be determined about the notice of the second class event according to preparatory
The transport protocol of justice is transferred to the second processing unit 201 on the data transmission channel 400.The second processing unit 201 will connect
The notice about the second class event received is converted to the manageable event of the second system 200.
For example, in a preferred embodiment of the invention, the first system 100 has first state (low power consumpting state)
Second state (high power consumption state) different from the first state, the second system 200 have the third state (low-power consumption shape
State) and fourth state (high power consumption state) different from the third state.When the second system 200 is as foreground system
Under state, that is to say, that the first system 100 is in first state, when the second system 200 is in four states, institute
The possible Wake on LAN event obtained for the system of the third processing unit 104 of the first system 100 is stated, and for this
Wake on LAN event is responded to wake up the first system 100, that is, places it in the second state.And it is now in foreground
The second system 200 knows that the first system 100 wakes up via Wake on LAN event not yet.Hereafter, described
One system 100 notifies Wake on LAN event to the second system 200 via the data transmission channel 400.At this point, described
Second system 200 can respond the Wake on LAN event.For example, the second system 200 may determine whether to ignore
The Wake on LAN event, and the first system 100 is replaced in first state (low power consumpting state), to realize power consumption
Saving.Alternatively, the first system 100 for having responded to Wake on LAN can be switched to foreground system.
Describe the electronic equipment 10 of Hybrid system architecture according to an embodiment of the present invention referring to Fig.1 above, under
The event response method that face will describe to be used by the electronic equipment 10 of the Hybrid system architecture referring to Fig. 2.
Fig. 2 is the flow chart for illustrating event response method according to an embodiment of the present invention.As shown in Fig. 2, in step S21
In, the second system 200 is switched to foreground system.At this point, the second system 200 occupies the shared device 300.Change sentence
It talks about, the first system 100 is in first state (low power consumpting state), and the second system 200 is in the 4th state (Gao Gong
Consumption state).
In step S22, the third processing unit 104 of the first system 100 obtains the second of Hybrid system
Class event.The second class event is the first system 100(X86 system) own event, such as Wake on LAN, in real time
Clock (RTC) wake-up etc..For example, in a preferred embodiment of the invention, the third of the first system 100 is handled
Unit 104 may obtain the Wake on LAN event for the system, and the Wake on LAN event is responded to wake up
The first system 100 places it in the second state (high power consumption state).
In step S23, the first system 100 notifies Wake on LAN event via the data transmission channel 400
To the second system 200.For example, in a preferred embodiment of the invention, the data transmission channel 400 passes through described
First processing units 101 and described the second processing unit 201 are established.
In step s 24, the second system 200 responds the notice of the second class event.For example, at this
In one preferred embodiment of invention, the second system 200 may determine whether to ignore the Wake on LAN event, and by institute
It states the first system 100 and is replaced in first state (low power consumpting state), to realize the saving of power consumption.Alternatively, can will
The first system 100 that response to network wakes up is switched to foreground system.
A kind of event response method according to an embodiment of the present invention is described above by reference to Fig. 1 and Fig. 2 and uses the thing
The electronic equipment of part response method.Event response method according to an embodiment of the present invention and the electricity for using the event response method
Sub- equipment makes when ARM system is switched to the foreground system of Hybrid system architecture, which can know and handle this
The own event of a little X86 systems.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Finally, it is to be noted that, it is above-mentioned it is a series of processing not only include with sequence described here in temporal sequence
The processing of execution, and the processing including executing parallel or respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required hardware platform to realize, naturally it is also possible to all be implemented by hardware.Based on this understanding,
Technical solution of the present invention can be embodied in the form of software products in whole or in part to what background technique contributed,
The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make
It obtains a computer equipment (can be personal computer, server or the network equipment etc.) and executes each embodiment of the present invention
Or method described in certain parts of embodiment.
The present invention is described in detail above, specific case used herein is to the principle of the present invention and embodiment party
Formula is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile it is right
In those of ordinary skill in the art, according to the thought of the present invention, change is had in specific embodiments and applications
Place, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (14)
1. a kind of event response method, the method is applied to include the first system and second system different from the first system
The electronic equipment of system, the electronic equipment further include a shared device, the first system can obtain first kind event and with
The second different class event of the first kind event, the first system are able to respond the first kind event and second class
Event, the second system can obtain the first kind event, and the second system is able to respond the first kind event, institute
The method of stating includes:
When the second system is foreground system, the second system occupies the shared device;
The first system as background system obtains the second class event;
The first system is by the transmission channel between the first system and the second system by the second class event
Notify that, to the second system, the second class event that the second system notifies the first system responds,
Or ignore the second class event of the first system notice,
Wherein the first system includes first processing units and third processing unit, and the first processing units are embedded control
Device EC processed, the third processing unit are the South Bridge chip group of the first system, and the first processing units can obtain simultaneously
And the response first kind event, and the first processing units cannot obtain and respond the second class event, and it is described
Second class event is the event that the third processing unit is obtained and responded, and the second class event is for the first system
Wake on LAN event.
2. event response method as described in claim 1, wherein the second system includes the second processing unit, described first
Transmission channel between system and the second system is established by the first processing units and described the second processing unit.
3. event response method as described in claim 1, wherein the first system, there is first state and the first state
The second different states, the second system have the third state and fourth state different from the third state.
4. claims 1 to 3 it is any as described in event response method, wherein the first system is X86 system, and institute
Stating second system is ARM system or X86 system.
5. claims 1 to 3 it is any as described in event response method, wherein the shared device is keyboard, mouse, display
Device, network interface card.
6. claims 1 to 3 it is any as described in event response method, wherein the first system pass through the first system
The second class event is notified to include: that third processing is single to the second system by the transmission channel between the second system
Member will be transferred to second in the transmission channel according to transport protocol predetermined about the notice of the second class event
Processing unit.
7. event response method as claimed in claim 6, the second system the first system is notified described
Two class events respond, and that include: the second processing unit be converted to the notice about the second class event received is described
The manageable event of second system.
8. a kind of electronic equipment, the electronic equipment include:
Shared device;
The first system, the first system can obtain first kind event and the second class thing different from the first kind event
Part, and the first system is able to respond the first kind event and the second class event;And
Second system, the second system is different from the first system, and the second system can obtain the first kind thing
Part, and the second system is able to respond the first kind event;
Wherein, when the second system is foreground system, the second system occupies the shared device;
The first system as background system obtains the second class event;
The first system is by the transmission channel between the first system and the second system by the second class event
Notify that, to the second system, the second class event that the second system notifies the first system responds,
Or ignore the second class event of the first system notice,
Wherein the first system includes first processing units and third processing unit, and the first processing units are embedded control
Device EC processed, the third processing unit are the South Bridge chip group of the first system, and the first processing units can obtain simultaneously
And the response first kind event, and the first processing units cannot obtain and respond the second class event, and it is described
Second class event is the event that the third processing unit is obtained and responded, and the second class event is for the first system
Wake on LAN event.
9. electronic equipment as claimed in claim 8, wherein the second system includes the second processing unit, the first system
Transmission channel between the second system is established by the first processing units and described the second processing unit.
10. electronic equipment as claimed in claim 8, wherein the first system has first state different from the first state
The second state, the second system has the third state and fourth state different from the third state.
11. claim 8 to 10 it is any as described in electronic equipment, wherein the first system is X86 system, and described
Second system is ARM system or X86 system.
12. claim 8 to 10 it is any as described in electronic equipment, wherein the shared device is keyboard, mouse, display
Device, network interface card.
13. claim 8 to 10 it is any as described in electronic equipment, wherein the first system by the first system and
The second class event is notified to the second system to include: third processing unit by the transmission channel between the second system
It will be transferred at second in the transmission channel about the notice of the second class event according to transport protocol predetermined
Manage unit.
14. electronic equipment as claimed in claim 13, the second system the first system is notified described second
It includes: that the notice about the second class event received is converted to described by the second processing unit that class event, which responds,
The manageable event of two system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210159294.3A CN103425520B (en) | 2012-05-21 | 2012-05-21 | Event response method and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210159294.3A CN103425520B (en) | 2012-05-21 | 2012-05-21 | Event response method and electronic equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103425520A CN103425520A (en) | 2013-12-04 |
| CN103425520B true CN103425520B (en) | 2019-03-08 |
Family
ID=49650314
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210159294.3A Active CN103425520B (en) | 2012-05-21 | 2012-05-21 | Event response method and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103425520B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104516760B (en) | 2014-12-12 | 2018-01-09 | 华为技术有限公司 | A kind of method, device and mobile terminal of operating system hot-swap |
| CN105577906B (en) * | 2015-04-08 | 2019-06-11 | 宇龙计算机通信科技(深圳)有限公司 | A method and device for prompting a multi-system terminal notification message |
| KR20170034603A (en) * | 2015-09-21 | 2017-03-29 | 삼성전자주식회사 | System and method thereof for controlling notification event |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101714021B (en) * | 2008-10-08 | 2015-01-28 | 联想(北京)有限公司 | Computer of hybrid system |
| US8793405B2 (en) * | 2009-09-29 | 2014-07-29 | Lenovo (Beijing) Co., Ltd. | Portable terminal and control method thereof, portable device and control method thereof |
| CN102104936B (en) * | 2009-12-18 | 2014-11-05 | 联想(北京)有限公司 | Method for switching system states and portable terminal |
-
2012
- 2012-05-21 CN CN201210159294.3A patent/CN103425520B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN103425520A (en) | 2013-12-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Koomey et al. | Smart everything: Will intelligent systems reduce resource use? | |
| CN103597784B (en) | The method and system of the master device-slave unit pair in the switching fabric of dynamic creation and service portable computing with across described switching fabric | |
| CN102695998B (en) | System and method for controlling central processing unit power in a virtualized system | |
| CN112074006A (en) | Power sensitive wireless communication radio management | |
| CN103782272A (en) | Switching tasks between heterogeneous cores | |
| CN106537285A (en) | Balanced control of processor temperature | |
| CN111816139A (en) | Screen refresh rate switching method and electronic device | |
| CN111452044A (en) | Robot system architecture and robot thereof | |
| CN102662458A (en) | Dynamic energy-saving method and device for PCIE equipment and communication system of PCIE equipment | |
| CN103425520B (en) | Event response method and electronic equipment | |
| CN103902322A (en) | System switching method and electronic equipment | |
| TW201351156A (en) | Electronic apparatuses and related controlling methods and computer program products thereof | |
| WO2020086362A3 (en) | Relativistic quantum computer / quantum gravity computer | |
| CN104076892B (en) | Power supply management method and power supply management system | |
| CN103902324A (en) | System starting method and electronic equipment | |
| TW201017393A (en) | Embedded system with power-saving function and power-saving method thereof | |
| CN104516472A (en) | Processor and data processing method | |
| CN115904851B (en) | Terminal equipment and external equipment access detection system | |
| CN215814154U (en) | National production safety intelligent terminal system based on ARM | |
| CN105607728B (en) | Electronic equipment and its method for managing power supply | |
| CN103473194A (en) | Electronic device and control method thereof | |
| CN103164299A (en) | Control method and electronic device | |
| CN109324829A (en) | System switching method and device | |
| CN106020424B (en) | The processor architecture of power efficient | |
| Mohiddin et al. | Green computing an eco-friendly IT environment for upcoming technologies |
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 |