1. Field of Invention
The present invention relates to the computer field, in particular to a data output method and apparatus.
2. Description of Prior Art
A certain period of time is needed for a computer to start up (being switched from a non-operating state into an operating state), and there is a period of at least 15-25 seconds before the computer completely logins and is operable by the user (the waiting period is mostly even longer due to computer performance and other factors). During this waiting period, the user can not carry out any operation on the computer, even very simple operations for local data, such as checking e-mails, address book and the like.
Obviously that start-up time of the current computer is too long and users can not carry out any operation for local data during this period, resulting in a reduced user satisfaction.
In view of this, an object of the present invention is to provide a data output method and apparatus, so as to ensure that an operation for local data may be carried out no matter whether the computer is started up or not, while improving the user satisfaction.
In order to achieve this, a technical solution of the present invention is implemented by a data output method and a data output apparatus.
The data output method is applicable in a data processing device comprising an output unit, a computer system and an embedded system, comprises the steps of:
generating a control command for enabling an establishment of a channel for outputting data, when it is determined that the computer system stays in a non-operating state;
establishing a data transmission channel between the embedded system and the output unit based on the control command;
determining data to be outputted; and
transferring the data to be outputted from the embedded system to the output unit through the data transmission channel.
The step of establishing the data transmission channel between the embedded system and the output unit based on the control command comprises:
sending an operation right switching command to the embedded system;
at the embedded system, determining that an operation right for local data of the computer system is to be hold by itself after receiving the operation right switching command; and
switching a channel, through which a User Interface Unit is originally connected to the computer system, to be connected to the embedded system.
Alternatively, the step of establishing the data transmission channel between the embedded system and the output unit based on the control command comprises:
sending an operation right switching command to the embedded system;
at the embedded system, determining that an operation right for local data of the computer system is to be hold by itself after receiving the operation right switching command;
receiving operation information sent from a User Interface Unit, which is provided in the embedded system; and
disconnecting a User Interface unit in the computer system.
Before establishing a data transmission channel between the computer system and the output unit based on the control command, the method further comprises a step of synchronizing an operation result for local data in the computer system into the embedded system.
Furthermore, the method further comprises a step of establishing a data transmission channel between the computer system and the output unit based on the control command, and this step particularly comprises:
at the computer system, sending an operation right switching command to the embedded system;
at the embedded system, determining that an operation right for local data of the computer system is no longer to be hold by itself after receiving the operation right switching command; and
switching a channel, through which a User Interface unit is originally connected to the embedded system, to be connected to the computer system.
The method further comprises a step of synchronizing an operation result for local data in the embedded system into the computer system when the computer system is switched from the non-operating state into the operating state.
The data output apparatus comprises a computer system, an embedded system that carries out an operation for local data in stead of the computer system, and an Interface Switch; wherein,
the computer system is adapted to generate a control command for enabling an establishment of a channel for outputting data when the computer system determines that it stays in the non-operating state;
the Interface Switch is adapted to establish a data transmission channel between the embedded system and an output unit connected therewith based on the control command;
the embedded system is adapted to transfer data to be outputted to the output unit through the established data transmission channel.
The computer system comprises an embedded controller EC and a User Interface unit, both of which are connected to the Interface Switch. The embedded system comprises an application processor AP. When the computer is switched from an operating state into the non-operating state,
the EC is adapted to send the control command to the embedded system and to send a switch command to the Interface Switch;
the AP is adapted to determine that an operation right for local data of the computer system is to be hold by itself after receiving the control command; and
the Interface Switch is adapted to switch a channel, through which the User Interface is originally connected to the EC, to be connected to the AP.
Alternatively, the computer system comprises an EC and a first User Interface Unit, both of which are connected to the Interface Switch. The embedded system comprises an AP and a second User Interface Unit, which are connected with each other; wherein when the computer system is switched from the operating state into the non-operating state,
the EC is adapted to send the control command to the embedded system and to send a switch command to the Interface Switch;
the AP is adapted to determine that an operation right for local data of the computer system is to be hold by itself after receiving the control command, and to receive operation information from the second User Interface Unit; and
the Interface Switch is adapted to disconnect the first User Interface from the EC when receiving the switch command.
Alternatively, the computer system comprises an EC and a User Interface Unit, both of which are connected to the Interface Switch. The embedded system comprises an AP. When the computer system is switched from the non-operating state into the operating state,
the EC is adapted to send the control command to the embedded system, and to send a switch command to the Interface Switch;
the AP is adapted to determine that an operation right for local data of the computer system is no longer to be hold by itself after receiving the control command; and
the Interface Switch is adapted to switch a channel, through which the User Interface is originally connected to the AP, to be connected to the EC.
The output unit is a display unit.
In this way, the data output method and apparatus according to the present invention are applicable in a data processing device comprising an output unit, a computer system and an embedded system. The apparatus generates a control command for enabling an establishment of a channel for outputting data when it is determined that the computer system stays in the non-operating state, establishes a data transmission channel between the embedded system and the output unit based on the control command, determines data to be outputted, and transfers the data to be outputted from the embedded system to the output unit through the data transmission channel. In this way, the method and apparatus according to the present invention can ensure that a user need not wait for a long time for the computer to start-up even, and can carry out an operation on local data for the computer in time, which can improve the user satisfaction.
The present invention will be described in detail below, in combination with the drawings.
A data output method according to the present invention is applied in a data processing device comprising an output unit, a computer system and an embedded system. The method comprises generating a control command for enabling an establishment of a channel for outputting data when it is determined that the computer system stays in a non-operating state; establishing a data transmission channel between the embedded system and the output unit based on the control command; determining data to be outputted; and transferring the data to be outputted from the embedded system to the output unit through the data transmission channel.
A data output apparatus according to the present invention comprises a computer system, an embedded system that carries out an operation for local data instead of the computer system, and an Interface Switch. The computer system is adapted to generate a control command for enabling an establishment of a channel for outputting data when the computer system determines that it stays in a non-operating state. The Interface Switch is adapted to establish a data transmission channel between the embedded system and an output unit connected therewith based on the control command. The embedded system is adapted to transfer data to be outputted to the output unit through the established data transmission channel.
Referring to
The External Scaler is connected to the LVDS switch, which is further connected to a GPU, a LCD Display Unit and an EC of the computer system, respectively. The EC is also connected to the Always On System. Moreover, a South Bridge (SB) chip connected to the EC is further connected to the Always On System.
Moreover, an Interface Switch is newly provided in such a way that the Interface Switch is connected to the EC and the AP, respectively. Moreover, a User Interface Unit may be also provided in the computer and/or the Always On System.
It should be noted that a power supply module (not shown in
In a specific application, the EC notifies the AP of performing data synchronization via a GPIO interface when the computer is to be switched into the non-operating state. The AP acquires an operation result for local data from the DDR and other memories in the computer, and sends the required operation result to the Flash Memory and the like in the Always On System for storage.
Obviously, a SB chip may be used to notify the AP of performing data synchronization via a USB connection. After receiving a data synchronization notification from the SB, the AP acquires an operation result for local data from the DDR and the like in the computer, and sends the acquired operation result to the Flash Memory and the like in the Always On System for storage.
When the computer stays in the non-operating state, the power supply module is still supplying power to the EC, which then switches an operation right for local data of the computer to the AP of the Always On System. There are a variety of switching methods.
In a first switching method, the EC sends an operation right switching command to the Always On System via a 2-wire serial bus (I2C), the AP of the Always On System determines that an operation right for local data of the computer is to be hold by itself after receiving the operation right switching command; and the EC sends a switch command to the Interface Switch via a GIPO interface, then the Interface Switch switches a channel, through which a User Interface Unit of the NB system is originally connected to the EC, to be connected to the AP when receiving the switch command, so that a destination for the operation information sent from the User Interface Unit is switched to the AP from the EC; and
In a second switching method, the EC sends an operation right switching command to the Always On System via a I2C and the like, the AP of the Always On System determines that an operation right for local data of the computer is to be hold by itself after receiving the operation right switching command, thereby receives operation information from a User Interface Unit provided in the Always On System; and the EC sends a switch command to the Interface Switch via a GIPO interface, then the Interface Switch disconnects a channel that is originally connected to the EC after receiving the switch command, so that the operation information sent from the User Interface Unit can not arrive at the EC.
The AP receives the operation information for the computer when the operation right for local data of the computer is switched to the AP of the Always On System, and performs an operation on local data according to the received operation information. Obviously, the AP may also send a result of the operation to the Flash Memory and the like for storage.
In order to facilitate operations for local data, the local display right of the computer may also be switched to the Always On System. There are a variety methods for switching the local display right. For example, the EC sends a switch command to the LVDS Switch via a GPIO interface, then the LVDS Switch switches a channel that is originally connected to the GPU to the External Scaler after receiving the switch command, so that video information sent from the GPU can not arrive at the LCD Display Unit, while video information generated by the AP, such as an operation result for local data, can successfully arrive at the LCD Display Unit.
The AP sends the video information to the LCD Display Unit via the External Scaler and LVDS Switch after the local display right of the computer being switched to the Always On System, thereby the LCD Display Unit can process and display video information from the AP.
When the computer stays in the non-operating state, it can be switched into the operating state due to the start-up and other factors. The AP notifies the EC of performing data synchronization via the GPIO interface during a process in which the computer is switched from the non-operating state into the operating state. After receiving a data synchronization notification from the AP, the EC acquires an operation result for local data from the Flash Memory and the like in the Always On System, and sends the acquired operation result to the DDR and the like in the computer.
Obviously, the AP may also notify the SB chip of performing data synchronization via a USB connection. After receiving a data synchronization notification from the AP, the SB acquires an operation result for local data from the Flash Memory and the like in the computer, and sends the acquired operation result to the DDR and the like in the computer.
When the computer finally stays in the operating state, the operation right for the local data of the computer is switched to the EC. There are a variety of methods for switching. As an example, the EC sends an operation right switching command to the Always On System via a I2C and the like, the AP of the Always On System determines that an operation right for local data of the computer is no longer to be hold by itself after receiving the operation right switching command; moreover, the EC sends a switch command to the Interface Switch via the GIPO interface, then the Interface Switch switches a channel, through which a User Interface Unit of the NB system is originally connected to the AP, to be connected to the EC when receiving the switch command, such that a destination for the operation information sent from the User Interface Unit is switched to the EC from the AP.
Obviously, if the AP is further connected to other User Interface Units, it may further determine that it no longer receives operation information sent from these User Interface Units.
The EC receives the operation information for the computer after the operation right for local data of the computer being switched to the EC, and performs an operation for local data according to the received operation information.
In order to facilitate operations for local data, the local display right of the computer may be also switched to the LVDS Switch. There are a variety methods for switching the local display right. For example, the EC sends a switch command to the LVDS Switch via the GPIO interface, then the LVDS Switch switches a channel that is originally connected to the External Scaler to be connected to the GPU after receiving the switch command, such that video information sent from the External Scaler can not arrive at the LCD Display Unit, while video information sent by the GPU, such as an operation result for local data, can successfully arrive at the LCD Display Unit.
The EC sends the video information to the LCD Display Unit via the GPU after the local display right of the computer being switched to the EC, thereby the LCD Display Unit can process and display video information from the EC.
In a practice application, an apparatus, which can trigger the operation right switching for local data and the local display right switching, may not necessarily be the computer, it may also be other apparatus such as an AP that can detect state changes of the computer.
It can be seen from the above description of
If the description for
step 201 of providing an auxiliary executive system that can perform an operation for local data instead of the computer;
step 202 of synchronizing an operation result for local data in the computer into the auxiliary executive system when the computer is to be switched to the non-operating state;
step 203 of switching the operation right for local data to the auxiliary executive system when the computer stays in the non-operating state, the operation for local data being performed by an AP in the auxiliary executive system;
step 204 of switching the local display right of the computer to the auxiliary executive system, display and output of the operation result for local data being controlled by the auxiliary executive system;
step 205 of synchronizing the result operation for local data in the auxiliary executive system into the computer and switching the operation right for local data to the computer when the computer stays in the operating state; and
step 206 of switching the local display right to the computer, display and output of the result operation for local data being controlled by the computer.
It can be seen from
step 301 of providing an auxiliary executive system that can perform an operation for local data instead of the computer; and
step 302 of switching the operation right for local data to the auxiliary executive system/the computer, by which an operation for local data will be carried out, when the computer is switched from the non-operating state/the operating state to the operating state/the non-operating state.
As described above, it can be seen that critical steps of embodiments of the present invention are as shown in
step 401 of generating a control command for enabling an establishment of a channel for outputting data when it is determined that the computer system stays in the non-operating state;
step 402 of establishing a data transmission channel between the embedded system and the output unit based on the control command; and
step 403 of determining data to be outputted and transferring the data to be outputted from the embedded system to the output unit through the data transmission channel.
In this way, the data output method and apparatus according to the present invention, which are applicable in a data processing device comprising an output unit, a computer system and an embedded system, generate a control command for enabling an establishment of a data transmission channel when it is determined that the computer system stays in the non-operating state, establish a data transmission channel between the embedded system and the output unit based on the control command, determine data to be outputted, and transfer the data to be outputted from the embedded system to the output unit through the data transmission channel. The method and apparatus according to the present invention can ensure that a user need not wait a long time for the computer's start-up, and can carry out an operation for local data for the computer in time, which improves the user satisfaction significantly.
Number | Date | Country | Kind |
---|---|---|---|
200710308500.1 | Dec 2007 | CN | national |