This application claims the benefit of Taiwan Patent Application No. 102102155, filed on Jan. 18, 2013, which is hereby incorporated by reference for all purposes as if fully set forth herein.
1. Field of Invention
The present invention relates to having multiple human operating interfaces, and more particularly to an electronic device having multiple human-machine interfaces and a method for running multiple human-machine interfaces.
2. Related Art
In the prior art, executing program codes and performing data computing and signal input/output (I/O) processing are essential functions of an electronic device having a computing capability, such as a personal computer (PC), a server, and other similar devices. However, during program computing, a processor of the electronic device, such as a central processing unit (CPU) and a microprocessor, is waiting for the instruction of a user in most of the time. In order to improve the efficacy of the electronic device, research persons develop a technology of manipulating a computer by multiple persons, that is, the single electronic device can provide multiple operation platforms for different users at the same time. However, when the electronic device is enabled, all the hardware is in a powered-on running state.
The present invention is directed to an electronic device having multiple human-machine interfaces and an interface running method, which enables corresponding human-machine interfaces through electric power control.
The electronic device disclosed by the present invention comprises a host, and the host comprises a processor. A plurality of human-machine interfaces is disposed in the host, and each of the human-machine interfaces comprises a power setting module. The processor finds out a target interface from all the human-machine interfaces according to the enabled power setting module, and performs message input and output operations to the target interface.
The method for running multiple human-machine interfaces disclosed by the present invention is applicable in an electronic device having a plurality of human-machine interfaces, each human-machine interface comprising a power setting module and being connected to a plurality of control devices. The method comprises: determining, by a processor of the electronic device, a target interface in which the enabled power setting module is included; and performing, by the processor, message input and output operations to the target interface.
The present invention is characterized in that: (1) through electric power control, the host only runs the human-machine interface set to be enabled by electric power. Other than common hardware, the hardware deployed by other human-machine interfaces is in a disabled or power-off state, so that electric power consumption of the electronic device can be reduced; (2) a user may enable or disable the human-machine interfaces through the power setting module, thereby improving convenience of use; (3) by using the multiple human-machine interfaces, the electronic device can be used by multiple users at the same time, so that the utilization efficiency of the hardware of the electronic device is improved, and the configuration cost of the electronic device is reduced; and (4) the technology disclosed by the present invention is adaptable for various electronic devices having the computing capability, and has a high adaptability.
The present invention will become more fully understood from the detailed description given herein below for illustration only, and thus are not limitative of the present invention, and wherein:
Hereinafter, preferred embodiments of the present invention are illustrated in detail with reference to the accompanying drawings.
First, referring to
The electronic device includes a host 100a, and the host 100a has a processor 101 and a power module 102. A plurality of human-machine interfaces is disposed on the host 100a, and each of the human-machine interfaces is disposed on the host 100a and has a plurality of input/output (I/O) interfaces and a power setting module. Two or more human-machine interfaces can be configured by the host 100a, and each of the human-machine interfaces may include I/O interfaces of the same type or different types, depending on the requirements of the designer.
In this embodiment, two human-machine interfaces (110a, 120a) are taken as examples, where each human-machine interface includes I/O interfaces of the same type. Each human-machine interface has a display I/O interface (such as DisplayPort, D-sub, DVI, and HDMI), a USB I/O interface, an audio I/O interface, and a network communication interface. That is, the human-machine interface 110a has a power setting module 111, a display I/O interface 112, a USB I/O interface 113, an audio I/O interface 114; and a network communication I/O interface 115; and the human-machine interface 120a has a power setting module 121, a display I/O interface 122, a USB I/O interface 123, an audio I/O interface 124, and a network communication I/O interface 125.
Various types of I/O interface are used to connect a control device corresponding to the interface. For example, the display I/O interfaces (112,122) are connected to a monitor; the network communication I/O interfaces (115,125) are connected to a modem, a server, or other network devices with network communication capability via a network cable; the audio I/O interfaces (114,124) are connected to a sound collector (a microphone) and/or a speaker; and the USB I/O interfaces (113,123) are connected to an external electronic device. Furthermore, it is set that a keyboard I/O interface is connected to a keyboard; a mouse I/O interface is connected to a mouse; and a series port I/O interface is connected to an external electronic device via a series connection cable.
The power setting modules (111,121) are connected to the power module 102 (such as a power supply or a battery module), and each of the power setting modules (111,121) is, but not limited to, an element having state setting, switching, or triggering capability such as a switch (press-type, switch-type), or a sensing element (sound-sensing, light-sensing, pressure-sensing), and an element, module, circuit, or device with similar functions is also applicable. When the power module 102 is static, the power module 102 may start running under the control of any one of the power setting modules (111,121), thereby supplying power to each element of the electronic device. The state of the power setting module operated by the user may be set as “enabled.”
The processor 101 analyzes which one of the power setting modules (111,121) is set to be enabled, and considers the human-machine interface in which the enabled power setting module is included as a target interface, so as to perform message input and output operations to the target interface or further to the control device connected thereto.
The processor 101 may firstly enable the above target interface. For example, the power setting module 111 is set to be enabled, and the human-machine interface 110a is the target interface. The processor 101 may firstly enable functions of various components such as hardware, software, circuits, and modules of the human-machine interface 110a. That is to say, the hardware of the human-machine interface 110a is originally in a state with low power consumption such as a sleeping state, a state of powering on partial elements, or a stand-by state. The processor 101, when determining that the human-machine interface 110a should be enabled, may wake up the human-machine interface 110a. Essential elements or all elements of the human-machine interface 110a are thus powered to run, or are further powered to achieve high running efficacy.
Alternatively, by means of circuit design or module design, each human-machine interface (110a,120a), in an initial state, does not acquire the electric power provided by the power module 102. When the processor 101 enables the human-machine interface, for example, the human-machine interface 120a (that is, the power setting module 121 is set to be enabled), the processor 101 makes the power module 102 supply power to the human-machine interface 120a. After the human-machine interface 120a acquires power, the functions of various components such as the hardware, software, circuits, and modules included therein can be put into use.
However, the processor 101, when being a single-core processor, adapts to the human-machine interfaces (110a, 120a) via a multiplexing method. Moreover, the processor 101, when being a multi-core processor, may configure one or more core modules correspondingly for each human-machine interface, so that each of the human-machine interfaces (110a, 120a) may run cooperatively with a dedicated core module.
Afterwards, when the user re-operates the power setting module 121, the state thereof is set as “disabled,” so that the processor 101 disables the human-machine interface 120a. The disabling operation is opposite to the above enabling operation, that is, disabling the functions of various components such as hardware, software, circuits, and modules of the human-machine interface 120a or making the power module 102 stop the power supply operation to the human-machine interface 120a.
Further, when the processor 101 determines that all the human-machine interfaces (110a,120a) are in the disabled state, or the power module 102 has stopped supplying power to all the human-machine interfaces (110a, 120a), the processor 101 may perform shutdown operation of the host 100a. The power module 102 may stop the power supply operation to stop supplying power to each element of the host, so that the host 100a enters the shutdown state.
Next, referring to
The difference as compared with the preceding embodiment lies in that, the host 100b further includes a common module 130. The common module 130 may be an image processor (such as an image processing chip or circuit) for connecting to a display I/O interface (112, 122) of each of the human-machine interfaces (110b, 120b), a Universal Serial Bus (USB) processor (USB processing chip or circuit) for connecting to a USB I/O interface (113, 123) of each human-machine interface, an audio processor (such as an audio processing chip or circuit) for connecting an audio I/O interface (114, 124) of each of the human-machine interfaces (110b, 120b), or an independent operating interface, such as a network communication I/O interface 105 as shown in
When the processor 101 determines that more than two target interfaces are enabled, and the target interfaces are operated by the user to cooperate the common module 130 to perform signal input and output operations, the processor 101 makes the common module 130 to cooperate with these target interfaces in a multiplexing manner to perform the message input and output operations. The multiplexing manner is, for example, Time-Division Multiplexing (TDM), Parallel Computing, or Distributed Computing.
For instance, the host as shown in
For another instance, the host as shown in
Then, referring to
For instance, the human-machine interface 110b is the target interface, and the virtual platform 210 is constructed to correspond to the human-machine interface 110b. If the human-machine interface 120b is the abovementioned target interface, the virtual platform 220 is constructed to correspond to the human-machine interface 120b. If the human-machine interface 110b and the human-machine interface 120b both are the abovementioned target interfaces, the virtual platform 210 and the virtual platform 220 are both constructed to individually correspond to the human-machine interfaces (110b and 120b).
Similarly to
Further, a user or an administrator of a system/device with the highest authority may set an interface type and quantity of the human-machine interfaces that can be used by each virtual platform through an operating system or firmware of the device (or an embedded system). For example, the virtual platform 210 has the right of using the display I/O interface 112, the USB I/O interface 113, and the network communication I/O interface 105 extendedly connected to the common module 130. The virtual platform 220 has the right of using the display I/O interface 122 and the audio I/O interface 124. Things like this are determined according to the user's requirements and the administrator's decision on authority allocation, which are not repeated herein.
Then, referring to
For instance, when the virtual platform 210 is constructed, it is set that the network communication I/O interface 105 can be used, but when the virtual platform 220 is constructed, it is set that the network communication I/O interface 105 cannot be used.
For another instance, when the virtual platform 210 is constructed, it is set that the USB I/O interface (103a) can be used, and when the virtual platform 220 is constructed, it is set that the USB I/O interfaces (103b, 103c, 103d) can be used.
In such way, each user may use different functions on the electronic device, so as to achieve personalized setting or further control on authority.
Then, referring to
The processor 101 may execute a target operating system, and cooperate with the target operating system to perform message input and output operations to a target interface. The target operating system may be selected by the user according to the enabled human-machine interface. For example, the operating system 200a is executed to correspond to the human-machine interface 110b, and the operating system 200b is executed to correspond to the human-machine interface 120b. Alternatively, the operating system that can be executed by each of the human-machine interfaces (110b, 120b) can be preset, and according to the enabled human-machine interface, the processor 101 executes the operating system corresponding to the human-machine interface.
The difference from the setting of the virtual platform lies in that, when the operating systems (200a, 200b) are executed, the processor 101 sets and uses the available I/O interface of the operating systems (200a, 200b) through the operating systems (200a, 200b) or the firmware (or the embedded system) built in the host.
Likewise, referring to
The intermediate driver module 140 may be software, hardware, or a combination of software and hardware, such as a chip, an integrated circuit (IC), an electronic unit; a device, and a circuit, to cooperate executing software, as firmware.
When the processor 101 determines that at least two operating systems perform signal input and output to the common module 130, for example, when the operating system 200a and the operating system 200b are both executed, the processor 101 makes the operating system 200a and the operating system 200b control the common module 130 through the intermediate driver module 140 in a multiplexing manner.
The intermediate driver module 140 may convert the data transmitted between the intermediate driver module 140 and each of the operating systems (200a, 200b) with the data transmitted between the intermediate driver module 140 and the common module 130.
For example, when the processor 101 controls the common module 130 via the operating system 200a, a control message for the common module 130 may be sent. The control message is converted by the intermediate driver module 140 into a control parameter of the intermediate driver module 140 for the common module 130, and the intermediate driver module 140 controls the running of the common module 130. A response message returned by the common module 130 is converted, by the intermediate driver module 140 into a message format for the message interaction between the operating system 200a and the common module 130, and the response message converted by the intermediate driving module 140 is acquired through the operating system 200a.
Similarly, when controlling the control module 130 through the operating system 200b, the processor 101 may send a control message for the common module 130. The control message is converted by the intermediate driver module 140 into a control parameter of the intermediate driver module 140 for the common module 130, and the intermediate driver module 140 controls the running of the common module 130. A response message returned by the common module 130 is converted by the intermediate driver module 140 into a message format for the message interaction between the operating system 200b and the common module 130, and the response message converted by the intermediate driving module 140 is acquired through the operating system 200b.
The processor 101 determines a target interface in which the enabled power setting module (111, 121) is included (Step S110). This step has different implementation manners according to different architecture of the device as mentioned above.
As shown in
Referring to
Then, the processor 101 performs message input and output operations to the target interface (Step S120). This step has different implementation manners according to different architecture of the device as mentioned above.
Referring to
As shown in
As shown in
When the processor determines that more than two virtual platforms perform signal input and output to the common module, such as the human-machine interfaces (110b, 120b), the processor 101 may make the common module 130 cooperate with the virtual platforms (210, 220) to perform message input and output operations to the target interface corresponding to each of the virtual platforms (210, 220) in a multiplexing manner.
As shown in
Then, the processor 101 cooperates with the target operating system to perform message input and output operations to the target interface. When the processor 101 determines that more than two operating systems, such as the operating systems (200a, 200b), perform signal input and output to the common module 130, the processor, in a multiplexing manner, makes the operating systems (200a, 200b) to respectively control the common module 130 through the intermediate driver module 140.
The processor 101 determines whether the power setting modules (111, 121) of the target interface are set to be disabled (Step S210), if not, the procedure returns to Step S210 to continuously make determination, and if yes, the processor 101 performs disabling operation to the target interface (Step S220). As stated above, the processor 101 performs function disabling operation to the target interface. Alternatively, the processor 101 makes the power module 102 to stop performing the power supply operation to the target interface.
Then, the processor 101 determines whether all the power setting modules (111, 121) are set to be disabled (Step S230), if yes, the processor 101 performs shutdown operation (Step S240), that is, makes the power module 102 stop the power supply to each element of the host, and if not, the procedure returns to Step S210.
The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
102102155 | Jan 2013 | TW | national |