Inter-task communications method, program, recording medium, and electronic device
AssigneeDenso Corporation
InventorTadaharu Nishimura
Life of this patent
Estimating the term…
Abstract
Within a processing of a sender task, a transmission request occurs that a data item be sent to a processing of a recipient task. The data item is then once stored in a queue from which the recipient task can retrieve the data item when the recipient task is thereafter activated. When the data item is stored, it is determined whether the queue already stores another data item. When no another data item is being stored, an activation request for activating the recipient task is outputted to the operating system. When another data item is being stored, no activation request is outputted. Within the processing of the recipient task, all the data items are retrieved from the queue. This decreases the activation/termination of the recipient task, reducing the processing load.
Claims7
An inter-task communications method achieved by execution of a computer, the inter-task communications method where a transmission request occurs, wherein the transmission request is that a data item be sent from a processing of a first task to a processing of a second task,
- the inter-task communications method comprising steps of:
- executing, when the transmission request occurs, within the processing of the first task, a data queuing so that the data item is stored in a queue from which the second task can retrieve the data item;
- outputting an activation request to an operating system for requesting activation of the second task;
- and
- executing, when the second task is activated by a processing of the operating system based on the activation request, a data retrieving within the processing of the second task so that the data item stored in the queue is retrieved from the queue,
- wherein, when a transmission request that a given data item be sent occurs, it is determined whether the queue stores a certain data item that is being already stored before the given data item is to be stored,
- wherein, when the certain data item is being already stored before the given data item is to be stored, no activation request is then outputted,
- wherein, when no certain data item is being already stored before the given data item is to be stored, an activation request is then outputted, and
- wherein, within the data retrieving within the processing of the second task, all data items that can be retrieved from the queue is retrieved from the queue.
An inter-task communications method achieved by execution of a computer, the inter-task communications method where a transmission request occurs, wherein the transmission request is that a data item be sent from a processing of a first task to a processing of a second task,
- the inter-task communications method comprising steps of:
- executing, when the transmission request occurs, within the processing of the first task, a data queuing so that the data item is stored in a queue from which the second task can retrieve the data item;
- outputting an activation request to an operating system for requesting activation of the second task;
- and
- executing, when the second task is activated by a processing of the operating system based on the activation request, a data retrieving within the processing of the second task so that the data item stored in the queue is retrieved from the queue,
- wherein, when a transmission request occurs, it is determined whether a given activation request for requesting for activating the second task is present in the operating system,
- wherein, when the given activation request is present in the operating system, no given activation request for requesting for activating the second task is then outputted,
- wherein, when no given activation request is present in the operating system, the given activation request for requesting for activating the second task is then outputted, and
- wherein, within the data retrieving within the processing of the second task, all data items that can be retrieved from the queue is retrieved from the queue.
A computer program product on a computer readable medium for use in an inter-task communications where a transmission request occurs, wherein the transmission request is that a data item be sent from a processing of a first task to a processing of a second task,
- the computer program product comprising instructions of:
- executing, when the transmission request occurs, within the processing of the first task, a data queuing so that the data item is stored in a queue from which the second task can retrieve the data item;
- outputting an activation request to an operating system for requesting activation of the second task;
- and
- executing, when the second task is activated by a processing of the operating system based on the activation request, a data retrieving within the processing of the second task so that the data item stored in the queue is retrieved from the queue,
- wherein, when a transmission request that a given data item be sent occurs, it is determined whether the queue stores a certain data item that is being already stored before the given data item is to be stored,
- wherein, when the certain data item is being already stored before the given data item is to be stored, no activation request is then outputted,
- wherein, when no certain data item is being already stored before the given data item is to be stored, an activation request is then outputted, and
- wherein, within the data retrieving within the processing of the second task, all data items that can be retrieved from the queue is retrieved from the queue.
A computer program product on a computer readable medium for use in an inter-task communications where a transmission request occurs, wherein the transmission request is that a data item be sent from a processing of a first task to a processing of a second task,
- the computer program product comprising instructions of:
- executing, when the transmission request occurs, within the processing of the first task, a data queuing so that the data item is stored in a queue from which the second task can retrieve the data item;
- outputting an activation request to an operating system for requesting activation of the second task;
- and
- executing, when the second task is activated by a processing of the operating system based on the activation request, a data retrieving within the processing of the second task so that the data item stored un the queue is retrieved from the queue,
- wherein, when a transmission request occurs, it is determined whether a given activation request for requesting for activating the second task is present in the operating system,
- wherein, when the given activation request is present in the operating system, no given activation request for requesting for activating the second task is then outputted,
- wherein, when no given activation request is present in the operating system, the given activation request for requesting for activating the second task is then outputted, and
- wherein, within the data retrieving within the processing of the second task, all data items that can be retrieved from the queue is retrieved from the queue.
An electronic device achieving an inter-task communications where a transmission request occurs, wherein the transmission request is that a data item be sent from a processing of a first task to a processing of a second task, the electronic device comprising:
- a computer;
- and
- a program executed by the computer,
- wherein the program includes steps of:
- executing, when the transmission request occurs, within the processing of the first task, a data queuing so that the data item is stored in a queue from which the second task can retrieve the data item;
- outputting an activation request to an operating system for requesting activation of the second task;
- and
- executing, when the second task is activated by a processing of the operating system based on the activation request, a data retrieving within the processing of the second task so that the data item stored in the queue is retrieved from the queue,
- wherein, when a transmission request occurs, it is determined whether a given activation request for requesting for activating the second task is present in the operating system,
- wherein, when the given activation request is present in the operating system, no given activation request for requesting for activating the second task is then outputted,
- wherein, when no given activation request is present in the operating system, the given activation request for requesting for activating the second task is then outputted, and
- wherein, within the data retrieving within the processing of the second task, all data items that can be retrieved from the queue is retrieved from the queue.
An electronic device achieving an inter-task communications where a transmission request occurs, wherein the transmission request is that a data item be sent from a processing of a first task to a processing of a second task, the electronic device comprising:
- a computer;
- and
- a program executed by the computer,
- wherein the program includes steps of:
- executing, when the transmission request occurs, within the processing of the first task, a data queuing so that the data item is stored in a queue from which the second task can retrieve the data item;
- outputting an activation request to an operating system for requesting activation of the second task;
- and
- executing, when the second task is activated by a processing of the operating system based on the activation request, a data retrieving within the processing of the second task so that the data item stored in the queue is retrieved from the queue,
- wherein, when a transmission request that a given data item be sent occurs, it is determined whether the queue stores a certain data item that is being already stored before the given data item is to be stored,
- wherein, when the certain data item is being already stored before the given data item is to be stored, no activation request is then outputted,
- wherein, when no certain data item is being already stored before the given data item is to be stored, an activation request is then outputted, and
- wherein, within the data retrieving within the processing of the second task, all data items that can be retrieved from the queue is retrieved from the queue.
Dependencies are inferred from the claim text.