CN104978173A9 - Sense digital independent device and its read method - Google Patents

Sense digital independent device and its read method Download PDF

Info

Publication number
CN104978173A9
CN104978173A9 CN201410136699.4A CN201410136699A CN104978173A9 CN 104978173 A9 CN104978173 A9 CN 104978173A9 CN 201410136699 A CN201410136699 A CN 201410136699A CN 104978173 A9 CN104978173 A9 CN 104978173A9
Authority
CN
China
Prior art keywords
sensing
operating system
hub
control circuit
electronic device
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
CN201410136699.4A
Other languages
Chinese (zh)
Other versions
CN104978173B (en
CN104978173A (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.)
Mitac Computer Kunshan Co Ltd
Getac Technology Corp
Original Assignee
Mitac Computer Kunshan Co Ltd
Mitac Technology Corp
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 Mitac Computer Kunshan Co Ltd, Mitac Technology Corp filed Critical Mitac Computer Kunshan Co Ltd
Priority to CN201410136699.4A priority Critical patent/CN104978173B/en
Publication of CN104978173A publication Critical patent/CN104978173A/en
Publication of CN104978173A9 publication Critical patent/CN104978173A9/en
Application granted granted Critical
Publication of CN104978173B publication Critical patent/CN104978173B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present invention is in relation to a kind of sensing digital independent device and its read method, it is applied to an electronic device, it senses digital independent device and supports that one first operating system and one second operating system, sensing digital independent device include that a sensing module generates at least one sensing data;One hub couples sensing module, and to read at least one sensing data;And a control circuit coupling sensing module and hub, when electronic device uses the first operating system, control circuit directly reads at least one sensing data;When electronic device uses the second operating system, one control signal of control circuit output to hub makes hub read at least one sensing data.In this way, the present invention is without the use of a switching circuit, to reach saving circuit area, and then cost is saved.

Description

Sense digital independent device and its read method
【Technical field】
The present invention is in relation to a kind of sensing digital independent device and its read method, espespecially a kind of sensing digital independent device can be applied to different operating system and its read method.
【Background technology】
It presses, in the Working concepts of computer, hardware is the working people of computer, and software refers to operating system (Operation System Kernel), operating system (Operation System, OS) and application program.Operating system kernel controls hardware correctly to work, such as allows CPU can receive instruction, hard disk such as can access at the work.Operating system provides program developer development and application program on the operating system kernel for be provided with driver.Application program, which allows between operating system kernel and user, to be easier to link up, such as literal order pattern and graphic model etc..
Furthermore portable electronic devices already become articles for use indispensable in modern life including miscellaneous notebook computer and intelligent row mobile phone.Traditionally, portable electronic devices use the Windows (Windows) of Microsoft mostly, however, the Android based on Linux (Android) operating system is also gradually popularized now.Since both aforementioned operating system on handling different work there is different efficiency two kinds of operating systems can be integrated among single electronic device in order to have both the length of the two.
Such as Taiwan number of patent application the 101134871st, dual operating systems share the method for peripheral device and the electronic device using this method.Its schema Fig. 1 illustrates that electronic device 100 includes one first operating system 110, one second operating system 120, a controller 130 and a peripheral device 140 with specification the 15th row to the 21st row of page 4.Controller 130 can be embedded controller (the Embedded Controller of an independent work, EC), it is connected to above-mentioned two operating system 110,120 and peripheral device 140, the order that can be used to be assigned according to two operating systems 110 and 120 manipulates each peripheral device 140.
In a desirable embodiment, one first Sync Manager 112 and one second Sync Manager 122 have been operated under the first operating system 110 and the second operating system 120 respectively.It this two Sync Manager 112 and 122 can be specifically used to coordinate the switching of two operating systems 110 and 120, with profit synchronizing information between the two.Two Sync Managers 112 and 122 are not only respectively connected to controller 130, are more interconnected with a coffret 150.
From the above, first Sync Manager 112 and the second Sync Manager 122 are for coordinating the switching between the first operating system 110 and the second operating system 120, so, when electronic device 100 is using the first operating system, first Sync Manager 112 can then be switched to the first operating system 110 with the second Sync Manager 122 and issue an order to controller 130, and controller 130 is driven to manipulate peripheral device 140.
Above-mentioned preceding case must be transmitted through the switching of the first Sync Manager 112 and the second Sync Manager 122, could be manipulated to peripheral device 140 by controller 130.In this way, preceding case there must be switching circuit of first Sync Manager 112 and second with not manager 122, and increase the complexity of circuit, and then increases cost.
Therefore, how a kind of novelty measured data reading device and its read method to be proposed regarding to the issue above, switching circuit can be without the use of, to reach simplified circuit, and then circuit area is saved, make to solve the problem above-mentioned.
【Invention content】
An object of the present invention, it is to provide a kind of sensing digital independent device and its read method, it uses different operating system by a control circuit according to an electronic device, and directly read sensing data, or one hub of control reads sensing data, without using a switching circuit, to reach saving circuit area, and then cost is saved.
The sensing digital independent device of the present invention is applied to according to an electronic device, and sensing digital independent device supports that one first operating system and one second operating system, sensing digital independent device include a sensing module, a hub and a control circuit.Sensing module senses data to generate at least one;Hub couples sensing module, and reads at least one sensing data;Control circuit couples sensing module and hub, and when electronic device uses the first operating system, control circuit directly reads at least one sensing data;When electronic device uses the second operating system, one control signal of control circuit output to hub makes hub read at least one sensing data.In this way, the present invention is without the use of a switching circuit, to reach saving circuit area, and then cost is saved.
The present invention sensing method for reading data be applied to an electronic device, when electronic device startup, sense method for reading data the step of provide one sensing digital independent device, sensing digital independent device include a sensing module to generate at least one sensing data;One hub couples sensing module, and to read at least one sensing data;An and control circuit coupling sensing module and hub;Later, one basic input output system of inquiry (BIOS), wherein basic input output system can support the first operating system and the second operating system;And the operating system supported at present according to basic input output system, return control circuit is to determine that electronic device will enter one of the first operating system and the second operating system;Wherein, if electronic device uses the first operating system, at least one sensing data are directly read;And if electronic device, when using the second operating system, one control signal of output makes hub read at least one sensing data to hub.In this way, the present invention is without the use of a switching circuit, to reach saving circuit area, and then cost is saved.
【Description of the drawings】
Fig. 1 is the block diagram of the sensing digital independent device of one embodiment of the invention.
Fig. 2 is the flow chart of the sensing method for reading data of one embodiment of the invention.
【Specific implementation mode】
Some vocabulary has been used in specification and subsequent claim to censure specific component.Person with usual knowledge in their respective areas is, it is to be appreciated that hardware manufacturer may call the same component with different nouns.This specification and subsequent claim are used as the criterion of differentiation with the difference of component functionally not in such a way that the difference of title is used as and distinguishes component.In addition, " coupling " word includes any direct and indirect electrical connection herein.Therefore, if it is described herein that a first device is coupled to a second device, then the second device can be directly electrically connected in by representing the first device, or is electrically connected indirectly to the second device through other devices or connection means.
Referring to Fig. 1, the block diagram of the sensing digital independent device for one embodiment of the invention.As shown in the figure, the sensing digital independent device of the present invention is applied to an electronic device 1, it senses digital independent device and supports that one first operating system and one second operating system, sensing digital independent device include a sensing module 10, a hub 20 and a control circuit 30.Sensing module 10 senses data to generate at least one.In this present embodiment, sensing module 10 includes plural sensing unit, those sensing units generate a sensing data respectively, those sensing units include 100, one electronic compass (E-Compass) of a gravity sensor (G-Sensor), 102, one gyroscope (Gyro-Sensor) 104, one optical sensor (Light Sensor) 106 and an accelerometer (Accelerometer)108.Gravity sensor 100, electronic compass 102, gyroscope 104, optical detector 106 and accelerometer 108 are applied to electronic device 1, and sense the operating state of electronic device 1, to generate sensing data.
Hub 20 couples sensing module 10, and to read at least one sensing data in self-inductance measurement module 10.In this present embodiment, sensing module 10 includes gravity sensor 100, electronic compass 102, gyroscope 104, optical sensor 106 and accelerometer 108, but the data that sensing module 10 is included not are used for limiting the present invention.
Control circuit 30 couples sensing module 10 and hub 20, when electronic device 1 uses the first operating system(Such as:windows7)When, control circuit 30 directly reads at least one sensing data of the output of sensing module 10.When electronic device 1 uses the second operating system(Such as:windows8)When, one control signal of the output of control circuit 30 to hub 20 makes hub 20 read at least one sensing data that sensing module 10 exports.In this way, the present invention is without the use of a switching circuit, to reach saving circuit area, and then cost is saved.
Furthermore, when booting, control circuit 30 can first inquire a basic input output system (Bias Input Output System, BIOS) 40 for electronic device 1, then determine that electronic device 1 will enter one of the first operating system and the second operating system.That is, when electronic device 1 is switched on, basic input output system 40 learns that user sets electronic device 1 and is intended to enter the first operating system or the second operating system, so after control circuit 30 inquires basic input output system 40, basic input output system 40 returns control circuit 30 to learn that current electronic device 1 is to use the first operating system or the second operating system, to determine that electronic device will enter the first operating system or the second operating system.
From the above, when electronic device 1 is using the first operating system, 30 forbidden energy of control circuit (disable) hub 20, and control circuit 30 directly reads at least one sensing data via a bus.In this present embodiment, control circuit 30 penetrates a universal input and output (General-Purpose Input/Output, GPIO) forbidden energy hub 20, and make control circuit 30 via inter-integrated circuit (Inter-Integrated Circuit, I2C bus) directly reads the sensing data of sensing module 10.
Conversely, when electronic device 1 is using the second operating system, 30 enable of control circuit (enable) hub 20, and data transmission of self forbidden energy from a bus so that hub 20 reads the sensing data of sensing module 10 through thus bus.In this present embodiment, control circuit 30 penetrates universal input and output enable (enable) hub 20 so that hub 20 is via inter-integrated circuit (I2C bus) reads the sensing data of sensing module 10.
From the above, the present invention uses different operating system by control circuit 30 according to an electronic device 1, and sensing data or the control reading sensing data of hub 20 are directly read, without using a switching circuit to reach saving circuit area, and then save cost.
It is the flow chart of the sensing method for reading data of one embodiment of the invention also referring to Fig. 2.As shown, the sensing method for reading data of the present invention is applied to the sensing digital independent device in electronic device 1, the wherein sensing digital independent device includes a sensing module, a hub and a control circuit.The sensing method for reading data of the present invention is described as follows.
When electronic device 1 is switched on, the step of sensing method for reading data of the present invention, first carries out step S10, sensing digital independent device is provided and senses data to read at least one, wherein sensing digital independent device includes sensing module 10, hub 20 and control circuit 30.Sensing module 10 senses data to generate at least one;Hub 20 senses data to read at least the one of sensing module 10;Control circuit 30 couples sensing module 10 and hub 20.Then, it executes step S11 and inquires basic input output system 40, wherein since basic input output system 40 can support the first operating system and the second operating system, so basic input output system 40 must first judge that electronic device 1 is intended to use the first operating system(Such as:windows7)Or second operating system(Such as windows8).In this way, the read method of sensing digital independent device inquires basic input output system 40 through control circuit 30, and the first operating system or the second operating system will be entered by determining electronic device 1.
Next, executing step S12, basic input output system 40 returns control circuit 30, to determine whether electronic device 1 enters the first operating system.It is intended to enter the first operating system or the second operating system that is, basic input output system 40 after the inquiry of control circuit 30, i.e., can return 30 current electronic device of control circuit.If return control circuit 30 is "Yes", the first operating system of S14 is entered step;If return control circuit 30 is "No", the second operating system of S20 is entered step.
When executing step S14, electronic device 1 just enters the first operating system.Then, step S16 is executed, control circuit 30 directly reads at least one sensing data of sensing module 10 via bus.Wherein, since electronic device has been enter into the first operating system, so 30 forbidden energy hub 20 of control circuit, the sensing data of sensing module 10 are read to avoid hub 20.
When executing step S20, electronic device 1 just enters the second operating system.Then, step S22 is executed, since electronic device 1 has been enter into the second operating system, so the first enable hub 20 of the meeting of control circuit 30, and data transmission of self forbidden energy from bus, the sensing data for reading sensing module 10 are directly gone to avoid control circuit 30.Later, step S24 is executed, one control signal of the output of control circuit 30 to hub 20 makes hub 20 read at least one sensing data of sensing module 10.So, the sensing method for reading data of the present invention uses different operating system by control circuit 30 according to electronic device, and sensing data or the control reading sensing data of hub 20 are directly read, without using a switching circuit to reach saving circuit area, and then save cost.
In conclusion the sensing digital independent device of the present invention includes a sensing module, a hub and a control circuit.The sensing method for reading data of the present invention generates at least one sensing data by a sensing module;One hub couples sensing module, and to read at least one sensing data;And a control circuit coupling sensing module and hub, when electronic device uses the first operating system, control circuit directly reads at least one sensing data;When electronic device uses the second operating system, one control signal of control circuit output to hub makes hub read at least one sensing data.In this way, the present invention is without the use of a switching circuit, to reach saving circuit area, and then cost is saved.
Only as described above, an only preferred embodiment of the invention, not be used for limit the scope of implementation of the present invention, such as according to shape, construction, feature and the spirit described in scope of the present invention patent carried out by equivalent changes and modifications, should all be included in the present invention claim in.

Claims (16)

1. a kind of sensing digital independent device is applied to an electronic device, the sensing digital independent device branch Hold one first operating system and one second operating system, which is characterized in that the sensing digital independent device includes:
One sensing module, to generate at least one sensing data;
One hub couples the sensing module, and to read at least one sensing data;
One control circuit couples the sensing module and the hub, which uses the first operation system When system, which directly reads at least one sensing data;The electronic device uses the second operation system When system, one control signal of control circuit output makes the hub read at least one sensing to the hub Data.
2. sensing digital independent device according to claim 1, which is characterized in that the control circuit is first Inquiry can support first operating system and a basic input output system (BIOS) for second operating system Afterwards, determine that the electronic device will enter one of first operating system and second operating system.
3. sensing digital independent device according to claim 2, which is characterized in that this inputs defeated substantially Go out system (BIOS) return the control circuit with determine the electronic device using first operating system and this second One of operating system.
4. sensing digital independent device according to claim 3, which is characterized in that when the electronic device When using first operating system, control circuit forbidden energy (disable) hub, and the control circuit passes through At least one sensing data are directly read by a bus.
5. sensing digital independent device according to claim 4, which is characterized in that the control circuit is saturating Cross universal input and output (General-Purpose Input/Output, a GPIO) forbidden energy (disable) The hub, and the control circuit is made to directly read at least one sensing data via the bus.
6. sensing digital independent device according to claim 3, which is characterized in that when the electronic device When using second operating system, simultaneously self forbidden energy comes from one to control circuit enable (enable) hub The data transmission of bus so that the hub reads at least one sensing data via the bus.
7. sensing digital independent device according to claim 6, which is characterized in that the control circuit is saturating Cross universal input and output (General-Purpose Input/Output, a GPIO) enable (enable) The hub so that the hub reads at least one sensing data via the bus.
8. sensing digital independent device according to claim 1, which is characterized in that the sensing module packet Containing plural sensing unit, those sensing units generate at least one sensing data respectively.
9. sensing digital independent device according to claim 8, which is characterized in that those sensing units For a gravity sensor (G-Sensor), an electronic compass (E-Compass), a gyroscope (Gyro-Sensor), an optical sensor (Light Sensor) or an accelerometer (Accelerometer).
10. a kind of sensing method for reading data is applied to an electronic device, which is characterized in that when the electricity When sub-device is switched on, the step of sensing method for reading data, includes:
One sensing digital independent device is provided, it includes:
One sensing module, to generate at least one sensing data;
One hub couples the sensing module, and to read at least one sensing data;
One control circuit couples the sensing module and the hub;
Inquire a basic input output system (BIOS), wherein the basic input output system can support this first Operating system and second operating system;
According to the operating system that the basic input output system is supported at present, the control circuit is returned to determine The electronic device will enter one of first operating system and second operating system;
Wherein, if the electronic device uses first operating system, at least one sensing data are directly read; And if the electronic device use second operating system when, output one control signal to the hub, make this Hub reads at least one sensing data.
11. sensing method for reading data according to claim 10, which is characterized in that " the inquiry It is that the basic input and output are inquired by the control circuit in the step of one basic input output system (BIOS) " System (BIOS).
12. sensing method for reading data according to claim 11, which is characterized in that when using this When one operating system, control circuit forbidden energy (disable) hub, and the control circuit is via a bus Read at least one sensing data.
13. sensing method for reading data according to claim 12, which is characterized in that the control circuit Through universal input and output (General-Purpose Input/Output, a GPIO) forbidden energy (disable) The hub, and the control circuit is made to directly read at least one sensing data via the bus.
14. sensing method for reading data according to claim 11, which is characterized in that when using this When two operating system, control circuit enable (enable) hub and number of self forbidden energy from a bus According to transmission so that the hub reads at least one sensing data via the bus.
15. sensing method for reading data according to claim 14, which is characterized in that the control circuit Through universal input and output (General-Purpose Input/Output, a GPIO) enable (enable) The hub so that the hub reads at least one sensing data via the bus.
16. sensing method for reading data according to claim 10, which is characterized in that the sensing module Including plural sensing unit, those sensing units generate at least one sensing data respectively.
CN201410136699.4A 2014-04-08 2014-04-08 Sense digital independent device and its read method Expired - Fee Related CN104978173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410136699.4A CN104978173B (en) 2014-04-08 2014-04-08 Sense digital independent device and its read method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410136699.4A CN104978173B (en) 2014-04-08 2014-04-08 Sense digital independent device and its read method

Publications (3)

Publication Number Publication Date
CN104978173A CN104978173A (en) 2015-10-14
CN104978173A9 true CN104978173A9 (en) 2018-08-10
CN104978173B CN104978173B (en) 2018-11-06

Family

ID=54274712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410136699.4A Expired - Fee Related CN104978173B (en) 2014-04-08 2014-04-08 Sense digital independent device and its read method

Country Status (1)

Country Link
CN (1) CN104978173B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI724538B (en) * 2019-09-11 2021-04-11 亞東技術學院 System and method for writing computer program based on physical object

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7478191B2 (en) * 2006-04-14 2009-01-13 Standard Microsystems Corporation Method for automatically switching USB peripherals between USB hosts
US8312476B2 (en) * 2007-09-05 2012-11-13 Htc Corporation Method for synchronizing information of dual operating systems
TWI352909B (en) * 2007-09-05 2011-11-21 Htc Corp Method and system for supporting network sharing a
TWI463322B (en) * 2009-08-06 2014-12-01 Asustek Comp Inc Computer system with dual host
CN103294545B (en) * 2012-02-23 2017-07-04 纬创资通股份有限公司 Method for switching dual operating systems and electronic device
CN103294562B (en) * 2012-02-23 2017-03-01 纬创资通股份有限公司 Method for sharing peripheral device by dual operating systems and electronic device
CN103488598B (en) * 2012-06-11 2016-12-14 中兴通讯股份有限公司 A kind of multimode terminal and realize USB share method

Also Published As

Publication number Publication date
CN104978173B (en) 2018-11-06
CN104978173A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
US20100023602A1 (en) Method and apparatus for updating information on an embedded system
US7908417B2 (en) Motherboard system, storage device for booting up thereof and connector
US20130007289A1 (en) Remote control system and remote control method of the same
US9201814B2 (en) Electronic devices and methods for sharing peripheral devices in dual operating systems
US7822964B2 (en) Booting apparatus for booting a computer and method therefor and computer with a booting apparatus
TWI628938B (en) Using usb over ip to share a non-usb sensor with another device
CN104598308A (en) Mode switching control method and device
JP2021130448A (en) Method, system, device for parking processing and vehicle controller
CN110471870B (en) Multi-system operation method and device, electronic equipment and storage medium
CN116737244A (en) Method and device for starting multiple hardware domains of chip
CN116339838A (en) Server starting method and device, electronic equipment and storage medium
CN102169390A (en) Information terminal and touch control method thereof
US9465597B2 (en) System for operating a device as a storage device and a modem device
CN103729219A (en) Method and system for framing UEFI BIOS (unified extensible firmware interface basic input/output system)
KR102261009B1 (en) Multi core system and method thereof
CN101211268A (en) System for loading starting procedure for mainboard startup through different interface and the method
CN104978173B (en) Sense digital independent device and its read method
US7890678B2 (en) Portable computer having auxiliary IO apparatus and system setup method thereof
US9367332B2 (en) Sensing data reading device and method
KR20150041413A (en) Mobile device and driving method thereof
US20120303992A1 (en) Display and power management method thereof
CN113420283A (en) Starting-up method and device of mobile terminal, storage medium and mobile terminal
CN108008854B (en) Method, device and terminal equipment for avoiding antenna carrier interference
US10666789B2 (en) Control method and device for sensors of mobile terminal, storage medium and mobile terminal
US20130080659A1 (en) Device and method for controlling usb terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CI02 Correction of invention patent application
CI02 Correction of invention patent application

Correction item: Description

Correct: Zheng Que

False: Cuo Wu

Number: 41

Page: Quan Wen

Volume: 31

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181106

Termination date: 20200408