EP0899652A2

Communication device, communication method and medium on which computer program for carrying out the method is recorded

Abstract

Transmit data generated in processes in which a utilization portion 20 performs arbitrary application processing are transmitted to an exterior in accordance with a previously determined protocol in a control portion 10. A RAM 30 comprises a transmission buffer 34 and a management table 35 for managing a state where each of the transmit data, whose request for transmission has been accepted by the control portion 10, is transmitted and the location, on the transmission buffer, of the transmit data. The utilization portion 20 outputs, when the transmit data is generated, a request to acquire a data write area to the control portion 10. Correspondingly, the control portion 10 refers to the management table 35, to specify a data write area where writing is newly allowed in the transmission buffer 34 and present the specified data write area to the utilization portion 20. The utilization portion 20 writes the transmit data into the presented data write area. The RAM 30 comprises an area 51 managed by the control portion 10 and an area 9i managed by a utilization portion 2i (i = any one of 1 to N). The control portion management area 51 comprises a first receiving buffer 81, a second receiving buffer 6i and a busy flag 7i. Each of the utilization portion management area 9i comprises a data transcription area 9ia. The control portion 10 writes the received data into the first receiving buffer 81. In then transcribing the data written into the first receiving buffer 81, the control portion 11 confirms a state where the utilization portion 2i which is the destination of the data is used using the busy flag 7i. The utilization portion 2i is notified to transcribe the data onto the second receiving buffer 2i when the busy flag 7i is OFF, while transcribing the data onto the data transcription area 9ia when it is ON.

EP0899652A2, drawing sheet 1
Sheet 1 of 28

Term

Term ended

Projected expiry passed 28 July 2018, 8.2 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

21 claims: 12 independent, 9 dependent

  1. 1
    A communication device comprising a utilization portion for performing arbitrary application processing, a control portion for transmitting transmit data generated in the utilization portion to an exterior in accordance with a previously determined protocol, and a memory which is shared between the utilization portion and the control portion, wherein said memory comprises:a transmission buffer having a plurality of data write areas for temporarily storing the transmit data generated in said utilization portion;and a management table for managing a state where each of the transmit data, whose request for transmission from said utilization portion has been accepted by said control portion, is transmitted and the location, on said transmission buffer, of the transmit data, said utilization portion outputs, when the transmit data is generated, a request to acquire the data write area in said transmission buffer to said control portion, said control portion refers, when said request for acquisition is issued, to said transmission buffer, to specify the data write area where writing is newly allowed in said transmission buffer and present the data write area to said utilization portion, said utilization portion writes the transmit data into the data write area, which has been presented from said control portion, in said transmission buffer, and said control portion registers, in a case of accepting the request to transmit the transmit data from said utilization portion, the location, on said transmission buffer, of the transmit data in said management table.
  2. 2
    A communication device comprising a utilization portion for performing arbitrary application processing, a control portion for transmitting transmit data generated in the utilization portion to an exterior in accordance with a previously determined protocol, and a memory which is shared between the utilization portion and the control portion, wherein said memory comprises a transmission buffer, having a plurality of data write areas for temporarily storing the transmit data generated in said utilization portion, and a header information write area and an ender information write area which are provided in relation to each of the data write areas, for further managing a state where the transmit data stored in the data write area is transmitted, said utilization portion outputs, when the transmit data is generated, a request to acquire the data write area in said transmission buffer to said control portion, said control portion refers, when said request for acquisition is issued, to said transmission buffer, to specify the data write area where writing is newly allowed in said transmission buffer and present the data write area to said utilization portion, said utilization portion writes the transmit data into the data write area, which has been presented from said control portion, in said transmission buffer, and said control portion respectively writes header information and ender information into said header information write area and said ender information write area in processes carried out after accepting a request to transmit the transmit data from said utilization portion until the transmission of a packet including the transmit data is started, to complete the transmitting packet in said transmission buffer.
  3. 3
    A communication device comprising a utilization portion for performing arbitrary application processing, a control portion for transmitting transmit data generated in the utilization portion or fixed data previously retained inside the device to an exterior in accordance with a previously determined protocol, and a memory which is shared between the utilization portion and the control portion, wherein said memory comprises:a transmission buffer, having a plurality of data write areas for temporarily storing transmit data newly generated in said utilization portion, and a header information write area and an ender information write area which are provided in relation to each of the data write areas, for further managing a state where the transmit data stored in the data write area is transmitted;a fixed data storage portion for storing said fixed data;and a management table for managing a state where each of the fixed data, whose request for transmission from said utilization portion has been accepted by said control portion, is transmitted and the location, on said fixed data storage portion, of the fixed data, said utilization portion outputs, when the transmit data is generated, a request to acquire the data write area in said transmission buffer to said control portion, said control portion refers, when said request for acquisition is issued, to said transmission buffer, to specify the data write area where writing is newly allowed in said transmission buffer and present the data write area to said utilization portion, said utilization portion writes the transmit data into the data write area, which has been presented from said control portion, in said transmission buffer, said control portion respectively writes header information and ender information into said header information write area and said ender information write area in processes carried out after accepting a request to transmit the transmit data from said utilization portion until the transmission of a packet including the transmit data is started, to complete the transmitting packet in said transmission buffer, and said control portion registers, in a case of accepting the request to transmit the fixed data from said utilization portion, the location, on said fixed data storage portion, of the fixed data in said management table.
  4. 4
    A communication device comprising a control portion for processing data received from another communication device through an interface in accordance with a previously determined protocol, a plurality of utilization portions for performing application processing of the data transferred from the control portion, and a memory which is shared between the control portion and the utilization portion, wherein said memory comprises:a first receiving buffer having one or two or more data write areas for temporarily storing the data received by said control portion;and a plurality of second receiving buffers respectively corresponding to said plurality of utilization portions and each having a plurality of data write areas for further temporarily storing the data written into said first receiving buffer, said control portion: confirms, when the data written into said first receiving buffer is utilization portion data whose processing should be performed by said utilization portion, a state where said utilization portion which is the destination of the utilization portion data is used;writes, when the state where said utilization portion is used is a state where it is impossible to accept said utilization portion data, the utilization portion data into said second receiving buffer;and notifies, when the state where said utilization portion is used is a state where it is possible to accept said utilization portion data, the utilization portion of the location and the size of the utilization portion data written into said first receiving buffer, and said utilization portion reads said utilization portion data from said first receiving buffer upon receipt of said notification.
  5. 8
    A communication method used in a communication device comprising a utilization portion for performing arbitrary application processing, a control portion for transmitting transmit data generated in the utilization portion to an exterior in accordance with a previously determined protocol, and a memory which is shared between the utilization portion and the control portion, wherein said memory comprises:a transmission buffer having a plurality of data write areas for temporarily storing the transmit data generated in said utilization portion;and a management table for managing a state where each of the transmit data, whose request for transmission from said utilization portion has been accepted by said control portion, is transmitted and the location, on said transmission buffer, of the transmit data, the communication method further comprising: the step in said utilization portion of outputting, when the transmit data is generated, a request to acquire the data write area in said transmission buffer to said control portion;the step in said control portion of referring, when said request for acquisition is issued, to said transmission buffer, to specify the data write area where writing is newly allowed in said transmission buffer and present the data write area to said utilization portion;the step in said utilization portion of writing the transmit data into the data write area, which has been presented from said control portion, in said transmission buffer;and the step in said control portion of registering, in a case of accepting the request to transmit the transmit data from said utilization portion, the location, on said transmission buffer, of the transmit data in said management table.
  6. 9
    A communication method used in a communication device comprising a utilization portion for performing arbitrary application processing, a control portion for transmitting transmit data generated in the utilization portion to an exterior in accordance with a previously determined protocol, and a memory which is shared between the utilization portion and the control portion, wherein said memory comprises a transmission buffer, having a plurality of data write areas for temporarily storing the transmit data generated in said utilization portion, and a header information write area and an ender information write area which are provided in relation to each of the data write areas, for further managing a state where the transmit data stored in the data write area is transmitted, the communication method comprising:the step in said utilization portion of outputting, when the transmit data is generated, a request to acquire the data write area in said transmission buffer to said control portion;the step in said control portion of referring, when said request for acquisition is issued, to said transmission buffer, to specify the data write area where writing is newly allowed in said transmission buffer and present the data write area to said utilization portion;the step in said utilization portion of writing the transmit data into the data write area, which has been presented from said control portion, in said transmission buffer;and the step in said control portion of respectively writing header information and ender information into said header information write area and said ender information write area in processes carried out after accepting the request to transmit the transmit data from said utilization portion until the transmission of a packet including the transmit data is started, to complete the transmitting packet in said transmission buffer.
  7. 10
    A communication method used in a communication device comprising a utilization portion for performing arbitrary application processing, a control portion for transmitting transmit data generated in the utilization portion or fixed data previously retained inside the device to an exterior in accordance with a previously determined protocol, and a memory which is shared between the utilization portion and the control portion, wherein said memory comprises:a transmission buffer, having a plurality of data write areas for temporarily storing transmit data newly generated in said utilization portion, and a header information write area and an ender information write area which are provided in relation to each of the data write areas, for further managing a state where the transmit data stored in the data write area is transmitted;a fixed data storage portion for storing said fixed data;and a management table for managing a state where each of the fixed data, whose request for transmission from said utilization portion has been accepted by said control portion, is transmitted and the location, on said fixed data storage portion, of the fixed data, the communication method further comprising: the step in said utilization portion of outputting, when the transmit data is generated, a request to acquire the data write area in said transmission buffer to said control portion;the step in said control portion of referring, when said request for acquisition is issued, to said transmission buffer, to specify the data write area where writing is newly allowed in said transmission buffer and present the data write area to said utilization portion;the step in said utilization portion of writing the transmit data into the data write area, which has been presented from said control portion, in the transmission buffer;the step in said control portion of respectively writing header information and ender information into said header information write area and said ender information write area in processes carried out after accepting a request to transmit the transmit data from said utilization portion until the transmission of a packet including the transmit data is started, to complete the transmitting packet in said transmission buffer;and the step in said control portion of registering, in the case of accepting the request to transmit the fixed data from said utilization portion, the location, on said fixed data storage portion, of the fixed data in said management table.
  8. 11
    A communication method used in a communication device comprising a control portion for processing data received from another communication device through an interface in accordance with a previously determined protocol, a plurality of utilization portions for performing application processing of the data transferred from the control portion, and a memory which is shared between the utilization portion and the control portion, wherein said memory comprises:a first receiving buffer having one or two or more data write areas for temporarily storing the data received by said control portion;and a plurality of second receiving buffers respectively corresponding to said plurality of utilization portions and each having a plurality of data write areas for further temporarily storing the data written into said first receiving buffer, the communication method further comprising: the step in said control portion of confirming, when the data written into said first receiving buffer is utilization portion data whose processing should be performed by said utilization portion, a state where said utilization portion which is the destination of the utilization portion data is used;the step in said control portion of writing, when the state where said utilization portion is used is a state where it is impossible to accept said utilization portion data, the utilization portion data into said second receiving buffer;the step in said control portion of notifying, when the state where said utilization portion is used is a state where it is possible to accept said utilization portion data, the utilization portion of the location and the size of the utilization portion data written into said first receiving buffer;and the step in said utilization portion of reading said utilization portion data from said first receiving buffer upon receipt of said notification.
  9. 15
    A recording medium on which a computer program, executed in a communication device comprising a utilization portion for performing arbitrary application processing, a control portion for transmitting transmit data generated in the utilization portion to an exterior in accordance with a previously determined protocol, and a memory which is shared between the utilization portion and the control portion, for realizing a predetermined operational environment on the communication device is recorded, wherein said memory comprises:a transmission buffer having a plurality of data write areas for temporarily storing the transmit data generated in said utilization portion;and a management table for managing a state where each of the transmit data, whose request for transmission from said utilization portion has been accepted by said control portion, is transmitted and the location, on said transmission buffer, of the transmit data, and said operational environment comprises: the step in said utilization portion of outputting, when the transmit data is generated, a request to acquire the data write area in said transmission buffer to said control portion;the step in said control portion of referring, when said request for acquisition is issued, to said transmission buffer, to specify the data write area where writing is newly allowed in said transmission buffer and present the data write area to said utilization portion;the step in said utilization portion of writing the transmit data into the data write area, which has been presented from said control portion, in said transmission buffer;and the step in said control portion of registering, in a case of accepting the request to transmit the transmit data from said utilization portion, the location, on said transmission buffer, of the transmit data in said management table.
  10. 16
    A recording medium on which a computer program, executed in a communication device comprising a utilization portion for performing arbitrary application processing, a control portion for transmitting transmit data generated in the utilization portion to an exterior in accordance with a previously determined protocol, and a memory which is shared between the utilization portion and the control portion, for realizing a predetermined operational environment on the communication device is recorded, wherein said memory comprises a transmission buffer, having a plurality of data write areas for temporarily storing the transmit data generated in said utilization portion, and a header information write area and an ender information write area which are provided in relation to each of the data write areas, for further managing a state where the transmit data stored in the data write area is transmitted, and said operational environment comprises:the step in said utilization portion of outputting, when the transmit data is generated, a request to acquire the data write area in said transmission buffer to said control portion;the step in said control portion of referring, when said request for acquisition is issued, to said transmission buffer, to specify the data write area where writing is newly allowed in said transmission buffer and present the data write area to said utilization portion;the step in said utilization portion of writing the transmit data into the data write area, which has been presented from said control portion, in said transmission buffer;and the step in said control portion of respectively writing header information and ender information into said header information write area and said ender information write area in processes carried out after accepting a request to transmit the transmit data from said utilization portion until the transmission of a packet including the transmit data is started, to complete the transmitting packet in said transmission buffer.
  11. 17
    A recording medium on which a computer program, executed in a communication device comprising a utilization portion for performing arbitrary application processing, a control portion for transmitting transmit data generated in the utilization portion or fixed data previously retained inside the device to an exterior in accordance with a previously determined protocol, and a memory which is shared between the utilization portion and the control portion, for realizing a predetermined operational environment on the communication device is recorded, wherein said memory comprises:a transmission buffer, having a plurality of data write areas for temporarily storing transmit data newly generated in said utilization portion, and a header information write area and an ender information write area which are provided in relation to each of the data write areas, for further managing a state where the transmit data stored in the data write area is transmitted;a fixed data storage portion for storing said fixed data;and a management table for managing a state where each of the fixed data, whose request for transmission from said utilization portion has been accepted by said control portion, is transmitted and the location, on said fixed data storage portion, of the fixed data, and said operational environment comprises: the step in said utilization portion of outputting, when the transmit data is generated, a request to acquire the data write area in said transmission buffer to said control portion;the step in said control portion of referring, when said request for acquisition is issued, to said transmission buffer, to specify the data write area where writing is newly allowed in said transmission buffer and present the data write area to said utilization portion;the step in said utilization portion of writing the transmit data into the data write area, which has been presented from said control portion, in said transmission buffer;the step in said control portion of respectively writing header information and ender information into said header information write area and said ender information write area in processes carried out after accepting a request to transmit the transmit data from said utilization portion until the transmission of a packet including the transmit data is started, to complete the transmitting packet in said transmission buffer;and the step in said control portion of registering, in a case of accepting the request to transmit the fixed data from said utilization portion, the location, on said fixed data storage portion, of the fixed data in said management table.
  12. 18
    A recording medium on which a computer program, executed in a communication device comprising a control portion for processing data received from another communication device through an interface in accordance with a previously determined protocol, a plurality of utilization portions for performing application processing of the data transferred from the control portion, and a memory which is shared between the control portion and the utilization portion, for realizing a predetermined operational environment on the communication device is recorded, wherein said memory comprises:a first receiving buffer having one or two or more data write areas for temporarily storing the data received in said control portion;and a plurality of second receiving buffers respectively corresponding to said plurality of utilization portions and each having a plurality of data write areas for further temporarily storing the data written into said first receiving buffer, and said operational environment comprises: the step in said control portion of confirming, when the data written into said first receiving buffer is utilization portion data whose processing should be performed by said utilization portion, a state where said utilization portion which is the destination of the utilization portion data is used;the step in said control portion of writing, when the state where said utilization portion is used is a state where it is impossible to accept said utilization portion data, the utilization portion data into said second receiving buffer;the step in said control portion of notifying, when the state where said utilization portion is used is a state where it is possible to accept said utilization portion data, the utilization portion of the location and the size of the utilization portion data written into said first receiving buffer;and the step in said utilization portion of reading said utilization portion data from said first receiving buffer upon receipt of said notification.