[go: up one dir, main page]

KR20060043813A - Computer-readable recording medium recording communication device, communication method and communication program - Google Patents

Computer-readable recording medium recording communication device, communication method and communication program Download PDF

Info

Publication number
KR20060043813A
KR20060043813A KR1020050019934A KR20050019934A KR20060043813A KR 20060043813 A KR20060043813 A KR 20060043813A KR 1020050019934 A KR1020050019934 A KR 1020050019934A KR 20050019934 A KR20050019934 A KR 20050019934A KR 20060043813 A KR20060043813 A KR 20060043813A
Authority
KR
South Korea
Prior art keywords
data
transmission
communication
state
transmission request
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.)
Withdrawn
Application number
KR1020050019934A
Other languages
Korean (ko)
Inventor
다카시 무라카미
Original Assignee
마츠시타 덴끼 산교 가부시키가이샤
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 마츠시타 덴끼 산교 가부시키가이샤 filed Critical 마츠시타 덴끼 산교 가부시키가이샤
Publication of KR20060043813A publication Critical patent/KR20060043813A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/407Bus networks with decentralised control
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B41/00Circuit arrangements or apparatus for igniting or operating discharge lamps
    • H05B41/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K5/00Casings, cabinets or drawers for electric apparatus
    • H05K5/0091Housing specially adapted for small components

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

본 발명은 통신의 신뢰성을 향상시킬 수 있는 통신 장치, 통신 방법 및 통신 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체를 제공하는 것으로, 애플리케이션 처리부(15)는, 송신해야 할 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터를 작성하고, 통신 매체 처리부(16)는 통신 매체의 종별을 나타내는 통신 매체 종별 정보를 기억하며, 통신 조정 처리부(12)는, 송신 요구 데이터에 포함되는 데이터 종별 정보와, 통신 매체 처리부(16)에 기억되어 있는 통신 매체 종별 정보에 근거하여 송신 데이터를 송신하는 타이밍을 조정하고, 데이터 송신 처리부(14)는 통신 조정 처리부(12)에 의해서 조정되는 타이밍에 따라 송신 데이터를 송신한다. The present invention provides a communication device, a communication method, and a computer-readable recording medium having recorded thereon a communication program, which can improve the reliability of communication. The application processing unit 15 provides a transmission destination and transmission data to be transmitted. The transmission request data including the data type information indicating whether or not a response is required is created, the communication medium processing unit 16 stores the communication medium type information indicating the type of the communication medium, and the communication coordination processing unit 12 transmits the data. The timing for transmitting the transmission data is adjusted based on the data type information included in the request data and the communication medium type information stored in the communication medium processing unit 16, and the data transmission processing unit 14 controls the communication adjustment processing unit 12. The transmission data is transmitted in accordance with the timing adjusted by the controller.

Description

통신 장치, 통신 방법 및 통신 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체{COMMUNICATION APPARATUS, COMMUNICATION METHOD, AND COMPUTER READABLE RECORDING MEDIUM FOR STORING COMMUNICATION PROGRAM}Computer-readable recording medium recording communication device, communication method, and communication program {COMMUNICATION APPARATUS, COMMUNICATION METHOD, AND COMPUTER READABLE RECORDING MEDIUM FOR STORING COMMUNICATION PROGRAM}

도 1은 본 발명의 일 실시예에서의 통신 장치의 구성을 나타내는 블럭도, 1 is a block diagram showing the configuration of a communication apparatus according to an embodiment of the present invention;

도 2는 통신 신뢰성이 낮은 통신 매체 및 통신 매체 처리부를 사용하여 개별·응답요 데이터를 송신하는 경우에 통신 조정 처리부에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도, 2 is a flowchart showing an example of communication adjustment processing executed by the communication adjustment processing unit when transmitting individual and response data using the communication medium having low communication reliability and the communication medium processing unit;

도 3은 통신 신뢰성이 높은 통신 매체 및 통신 매체 처리부를 사용하여 개별·응답요 데이터를 송신하는 경우에 통신 조정 처리부에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도, 3 is a flowchart showing an example of communication adjustment processing executed by the communication adjustment processing unit when transmitting individual and response data using the communication medium having high communication reliability and the communication medium processing unit;

도 4는 통신 신뢰성이 낮은 통신 매체 및 통신 매체 처리부를 사용하여 개별·응답 불필요 데이터를 송신하는 경우에 통신 조정 처리부에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도, 4 is a flowchart showing an example of a communication coordination process performed by a communication coordination processing unit when transmitting individual and response unnecessary data using a communication medium having low communication reliability and a communication medium processing unit;

도 5는 통신 신뢰성이 높은 통신 매체 및 통신 매체 처리부를 사용하여 개별·응답 불필요 데이터를 송신하는 경우에 통신 조정 처리부에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도, Fig. 5 is a flowchart showing an example of communication adjustment processing executed by the communication adjustment processing unit when transmitting individual and response unnecessary data using the communication medium having high communication reliability and the communication medium processing unit;

도 6은 통신 신뢰성이 낮은 통신 매체 및 통신 매체 처리부를 사용하여 동보(同報)·응답요 데이터를 송신하는 경우에 통신 조정 처리부에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도, 6 is a flowchart showing an example of a communication adjustment process performed by a communication adjustment processing unit when transmitting broadcast and response data using a communication medium having low communication reliability and a communication medium processing unit;

도 7은 통신 신뢰성이 높은 통신 매체 및 통신 매체 처리부를 사용하여 동보·응답요 데이터를 송신하는 경우에 통신 조정 처리부에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도, 7 is a flowchart showing an example of communication adjustment processing executed by the communication adjustment processing unit when transmitting broadcast and response data using the communication medium having high communication reliability and the communication medium processing unit;

도 8은 통신 신뢰성이 낮은 통신 매체 및 통신 매체 처리부를 사용하여 동보·응답 불필요 데이터를 송신하는 경우에 통신 조정 처리부에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도, 8 is a flowchart showing an example of a communication adjustment process executed by a communication adjustment processing unit when transmitting broadcast and response unnecessary data using a communication medium having low communication reliability and a communication medium processing unit;

도 9는 통신 신뢰성이 높은 통신 매체 및 통신 매체 처리부를 사용하여 동보·응답 불필요 데이터를 송신하는 경우에 통신 조정 처리부에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도, 9 is a flowchart showing an example of a communication adjustment process executed by a communication adjustment processing unit when transmitting broadcast and response unnecessary data using a communication medium having high communication reliability and a communication medium processing unit;

도 10은 통신 조정 처리부가 구비하는 통신 데이터 테이블의 데이터 구성의 일례를 도시하는 도면, 10 is a diagram showing an example of the data configuration of a communication data table included in the communication adjustment processing unit;

도 11은 통신 장치와 복수의 통신 매체를 접속하는 경우에서의 통신 장치의 구성을 나타내는 블럭도.Fig. 11 is a block diagram showing the structure of a communication device in the case of connecting a communication device and a plurality of communication media.

도면의 주요 부분에 대한 부호의 설명Explanation of symbols for the main parts of the drawings

11 : 통신 장치 12 : 통신 조정 처리부 11: communication device 12: communication coordination processing unit

13 : 데이터 수신 처리부 14 : 데이터 송신 처리부13: data reception processing unit 14: data transmission processing unit

15 : 애플리케이션 처리부 16 : 통신 매체 처리부15: application processing unit 16: communication medium processing unit

17 : 통신 매체 101 : 통신 데이터 테이블17: communication medium 101: communication data table

161 : 종별·버전 정보 기억부161: Type and version information storage unit

본 발명은, 통신 기능을 가지는 통신 장치가 유선 또는 무선의 통신회선에 접속하고 있고, 마찬가지로 통신회선에 접속하고 있는 그 밖의 통신 장치와 통신을 할 때, 시퀀스 관리를 함으로써 1:1의 통신을 확립하는 통신 장치, 통신 방법 및 통신 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체에 관한 것이다. The present invention establishes 1: 1 communication by performing sequence management when a communication device having a communication function is connected to a wired or wireless communication line and similarly communicates with another communication device connected to the communication line. A computer readable recording medium having recorded thereon a communication device, a communication method, and a communication program.

종래, 부하 레벨에 따라 물리회선 상에의 데이터 송신 간격을 조절하여, 교신 처리를 원활하게 계속할 수 있도록 하는 통신 관리 장치가 알려져 있다(예컨대, 특허문헌 1 참조). 이 통신 관리 장치에서는, 송신의 일제정지 또는 일제재개와 같은 급격한 제어를 하는 일없이, 부하에 따른 원활한 제어를 하는 것에 의해 시스템 및 회선 버퍼에 대한 부하를 경감하고 있다. Background Art Conventionally, a communication management apparatus is known that adjusts a data transmission interval on a physical line in accordance with a load level so that communication processing can be continued smoothly (see Patent Document 1, for example). This communication management apparatus reduces the load on the system and the line buffer by performing smooth control according to the load without sudden control such as interruption or resumption of transmission.

[특허문헌 1] 일본 특허 공개 평성 제 06-62081호 공보[Patent Document 1] Japanese Unexamined Patent Publication No. 06-62081

여기서, 통신속도가 저속이며, 또한, 통신 신뢰성이 낮은 통신 매체를 사용 한 경우에도, 실시간성을 보장하고, 또한, 시스템으로서 통신 신뢰성을 확보할 필요가 있다. 그러나, 상술의 통신 관리 장치가 네트워크를 구축하기 위해 접속되는 통신 매체의 통신 신뢰성이, 반드시 확보되어 있지 않은 경우가 있었다. Here, even when using a communication medium having a low communication speed and low communication reliability, it is necessary to ensure real-time performance and to secure communication reliability as a system. However, there have been cases where the communication reliability of the communication medium to which the above communication management apparatus is connected to establish a network is not necessarily secured.

본 발명은 상기의 문제를 해결하기 위해 이루어진 것으로, 통신의 신뢰성을 향상시킬 수 있는 통신 장치, 통신 방법 및 통신 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체를 제공하는 것을 목적으로 하는 것이다. The present invention has been made to solve the above problems, and an object thereof is to provide a communication device, a communication method, and a computer-readable recording medium having recorded thereon a communication program that can improve the reliability of communication.

본 발명에 따른 통신 장치는, 다른 통신 장치와 통신 매체를 통해 데이터를 송수신하는 통신 장치로서, 송신해야 할 송신 데이터의 송신처와, 상기 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터를 작성하는 송신 요구 데이터 작성 수단과, 상기 통신 매체의 종별을 나타내는 통신 매체 종별 정보를 기억하는 통신 매체 종별 정보 기억 수단과, 상기 송신 요구 데이터 작성 수단에 의해 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 종별 정보 기억 수단에 기억되어 있는 상기 통신 매체 종별 정보에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 통신 조정 처리 수단과, 상기 통신 조정 처리 수단에 의해 조정되는 타이밍에 따라 상기 송신 데이터를 송신하는 데이터 송신 수단을 구비한다. A communication apparatus according to the present invention is a communication apparatus that transmits and receives data through another communication apparatus and a communication medium, the communication apparatus including a transmission destination to be transmitted and data type information indicating whether a response to the transmission data is required. Included in the transmission request data creation means for creating the transmission request data, the communication medium type information storage means for storing the communication medium type information indicating the type of the communication medium, and the transmission request data created by the transmission request data creation means. Communication adjustment processing means for adjusting the timing of transmitting the transmission data based on the data type information to be used and the communication medium type information stored in the type information storage means, and the timing adjusted by the communication adjustment processing means. To transmit the transmission data according to And a transmission section.

이 구성에 의하면, 송신해야 할 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터가 작성된다. 그리고, 송신 요구 데이터에 포함되는 데이터 종별 정보와, 종별 정보 기억 수단에 기억되어 있는 통신 매체의 종별을 나타내는 통신 매체 종별 정보에 근거하여 송신 데이터를 송신하는 타이밍이 조정되고, 조정되는 타이밍에 따라 송신 데이터가 송신된다. According to this configuration, transmission request data including a transmission destination of transmission data to be transmitted and data type information indicating whether a response to the transmission data is required is created. The timing of transmitting the transmission data is adjusted based on the data type information included in the transmission request data and the communication medium type information indicating the type of the communication medium stored in the type information storage means, and the transmission is performed in accordance with the adjusted timing. The data is sent.

따라서, 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부와, 통신 매체의 종별에 근거하여 송신 데이터를 송신하는 타이밍이 조정되기 때문에, 네트워크에 접속되는 복수의 통신 장치의 통신을 가상적으로 1:1로 해서, 통신 매체 상의 다른 데이터에 충돌함으로써 송신 데이터가 소실하는 것이 적어져, 통신의 신뢰성을 향상시킬 수 있다. Therefore, the timing of transmitting the transmission data is adjusted based on the transmission destination of the transmission data, whether the response to the transmission data is required, and the type of the communication medium. Therefore, communication between a plurality of communication devices connected to the network is virtually eliminated. With 1: 1, transmission data is less likely to be lost by colliding with other data on the communication medium, thereby improving communication reliability.

또한, 상기의 통신 장치에 있어서, 상기 송신 요구 데이터는, 송신해야 할 송신 데이터가, 특정 송신처를 개별적으로 지정하고, 송신 데이터의 송신처에 의한 응답을 요구하는 개별·응답요 데이터, 특정 송신처를 개별적으로 지정하고, 송신 데이터의 송신처에 의한 응답을 요구하지 않는 개별·응답 불필요 데이터, 송신처를 특정하지 않고 동보(同報)로 송신 데이터를 송신하고, 송신 데이터의 송신처에 의한 응답을 요구하는 동보·응답요 데이터, 또는 송신처를 특정하지 않고 동보로 송신 데이터를 송신하고, 송신 데이터의 송신처에 의한 응답을 요구하지 않는 동보·응답 불필요 데이터인 것을 나타내는 데이터 종별 정보를 포함하고, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터 작성 수단에 의해 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 통신 매체 종별 정보 기억 수단에 기억되어 있는 상기 통신 매체 종별 정보에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 것이 바람직하다. In the communication apparatus described above, the transmission request data includes individual response data and a specific transmission destination for which transmission data to be transmitted individually specifies a specific transmission destination and requests a response by the transmission destination of the transmission data. Individual, response unnecessary data that does not require a response by the sender of the transmission data, and broadcast data is transmitted by broadcast without specifying the sender, and broadcast or request a response by the sender of the transmission data is specified. And the data type information indicating that the response data or the transmission data is broadcast without specifying a transmission destination, and that the data is broadcast and response unnecessary data that does not require a response by the transmission destination of the transmission data. Included in the transmission request data created by the transmission request data creating means. That on the basis of the category information and the data group, the communication medium type information storage means the communication medium type information which is stored in the adjusting the timing of transmitting the transmission data is preferred.

이 구성에 의하면, 송신 요구 데이터에는, 송신해야 할 송신 데이터가, 특정 송신처를 개별적으로 지정하고, 송신 데이터의 송신처에 의한 응답을 요구하는 개별·응답요 데이터, 특정 송신처를 개별적으로 지정하고, 송신 데이터의 송신처에 의한 응답을 요구하지 않는 개별·응답 불필요 데이터, 송신처를 특정하지 않고 동보로 송신 데이터를 송신하고, 송신 데이터의 송신처에 의한 응답을 요구하는 동보·응답요 데이터, 또는 송신처를 특정하지 않고 동보로 송신 데이터를 송신하고, 송신 데이터의 송신처에 의한 응답을 요구하지 않는 동보·응답 불필요 데이터인 것을 나타내는 데이터 종별 정보가 포함된다. 그리고, 송신 요구 데이터에 포함되는 데이터 종별 정보와, 통신 매체 종별 정보 기억 수단에 기억되어 있는 통신 매체 종별 정보에 근거하여 송신 데이터를 송신하는 타이밍이 조정된다. According to this configuration, in the transmission request data, the transmission data to be transmitted specifies the specific transmission destination individually, and individually specifies the response data and the specific transmission destination for requesting the response by the transmission destination, and the specific transmission destination. Individual-response unnecessary data that does not require a response by the data sender, broadcast data is transmitted without specifying the sender, and broadcast / response data that requests a response by the sender of the sender data, or a sender is not specified. Data type information indicating that the transmission data is transmitted by broadcast without broadcasting and that the broadcast / response unnecessary data does not require a response by the transmission destination of the transmission data is included. Then, the timing for transmitting the transmission data is adjusted based on the data type information included in the transmission request data and the communication medium type information stored in the communication medium type information storage means.

따라서, 데이터 종별 정보가, 개별·응답요 데이터, 개별·응답 불필요 데이터, 동보·응답요 데이터 및 동보·응답 불필요 데이터 중의 어느 하나를 확인하는 것으로, 용이하게 데이터의 송신처 및 응답의 필요 여부를 특정할 수 있다. Therefore, the data type information confirms one of the individual response data, the individual response unnecessary data, the broadcasting response data, and the broadcasting response unnecessary data to easily specify the data transmission destination and whether the response is necessary or not. can do.

또한, 상기의 통신 장치에 있어서, 상기 송신 요구 데이터를 관리하기 위한 통신 데이터 테이블을 더 구비하되, 상기 통신 데이터 테이블은 상기 송신 요구 데이터마다 송신 상태를 대응시켜 기억하고 있고, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터 작성 수단에 의해 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 통신 매체 종별 정보 기억 수단에 기억되어 있는 상기 통신 매체 종별 정보와, 상기 통신 데이터 테이블에 기억되어 있는 상기 송신 상태에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 것이 바람직하다. Further, in the above communication apparatus, further comprising a communication data table for managing the transmission request data, wherein the communication data table corresponds to and stores a transmission state for each of the transmission request data, and the communication adjustment processing means The data type information included in the transmission request data created by the transmission request data creating means, the communication medium type information stored in the communication medium type information storage means, and the data stored in the communication data table. It is preferable to adjust the timing of transmitting the transmission data based on the transmission state.

이 구성에 의하면, 송신 요구 데이터를 관리하기 위한 통신 데이터 테이블은, 송신 요구 데이터마다 송신 상태를 대응시켜 기억하고 있다. 그리고, 송신 요구 데이터에 포함되는 데이터 종별 정보와, 통신 매체 종별 정보 기억 수단에 기억되어 있는 통신 매체 종별 정보와, 통신 데이터 테이블에 기억되어 있는 송신 상태에 근거하여 송신 데이터를 송신하는 타이밍이 조정된다. According to this configuration, the communication data table for managing the transmission request data stores the transmission state in correspondence with each transmission request data. The timing of transmitting the transmission data is adjusted based on the data type information included in the transmission request data, the communication medium type information stored in the communication medium type information storage means, and the transmission state stored in the communication data table. .

따라서, 데이터 종별 정보 및 통신 매체 종별 정보뿐만 아니라, 송신 요구 데이터의 송신 상태도 고려하여 송신 데이터를 송신하는 타이밍이 조정되기 때문에, 통신의 신뢰성을 더 향상시킬 수 있다. Therefore, the timing of transmitting the transmission data is adjusted in consideration of the transmission status of the transmission request data as well as the data type information and the communication medium type information, so that the reliability of the communication can be further improved.

또한, 상기의 통신 장치에 있어서, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 응답 대기 상태로 변경하는 것이 바람직하다. In the communication apparatus described above, when the transmission request data is input, the communication adjustment processing means stores data type information included in the transmission request data in the communication data table, and waits for transmission status. If the stored data type information is individual / response data, the transmission status of the other transmission request data stored in the communication data table is checked, and the transmission status of all other transmission request data is waited for a response. When it is not in the state, it is preferable to output the transmission request data to the data transmission means, and change the transmission state of the transmission request data stored in the communication data table to the response waiting state.

이 구성에 의하면, 송신 요구 데이터가 입력되면, 통신 데이터 테이블에 당 해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답요 데이터인 경우, 통신 데이터 테이블이 기억하는 다른 송신 요구 데이터의 송신 상태가 확인된다. 여기서, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터가 데이터 송신 수단으로 출력되고, 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 응답 대기 상태로 변경된다. According to this configuration, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table, and the transmission state is set to the transmission standby state. And when the stored data type information is individual response data, the transmission state of the other transmission request data which the communication data table stores is confirmed. Here, when the transmission state of all other transmission request data is not in the response waiting state, the transmission request data is output to the data transmission means, and the transmission state of the transmission request data stored in the communication data table is changed to the response waiting state. do.

따라서, 데이터 종별 정보가 개별·응답요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 송신되는 것으로 되기 때문에, 통신 매체 상에 다른 송신 데이터에 대한 응답 데이터가 존재하지 않는 것을 확인할 수 있어, 데이터의 충돌을 방지할 수 있다. Therefore, when the data type information is individual and response data, the transmission request data is transmitted when the transmission state of all other transmission request data is not in the waiting state for response, so that other transmission data is transmitted on the communication medium. It can be confirmed that there is no response data, so that data collision can be prevented.

또한, 상기의 통신 장치에 있어서, 상기 데이터 송신 수단은, 송신 데이터를 송신하기 전에 상기 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있고, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 상기 응답 대기 상태인 송신 요구 데이터의 송신처가, 당해 송신 요구 데이터의 송신처와 모두 다른 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 응답 대기 상태로 변경하는 것이 바람직하다. Further, in the communication apparatus described above, the data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and when no other data exists on the communication path. And after confirming that there is no other data on the communication path again after a predetermined time, the transmission data is transmitted, and the communication adjustment processing means corresponds to the communication data table when the transmission request data is input. Storing the data type information included in the transmission request data, setting the transmission state to a transmission standby state, and when the stored data type information is individual / response data, the other transmission request stored in the communication data table Check the transmission status of the data, and send the transmission status of all the other transmission request data. Is not in the response waiting state, or when the transmission state of the other transmission request data is in the response waiting state, but the transmission destination of the transmission request data in the response waiting state is different from the transmission destination of the transmission request data, the transmission is performed. It is preferable to output the request data to the data transmission means, and to change the transmission state of the transmission request data stored in the communication data table to a response wait state.

이 구성에 의하면, 데이터 송신 수단은, 송신 데이터를 송신하기 전에 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있다. 이 경우, 송신 요구 데이터가 입력되면, 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 또는 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 응답 대기 상태인 송신 요구 데이터의 송신처가, 당해 송신 요구 데이터의 송신처와 모두 다를 때, 당해 송신 요구 데이터가 데이터 송신 수단으로 출력되고, 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 응답 대기 상태로 변경된다. According to this configuration, the data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and again communicates after a predetermined time when no other data exists on the communication path. After confirming that no other data exists on the path, it has a function of transmitting transmission data. In this case, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table, and the transmission state is set to the transmission standby state. If the stored data type information is individual / response data, when the transmission state of all other transmission request data is not in the waiting for response or the transmission state of other transmission request data is in the waiting for response, When the transmission destination of the transmission request data which is in a state differs from the transmission destination of the transmission request data, the transmission request data is output to the data transmission means, and the transmission status of the transmission request data stored in the communication data table is a wait for response. Is changed to

따라서, 데이터 송신 수단이 데이터의 충돌을 피하는 기능을 갖고 있고, 데 이터 종별 정보가 개별·응답요 데이터인 경우, 송신 데이터의 송신처와 응답 데이터의 송신원이 서로 다른 때에 데이터가 송신되기 때문에, 데이터의 충돌을 방지할 수 있다. Therefore, when the data transmission means has a function of avoiding data collision, and the data type information is individual and response data, the data is transmitted when the destination of the transmission data and the transmission source of the response data are different. The collision can be prevented.

또한, 상기의 통신 장치에 있어서, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 송신 완료 상태로 변경하는 것이 바람직하다. In the communication apparatus described above, when the transmission request data is input, the communication adjustment processing means stores data type information included in the transmission request data in the communication data table, and waits for transmission status. If the stored data type information is individual / response unnecessary data, the transmission status of the other transmission request data stored in the communication data table is checked, and the transmission status of all other transmission request data is waited for a response. When it is not in the state, it is preferable to output the transmission request data to the data transmission means and change the transmission state of the transmission request data stored in the communication data table to the transmission completion state.

이 구성에 의하면, 송신 요구 데이터가 입력되면, 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 데이터 송신 수단으로 출력되고, 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 송신 완료 상태로 변경된다. According to this configuration, when transmission request data is input, the data type information included in the transmission request data is stored in the communication data table, and the transmission state is set to the transmission standby state. And when the stored data type information is individual / response unnecessary data, when the transmission state of all other transmission request data is not a response waiting state, the said transmission request data is output to a data transmission means, it is stored in the communication data table, The transmission state of the transmission request data in question is changed to the transmission completion state.

따라서, 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 송신되는 것으로 되기 때문에, 통신 매체 상에 다른 송신 데이터에 대한 응답 데이터가 존재하지 않는 것을 확인할 수 있어, 데이터의 충돌을 방지할 수 있다. Therefore, when the data type information is individual / response unnecessary data, the transmission request data is transmitted when the transmission state of all other transmission request data is not in the response waiting state, so that other transmission data on the communication medium is It can be confirmed that there is no response data, so that data collision can be prevented.

또한, 상기의 통신 장치에 있어서, 상기 데이터 송신 수단은, 송신 데이터를 송신하기 전에 상기 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있고, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 상기 응답 대기 상태인 송신 요구 데이터의 송신처가 당해 송신 요구 데이터의 송신처와 모두 다른 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 송신 완료 상태로 변경하는 것이 바람직하다. Further, in the communication apparatus described above, the data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and when no other data exists on the communication path. And after confirming that there is no other data on the communication path again after a predetermined time, the transmission data is transmitted, and the communication adjustment processing means corresponds to the communication data table when the transmission request data is input. Storing the data type information included in the transmission request data, setting the transmission state to a transmission waiting state, and when the stored data type information is individual / response unnecessary data, the other transmission request stored in the communication data table Check the transmission status of the data, and send all other transmission request data. When the status is not in the waiting for response or when the transmission status of the other transmission request data is in the waiting for response, but the transmission destination of the transmission request data in the response waiting status is different from that of the transmission request data, the transmission is performed. It is preferable to output the request data to the data transmission means and to change the transmission state of the transmission request data stored in the communication data table to the transmission completion state.

이 구성에 의하면, 데이터 송신 수단은, 송신 데이터를 송신하기 전에 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상 에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있다. 이 경우, 송신 요구 데이터가 입력되면, 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 또는 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 응답 대기 상태인 송신 요구 데이터의 송신처가 당해 송신 요구 데이터의 송신처와 모두 다를 때, 당해 송신 요구 데이터가 데이터 송신 수단으로 출력되고, 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 송신 완료 상태로 변경된다. According to this configuration, the data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and again communicates after a predetermined time when no other data exists on the communication path. After confirming that no other data exists on the path, it has a function of transmitting transmission data. In this case, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table, and the transmission state is set to the transmission standby state. When the stored data type information is individual / response unnecessary data, when the transmission state of all other transmission request data is not a response waiting state or the transmission state of other transmission request data is a waiting state for a response, When the transmission destination of the transmission request data in the state differs from the transmission destination of the transmission request data, the transmission request data is output to the data transmission means, and the transmission status of the transmission request data stored in the communication data table is changed to the transmission completion status. Is changed.

따라서, 데이터 송신 수단이 데이터의 충돌을 피하는 기능을 갖고 있고, 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 송신 데이터의 송신처와 응답 데이터의 송신원이 서로 다른 때에 데이터가 송신되어, 데이터의 충돌을 방지할 수 있다. Therefore, when the data transmission means has a function of avoiding data collision, and the data type information is individual / response unnecessary data, data is transmitted when the transmission destination of the transmission data and the transmission source of the response data are different from each other, thereby preventing data collision. You can prevent it.

또한, 상기의 통신 장치에 있어서, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 동보·응답요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 응답 대기 상태로 변경하는 것이 바람직하다. In the communication apparatus described above, when the transmission request data is input, the communication adjustment processing means stores data type information included in the transmission request data in the communication data table, and waits for transmission status. If the stored data type information is broadcast / response data, check the transmission status of the other transmission request data stored in the communication data table, and the transmission status of all other transmission request data is waiting for a response. When it is not in the state, it is preferable to output the transmission request data to the data transmission means, and change the transmission state of the transmission request data stored in the communication data table to the response waiting state.

이 구성에 의하면, 송신 요구 데이터가 입력되면, 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 동보·응답요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터가 데이터 송신 수단으로 출력되고, 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 응답 대기 상태로 변경된다. According to this configuration, when transmission request data is input, the data type information included in the transmission request data is stored in the communication data table, and the transmission state is set to the transmission standby state. When the stored data type information is broadcast / response data, when the transmission state of all other transmission request data is not in the waiting state for response, the transmission request data is output to the data transmission means and stored in the communication data table. The transmission state of the transmission request data in question is changed to the response waiting state.

따라서, 데이터 종별 정보가 동보·응답요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 송신되는 것으로 되기 때문에, 통신 매체 상에 다른 송신 데이터에 대한 응답 데이터가 존재하지 않는 것을 확인할 수 있어, 데이터의 충돌을 방지할 수 있다. Therefore, when the data type information is broadcast / response data, when the transmission state of all other transmission request data is not in the waiting state for response, the transmission request data is transmitted. It can be confirmed that there is no response data, so that data collision can be prevented.

또한, 상기의 통신 장치에 있어서, 상기 데이터 송신 수단은, 송신 데이터를 송신하기 전에 상기 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있고, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터 가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 동보·응답요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 상기 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보인 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 응답 대기 상태로 변경하는 것이 바람직하다. Further, in the communication apparatus described above, the data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and when no other data exists on the communication path. And after confirming that there is no other data on the communication path again after a predetermined time, the transmission data is transmitted, and the communication coordination processing means corresponds to the communication data table when the transmission request data is input. Storing the data type information included in the transmission request data, setting the transmission state to a transmission standby state, and when the stored data type information is broadcast / response data, the other transmission request stored in the communication data table Check the transmission status of the data, and transmit the transmission status of all other transmission request data. Is not in the response waiting state, or when the transmission state of the other transmission request data is in the response waiting state, but the types of the transmission request data in the response waiting state are all broadcast, the transmission request data is sent to the data transmission means. It is preferable to change the transmission state of the transmission request data stored in the communication data table to the response wait state.

이 구성에 의하면, 데이터 송신 수단은, 송신 데이터를 송신하기 전에 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있다. 이 경우, 송신 요구 데이터가 입력되면, 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 동보·응답요 데이터인 경우, 통신 데이터 테이블이 기억하는 다른 송신 요구 데이터의 송신 상태가 확인된다. 여기서, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보인 경우, 당해 송신 요구 데이터가 데이터 송신 수단으로 출력되고, 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 응답 대기 상태로 변경된다. According to this configuration, the data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and again communicates after a predetermined time when no other data exists on the communication path. After confirming that no other data exists on the path, it has a function of transmitting transmission data. In this case, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table, and the transmission state is set to the transmission standby state. And when the stored data type information is broadcast / response request data, the transmission state of the other transmission request data which the communication data table stores is confirmed. Here, when the transmission state of all the other transmission request data is not in the response waiting state, or when the transmission state of the other transmission request data is in the response waiting state, but all kinds of transmission request data in the response waiting state are broadcast, The transmission request data is output to the data transmission means, and the transmission state of the transmission request data stored in the communication data table is changed to the response waiting state.

동보 송신의 경우, 불특정의 다른 통신 장치로 송신 데이터를 송신하고 있기 때문에, 반드시 응답 데이터가 회신된다고는 한정되지 않고, 이미 모든 다른 통신 장치로부터 응답 데이터가 회신되어 있을 가능성이 있다. 그 때문에, 동보 송신의 경우, 응답 데이터의 수신을 기다리지 않고 송신 데이터를 송신했다고 해도, 송신 데이터와 응답 데이터가 충돌할 가능성은 낮다. 따라서, 데이터 송신 수단이 데이터의 충돌을 피하는 기능을 갖고 있고, 데이터 종별 정보가 동보·응답요 데이터인 경우, 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보일 때 데이터가 송신되어, 데이터의 충돌을 방지할 수 있다. In the case of broadcast transmission, since transmission data is transmitted to another unspecified communication device, the response data is not necessarily returned, and there is a possibility that the response data has already been returned from all other communication devices. Therefore, in the case of broadcast transmission, even if transmission data is transmitted without waiting for reception of response data, there is a low possibility that the transmission data and the response data collide. Therefore, when the data transmission means has a function of avoiding data collision and the data type information is broadcast / response data, the data is transmitted when all kinds of transmission request data in response waiting state are broadcast, and data collision occurs. Can be prevented.

또한, 상기의 통신 장치에 있어서, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 송신 완료 상태로 변경하는 것이 바람직하다. In the communication apparatus described above, when the transmission request data is input, the communication adjustment processing means stores data type information included in the transmission request data in the communication data table, and waits for transmission status. If the stored data type information is broadcast / response unnecessary data, the transmission status of the other transmission request data stored in the communication data table is checked, and the transmission status of all other transmission request data is waited for a response. When it is not in the state, it is preferable to output the transmission request data to the data transmission means and change the transmission state of the transmission request data stored in the communication data table to the transmission completion state.

이 구성에 의하면, 송신 요구 데이터가 입력되면, 통신 데이터 테이블에 당 해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터가 데이터 송신 수단으로 출력되고, 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 송신 완료 상태로 변경된다. According to this configuration, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table, and the transmission state is set to the transmission standby state. When the stored data type information is broadcast / response unnecessary data, when the transmission state of all other transmission request data is not in the waiting state for response, the transmission request data is output to the data transmission means, and stored in the communication data table. The transmission state of the transmission request data in question is changed to the transmission completion state.

따라서, 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 송신되는 것으로 되기 때문에, 통신 매체 상에 다른 송신 데이터에 대한 응답 데이터가 존재하지 않는 것을 확인할 수 있어, 데이터의 충돌을 방지할 수 있다. Therefore, when the data type information is broadcast / response unnecessary data, when the transmission state of all other transmission request data is not in the response waiting state, the transmission request data is transmitted, so that other transmission data is transmitted on the communication medium. It can be confirmed that there is no response data, so that data collision can be prevented.

또한, 상기의 통신 장치에 있어서, 상기 데이터 송신 수단은, 송신 데이터를 송신하기 전에 상기 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있고, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 상기 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보인 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 송신 완료 상태로 변경하는 것이 바람직하다. Further, in the communication apparatus described above, the data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and when no other data exists on the communication path. And after confirming that there is no other data on the communication path again after a predetermined time, the transmission data is transmitted, and the communication adjustment processing means corresponds to the communication data table when the transmission request data is input. Storing the data type information included in the transmission request data, setting the transmission state to a transmission standby state, and when the stored data type information is broadcast / response unnecessary data, the other transmission request stored in the communication data table Check the transmission status of the data, and send all other transmission request data. When the status is not in the waiting for response or when the transmission status of the other transmission request data is in the waiting for response, but all kinds of transmission request data in the response waiting status are all broadcast, the transmission request data is transmitted. It is preferable to output to the means and change the transmission state of the transmission request data stored in the communication data table to the transmission completion state.

이 구성에 의하면, 데이터 송신 수단은, 송신 데이터를 송신하기 전에 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있다. 이 경우, 송신 요구 데이터가 입력되면, 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보인 경우, 당해 송신 요구 데이터가 데이터 송신 수단으로 출력되고, 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 송신 완료 상태로 변경된다. According to this configuration, the data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and again communicates after a predetermined time when no other data exists on the communication path. After confirming that no other data exists on the path, it has a function of transmitting transmission data. In this case, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table, and the transmission state is set to the transmission standby state. When the stored data type information is broadcast / response unnecessary data, when the transmission state of all other transmission request data is not a response waiting state or the transmission state of other transmission request data is a waiting state for a response, When all types of transmission request data in the state are broadcast, the transmission request data is output to the data transmission means, and the transmission state of the transmission request data stored in the communication data table is changed to the transmission completion state.

동보 송신의 경우, 불특정의 다른 통신 장치로 송신 데이터를 송신하고 있기 때문에, 반드시 응답 데이터가 회신된다고는 한정되지 않고, 이미 모든 다른 통신 장치로부터 응답 데이터가 회신되어 있을 가능성이 있다. 그 때문에, 동보 송신의 경우, 응답 데이터의 수신을 기다리지 않고 송신 데이터를 송신했다고 해도, 송신 데이터와 응답 데이터가 충돌할 가능성은 낮다. 따라서, 데이터 송신 수단이 데이터의 충돌을 피하는 기능을 갖고 있고, 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보일 때 데이터가 송신되어, 데이터의 충돌을 방지할 수 있다. In the case of broadcast transmission, since transmission data is transmitted to another unspecified communication device, the response data is not necessarily returned, and there is a possibility that the response data has already been returned from all other communication devices. Therefore, in the case of broadcast transmission, even if transmission data is transmitted without waiting for reception of response data, there is a low possibility that the transmission data and the response data collide. Therefore, when the data transmission means has a function of avoiding data collision, and the data type information is broadcast / response unnecessary data, data is transmitted when all kinds of transmission request data in response waiting state are broadcast, and data collision occurs. Can be prevented.

또한, 상기의 통신 장치에 있어서, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답요 데이터 또는 동보·응답요 데이터인 경우, 상기 데이터 송신 수단에 의해 상기 송신 요구 데이터가 송신된 후, 송신된 송신 요구 데이터에 대응하는 송신 상태를 응답 대기 상태로 변경하고, 송신 상태가 응답 대기 상태로 변경되고 나서 소정 시간 경과하더라도 응답이 없는 경우, 송신 상태를 타임아웃 상태로 변경하는 것이 바람직하다. In the communication apparatus described above, when the transmission request data is input, the communication adjustment processing means stores data type information included in the transmission request data in the communication data table, and waits for transmission status. The transmission state corresponding to the transmission request data transmitted after the transmission request data has been transmitted by the data transmission means when the stored data type information is individual / response data or broadcast / response data. Is changed to the response wait state, and if there is no response even after a predetermined time has elapsed since the transmission state is changed to the response wait state, the transmission state is preferably changed to the timeout state.

이 구성에 의하면, 송신 요구 데이터가 입력되면, 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답요 데이터 또는 동보·응답요 데이터인 경우, 송신 요구 데이터가 송신된 후, 송신된 송신 요구 데이터에 대응하는 송신 상태가 응답 대기 상태로 변경된다. 송신 상태가 응답 대기 상태로 변경되고 나서 소정 시간 경과하더라도 응답이 없는 경우, 송신 상태가 타임아웃 상태로 변경된다. According to this configuration, when transmission request data is input, the data type information included in the transmission request data is stored in the communication data table, and the transmission state is set to the transmission standby state. When the stored data type information is individual / response data or broadcast / response data, after the transmission request data is transmitted, the transmission state corresponding to the transmitted transmission request data is changed to the response waiting state. If there is no response even after a predetermined time has elapsed since the transmission state was changed to the response waiting state, the transmission state is changed to the timeout state.

따라서, 응답 대기 상태로 천이하고 나서 소정 시간 경과하더라도 응답이 없 는 경우, 응답을 계속해서 대기하는 것은 아니고, 타임아웃 상태로 천이하기 때문에, 응답이 없는 경우라도 처리를 멈추는 일없이 계속할 수 있다. Therefore, if there is no response even after a predetermined time has elapsed after the transition to the response wait state, the response is not continuously waited but transitions to the timeout state, so that even if there is no response, the processing can be continued without stopping.

또한, 상기의 통신 장치에 있어서, 상기 통신 조정 처리 수단은, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을, 상기 통신 매체 종별 정보 기억 수단에 기억되어 있는 통신 매체 종별 정보에 따라 설정하는 것이 바람직하다. Further, in the above communication apparatus, the communication adjustment processing means stores the communication medium type information stored in the communication medium type information storage means for a predetermined time until the transmission state transitions from the response waiting state to the timeout state. It is preferable to set according to the above.

이 구성에 의하면, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간이, 통신 매체 종별 정보 기억 수단에 기억되어 있는 통신 매체 종별 정보에 따라 설정되기 때문에, 통신 매체가 데이터를 송신하는 속도에 따라서, 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을 설정할 수 있다. 즉, 통신 매체의 송신 속도가 빠른 경우, 소정 시간을 짧게 설정하는 것으로 통신 처리 속도를 향상시킬 수 있고, 통신 매체의 송신 속도가 느린 경우, 소정 시간을 길게 설정하는 것으로 통신의 신뢰성을 향상시킬 수 있다. According to this configuration, since the predetermined time until the transmission state transitions from the response waiting state to the timeout state is set according to the communication medium type information stored in the communication medium type information storage means, the communication medium transmits data. According to the speed at which it is set, a predetermined time from the response waiting state to the timeout state can be set. In other words, when the transmission speed of the communication medium is fast, the communication processing speed can be improved by setting a predetermined time short. When the transmission speed of the communication medium is slow, the communication reliability can be improved by setting the predetermined time longer. have.

또한, 상기의 통신 장치에 있어서, 상기 통신 조정 처리 수단은, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을, 상기 송신 요구 데이터의 데이터 길이에 따라 설정하는 것이 바람직하다. In the above communication apparatus, it is preferable that the communication adjustment processing means sets a predetermined time before the transmission state transitions from the response waiting state to the timeout state in accordance with the data length of the transmission request data.

이 구성에 의하면, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간이, 송신 요구 데이터의 데이터 길이에 따라 설정되기 때문에, 통신 매체가 데이터를 송신하는 데 필요한 시간에 따라서, 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을 설정할 수 있다. 즉, 송신 요구 데이터의 데이터 길이가 짧은 경우, 송신에 필요한 시간은 줄어들기 때문에, 소정 시간을 짧게 설정하는 것으로 통신 처리 속도를 향상시킬 수 있고, 송신 요구 데이터의 데이터 길이가 긴 경우, 송신에 필요한 시간은 길어지기 때문에, 소정 시간을 길게 설정하는 것으로 통신의 신뢰성을 향상시킬 수 있다. According to this configuration, since the predetermined time until the transmission state transitions from the response waiting state to the timeout state is set in accordance with the data length of the transmission request data, the response is made in accordance with the time required for the communication medium to transmit data. A predetermined time from the standby state to the timeout state can be set. In other words, when the data length of the transmission request data is short, the time required for transmission is reduced. Therefore, setting the predetermined time shortly improves the communication processing speed. When the data length of the transmission request data is long, it is necessary to transmit. Since the time becomes long, setting the predetermined time longer can improve the reliability of the communication.

또한, 상기의 통신 장치에 있어서, 상기 통신 조정 처리 수단은, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을, 상기 송신 데이터에 대한 응답 데이터의 데이터 길이에 따라 설정하는 것이 바람직하다. In the communication apparatus described above, the communication adjustment processing means sets a predetermined time until the transmission state transitions from the response waiting state to the timeout state according to the data length of the response data for the transmission data. desirable.

이 구성에 의하면, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간이, 송신 데이터에 대한 응답 데이터의 데이터 길이에 따라 설정되기 때문에, 통신 매체가 응답 데이터를 송신하는 데 필요한 시간에 따라서, 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을 설정할 수 있다. 즉, 응답 데이터의 데이터 길이가 짧은 경우, 송신에 필요한 시간은 줄어들기 때문에, 소정 시간을 짧게 설정하는 것으로 통신 처리 속도를 향상시킬 수 있고, 응답 데이터의 데이터 길이가 긴 경우, 송신에 필요한 시간은 길어지기 때문에, 소정 시간을 길게 설정하는 것으로 통신의 신뢰성을 향상시킬 수 있다. According to this configuration, since the predetermined time until the transmission state transitions from the response waiting state to the timeout state is set according to the data length of the response data with respect to the transmission data, the time required for the communication medium to transmit the response data. According to this, it is possible to set a predetermined time from the response waiting state to the timeout state. In other words, when the data length of the response data is short, the time required for transmission is reduced. Therefore, setting the predetermined time shorter can improve the communication processing speed. When the data length of the response data is long, the time required for transmission is Since it becomes long, setting a predetermined time long can improve the reliability of a communication.

또한, 상기의 통신 장치에 있어서, 상기 송신 요구 데이터는, 각각 규격이 다른 복수의 상기 통신 매체 중에서, 사용할 통신 매체를 특정하기 위한 통신 매체 특정 정보를 포함하고, 상기 통신 조정 처리 수단은 상기 송신 요구 데이터에 포함되는 상기 통신 매체 특정 정보에 근거하여 송신 데이터를 송신하는 통신 매체를 특정하며, 상기 데이터 송신 수단은 상기 통신 조정 처리 수단에 의해 특정된 통신 매체를 사용하여 상기 송신 데이터를 송신하는 것이 바람직하다. Further, in the communication apparatus described above, the transmission request data includes communication medium specifying information for specifying a communication medium to be used among the plurality of communication media having different standards, and the communication adjustment processing means includes the transmission request. Specify a communication medium for transmitting transmission data based on the communication medium specifying information included in the data, wherein the data transmission means preferably transmits the transmission data using the communication medium specified by the communication adjustment processing means. Do.

이 구성에 의하면, 송신 요구 데이터에는, 각각 규격이 다른 복수의 통신 매체 중에서, 사용할 통신 매체를 특정하기 위한 통신 매체 특정 정보가 포함되고, 송신 요구 데이터에 포함되는 통신 매체 특정 정보에 근거하여 송신 데이터를 송신하는 통신 매체가 특정되며, 특정된 통신 매체를 사용하여 송신 데이터가 송신된다. 이와 같이, 데이터를 송신하는 통신 매체를 전환하여 사용함으로써, 각각 규격이 다른 복수의 통신 매체를 이용하여 송신 데이터를 송신할 수 있다. According to this configuration, the transmission request data includes communication medium specifying information for specifying a communication medium to be used among a plurality of communication media having different standards, and is based on the communication medium specifying information included in the transmission request data. A communication medium for transmitting the data is specified, and transmission data is transmitted using the specified communication medium. Thus, by switching and using the communication medium which transmits data, transmission data can be transmitted using the some communication medium from which a specification differs, respectively.

본 발명에 따른 통신 방법은, 다른 통신 장치와 통신 매체를 통해 데이터를 송수신하기 위한 통신 방법으로서, 송신해야 할 송신 데이터의 송신처와, 상기 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터를 작성하는 송신 요구 데이터 작성 단계와, 상기 통신 매체의 종별을 나타내는 통신 매체 종별 정보를 기억하는 통신 매체 종별 정보 기억 단계와, 상기 송신 요구 데이터 작성 단계에서 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 통신 매체 종별 정보 기억 단계에서 기억된 상기 통신 매체 종별 정보에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 통신 조정 처리 단계와, 상기 통신 조정 처리 단계에서 조정되는 타이밍에 따라 상기 송신 데이터를 송신하는 데이터 송신 처리 단계를 포함한다. The communication method according to the present invention is a communication method for transmitting and receiving data through another communication device and a communication medium, the communication method including a transmission destination to be transmitted and data type information indicating whether a response to the transmission data is required. Included in the transmission request data creation step of creating the transmission request data to be made, the communication medium type information storage step of storing communication medium type information indicating the type of the communication medium, and the transmission request data created in the transmission request data creation step. A communication adjustment processing step of adjusting the timing of transmitting the transmission data based on the data type information to be converted and the communication medium type information stored in the communication medium type information storage step, and a timing adjusted in the communication adjustment processing step To transmit the transmission data according to And a data transmission processing step.

이 구성에 의하면, 송신해야 할 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터가 작성된다. 그리고, 송신 요구 데이터에 포함되는 데이터 종별 정보와, 종별 정보 기억 수단에 기억되어 있는 통신 매체의 종별을 나타내는 통신 매체 종별 정보에 근거하여 송신 데이터를 송신하는 타이밍이 조정되고, 조정되는 타이밍에 따라 송신 데이터가 송신된다. According to this configuration, transmission request data including a transmission destination of transmission data to be transmitted and data type information indicating whether a response to the transmission data is required is created. The timing of transmitting the transmission data is adjusted based on the data type information included in the transmission request data and the communication medium type information indicating the type of the communication medium stored in the type information storage means, and the transmission is performed in accordance with the adjusted timing. The data is sent.

따라서, 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부와, 통신 매체의 종별에 근거하여 송신 데이터를 송신하는 타이밍이 조정되기 때문에, 네트워크에 접속되는 복수의 통신 장치의 통신을 가상적으로 1:1로 해서, 통신 매체 상의 다른 데이터에 충돌함으로써 송신 데이터가 소실하는 것이 적어져, 통신의 신뢰성을 향상시킬 수 있다. Therefore, the timing of transmitting the transmission data is adjusted based on the transmission destination of the transmission data, whether the response to the transmission data is required, and the type of the communication medium. Therefore, communication between a plurality of communication devices connected to the network is virtually eliminated. With 1: 1, transmission data is less likely to be lost by colliding with other data on the communication medium, thereby improving communication reliability.

본 발명에 따른 통신 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체는, 다른 통신 장치와 통신 매체를 통해 데이터를 송수신하기 위한 통신 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체로서, 송신해야 할 송신 데이터의 송신처와, 상기 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터를 작성하는 송신 요구 데이터 작성 수단과, 상기 통신 매체의 종별을 나타내는 통신 매체 종별 정보를 기억하는 통신 매체 종별 정보 기억 수단과, 상기 송신 요구 데이터 작성 수단에 의해 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 통신 매체 종별 정보 기억 수단에 기억되어 있는 상기 통신 매체 종별 정보에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 통신 조정 처리 수단과, 상기 통신 조정 처리 수단에 의해 조정되는 타이밍에 따라 상기 송신 데이터를 송신하는 데이터 송신 수단으로서 컴퓨터를 기능하게 한다. A computer readable recording medium having recorded thereon a communication program according to the present invention is a computer readable recording medium having recorded thereon a communication program for transmitting / receiving data via another communication device. Transmission request data creating means for creating transmission request data including data type information indicating whether a response to the data is required; communication medium type information storage means for storing communication medium type information indicating the type of the communication medium; Adjust the timing of transmitting the transmission data based on the data type information included in the transmission request data created by the transmission request data creating means and the communication medium type information stored in the communication medium type information storage means. Communication coordination It makes a computer function as a data transmission means for transmitting the transmission data in accordance with the timing adjusted by Lee means, the communication regulation processing unit.

이 구성에 의하면, 송신해야 할 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터가 작성된다. 그리고, 송신 요구 데이터에 포함되는 데이터 종별 정보와, 종별 정보 기억 수단에 기억되어 있는 통신 매체의 종별을 나타내는 통신 매체 종별 정보에 근거하여 송신 데이터를 송신하는 타이밍이 조정되고, 조정되는 타이밍에 따라 송신 데이터가 송신된다. According to this configuration, transmission request data including a transmission destination of transmission data to be transmitted and data type information indicating whether a response to the transmission data is required is created. The timing of transmitting the transmission data is adjusted based on the data type information included in the transmission request data and the communication medium type information indicating the type of the communication medium stored in the type information storage means, and the transmission is performed in accordance with the adjusted timing. The data is sent.

따라서, 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부와, 통신 매체의 종별에 근거하여 송신 데이터를 송신하는 타이밍이 조정되기 때문에, 네트워크에 접속되는 복수의 통신 장치의 통신을 가상적으로 1:1로 해서, 통신 매체 상의 다른 데이터에 충돌함으로써 송신 데이터가 소실하는 것이 적어져, 통신의 신뢰성을 향상시킬 수 있다. Therefore, the timing of transmitting the transmission data is adjusted based on the transmission destination of the transmission data, whether the response to the transmission data is required, and the type of the communication medium. Therefore, communication between a plurality of communication devices connected to the network is virtually eliminated. With 1: 1, transmission data is less likely to be lost by colliding with other data on the communication medium, thereby improving communication reliability.

이와 같이, 통신 장치의 내부에 통신을 조정하는 기능을 갖게 하여, 시스템 내의 트래픽을 제어함으로써, 시스템 내에서의 통신을 m:n에서 가상적으로 1:1의 통신으로 하는 통신 방식을 이용하여, 통신의 신뢰성을 확보한다. 그리고, 송신 요구가 있었던 데이터의 종류, 송신 요구가 있었던 데이터의 상태를 통신 장치가 관리하여, 데이터를 송신하고자 할 때마다 송신 가능한 것을 확인한다. In this way, by having a function of coordinating the communication inside the communication device and controlling the traffic in the system, the communication in the system is virtually 1: 1 in the m: n communication using a communication method. To ensure reliability. Then, the communication apparatus manages the type of data that has been requested to be transmitted and the state of the data that has been requested to be transmitted, and confirms that data can be transmitted each time the data is to be transmitted.

이하, 본 발명의 일 실시예에 따른 통신 장치에 대하여 도면을 참조하면서 설명한다. Hereinafter, a communication apparatus according to an embodiment of the present invention will be described with reference to the drawings.

도 1은 본 발명의 일 실시예에서의 통신 장치의 구성을 나타내는 블럭도이 다. 통신 장치(11)는 통신 매체(17)를 통해 다른 통신 장치와 통신 가능하게 접속되고, 통신 매체(17)에 접속하기 위한 하나 또는 복수의 애플리케이션을 기억하고 있다. 통신 매체(17)는, 유선 또는 무선이며, 예컨대, 전등선, 특정 소전력 무선 및 블루투스(blue tooth) 등으로 구성된다. 도 1에 나타내는 통신 장치(11)는 통신 조정 처리부(12), 데이터 수신 처리부(13), 데이터 송신 처리부(14), 애플리케이션 처리부(15) 및 통신 매체 처리부(16)를 구비하여 구성된다. 1 is a block diagram showing a configuration of a communication apparatus in an embodiment of the present invention. The communication device 11 is communicatively connected with other communication devices via the communication medium 17, and stores one or a plurality of applications for connecting to the communication medium 17. The communication medium 17 is wired or wireless, and is composed of, for example, a light wire, a specific low power radio, a blue tooth, and the like. The communication apparatus 11 shown in FIG. 1 is provided with the communication adjustment processing part 12, the data receiving processing part 13, the data transmission processing part 14, the application processing part 15, and the communication medium processing part 16. FIG.

통신 매체 처리부(16)는, 통신 매체(17)로 송신 데이터를 송신하고, 수신 데이터를 통신 매체(17)로부터 수신한다. 또한, 통신 매체 처리부(16)는, 통신 매체(17)의 종별을 나타내는 통신 매체 종별 정보와, 통신 매체 처리부(16)의 버전을 나타내는 버전 정보를 기억하는 종별·버전 정보 기억부(161)를 구비하고 있다. 통신 매체 처리부(16)는, 후술하는 통신 조정 처리부(12)로부터 통신 매체(17)의 종별과 통신 매체 처리부(16)의 버전의 취득을 요구하는 종별·버전 정보 취득 요구를 수취하면, 통신 매체 종별 정보 및 버전 정보를 통신 조정 처리부(12)에 응답한다. The communication medium processing unit 16 transmits transmission data to the communication medium 17, and receives the received data from the communication medium 17. The communication medium processing unit 16 further includes a type / version information storage unit 161 for storing communication medium type information indicating the type of the communication medium 17 and version information indicating the version of the communication medium processing unit 16. Equipped. When the communication medium processing unit 16 receives the type / version information acquisition request for requesting the type of the communication medium 17 and the version of the communication medium processing unit 16 from the communication coordination processing unit 12 described later, the communication medium. The type information and the version information are returned to the communication coordination processing unit 12.

애플리케이션 처리부(15)는, 송신해야 할 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터를 작성한다. 애플리케이션 처리부(15)는 작성한 송신 요구 데이터를 특정 타이밍에서 후술하는 통신 조정 처리부(12)로 출력한다. 송신 요구 데이터에는, 특정 송신처를 개별적으로 지정하고, 데이터의 송신처에 대하여 응답을 요구하는 「개별·응답요 데이터」, 특정 송신처를 개별적으로 지정하고, 데이터의 송신처에 대하여 응답을 요구하지 않는 「개별·응답 불필요 데이터」, 송신처를 특정하지 않고 동보(同報)로 데이터를 송신하고, 데이터의 송신처에 대하여 응답을 요구하는 「동보·응답요 데이터」, 또는, 송신처를 특정하지 않고 동보로 데이터를 송신하고, 데이터의 송신처에 대하여 응답을 요구하지 않는 「동보·응답 불필요 데이터」인 것을 나타내는 데이터 종별 정보가 포함된다. The application processing unit 15 creates transmission request data including a transmission destination of transmission data to be transmitted and data type information indicating whether a response to the transmission data is required. The application processing unit 15 outputs the generated transmission request data to the communication adjustment processing unit 12 described later at a specific timing. In the transmission request data, "individual and response data" that specifies a specific sender individually, requests a response to the data sender, and "individually specifies a specific sender, and does not request a response to the sender of data. -"No response required data", "broadcast / response data" which sends data by broadcast without specifying a sender, and requests a response to the sender of data, or data by broadcast without specifying a sender. Data type information indicating that the data is transmitted is " broadcast / response unnecessary data " that does not request a response to the data transmission destination.

데이터 송신 처리부(14)는, 후술하는 통신 조정 처리부(12)로부터 송신 요구 데이터가 입력되고, 통신 프로토콜에 준거한 송신 데이터를 구성하여, 통신 매체 처리부(16)로 출력한다. 데이터 수신 처리부(13)는, 통신 매체 처리부(16)로부터 수신 데이터를 수신하면, 후술하는 통신 조정 처리부(12)로 데이터를 출력한다.  The data transmission processing unit 14 receives the transmission request data from the communication adjustment processing unit 12 described later, configures transmission data conforming to the communication protocol, and outputs the data to the communication medium processing unit 16. When the data reception processing unit 13 receives the reception data from the communication medium processing unit 16, the data reception processing unit 13 outputs the data to the communication adjustment processing unit 12 described later.

통신 조정 처리부(12)는, 통신 매체 처리부(16)에 대하여, 통신 장치(11)가 접속하는 통신 매체(17)의 통신 매체 종별 정보와 통신 매체 처리부(16)의 버전 정보를 요구한다. 통신 조정 처리부(12)는, 통신 매체 처리부(16)로부터 통신 매체 종별 정보와 버전 정보를 수취하고, 통신 매체(17)의 종별 및 통신 매체 처리부(16)의 버전에 적합한 후술하는 통신 조정 방식을 선택하며, 통신의 신뢰성을 확보하기 위해 송신 요구 데이터를 데이터 송신 처리부(14)로 출력하는 타이밍을 조정한다. 또한, 통신 조정 처리부(12)는, 애플리케이션 처리부(15)로부터 수취한 송신 요구 데이터를 통신 데이터 테이블(101)로 전개하여 기억하고 있다. The communication adjustment processing unit 12 requests the communication medium processing unit 16 from the communication medium type information of the communication medium 17 to which the communication device 11 is connected and the version information of the communication medium processing unit 16. The communication adjustment processing unit 12 receives the communication medium type information and the version information from the communication medium processing unit 16, and performs a communication adjustment method described later that is suitable for the type of the communication medium 17 and the version of the communication medium processing unit 16. The timing of outputting the transmission request data to the data transmission processing section 14 is adjusted to ensure the reliability of the communication. In addition, the communication adjustment processing unit 12 expands and stores the transmission request data received from the application processing unit 15 into the communication data table 101.

또, 본 실시예에서의 애플리케이션 처리부(15)가 송신 요구 데이터 작성 수단의 일례에 상당하고, 데이터 송신 처리부(14) 및 통신 매체 처리부(16)가 데이터 송신 수단의 일례에 상당하며, 통신 조정 처리부(12)가 통신 조정 처리 수단의 일 례에 상당하고, 종별·버전 정보 기억부(161)가 통신 매체 종별 정보 기억 수단의 일례에 상당한다. In addition, the application processing part 15 in this embodiment corresponds to an example of the transmission request data creation means, and the data transmission processing part 14 and the communication medium processing part 16 correspond to an example of the data transmission means, and the communication adjustment processing part (12) corresponds to an example of the communication adjustment processing means, and the type / version information storage unit 161 corresponds to an example of the communication medium type information storage means.

도 10은 통신 데이터 테이블의 일례를 도시하는 도면이다. 통신 데이터 테이블(101)은 번호(101a), 송신 순서(101b), 송신 상태(101c) 및 송신 요구 데이터(101d)로 구성된다. 번호(101a)는 통신 조정 처리부(12)에 입력된 순서를 나타내고 있다. 송신 순서(101b)는 송신하는 순서를 나타내고 있다. 송신 상태(101c)는 송신 요구 데이터의 현재의 송신 상태를 나타내고 있다. 송신 요구 데이터(101d)는 애플리케이션 처리부(15)로부터 입력된 송신 요구 데이터이며, 송신처 및 데이터 종별 정보 등을 포함하고 있다. 10 is a diagram illustrating an example of a communication data table. The communication data table 101 is composed of a number 101a, a transmission order 101b, a transmission state 101c, and transmission request data 101d. Numeral 101a indicates the order input to the communication adjustment processing unit 12. The transmission order 101b shows the transmission procedure. The transmission state 101c indicates the current transmission state of the transmission request data. The transmission request data 101d is transmission request data input from the application processing unit 15, and includes a transmission destination, data type information, and the like.

또한, 통신 장치(11)에 의해 송신되는 송신 데이터에는, 특정 송신처를 개별적으로 지정하고, 데이터의 송신처에 대하여 응답을 요구하는 「개별·응답요 데이터」, 특정 송신처를 개별적으로 지정하고, 데이터의 송신처에 대하여 응답을 요구하지 않는 「개별·응답 불필요 데이터」, 송신처를 특정하지 않고 동보로 데이터를 송신하고, 데이터의 송신처에 대하여 응답을 요구하는 「동보·응답요 데이터」, 및 송신처를 특정하지 않고 동보로 데이터를 송신하고, 데이터의 송신처에 대하여 응답을 요구하지 않는 「동보·응답 불필요 데이터」의 4종류가 있다. 송신 요구 데이터에는 이들 데이터를 구별하기 위한 데이터 종별 정보가 포함된다. 즉, 데이터 종별 정보는, 송신 데이터가 「개별·응답요 데이터」, 「개별·응답 불필요 데이터」, 「동보·응답요 데이터」 및 「동보·응답 불필요 데이터」 중의 어느 하나를 특정하기 위한 정보이다. In the transmission data transmitted by the communication device 11, a specific transmission destination is individually designated, "individual response data" requesting a response to the data transmission destination, and a specific transmission destination are individually designated, "Individual / response unnecessary data" that does not request a response to the sender, "broadcast / response data" that sends data in broadcast without specifying a sender, and requests for a response to the sender of the data, and does not specify a sender. There are four types of "broadcast / response unnecessary data" in which data is transmitted by broadcast without a request and a response is not requested to the sender of the data. The transmission request data includes data type information for distinguishing these data. In other words, the data type information is information for the transmission data to identify any one of "individual and response unnecessary data", "individual and response unnecessary data", "broadcast and response unnecessary data", and "broadcast and response unnecessary data". .

또한, 통신 조정 처리부(12)는, 기억되어 있는 송신 요구 데이터에 「송신 대기 상태」, 「응답 대기 상태」, 「타임아웃 상태」, 「응답 수신 완료 상태」, 및 「송신 완료 상태」의 5개의 상태를 송신 상태로서 설정한다. 「송신 대기 상태」란, 통신 조정 처리부(12)의 통신 데이터 테이블(101)에 송신 요구 데이터가 기억되고, 데이터 송신 처리부(14)에 출력하는 것을 기다리고 있는 상태이다. 「응답 대기 상태」란, 데이터 송신 처리부(14)에 송신 요구 데이터를 출력하고, 데이터 수신 처리부(13)에 의해서 수신되는 응답 데이터가 입력되는 것을 기다리고 있는 상태이다. 「타임아웃 상태」란, 데이터 송신 처리부(14)에 송신 요구 데이터를 출력한 후, 소정 시간 경과하더라도 응답 데이터가 입력되지 않는 상태이다. 「응답 수신 완료 상태」란, 데이터 수신 처리부(13)로부터 응답 데이터가 입력된 상태이다. 「송신 완료 상태」란, 송신처로부터의 응답이 불필요한 경우에, 데이터 송신 처리부(14)에 송신 요구 데이터를 출력한 상태이다. In addition, the communication coordination processing unit 12 stores 5 pieces of " transmission wait state ", " response wait state ", " timeout state ", " response reception completion state ", and " transmission completion state " State is set as the transmission state. The "send waiting state" is a state where transmission request data is stored in the communication data table 101 of the communication adjustment processing unit 12 and is waiting for output to the data transmission processing unit 14. The "response wait state" is a state in which transmission request data is output to the data transmission processing unit 14 and is waiting for the response data received by the data reception processing unit 13 to be input. The "timeout state" is a state in which response data is not input even after a predetermined time elapses after outputting the transmission request data to the data transmission processing unit 14. The "response reception completion state" is a state in which response data is input from the data reception processing unit 13. The "send completion state" is a state in which transmission request data is output to the data transmission processing unit 14 when a response from the transmission destination is unnecessary.

이와 같이, 송신 요구 데이터가 입력되면, 통신 데이터 테이블(101)에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답요 데이터 또는 동보·응답요 데이터인 경우, 송신 요구 데이터가 송신된 후, 송신된 송신 요구 데이터에 대응하는 송신 상태가 응답 대기 상태로 변경된다. 송신 상태가 응답 대기 상태로 변경되고 나서 소정 시간 경과하더라도 응답이 없는 경우, 송신 상태가 타임아웃 상태로 변경된다. In this way, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table 101, and the transmission state is set to the transmission standby state. When the stored data type information is individual / response data or broadcast / response data, after the transmission request data is transmitted, the transmission state corresponding to the transmitted transmission request data is changed to the response waiting state. If there is no response even after a predetermined time has elapsed since the transmission state was changed to the response waiting state, the transmission state is changed to the timeout state.

따라서, 응답 대기 상태로 천이하고 나서 소정 시간 경과하더라도 응답이 없 는 경우, 응답을 계속해서 대기하는 것은 아니고, 타임아웃 상태로 천이하기 때문에, 응답이 없는 경우라도 처리를 멈추는 일없이 계속할 수 있다. Therefore, if there is no response even after a predetermined time has elapsed after the transition to the response wait state, the response is not continuously waited but transitions to the timeout state, so that even if there is no response, the processing can be continued without stopping.

또, 본 실시예에 있어서, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간은 미리 결정된 시간으로 설정되어 있지만, 본 발명은 특히 이것에 한정되지 않고, 종별·버전 정보 기억부(161)에 기억되어 있는 통신 매체(17)의 통신 매체 종별 정보에 따라 설정하더라도 좋다. In addition, in this embodiment, although the predetermined time until the transmission state transitions from the response waiting state to the timeout state is set to a predetermined time, the present invention is not particularly limited to this, and the type / version information storage unit It may be set according to the communication medium type information of the communication medium 17 stored in 161.

이와 같이, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간이, 종별·버전 정보 기억부(161)에 기억되어 있는 통신 매체 종별 정보에 따라 설정되기 때문에, 통신 매체(17)가 데이터를 송신하는 속도에 따라서, 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을 설정할 수 있다. 즉, 통신 매체(17)의 송신 속도가 빠른 경우, 소정 시간을 짧게 설정하는 것으로 통신 처리 속도를 향상시킬 수 있고, 통신 매체(17)의 송신 속도가 느린 경우, 소정 시간을 길게 설정하는 것으로 통신의 신뢰성을 향상시킬 수 있다. Thus, since the predetermined time until the transmission state transitions from the response waiting state to the timeout state is set in accordance with the communication medium type information stored in the type / version information storage unit 161, the communication medium 17 According to the speed at which the data is transmitted, the predetermined time from the response waiting state to the timeout state can be set. That is, when the transmission speed of the communication medium 17 is fast, the communication processing speed can be improved by setting a predetermined time short, and when the transmission speed of the communication medium 17 is slow, the communication time is set by setting the predetermined time long. Can improve the reliability.

또한, 송신 요구 데이터의 데이터 길이에 따라 설정하더라도 좋다. 이 경우, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간이, 송신 요구 데이터의 데이터 길이에 따라 설정되기 때문에, 통신 매체(17)가 데이터를 송신하는 데 필요한 시간에 따라서, 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을 설정할 수 있다. 즉, 송신 요구 데이터의 데이터 길이가 짧은 경우, 송신에 필요한 시간은 줄어들기 때문에, 소정 시간을 짧게 설정하는 것으로 통신 처리 속도를 향상시킬 수 있고, 송신 요구 데이터의 데이터 길이가 긴 경우, 송신에 필요한 시간은 길어지기 때문에, 소정 시간을 길게 설정하는 것으로 통신의 신뢰성을 향상시킬 수 있다. It may also be set according to the data length of the transmission request data. In this case, since the predetermined time until the transmission state transitions from the response waiting state to the timeout state is set in accordance with the data length of the transmission request data, according to the time required for the communication medium 17 to transmit data, A predetermined time from the response waiting state to the timeout state can be set. In other words, when the data length of the transmission request data is short, the time required for transmission is reduced. Therefore, setting the predetermined time shortly improves the communication processing speed. When the data length of the transmission request data is long, Since the time becomes long, setting the predetermined time longer can improve the reliability of the communication.

또한, 송신 데이터에 대한 응답 데이터의 데이터 길이를 예측하고, 예측한 응답 데이터의 데이터 길이에 따라 설정하더라도 좋다. 이 경우, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간이, 송신 데이터에 대한 응답 데이터의 데이터 길이에 따라 설정되기 때문에, 통신 매체가 응답 데이터를 송신하는 데 필요한 시간에 따라서, 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을 설정할 수 있다. 즉, 응답 데이터의 데이터 길이가 짧은 경우, 송신에 필요한 시간은 줄어들기 때문에, 소정 시간을 짧게 설정하는 것으로 통신 처리 속도를 향상시킬 수 있고, 응답 데이터의 데이터 길이가 긴 경우, 송신에 필요한 시간은 길어지기 때문에, 소정 시간을 길게 설정하는 것으로 통신의 신뢰성을 향상시킬 수 있다. The data length of the response data with respect to the transmission data may be predicted and set according to the predicted data length of the response data. In this case, since the predetermined time until the transmission state transitions from the response waiting state to the timeout state is set according to the data length of the response data with respect to the transmission data, according to the time required for the communication medium to transmit the response data. The predetermined time from the response waiting state to the timeout state can be set. In other words, when the data length of the response data is short, the time required for transmission is reduced. Therefore, setting the predetermined time shorter can improve the communication processing speed. When the data length of the response data is long, the time required for transmission is Since it becomes long, setting a predetermined time long can improve the reliability of a communication.

다음에, 통신 조정 방식에 대하여 설명한다. 본 실시예에서는, 통신 매체 처리부(16)가 통신 매체(17) 상에서의 데이터의 충돌 검지 및 충돌 회피를 하는 기능을 갖고 있는 경우, 제 1 통신 조정 방식이 선택되고, 이러한 기능을 갖고 있지 않은 경우, 제 2 통신 조정 방식이 선택된다. 예컨대, 제 1 통신 조정 방식에서의 통신 매체 처리부(16)는, 데이터를 송신하기 전에 통신 매체(17)의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 랜덤 시간 또는 기기 고유의 일정 시간 경과 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 데이터를 송신한다. 통신 매 체 처리부(16)가 이러한 기능을 갖고 있는 경우, 데이터가 충돌하는 일 없이 송신처로 송신되기 때문에, 통신 신뢰성이 높다고 할 수 있다. 한편, 제 2 통신 방식에서의 통신 매체 처리부(16)는, 상술한 바와 같이 충돌 검지 및 충돌 회피를 하는 기능을 갖고 있지 않기 때문에, 데이터가 충돌할 가능성이 있어, 통신 신뢰성이 낮다고 할 수 있다. Next, the communication adjustment method will be described. In the present embodiment, when the communication medium processing unit 16 has a function of detecting collision and avoiding collision of data on the communication medium 17, the first communication adjustment method is selected and does not have such a function. , A second communication coordination scheme is selected. For example, the communication medium processing unit 16 in the first communication coordination scheme confirms that no other data exists on the communication path of the communication medium 17 before transmitting data, and other data exists on the communication path. If not, the data is transmitted after confirming that no other data exists on the communication path again after a lapse of a random time or a device specific time. When the communication medium processing unit 16 has such a function, it can be said that communication reliability is high because data is transmitted to the transmission destination without collision. On the other hand, since the communication medium processing unit 16 in the second communication method does not have a function of detecting collision and avoiding collision as described above, there is a possibility that data may collide and communication reliability is low.

또, 통신 경로 상에 데이터가 존재하지 않는 것을 확인한 후, 데이터를 송신하더라도 좋지만, 통신 경로 상에 데이터가 존재하고 있는 경우, 복수의 통신 장치가 데이터의 송신 대기 상태가 되어 있을 가능성이 있다. 데이터가 통신 경로 상에서 소멸한 순간에 데이터를 송신한 경우, 복수의 통신 장치가 동시에 데이터를 송신해버려, 데이터가 충돌하여 깨질 우려가 있다. 그래서, 본 실시예에서는, 데이터를 송신하기 전에 통신 매체(17)의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 랜덤 시간 또는 기기 고유의 일정 시간 경과 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 데이터를 송신한다. 이에 따라, 복수의 통신 장치가 동시에 데이터를 송신하는 것을 방지할 수 있어, 데이터의 파괴를 방지할 수 있다. Moreover, although data may be transmitted after confirming that data does not exist on a communication path, when there exists data on a communication path, there exists a possibility that a some communication apparatus may be in the data transmission wait state. When data is transmitted at the moment when data disappears on the communication path, a plurality of communication devices may transmit data at the same time, and the data may collide and be broken. Thus, in this embodiment, before transmitting data, it is confirmed that no other data exists on the communication path of the communication medium 17, and when no other data exists on the communication path, random time or device specific After a certain time elapses, the data is transmitted after confirming that no other data exists on the communication path. As a result, a plurality of communication devices can be prevented from transmitting data at the same time, and data destruction can be prevented.

통신 조정 처리부(12)는, 통신 매체 종별 정보 및 버전 정보와 통신 조정 방식을 대응시켜 미리 기억하고 있다. 즉, 통신 매체(17)의 종별과 통신 매체 처리부(16)의 버전을 알 수 있으면, 당해 통신 매체(17) 및 통신 매체 처리부(16)가 상술의 충돌 검지 및 충돌 회피 기능을 갖고 있는지 여부를 알 수 있다. 통신 조정 처리부(12)는, 통신 매체 처리부(16)로부터 취득한 통신 매체(17)의 종별과 통신 매체 처리부(16)의 버전 정보에 대응하는 통신 조정 방식을 전환한다. 즉, 통신 매체(17) 상에서 데이터의 충돌 검지나 충돌 회피를 하는 기능을 갖고 있고, 통신의 신뢰성이 높은 통신 매체 처리부(16) 및 통신 매체(17)인 경우, 통신 조정 처리부(12)는 후술하는 도 3, 도 5, 도 7, 도 9에 나타내는 통신 조정 처리를 실행한다. 또한, 통신 매체(17) 상에서, 데이터의 충돌 검지 또는 충돌 회피를 할 수가 없는 것과 같은 통신의 신뢰성이 낮은 통신 매체 처리부(16) 및 통신 매체(17)인 경우, 통신 조정 처리부(12)는 후술하는 도 2, 도 4, 도 6, 도 8에 나타내는 통신 조정 처리를 실행한다. The communication adjustment processing unit 12 stores in advance the communication medium type information and the version information in correspondence with the communication adjustment method. That is, if the type of the communication medium 17 and the version of the communication medium processing unit 16 are known, it is determined whether the communication medium 17 and the communication medium processing unit 16 have the above-described collision detection and collision avoidance functions. Able to know. The communication adjustment processing unit 12 switches the communication adjustment method corresponding to the type of communication medium 17 acquired from the communication medium processing unit 16 and the version information of the communication medium processing unit 16. That is, in the case of the communication medium processing unit 16 and the communication medium 17 having a function of detecting collision or avoiding collision of data on the communication medium 17 and having high communication reliability, the communication coordination processing unit 12 will be described later. The communication adjustment process shown in FIG. 3, FIG. 5, FIG. 7, and FIG. 9 is performed. In addition, on the communication medium 17, in the case of the communication medium processing unit 16 and the communication medium 17 having low reliability of communication, such as being unable to detect or avoid collision of data, the communication coordination processing unit 12 will be described later. The communication adjustment process shown in FIG. 2, FIG. 4, FIG. 6, and FIG. 8 is performed.

도 2는, 통신 신뢰성이 낮은 통신 매체(17) 및 통신 매체 처리부(16)를 사용하고 있고, 송신 예정의 송신 데이터의 데이터 종별이 「개별·응답요 데이터」인 경우의 통신 조정 처리부(12)에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도이다. FIG. 2 uses the communication medium 17 and the communication medium processing unit 16 having low communication reliability, and the communication adjustment processing unit 12 when the data type of the transmission data to be transmitted is "individual response data". It is a flowchart which shows an example of the communication adjustment process performed by the process.

우선, 통신 조정 처리부(12)는, 통신 매체 처리부(16)에 통신 매체 종별 정보와 버전 정보를 취득하기 위한 종별·버전 정보 요구를 출력한다(단계 S201). 통신 매체 처리부(16)는, 종별·버전 정보 요구가 입력되면, 종별·버전 정보 기억부(161)에 기억되어 있는 통신 매체 종별 정보 및 버전 정보를 판독하고, 통신 조정 처리부(12)로 출력한다. 다음에, 통신 조정 처리부(12)는, 통신 매체 처리부(16)로부터 출력된 통신 매체 종별 정보와 버전 정보를 취득한다(단계 S202). First, the communication adjustment processing unit 12 outputs a type / version information request for acquiring communication medium type information and version information to the communication medium processing unit 16 (step S201). When the type / version information request is input, the communication medium processing unit 16 reads the communication medium type information and the version information stored in the type / version information storage unit 161 and outputs them to the communication adjustment processing unit 12. . Next, the communication adjustment processing unit 12 acquires communication medium type information and version information output from the communication medium processing unit 16 (step S202).

다음에, 통신 조정 처리부(12)는, 통신 매체 처리부(16)로부터 취득한 통신 매체 종별 정보 및 버전 정보에 근거하여 통신 조정 방식을 특정한다(단계 S203). 즉, 통신 조정 처리부(12)는 통신 매체 종별 정보 및 버전 정보에 대응하는 통신 조정 방식을 선택한다. 또, 도 2에서는, 통신 매체 처리부(16)가 데이터의 충돌 검지 및 충돌 회피를 하는 기능을 갖지 않고, 통신 신뢰성이 낮은 제 2 통신 조정 방식이 선택된 것으로 하여 설명한다. Next, the communication adjustment processing unit 12 specifies the communication adjustment method based on the communication medium type information and the version information acquired from the communication medium processing unit 16 (step S203). That is, the communication adjustment processing unit 12 selects a communication adjustment method corresponding to the communication medium type information and the version information. In addition, in FIG. 2, it demonstrates that the communication medium processing part 16 does not have a function which detects the collision of a data and avoids the collision, and the 2nd communication adjustment method with low communication reliability was selected.

또한, 도 2에서의 단계 S201∼S203까지의 처리는, 통신 장치(11)의 기동시에 실행하면 좋다. 그리고, 기동시에 단계 S201∼S203까지의 처리가 한번만 행해지고, 그 후, 송신 요구 데이터가 수신될 때에 단계 S204 이후의 처리가 행하여진다. In addition, the process from step S201 to S203 in FIG. 2 may be performed at the start of the communication device 11. Then, the processing from steps S201 to S203 is performed only once at the time of startup, and then the processing after step S204 is performed when the transmission request data is received.

다음에, 통신 조정 처리부(12)는 애플리케이션 처리부(15)에 의해 작성된 송신 요구 데이터를 수신한다(단계 S204). 다음에, 통신 조정 처리부(12)는, 애플리케이션 처리부(15)로부터 수신한 송신 요구 데이터를 통신 데이터 테이블(101)에 기억한다(단계 S205). 다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억한 송신 요구 데이터에 대응하는 송신 상태를 「송신 대기 상태」로 설정한다(단계 S206). Next, the communication coordination processing unit 12 receives the transmission request data created by the application processing unit 15 (step S204). Next, the communication adjustment processing unit 12 stores the transmission request data received from the application processing unit 15 in the communication data table 101 (step S205). Next, the communication adjustment processing unit 12 sets the transmission state corresponding to the transmission request data stored in the communication data table 101 to the "transmission wait state" (step S206).

다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억한 송신 요구 데이터에 포함되는 데이터 종별 정보로부터 송신 데이터의 종별을 판정한다(단계 S207). 또, 도 2에 나타내는 단계 S207에서는, 통신 조정 처리부(12)에 의해서, 송신 데이터의 데이터 종별이 「개별·응답요 데이터」로 판정된 것으로 한다. Next, the communication adjustment processing unit 12 determines the type of transmission data from the data type information included in the transmission request data stored in the communication data table 101 (step S207). In addition, in step S207 shown in FIG. 2, it is assumed by the communication adjustment processing unit 12 that the data type of the transmission data is determined as "individual response data".

다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 다른 송신 요구 데이터의 송신 상태를 체크한다(단계 S208). 그 때, 다른 송신 요구 데이터의 송신 상태가 모두 「응답 대기」 이외의 상태인 경우, 통신 조정 처리 부(12)는 송신 요구 데이터를 데이터 송신 처리부(14)로 출력한다(단계 S209). 다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「응답 대기」의 상태로 변경한다(단계 S210). Next, the communication adjustment processing unit 12 checks the transmission state of the other transmission request data stored in the communication data table 101 (step S208). At that time, when all transmission statuses of other transmission request data are other than "waiting for response", the communication coordination processing section 12 outputs the transmission request data to the data transmission processing section 14 (step S209). Next, the communication adjustment processing unit 12 changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "waiting for a response" (step S210).

한편, 다른 송신 요구 데이터의 송신 상태 중 하나라도 「응답 대기」의 상태가 있는 경우, 통신 조정 처리부(12)는 소정 시간 경과했는지 여부를 판단한다(단계 S211). 여기서, 소정 시간 경과한 것이라고 판단된 경우(단계 S211에서 '예'), 통신 조정 처리를 종료하고, 소정 시간 경과하지 않았다고 판단된 경우(단계 S211에서 '아니오'), 단계 S208의 처리에 되돌아가, 다시 다른 송신 요구 데이터의 송신 상태를 체크한다. On the other hand, if any of the transmission states of other transmission request data has a "response waiting" state, the communication adjustment processing unit 12 determines whether a predetermined time has elapsed (step S211). Here, if it is determined that the predetermined time has elapsed (YES in step S211), the communication adjustment process is terminated, and if it is determined that the predetermined time has not elapsed (NO in step S211), the process returns to the process of step S208. Check the transmission status of other transmission request data again.

이와 같이, 송신해야 할 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터가 작성된다. 그리고, 송신 요구 데이터에 포함되는 데이터 종별 정보와, 종별·버전 정보 기억부(161)에 기억되어 있는 통신 매체(17)의 종별을 나타내는 통신 매체 종별 정보에 근거하여 송신 데이터를 송신하는 타이밍이 조정되고, 조정되는 타이밍에 따라 송신 데이터가 송신된다. In this way, transmission request data including a transmission destination of transmission data to be transmitted and data type information indicating whether a response to the transmission data is required is created. Then, the timing for transmitting the transmission data is adjusted based on the data type information included in the transmission request data and the communication medium type information indicating the type of the communication medium 17 stored in the type / version information storage unit 161. Then, transmission data is transmitted in accordance with the timing to be adjusted.

따라서, 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부와, 통신 매체(17)의 종별에 근거하여 송신 데이터를 송신하는 타이밍이 조정되기 때문에, 네트워크에 접속되는 복수의 통신 장치(11)의 통신을 가상적으로 1:1로 해서, 통신 매체(17) 상의 다른 데이터에 충돌함으로써 송신 데이터가 소실하는 것이 적어져, 통신의 신뢰성을 향상시킬 수 있다. Therefore, the timing for transmitting the transmission data is adjusted based on the transmission destination of the transmission data, whether the response to the transmission data is necessary, and the type of the communication medium 17, so that the plurality of communication apparatuses 11 connected to the network are adjusted. By virtually 1: 1 communication, the transmission data is less likely to be lost by colliding with other data on the communication medium 17, thereby improving the reliability of the communication.

또한, 데이터 종별 정보가, 개별·응답요 데이터, 개별·응답 불필요 데이터, 동보·응답요 데이터 및 동보·응답 불필요 데이터 중의 어느 하나를 확인하는 것으로, 용이하게 데이터의 송신처 및 응답의 필요 여부를 특정할 수 있다. In addition, the data type information confirms any one of the individual response data, the individual response unnecessary data, the broadcasting response data, and the broadcasting response unnecessary data to easily specify the data transmission destination and whether the response is necessary. can do.

또한, 송신 요구 데이터를 관리하기 위한 통신 데이터 테이블(101)은 송신 요구 데이터마다 송신 상태를 대응시켜 기억하고 있다. 그리고, 송신 요구 데이터에 포함되는 데이터 종별 정보와, 종별·버전 정보 기억부(161)에 기억되어 있는 통신 매체 종별 정보와, 통신 데이터 테이블(101)에 기억되어 있는 송신 상태에 근거하여 송신 데이터를 송신하는 타이밍이 조정된다. 따라서, 데이터 종별 정보 및 통신 매체 종별 정보뿐만 아니라, 송신 요구 데이터의 송신 상태도 고려하여 송신 데이터를 송신하는 타이밍이 조정되기 때문에, 통신의 신뢰성을 더 향상시킬 수 있다. In addition, the communication data table 101 for managing the transmission request data stores the transmission state in correspondence with each transmission request data. Then, the transmission data is based on the data type information included in the transmission request data, the communication medium type information stored in the type / version information storage unit 161, and the transmission state stored in the communication data table 101. The timing to transmit is adjusted. Therefore, the timing of transmitting the transmission data is adjusted in consideration of the transmission status of the transmission request data as well as the data type information and the communication medium type information, so that the reliability of the communication can be further improved.

또한, 송신 요구 데이터가 입력되면, 통신 데이터 테이블(101)에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답요 데이터인 경우, 통신 데이터 테이블(101)이 기억하는 다른 송신 요구 데이터의 송신 상태가 확인된다. 여기서, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터가 데이터 송신 처리부(14)로 출력되고, 통신 데이터 테이블(101)에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 응답 대기 상태로 변경된다. When the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table 101, and the transmission state is set to the transmission wait state. And when the stored data type information is individual response data, the transmission state of the other transmission request data which the communication data table 101 stores is confirmed. Here, when the transmission state of all other transmission request data is not a response waiting state, the transmission request data is output to the data transmission processing unit 14 and the transmission state of the transmission request data stored in the communication data table 101. Changes to waiting for response.

따라서, 데이터 종별 정보가 개별·응답요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 송신되는 것으로 되기 때문에, 통신 매체(17) 상에 다른 송신 데이터에 대한 응답 데이터가 존재하지 않는 것을 확인할 수 있어, 데이터의 충돌을 방지할 수 있다. Therefore, when the data type information is individual / response data, when the transmission state of all other transmission request data is not a response waiting state, the transmission request data is transmitted, so that other transmissions are made on the communication medium 17. It can be confirmed that there is no response data for the data, so that data collision can be prevented.

도 3은, 통신 신뢰성이 높은 통신 매체(17) 및 통신 매체 처리부(16)를 사용하고 있고, 송신 예정의 송신 데이터의 데이터 종별이 「개별·응답요 데이터」인 경우의 통신 조정 처리부(12)에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도이다. 또, 단계 S301∼S306까지의 처리는, 도 2의 단계 S201∼S206까지의 처리와 동일하기 때문에 설명을 생략한다. 또한, 도 3의 단계 S303에서는, 통신 매체 처리부(16)가 데이터의 충돌 검지 및 충돌 회피를 하는 기능을 갖고 있고, 통신 신뢰성이 높은 제 1 통신 조정 방식이 선택된 것으로 하여 설명한다. 또한, 도 3에서의 단계 S301∼S303까지의 처리는, 통신 장치(11)의 기동시에 실행하면 좋다. 그리고, 기동시에 단계 S301∼S303까지의 처리가 한번만 행해지고, 그 후, 송신 요구 데이터가 수신될 때에 단계 S304 이후의 처리가 행하여진다. FIG. 3 uses the communication medium 17 and the communication medium processing unit 16 with high communication reliability, and the communication adjustment processing unit 12 when the data type of the transmission data to be transmitted is "individual response data". It is a flowchart which shows an example of the communication adjustment process performed by the process. In addition, since the process from step S301 to S306 is the same as the process from step S201 to S206 of FIG. 2, description is abbreviate | omitted. In addition, in step S303 of FIG. 3, it is assumed that the communication medium processing unit 16 has a function of detecting collision and avoiding collision of data, and a first communication adjustment scheme having high communication reliability is selected. In addition, the process from step S301 to S303 in FIG. 3 may be performed at the start of the communication device 11. Then, the processing from steps S301 to S303 is performed only once at the time of startup, and then, the processing after step S304 is performed when the transmission request data is received.

통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억한 송신 요구 데이터에 포함되는 데이터 종별 정보로부터 송신 데이터의 종별을 판정한다(단계 S307). 또, 도 3에 나타내는 단계 S307에서는, 통신 조정 처리부(12)에 의해서, 송신 데이터의 데이터 종별이 「개별·응답요 데이터」로 판정된 것으로 한다. The communication adjustment processing unit 12 determines the type of transmission data from the data type information included in the transmission request data stored in the communication data table 101 (step S307). In addition, in step S307 shown in FIG. 3, it is assumed by the communication adjustment processing part 12 that the data type of transmission data is determined as "individual response data."

다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 다른 송신 요구 데이터의 송신 상태를 체크한다(단계 S308). 그 때, 다른 송신 요구 데이터의 송신 상태가 모두 「응답 대기」 이외의 상태인 경우, 통신 조정 처리 부(12)는, 송신 요구 데이터를 데이터 송신 처리부(14)로 출력한다(단계 S309). 다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「응답 대기」의 상태로 변경한다(단계 S310). Next, the communication adjustment processing unit 12 checks the transmission state of the other transmission request data stored in the communication data table 101 (step S308). At that time, when all transmission states of the other transmission request data are other than "waiting for a response", the communication adjustment processing unit 12 outputs the transmission request data to the data transmission processing unit 14 (step S309). Next, the communication adjustment processing unit 12 changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "waiting for a response" (step S310).

한편, 다른 송신 요구 데이터의 송신 상태 중 하나라도 「응답 대기」의 상태가 있는 경우, 통신 조정 처리부(12)는 「응답 대기」 상태의 송신 요구 데이터의 송신처를 확인한다(단계 S311). 그 때, 송신 예정의 송신 요구 데이터의 송신처와, 「응답 대기」 상태인 모든 송신 요구 데이터의 송신처가 다른 경우, 단계 S309의 처리로 이행한다. 그리고, 통신 조정 처리부(12)는, 송신 요구 데이터를 데이터 송신 처리부(14)로 출력하고, 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「응답 대기」의 상태로 변경한다. On the other hand, when any of the transmission states of other transmission request data has a "response wait" state, the communication coordination processing unit 12 confirms the transmission destination of the transmission request data in the "response wait" state (step S311). At that time, when the transmission destination of the transmission request data to be transmitted is different from the transmission destination of all the transmission request data in the "waiting for response" state, the process proceeds to step S309. And the communication adjustment processing part 12 outputs transmission request data to the data transmission processing part 14, and changes the transmission state of the transmission request data stored in the communication data table 101 to the state of "waiting for a response." .

한편, 「응답 대기」 상태인 모든 송신 요구 데이터의 송신처 중, 송신 예정의 송신 요구 데이터의 송신처와 하나라도 동일한 것이 있는 경우, 통신 조정 처리부(12)는 소정 시간 경과했는지 여부를 판단한다(단계 S312). 여기서, 소정 시간 경과한 것이라고 판단된 경우(단계 S312에서 '예'), 통신 조정 처리를 종료하고, 소정 시간 경과하지 않았다고 판단된 경우(단계 S312에서 '아니오'), 단계 S308의 처리에 되돌아가, 다시 다른 송신 요구 데이터의 송신 상태를 체크한다. On the other hand, if at least one of the transmission destinations of all the transmission request data in the "response waiting" state is the same as the transmission destination of the transmission request data to be transmitted, the communication coordination processing unit 12 determines whether the predetermined time has elapsed (step S312). ). Here, in the case where it is determined that the predetermined time has elapsed (YES in step S312), the communication adjustment process is terminated, and when it is determined that the predetermined time has not elapsed (NO in step S312), the process returns to the process of step S308. Check the transmission status of other transmission request data again.

이와 같이, 통신 신뢰성에 따라서, 도 2, 도 3의 처리를 자동적으로 전환하고 있기 때문에, 시스템 전체에 있어서 통신 신뢰성을 확보할 수 있는 범위에서 가장 빠르게 통신 처리를 할 수 있다고 하는 효과가 있다. As described above, since the processing of Figs. 2 and 3 is automatically switched in accordance with the communication reliability, there is an effect that the communication processing can be performed as quickly as possible in the range in which the communication reliability can be secured in the whole system.

또한, 통신 매체 처리부(16)는, 송신 데이터를 송신하기 전에 통신 매체(17) 의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있다. 이 경우, 송신 요구 데이터가 입력되면, 통신 데이터 테이블(101)에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 또는 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 응답 대기 상태인 송신 요구 데이터의 송신처가, 당해 송신 요구 데이터의 송신처와 모두 다를 때, 당해 송신 요구 데이터가 데이터 송신 처리부(14)로 출력되고, 통신 데이터 테이블(101)에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 응답 대기 상태로 변경된다. In addition, the communication medium processing unit 16 confirms that no other data exists on the communication path of the communication medium 17 before transmitting the transmission data, and when there is no other data on the communication path, a predetermined time After confirming again that no other data exists on the communication path, it has a function of transmitting transmission data. In this case, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table 101, and the transmission state is set to the transmission standby state. If the stored data type information is individual / response data, when the transmission state of all other transmission request data is not in the waiting for response or the transmission state of other transmission request data is in the waiting for response, When the transmission destination of the transmission request data which is in a state differs from the transmission destination of the transmission request data, the transmission request data is output to the data transmission processing section 14, and the transmission request data stored in the communication data table 101 is stored. The transmission status changes to the wait for response.

따라서, 통신 매체(17)가 데이터의 충돌을 피하는 기능을 갖고 있고, 데이터 종별 정보가 개별·응답요 데이터인 경우, 송신 데이터의 송신처와 응답 데이터의 송신원이 서로 다른 때에 데이터가 송신되기 때문에, 데이터의 충돌을 방지할 수 있다. Therefore, when the communication medium 17 has a function of avoiding data collision and the data type information is individual and response data, the data is transmitted when the transmission destination of the transmission data and the transmission source of the response data are different. Can prevent the collision.

도 4는, 통신 신뢰성이 낮은 통신 매체(17) 및 통신 매체 처리부(16)를 사용하고 있고, 송신 예정의 송신 데이터의 데이터 종별이 「개별·응답 불필요 데이터」인 경우의 통신 조정 처리부(12)에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도이다. 또, 단계 S401∼S406까지의 처리는, 도 2의 단계 S201∼S206까지 의 처리와 동일하기 때문에 설명을 생략한다. 또한, 도 4의 단계 S403에서는, 통신 매체 처리부(16)가 데이터의 충돌 검지 및 충돌 회피를 하는 기능을 갖지 않고, 통신 신뢰성이 낮은 제 2 통신 조정 방식이 선택된 것으로 하여 설명한다. 또한, 도 4에서의 단계 S401∼S403까지의 처리는, 통신 장치(11)의 기동시에 실행하면 좋다. 그리고, 기동시에 단계 S401∼S403까지의 처리가 한번만 행해지고, 그 후, 송신 요구 데이터가 수신될 때에 단계 S404 이후의 처리가 행하여진다. FIG. 4 uses the communication medium 17 and the communication medium processing unit 16 having low communication reliability, and the communication coordination processing unit 12 when the data type of the scheduled transmission data is "individual and response unnecessary data". It is a flowchart which shows an example of the communication adjustment process performed by the process. In addition, since the process from step S401 to S406 is the same as the process from step S201 to S206 of FIG. 2, description is abbreviate | omitted. In addition, in step S403 of FIG. 4, it is assumed that the communication medium processing unit 16 does not have a function of detecting collision and avoiding collision of data, and a second communication adjustment scheme having low communication reliability is selected. In addition, the process from step S401 to S403 in FIG. 4 may be performed at the start of the communication device 11. Then, the processing from steps S401 to S403 is performed only once at the time of startup, and then the processing after step S404 is performed when the transmission request data is received.

통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억한 송신 요구 데이터에 포함되는 데이터 종별 정보로부터 송신 데이터의 종별을 판정한다(단계 S407). 또, 도 4에 나타내는 단계 S407에서는, 통신 조정 처리부(12)에 의해서, 송신 데이터의 데이터 종별이 「개별·응답 불필요 데이터」로 판정된 것으로 한다. The communication adjustment processing unit 12 determines the type of transmission data from the data type information included in the transmission request data stored in the communication data table 101 (step S407). In addition, in step S407 shown in FIG. 4, it is assumed by the communication adjustment processing part 12 that the data type of transmission data is determined as "individual and response unnecessary data."

다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 다른 송신 요구 데이터의 송신 상태를 체크한다(단계 S408). 그 때, 다른 송신 요구 데이터의 송신 상태가 모두 「응답 대기」 이외의 상태인 경우, 통신 조정 처리부(12)는 송신 요구 데이터를 데이터 송신 처리부(14)로 출력한다(단계 S409). 다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「송신 완료」의 상태로 변경한다(단계 S410). Next, the communication adjustment processing unit 12 checks the transmission state of the other transmission request data stored in the communication data table 101 (step S408). At that time, when all the transmission states of the other transmission request data are other than "waiting for a response", the communication adjustment processing unit 12 outputs the transmission request data to the data transmission processing unit 14 (step S409). Next, the communication adjustment processing unit 12 changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "transmission complete" (step S410).

한편, 다른 송신 요구 데이터의 송신 상태 중 하나라도 「응답 대기」의 상태가 있는 경우, 통신 조정 처리부(12)는 소정 시간 경과했는지 여부를 판단한다(단계 S411). 여기서, 소정 시간 경과한 것이라고 판단된 경우(단계 S411에서 '예 '), 통신 조정 처리를 종료하고, 소정 시간 경과하지 않았다고 판단된 경우(단계 S411에서 '아니오'), 단계 S408의 처리에 되돌아가, 다시 다른 송신 요구 데이터의 송신 상태를 체크한다. On the other hand, if any of the transmission states of the other transmission request data has a "response waiting" state, the communication adjustment processing unit 12 determines whether the predetermined time has elapsed (step S411). Here, if it is determined that the predetermined time has elapsed (YES in step S411), the communication adjustment process is terminated, and if it is determined that the predetermined time has not elapsed (NO in step S411), the process returns to the process of step S408. Check the transmission status of other transmission request data again.

이와 같이, 송신 요구 데이터가 입력되면, 통신 데이터 테이블(101)에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 데이터 송신 처리부(14)로 출력되고, 통신 데이터 테이블(101)에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 송신 완료 상태로 변경된다. In this way, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table 101, and the transmission state is set to the transmission standby state. And when the stored data type information is individual / response unnecessary data, when the transmission state of all other transmission request data is not a response waiting state, the said transmission request data is output to the data transmission processing part 14, and the communication data table The transmission state of the transmission request data stored in 101 is changed to the transmission completion state.

따라서, 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 송신되는 것으로 되기 때문에, 통신 매체(17) 상에 다른 송신 데이터에 대한 응답 데이터가 존재하지 않는 것을 확인할 수 있어, 데이터의 충돌을 방지할 수 있다. Therefore, when the data type information is individual / response unnecessary data, when the transmission state of all other transmission request data is not in the response waiting state, the transmission request data is transmitted, and thus other transmission on the communication medium 17 is performed. It can be confirmed that there is no response data for the data, so that data collision can be prevented.

도 5는, 통신 신뢰성이 높은 통신 매체(17) 및 통신 매체 처리부(16)를 사용하고 있고, 송신 예정의 송신 데이터의 데이터 종별이 「개별·응답 불필요 데이터」인 경우의 통신 조정 처리부(12)에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도이다. 또, 단계 S501∼S506까지의 처리는, 도 2의 단계 S201∼S206까지의 처리와 동일하기 때문에 설명을 생략한다. 또한, 도 5의 단계 S503에서는, 통 신 매체 처리부(16)가 데이터의 충돌 검지 및 충돌 회피를 하는 기능을 갖고 있고, 통신 신뢰성이 높은 제 1 통신 조정 방식이 선택된 것으로 하여 설명한다. 또한, 도 5에서의 단계 S501∼S503까지의 처리는, 통신 장치(11)의 기동시에 실행하면 좋다. 그리고, 기동시에 단계 S501∼S503까지의 처리가 한번만 행해지고, 그 후, 송신 요구 데이터가 수신될 때에 단계 S504 이후의 처리가 행하여진다. FIG. 5 uses the communication medium 17 and the communication medium processing unit 16 having high communication reliability, and the communication coordination processing unit 12 when the data type of the scheduled transmission data is "individual and response unnecessary data". It is a flowchart which shows an example of the communication adjustment process performed by the process. In addition, since the process from step S501 to S506 is the same as the process from step S201 to S206 of FIG. 2, description is abbreviate | omitted. In addition, in step S503 of FIG. 5, it is assumed that the communication medium processing unit 16 has a function of detecting collision and avoiding collision of data, and a first communication coordination method with high communication reliability is selected. In addition, the process from step S501 to S503 in FIG. 5 may be performed at the start of the communication device 11. Then, the processing from steps S501 to S503 is performed only once at the time of startup, and then the processing after step S504 is performed when the transmission request data is received.

통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억한 송신 요구 데이터에 포함되는 데이터 종별 정보로부터 송신 데이터의 종별을 판정한다(단계 S507). 또, 도 5에 나타내는 단계 S507에서는, 통신 조정 처리부(12)에 의해서, 송신 데이터의 데이터 종별이 「개별·응답 불필요 데이터」로 판정된 것으로 한다. The communication adjustment processing unit 12 determines the type of transmission data from the data type information included in the transmission request data stored in the communication data table 101 (step S507). In addition, in step S507 shown in FIG. 5, it is assumed by the communication adjustment processing part 12 that the data type of transmission data is determined as "individual and response unnecessary data."

다음에, 통신 조정 처리부(12)는 통신 데이터 테이블(101)에 기억되어 있는 다른 송신 요구 데이터의 송신 상태를 체크한다(단계 S508). 그 때, 다른 송신 요구 데이터의 송신 상태가 모두 「응답 대기」 이외의 상태인 경우, 통신 조정 처리부(12)는 송신 요구 데이터를 데이터 송신 처리부(14)로 출력한다(단계 S509). 다음에, 통신 조정 처리부(12)는 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「송신 완료」의 상태로 변경한다(단계 S510). Next, the communication adjustment processing unit 12 checks the transmission state of the other transmission request data stored in the communication data table 101 (step S508). At that time, when all the transmission states of the other transmission request data are other than "waiting for a response", the communication adjustment processing unit 12 outputs the transmission request data to the data transmission processing unit 14 (step S509). Next, the communication adjustment processing unit 12 changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "transmission complete" (step S510).

한편, 다른 송신 요구 데이터의 송신 상태 중 하나라도 「응답 대기」의 상태가 있는 경우, 통신 조정 처리부(12)는 「응답 대기」 상태의 송신 요구 데이터의 송신처를 확인한다(단계 S511). 그 때, 송신 예정의 송신 요구 데이터의 송신처와, 「응답 대기」 상태인 모든 송신 요구 데이터의 송신처가 다른 경우, 단계 S509의 처리로 이행한다. 그리고, 통신 조정 처리부(12)는, 송신 요구 데이터를 데이터 송신 처리부(14)로 출력하고, 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「송신 완료」의 상태로 변경한다. On the other hand, if any of the transmission states of other transmission request data has a "response wait" state, the communication coordination processing unit 12 confirms the transmission destination of the transmission request data in the "response wait" state (step S511). At that time, when the transmission destination of the transmission request data to be transmitted is different from the transmission destination of all the transmission request data in the "waiting for response" state, the process proceeds to step S509. Then, the communication adjustment processing unit 12 outputs the transmission request data to the data transmission processing unit 14, and changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "transmission complete". .

한편, 「응답 대기」 상태인 모든 송신 요구 데이터의 송신처 중, 송신 예정의 송신 요구 데이터의 송신처와 하나라도 동일한 것이 있는 경우, 통신 조정 처리부(12)는 소정 시간 경과했는지 여부를 판단한다(단계 S512). 여기서, 소정 시간 경과한 것이라고 판단된 경우(단계 S512에서 '예'), 통신 조정 처리를 종료하고, 소정 시간 경과하지 않았다고 판단된 경우(단계 S512에서 '아니오'), 단계 S508의 처리에 되돌아가, 다시 다른 송신 요구 데이터의 송신 상태를 체크한다. On the other hand, if at least one of the transmission destinations of all the transmission request data in the "response waiting" state is the same as the transmission destination of the transmission request data to be transmitted, the communication coordination processing unit 12 determines whether the predetermined time has elapsed (step S512). ). Here, in the case where it is determined that the predetermined time has elapsed (YES in step S512), the communication adjustment process ends, and when it is determined that the predetermined time has not elapsed (NO in step S512), the process returns to the process of step S508. Check the transmission status of other transmission request data again.

이와 같이, 통신 신뢰성에 따라서, 도 4, 도 5의 처리를 자동적으로 전환하고 있기 때문에, 시스템 전체에 있어서 통신 신뢰성을 확보할 수 있는 범위에서 가장 빠르게 통신 처리를 할 수 있다고 하는 효과가 있다. As described above, since the processing of Figs. 4 and 5 is automatically switched in accordance with the communication reliability, there is an effect that the communication processing can be performed as quickly as possible in the range in which the communication reliability can be secured in the whole system.

또한, 통신 매체 처리부(16)는, 송신 데이터를 송신하기 전에 통신 매체(17)의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있다. 이 경우, 송신 요구 데이터가 입력되면, 통신 데이터 테이블(101)에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 또는 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 응답 대기 상태인 송신 요구 데이터의 송신처가, 당해 송신 요구 데이터의 송신처와 모두 다를 때, 당해 송신 요구 데이터가 데이터 송신 처리부(14)로 출력되고, 통신 데이터 테이블(101)에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 송신 완료 상태로 변경된다. In addition, the communication medium processing unit 16 confirms that no other data exists on the communication path of the communication medium 17 before transmitting the transmission data, and when there is no other data on the communication path, a predetermined time After confirming again that no other data exists on the communication path, it has a function of transmitting transmission data. In this case, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table 101, and the transmission state is set to the transmission standby state. When the stored data type information is individual / response unnecessary data, when the transmission state of all other transmission request data is not a response waiting state or the transmission state of other transmission request data is a waiting state for a response, When the transmission destination of the transmission request data which is in a state differs from the transmission destination of the transmission request data, the transmission request data is output to the data transmission processing section 14, and the transmission request data stored in the communication data table 101 is stored. The transmission state is changed to the transmission completion state.

따라서, 통신 매체가 데이터의 충돌을 피하는 기능을 갖고 있고, 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 송신 데이터의 송신처와 응답 데이터의 송신원이 서로 다른 때에 데이터가 송신되어, 데이터의 충돌을 방지할 수 있다. Therefore, when the communication medium has a function of avoiding data collision, and the data type information is individual / response unnecessary data, data is transmitted when the transmission destination of the transmission data and the transmission source of the response data are different, thereby preventing data collision. can do.

도 6은, 통신 신뢰성이 낮은 통신 매체(17) 및 통신 매체 처리부(16)를 사용하고 있고, 송신 예정의 송신 데이터의 데이터 종별이 「동보·응답요 데이터」인 경우의 통신 조정 처리부(12)에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도이다. 또, 단계 S601∼S606까지의 처리는 도 2의 단계 S201∼S206까지의 처리와 동일하기 때문에 설명을 생략한다. 또한, 도 6의 단계 S603에서는, 통신 매체 처리부(16)가 데이터의 충돌 검지 및 충돌 회피를 하는 기능을 갖지 않고, 통신 신뢰성이 낮은 제 2 통신 조정 방식이 선택된 것으로 하여 설명한다. 또한, 도 6에서의 단계 S601∼S603까지의 처리는, 통신 장치(11)의 기동시에 실행하면 좋다. 그리고, 기동시에 단계 S601∼S603까지의 처리가 한번만 행해지고, 그 후, 송신 요구 데이터가 수신될 때에 단계 S604 이후의 처리가 행하여진다. FIG. 6 uses the communication medium 17 and the communication medium processing unit 16 having low communication reliability, and the communication adjustment processing unit 12 when the data type of the scheduled transmission data is "broadcast / response data". It is a flowchart which shows an example of the communication adjustment process performed by the process. In addition, since the process from step S601 to S606 is the same as the process from step S201 to S206 of FIG. 2, description is abbreviate | omitted. In addition, in step S603 of FIG. 6, it is assumed that the communication medium processing unit 16 does not have a function of detecting collision of data and avoids collision, and a second communication adjustment method having low communication reliability is selected. In addition, the process from step S601 to S603 in FIG. 6 may be performed at the start of the communication device 11. Then, the process from step S601 to step S603 is performed only once at the time of startup, and then the process after step S604 is performed when the transmission request data is received.

통신 조정 처리부(12)는 통신 데이터 테이블(101)에 기억한 송신 요구 데이터에 포함되는 데이터 종별 정보로부터 송신 데이터의 종별을 판정한다(단계 S607). 또, 도 6에 나타내는 단계 S607에서는, 통신 조정 처리부(12)에 의해서, 송신 데이터의 데이터 종별이 「동보·응답요 데이터」로 판정된 것으로 한다. The communication adjustment processing unit 12 determines the type of transmission data from the data type information included in the transmission request data stored in the communication data table 101 (step S607). In addition, in step S607 shown in FIG. 6, it is assumed by the communication adjustment processing part 12 that the data type of transmission data is determined as "broadcast / response data."

다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 다른 송신 요구 데이터의 송신 상태를 체크한다(단계 S608). 그 때, 다른 송신 요구 데이터의 송신 상태가 모두 「응답 대기」 이외의 상태인 경우, 통신 조정 처리부(12)는 송신 요구 데이터를 데이터 송신 처리부(14)로 출력한다(단계 S609). 다음에, 통신 조정 처리부(12)는 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「응답 대기」의 상태로 변경한다(단계 S610). Next, the communication adjustment processing unit 12 checks the transmission state of the other transmission request data stored in the communication data table 101 (step S608). At that time, when all the transmission states of the other transmission request data are other than "waiting for a response", the communication adjustment processing unit 12 outputs the transmission request data to the data transmission processing unit 14 (step S609). Next, the communication adjustment processing unit 12 changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "waiting for a response" (step S610).

한편, 다른 송신 요구 데이터의 송신 상태 중 하나라도 「응답 대기」의 상태가 있는 경우, 통신 조정 처리부(12)는 소정 시간 경과했는지 여부를 판단한다(단계 S611). 여기서, 소정 시간 경과한 것이라고 판단된 경우(단계 S611에서 '예'), 통신 조정 처리를 종료하고, 소정 시간 경과하지 않았다고 판단된 경우(단계 S611에서 '아니오'), 단계 S608의 처리에 되돌아가, 다시 다른 송신 요구 데이터의 송신 상태를 체크한다. On the other hand, when there is a "response waiting" state in any of the transmission states of other transmission request data, the communication coordination processing unit 12 determines whether the predetermined time has elapsed (step S611). Here, if it is determined that the predetermined time has elapsed (YES in step S611), the communication adjustment process ends, and if it is determined that the predetermined time has not elapsed (NO in step S611), the process returns to the process of step S608. Check the transmission status of other transmission request data again.

이와 같이, 송신 요구 데이터가 입력되면, 통신 데이터 테이블(101)에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 동보·응답요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터가 데이터 송신 처리부(14)로 출력되고, 통신 데이터 테이블(101)에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 응답 대기 상태 로 변경된다. In this way, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table 101, and the transmission state is set to the transmission standby state. And when the stored data type information is broadcast / response request data, when the transmission state of all other transmission request data is not a response waiting state, the said transmission request data is output to the data transmission processing part 14, and the communication data table The transmission state of the transmission request data stored in 101 is changed to the response waiting state.

따라서, 데이터 종별 정보가 동보·응답요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 송신되는 것으로 되기 때문에, 통신 매체 상에 다른 송신 데이터에 대한 응답 데이터가 존재하지 않는 것을 확인할 수 있어, 데이터의 충돌을 방지할 수 있다. Therefore, when the data type information is broadcast / response data, when the transmission state of all other transmission request data is not in the waiting state for response, the transmission request data is transmitted. It can be confirmed that there is no response data, so that data collision can be prevented.

도 7은, 통신 신뢰성이 높은 통신 매체(17) 및 통신 매체 처리부(16)를 사용하고 있고, 송신 예정의 송신 데이터의 데이터 종별이 「동보·응답요 데이터」인 경우의 통신 조정 처리부(12)에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도이다. 또, 단계 S701∼S706까지의 처리는, 도 2의 단계 S201∼S206까지의 처리와 동일하기 때문에 설명을 생략한다. 또한, 도 7의 단계 S703에서는, 통신 매체 처리부(16)가 데이터의 충돌 검지 및 충돌 회피를 하는 기능을 갖고 있고, 통신 신뢰성이 높은 제 1 통신 조정 방식이 선택된 것으로 하여 설명한다. 또한, 도 7에서의 단계 S701∼S703까지의 처리는, 통신 장치(11)의 기동시에 실행하면 좋다. 그리고, 기동시에 단계 S701∼S703까지의 처리가 한번만 행해지고, 그 후, 송신 요구 데이터가 수신될 때에 단계 S704 이후의 처리가 행하여진다. FIG. 7 uses the communication medium 17 and the communication medium processing unit 16 having high communication reliability, and the communication coordination processing unit 12 when the data type of the scheduled transmission data is "broadcast / response data". It is a flowchart which shows an example of the communication adjustment process performed by the process. In addition, since the process from step S701 to S706 is the same as the process from step S201 to S206 of FIG. 2, description is abbreviate | omitted. In addition, in step S703 of FIG. 7, the communication medium processing unit 16 has a function of detecting collision and avoiding collision of data, and it is explained that the first communication adjustment method having high communication reliability is selected. In addition, the process from step S701 to S703 in FIG. 7 may be performed at the start of the communication device 11. Then, the processing from steps S701 to S703 is performed only once at the time of startup, and then the processing after step S704 is performed when the transmission request data is received.

통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억한 송신 요구 데이터에 포함되는 데이터 종별 정보로부터 송신 데이터의 종별을 판정한다(단계 S707). 또, 도 7에 나타내는 단계 S707에서는, 통신 조정 처리부(12)에 의해서, 송신 데이터의 데이터 종별이 「동보·응답요 데이터」로 판정된 것으로 한다. The communication adjustment processing unit 12 determines the type of transmission data from the data type information included in the transmission request data stored in the communication data table 101 (step S707). In addition, in step S707 shown in FIG. 7, it is assumed that the data type of the transmission data is determined as "broadcast / response data" by the communication coordination processing unit 12.

다음에, 통신 조정 처리부(12)는 통신 데이터 테이블(101)에 기억되어 있는 다른 송신 요구 데이터의 송신 상태를 체크한다(단계 S708). 그 때, 다른 송신 요구 데이터의 송신 상태가 모두 「응답 대기」 이외의 상태인 경우, 통신 조정 처리부(12)는 송신 요구 데이터를 데이터 송신 처리부(14)로 출력한다(단계 S709). 다음에, 통신 조정 처리부(12)는 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「응답 대기」의 상태로 변경한다(단계 S710). Next, the communication adjustment processing unit 12 checks the transmission state of the other transmission request data stored in the communication data table 101 (step S708). At that time, when all transmission states of the other transmission request data are other than "waiting for a response", the communication adjustment processing unit 12 outputs the transmission request data to the data transmission processing unit 14 (step S709). Next, the communication adjustment processing unit 12 changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "waiting for a response" (step S710).

한편, 다른 송신 요구 데이터의 송신 상태 중 하나라도 「응답 대기」의 상태가 있는 경우, 통신 조정 처리부(12)는 「응답 대기」 상태의 송신 요구 데이터의 데이터 종별을 확인한다(단계 S711). 그 때, 「응답 대기」 상태인 모든 송신 요구 데이터의 데이터 종별이 동보 데이터(동보·응답요 데이터)인 경우, 단계 S709의 처리로 이행한다. 그리고, 통신 조정 처리부(12)는, 송신 요구 데이터를 데이터 송신 처리부(14)로 출력하고, 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「응답 대기」의 상태로 변경한다. On the other hand, if any of the transmission states of other transmission request data has a "response wait" state, the communication coordination processing unit 12 confirms the data type of the transmission request data in the "response wait" state (step S711). At that time, when the data type of all transmission request data in the "response wait" state is broadcast data (broadcast / response request data), the process proceeds to step S709. And the communication adjustment processing part 12 outputs transmission request data to the data transmission processing part 14, and changes the transmission state of the transmission request data stored in the communication data table 101 to the state of "waiting for a response." .

한편, 「응답 대기」 상태인 송신 요구 데이터의 데이터 종별중, 하나라도 개별 데이터(개별·응답요 데이터)가 있는 경우, 통신 조정 처리부(12)는 소정 시간 경과했는지 여부를 판단한다(단계 S712). 여기서, 소정 시간 경과한 것이라고 판단된 경우(단계 S712에서 '예'), 통신 조정 처리를 종료하고, 소정 시간 경과하지 않았다고 판단된 경우(단계 S712에서 '아니오'), 단계 S708의 처리에 되돌아가, 다시 다른 송신 요구 데이터의 송신 상태를 체크한다. On the other hand, when there is individual data (individual and response data) among the data types of the transmission request data in the "response wait" state, the communication coordination processing unit 12 determines whether a predetermined time has elapsed (step S712). . Here, if it is determined that the predetermined time has elapsed (YES in step S712), the communication adjustment process is terminated, and if it is determined that the predetermined time has not elapsed (NO in step S712), the process returns to the process of step S708. Check the transmission status of other transmission request data again.

이와 같이, 통신 매체 처리부(16)는, 송신 데이터를 송신하기 전에 통신 매체(17)의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있다. 이 경우, 송신 요구 데이터가 입력되면, 통신 데이터 테이블(101)에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 동보·응답요 데이터인 경우, 통신 데이터 테이블이 기억하는 다른 송신 요구 데이터의 송신 상태가 확인된다. 여기서, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보인 경우, 당해 송신 요구 데이터가 데이터 송신 처리부(14)로 출력되고, 통신 데이터 테이블(101)에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 응답 대기 상태로 변경된다. In this way, the communication medium processing unit 16 confirms that no other data exists on the communication path of the communication medium 17 before transmitting the transmission data, and when there is no other data on the communication path, After time has confirmed that no other data exists on the communication path again, it has a function of transmitting transmission data. In this case, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table 101, and the transmission state is set to the transmission standby state. And when the stored data type information is broadcast / response request data, the transmission state of the other transmission request data which the communication data table stores is confirmed. Here, when the transmission state of all the other transmission request data is not in the response waiting state, or when the transmission state of the other transmission request data is in the response waiting state, but all kinds of transmission request data in the response waiting state are broadcast, The transmission request data is output to the data transmission processing unit 14, and the transmission state of the transmission request data stored in the communication data table 101 is changed to the response waiting state.

동보 송신의 경우, 불특정의 다른 통신 장치로 송신 데이터를 송신하고 있기 때문에, 반드시 응답 데이터가 회신된다고는 한정되지 않고, 이미 모든 다른 통신 장치로부터 응답 데이터가 회신되어 있을 가능성이 있다. 그 때문에, 동보 송신의 경우, 응답 데이터의 수신을 기다리지 않고 송신 데이터를 송신했다고 해도, 송신 데이터와 응답 데이터가 충돌할 가능성은 낮다. 따라서, 통신 매체(17)가 데이터의 충돌을 피하는 기능을 갖고 있고, 데이터 종별 정보가 동보·응답요 데이터인 경우, 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보일 때 데이터가 송신되어, 데이터의 충돌을 방지할 수 있다. In the case of broadcast transmission, since transmission data is transmitted to another unspecified communication device, the response data is not necessarily returned, and there is a possibility that the response data has already been returned from all other communication devices. Therefore, in the case of broadcast transmission, even if transmission data is transmitted without waiting for reception of response data, there is a low possibility that the transmission data and the response data collide. Therefore, when the communication medium 17 has a function of avoiding data collision and the data type information is broadcast / response data, the data is transmitted when all kinds of transmission request data in response waiting state are broadcast. Can prevent the collision.

도 8은, 통신 신뢰성이 낮은 통신 매체(17) 및 통신 매체 처리부(16)를 사용 하고 있고, 송신 예정의 송신 데이터의 데이터 종별이 「동보·응답 불필요 데이터」인 경우의 통신 조정 처리부(12)에서 실행하는 통신 조정 처리의 일례를 나타내는 흐름도이다. 또, 단계 S801∼S806까지의 처리는, 도 2의 단계 S201∼S206까지의 처리와 동일하기 때문에 설명을 생략한다. 또한, 도 8의 단계 S803에서는, 통신 매체 처리부(16)가 데이터의 충돌 검지 및 충돌 회피를 하는 기능을 갖지 않고, 통신 신뢰성이 낮은 제 2 통신 조정 방식이 선택된 것으로 하여 설명한다. 또한, 도 8에서의 단계 S801∼S803까지의 처리는, 통신 장치(11)의 기동시에 실행하면 좋다. 그리고, 기동시에 단계 S801∼S803까지의 처리가 한번만 행해지고, 그 후, 송신 요구 데이터가 수신될 때에 단계 S804 이후의 처리가 행하여진다. FIG. 8 uses the communication medium 17 and the communication medium processing unit 16 having low communication reliability, and the communication coordination processing unit 12 when the data type of the scheduled transmission data is "broadcast / response unnecessary data". It is a flowchart which shows an example of the communication adjustment process performed by the process. In addition, since the process from step S801 to S806 is the same as the process from step S201 to S206 of FIG. 2, description is abbreviate | omitted. In addition, in step S803 of FIG. 8, it is assumed that the communication medium processing unit 16 does not have a function of detecting collision and avoiding collision of data, and a second communication adjustment scheme having low communication reliability is selected. In addition, the process from step S801 to S803 in FIG. 8 may be performed at the start of the communication apparatus 11. Then, the processing from steps S801 to S803 is performed only once at the time of startup, and then the processing after step S804 is performed when the transmission request data is received.

통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억한 송신 요구 데이터에 포함되는 데이터 종별 정보로부터 송신 데이터의 종별을 판정한다(단계 S807). 또, 도 8에 나타내는 단계 S807에서는, 통신 조정 처리부(12)에 의해서, 송신 데이터의 데이터 종별이 「동보·응답 불필요 데이터」로 판정된 것으로 한다. The communication adjustment processing unit 12 determines the type of transmission data from the data type information included in the transmission request data stored in the communication data table 101 (step S807). In addition, in step S807 shown in FIG. 8, it is assumed by the communication adjustment processing part 12 that the data type of transmission data is determined as "broadcast / response unnecessary data."

다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 다른 송신 요구 데이터의 송신 상태를 체크한다(단계 S808). 그 때, 다른 송신 요구 데이터의 송신 상태가 모두 「응답 대기」 이외의 상태인 경우, 통신 조정 처리부(12)는 송신 요구 데이터를 데이터 송신 처리부(14)로 출력한다(단계 S809). 다음에, 통신 조정 처리부(12)는 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「송신 완료」의 상태로 변경한다(단계 S810). Next, the communication coordination processing unit 12 checks the transmission state of the other transmission request data stored in the communication data table 101 (step S808). At that time, when all the transmission states of the other transmission request data are other than "waiting for a response", the communication adjustment processing unit 12 outputs the transmission request data to the data transmission processing unit 14 (step S809). Next, the communication adjustment processing unit 12 changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "transmission complete" (step S810).

한편, 다른 송신 요구 데이터의 송신 상태 중 하나라도 「응답 대기」의 상태가 있는 경우, 통신 조정 처리부(12)는 소정 시간 경과했는지 여부를 판단한다(단계 S811). 여기서, 소정 시간 경과한 것이라고 판단된 경우(단계 S811에서 '예'), 통신 조정 처리를 종료하고, 소정 시간 경과하지 않았다고 판단된 경우(단계 S811에서 '아니오'), 단계 S808의 처리에 되돌아가, 다시 다른 송신 요구 데이터의 송신 상태를 체크한다. On the other hand, when there is a "response waiting" state in any of the transmission states of other transmission request data, the communication adjustment processing unit 12 determines whether the predetermined time has elapsed (step S811). Here, if it is determined that the predetermined time has elapsed (YES in step S811), the communication adjustment process ends, and if it is determined that the predetermined time has not elapsed (NO in step S811), the process returns to the process of step S808. Check the transmission status of other transmission request data again.

이와 같이, 송신 요구 데이터가 입력되면, 통신 데이터 테이블(101)에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터가 데이터 송신 처리부(14)로 출력되고, 통신 데이터 테이블(101)에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 송신 완료 상태로 변경된다. In this way, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table 101, and the transmission state is set to the transmission standby state. And when the stored data type information is broadcast / response unnecessary data, when the transmission state of all other transmission request data is not a response waiting state, the said transmission request data is output to the data transmission processing part 14, and the communication data table The transmission state of the transmission request data stored in 101 is changed to the transmission completion state.

따라서, 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닐 때, 당해 송신 요구 데이터가 송신되는 것으로 되기 때문에, 통신 매체 상에 다른 송신 데이터에 대한 응답 데이터가 존재하지 않는 것을 확인할 수 있어, 데이터의 충돌을 방지할 수 있다. Therefore, when the data type information is broadcast / response unnecessary data, when the transmission state of all other transmission request data is not in the response waiting state, the transmission request data is transmitted, so that other transmission data is transmitted on the communication medium. It can be confirmed that there is no response data, so that data collision can be prevented.

도 9는, 통신 신뢰성이 높은 통신 매체(17) 및 통신 매체 처리부(16)를 사용하고 있고, 송신 예정의 송신 데이터의 데이터 종별이 「동보·응답 불필요 데이터」인 경우의 통신 조정 처리부(12)에서 실행하는 통신 조정 처리의 일례를 나타내 는 흐름도이다. 또, 단계 S901∼S906까지의 처리는 도 2의 단계 S201∼S206까지의 처리와 동일하기 때문에 설명을 생략한다. 또한, 도 9의 단계 S903에서는, 통신 매체 처리부(16)가 데이터의 충돌 검지 및 충돌 회피를 하는 기능을 갖고 있고, 통신 신뢰성이 높은 제 1 통신 조정 방식이 선택된 것으로 하여 설명한다. 또한, 도 9에서의 단계 S901∼S903까지의 처리는, 통신 장치(11)의 기동시에 실행하면 좋다. 그리고, 기동시에 단계 S901∼S903까지의 처리가 한번만 행해지고, 그 후, 송신 요구 데이터가 수신될 때에 단계 S904 이후의 처리가 행하여진다. Fig. 9 uses a communication medium 17 and a communication medium processing unit 16 having high communication reliability, and the communication adjustment processing unit 12 when the data type of the scheduled transmission data is "broadcast / response unnecessary data". It is a flowchart which shows an example of the communication adjustment process performed by the process. In addition, since the process from step S901 to S906 is the same as the process from step S201 to S206 of FIG. 2, description is abbreviate | omitted. In addition, in step S903 of FIG. 9, it is assumed that the communication medium processing unit 16 has a function of detecting collision and avoiding collision of data, and a first communication adjustment scheme having high communication reliability is selected. In addition, the process from step S901 to S903 in FIG. 9 may be performed at the start of the communication apparatus 11. Then, at the time of startup, the processing from steps S901 to S903 is performed only once, and thereafter, the processing from step S904 is performed when the transmission request data is received.

통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억한 송신 요구 데이터에 포함되는 데이터 종별 정보로부터 송신 데이터의 종별을 판정한다(단계 S907). 또, 도 9에 나타내는 단계 S907에서는, 통신 조정 처리부(12)에 의해서, 송신 데이터의 데이터 종별이 「동보·응답 불필요 데이터」로 판정된 것으로 한다. The communication adjustment processing unit 12 determines the type of transmission data from the data type information included in the transmission request data stored in the communication data table 101 (step S907). In addition, in step S907 shown in FIG. 9, it is assumed by the communication adjustment processing unit 12 that the data type of the transmission data is determined as "broadcast / response unnecessary data".

다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 다른 송신 요구 데이터의 송신 상태를 체크한다(단계 S908). 그 때, 다른 송신 요구 데이터의 송신 상태가 모두 「응답 대기」 이외의 상태인 경우, 통신 조정 처리부(12)는, 송신 요구 데이터를 데이터 송신 처리부(14)로 출력한다(단계 S909). 다음에, 통신 조정 처리부(12)는, 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「송신 완료」의 상태로 변경한다(단계 S910). Next, the communication adjustment processing unit 12 checks the transmission state of the other transmission request data stored in the communication data table 101 (step S908). At that time, when all transmission states of the other transmission request data are other than "waiting for a response", the communication coordination processing unit 12 outputs the transmission request data to the data transmission processing unit 14 (step S909). Next, the communication adjustment processing unit 12 changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "transmission complete" (step S910).

한편, 다른 송신 요구 데이터의 송신 상태 중 하나라도 「응답 대기」의 상태가 있는 경우, 통신 조정 처리부(12)는, 「응답 대기」 상태의 송신 요구 데이터 의 데이터 종별을 확인한다(단계 S911). 그 때, 「응답 대기」 상태인 모든 송신 요구 데이터의 데이터 종별이 동보 데이터(동보·응답요 데이터)인 경우, 단계 S909의 처리로 이행한다. 그리고, 통신 조정 처리부(12)는, 송신 요구 데이터를 데이터 송신 처리부(14)로 출력하고, 통신 데이터 테이블(101)에 기억되어 있는 송신 요구 데이터의 송신 상태를 「송신 완료」의 상태로 변경한다. On the other hand, when any of the transmission states of other transmission request data has a "response waiting" state, the communication coordination processing unit 12 confirms the data type of the transmission request data in the "response waiting" state (step S911). At that time, when the data type of all the transmission request data in the "response wait" state is broadcast data (broadcast / response request data), the process proceeds to step S909. Then, the communication adjustment processing unit 12 outputs the transmission request data to the data transmission processing unit 14, and changes the transmission state of the transmission request data stored in the communication data table 101 to a state of "transmission complete". .

한편, 「응답 대기」 상태인 송신 요구 데이터의 데이터 종별중, 하나라도 개별 데이터(개별·응답요 데이터)가 있는 경우, 통신 조정 처리부(12)는 소정 시간 경과했는지 여부를 판단한다(단계 S912). 여기서, 소정 시간 경과한 것이라고 판단된 경우(단계 S912에서 '예'), 통신 조정 처리를 종료하고, 소정 시간 경과하지 않았다고 판단된 경우(단계 S912에서 '아니오'), 단계 S908의 처리에 되돌아가, 다시 다른 송신 요구 데이터의 송신 상태를 체크한다. On the other hand, when there is individual data (individual and response data) among the data types of the transmission request data in the "response wait" state, the communication coordination processing unit 12 determines whether the predetermined time has elapsed (step S912). . Here, if it is determined that the predetermined time has elapsed (YES in step S912), the communication adjustment process is terminated, and if it is determined that the predetermined time has not elapsed (NO in step S912), the process returns to the processing of step S908. Check the transmission status of other transmission request data again.

이와 같이, 통신 매체 처리부(16)는, 송신 데이터를 송신하기 전에 통신 매체(17)의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있다. 이 경우, 송신 요구 데이터가 입력되면, 통신 데이터 테이블(101)에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보가 기억되고, 또한, 송신 상태가 송신 대기 상태로 설정된다. 그리고, 기억된 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 모든 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보인 경우, 당해 송신 요구 데이터가 데이터 송신 처리부(14)로 출력되고, 통신 데이터 테이블(101)에 기억되어 있는 당해 송신 요구 데이터의 송신 상태가 송신 완료 상태로 변경된다. In this way, the communication medium processing unit 16 confirms that no other data exists on the communication path of the communication medium 17 before transmitting the transmission data, and when there is no other data on the communication path, After time has confirmed that no other data exists on the communication path again, it has a function of transmitting transmission data. In this case, when the transmission request data is input, the data type information included in the transmission request data is stored in the communication data table 101, and the transmission state is set to the transmission standby state. When the stored data type information is broadcast / response unnecessary data, when the transmission state of all other transmission request data is not a response waiting state or the transmission state of other transmission request data is a waiting state for a response, When all types of transmission request data in the state are broadcast, the transmission request data is output to the data transmission processing section 14, and the transmission status of the transmission request data stored in the communication data table 101 is changed to the transmission completion status. Is changed.

동보 송신의 경우, 불특정의 다른 통신 장치로 송신 데이터를 송신하고 있기 때문에, 반드시 응답 데이터가 회신된다고는 한정되지 않고, 이미 모든 다른 통신 장치로부터 응답 데이터가 회신되어 있을 가능성이 있다. 그 때문에, 동보 송신의 경우, 응답 데이터의 수신을 기다리지 않고 송신 데이터를 송신했다고 해도, 송신 데이터와 응답 데이터가 충돌할 가능성은 낮다. 따라서, 통신 매체(17)가 데이터의 충돌을 피하는 기능을 갖고 있고, 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보일 때 데이터가 송신되어, 데이터의 충돌을 방지할 수 있다. In the case of broadcast transmission, since transmission data is transmitted to another unspecified communication device, the response data is not necessarily returned, and there is a possibility that the response data has already been returned from all other communication devices. Therefore, in the case of broadcast transmission, even if transmission data is transmitted without waiting for reception of response data, there is a low possibility that the transmission data and the response data collide. Therefore, when the communication medium 17 has a function of avoiding data collision, and the data type information is broadcast / response unnecessary data, data is transmitted when all kinds of transmission request data in response waiting state are broadcast. Can prevent the collision.

또, 본 실시예에서의 통신 장치(11)는 하나의 통신 매체(17)와 접속되어 있지만, 본 발명은 특히 이것에 한정되지 않고, 각각 규격이 다른 복수의 통신 매체와 접속하더라도 좋다. 도 11은 통신 장치와 복수의 통신 매체를 접속하는 경우에서의 통신 장치의 구성을 나타내는 블럭도이다. In addition, although the communication apparatus 11 in this embodiment is connected with one communication medium 17, this invention is not limited to this especially, You may connect with the some communication medium from which a standard differs, respectively. 11 is a block diagram showing the configuration of a communication device in the case where the communication device and a plurality of communication media are connected.

도 11에 나타내는 통신 장치(11)는 통신 조정 처리부(12), 데이터 수신 처리부(13), 데이터 송신 처리부(14), 애플리케이션 처리부(15) 및 복수의 통신 매체 처리부(16a, 16b)를 구비하여 구성된다. 통신 장치(11)는 각각 규격이 다른 복수의 통신 매체(17a, 17b)를 통해 다른 통신 장치와 통신 가능하게 접속되어 있다. 도 11에서, 도 1과 동일한 구성에 대해서는 설명을 생략한다. 통신 장치(11)는 접 속하는 통신 매체의 수에 따라 통신 매체 처리부를 구비한다. 도 11에서는, 2개의 통신 매체(17a, 17b)에 접속하기 위해, 각각의 통신 매체(17a, 17b)에 따른 2개의 통신 매체 처리부(16a, 16b)를 구비한다. 통신 매체 처리부(16a, 16b)는 도 1에 나타내는 통신 매체 처리부(16)와 동일한 구성이기 때문에 설명을 생략한다. The communication device 11 shown in FIG. 11 includes a communication adjustment processing unit 12, a data receiving processing unit 13, a data transmission processing unit 14, an application processing unit 15, and a plurality of communication medium processing units 16a and 16b. It is composed. The communication device 11 is communicatively connected with other communication devices via a plurality of communication media 17a and 17b having different standards, respectively. In FIG. 11, the description about the same structure as FIG. 1 is abbreviate | omitted. The communication device 11 includes a communication medium processing unit in accordance with the number of communication media to which the communication device 11 belongs. In Fig. 11, two communication medium processing units 16a and 16b corresponding to each communication medium 17a and 17b are provided for connecting to two communication mediums 17a and 17b. Since the communication medium processing units 16a and 16b have the same configuration as the communication medium processing unit 16 shown in Fig. 1, description thereof is omitted.

통신 조정 처리부(12)는, 송신하는 데이터를 전송하는 통신 매체에 따라 통신 매체 처리부(16a, 16b)를 전환한다. 예컨대, 애플리케이션 처리부(15)는, 각각 규격이 다른 복수의 통신 매체 중에서, 사용할 통신 매체를 특정하기 위한 통신 매체 특정 정보를 포함하는 송신 요구 데이터를 작성하고, 작성한 송신 요구 데이터를 통신 조정 처리부(12)로 출력한다. 통신 조정 처리부(12)는, 송신 요구 데이터에 포함되는 통신 매체 특정 정보에 근거하여, 사용하는 통신 매체 처리부를 특정한다. 데이터 송신 처리부(14)는 통신 조정 처리부(12)에 의해서 특정된 통신 매체 처리부에 송신 데이터를 출력한다. 이와 같이, 데이터를 송신하는 통신 매체를 전환하여 사용함으로써, 규격이 다른 복수의 통신 매체를 이용하여 데이터를 송신할 수 있다. The communication adjustment processing unit 12 switches the communication medium processing units 16a and 16b in accordance with a communication medium for transmitting data to be transmitted. For example, the application processing unit 15 creates transmission request data including communication medium specifying information for specifying a communication medium to be used, among a plurality of communication media having different standards, and transmits the created transmission request data to the communication coordination processing unit 12. ) The communication adjustment processing unit 12 specifies the communication medium processing unit to be used based on the communication medium specifying information included in the transmission request data. The data transmission processing unit 14 outputs transmission data to the communication medium processing unit specified by the communication adjustment processing unit 12. In this way, by switching and using a communication medium for transmitting data, data can be transmitted using a plurality of communication media having different standards.

또, 본 실시예에서는, 애플리케이션 처리부(15)가 각각 규격이 다른 복수의 통신 매체 중에서, 사용할 통신 매체를 특정하기 위한 통신 매체 특정 정보를 포함하는 송신 요구 데이터를 작성하는 것으로 하고 있지만, 본 발명은 특별히 이것에 한정되지 않는다. 예컨대, 애플리케이션 처리부(15)는 송신 데이터의 송신처와 데이터 종별 정보를 포함하는 송신 요구 데이터를 작성하고, 데이터 송신 처리부(14)가 각각 규격이 다른 복수의 통신 매체 중에서, 사용할 통신 매체를 특정하더라도 좋다. In the present embodiment, the application processing unit 15 creates transmission request data including communication medium specifying information for specifying a communication medium to be used, among a plurality of communication media having different standards. It is not specifically limited to this. For example, the application processing unit 15 may create transmission request data including a transmission destination and data type information of the transmission data, and the data transmission processing unit 14 may specify a communication medium to be used among a plurality of communication media having different standards. .

또한, 본 발명에 따른 통신 조정 처리는, 통신 장치(11)가 구비하는 ROM(리드온리 메모리)에 기억된 통신 조정 처리 프로그램을 CPU(중앙 연산 처리 장치)가 실행함으로써 실현되고, 통신 조정 처리 프로그램을 컴퓨터 판독 가능한 기록 매체에 기록하여 이송함으로써, 독립된 다른 컴퓨터 시스템으로 실시할 수 있다. In addition, the communication coordination process according to the present invention is realized by the CPU (central processing unit) executing the communication coordination processing program stored in the ROM (lead-only memory) included in the communication device 11, and the communication coordination processing program. Can be implemented by another independent computer system by recording and transferring the data into a computer-readable recording medium.

본 발명에 따른 통신 장치, 통신 방법 및 통신 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체는, 특히 저속이며, 물리층에서의 통신 신뢰성이 낮은 통신 매체를 이용하여 시스템을 구축할 때, 통신의 신뢰성을 확보하는 것에 유용하다. 이 통신 장치를 미들웨어 이하에 내장함에 따라, 각 애플리케이션은 통신 상태를 의식하지 않고 용이하게 개발·설계할 수 있다. 이 통신 장치는 특히 콘트롤러 등 제어계의 기기 등에 내장함으로써 효과는 커진다. The computer-readable recording medium which records the communication apparatus, the communication method, and the communication program which concerns on this invention is a thing which ensures the reliability of communication, especially when building a system using the communication medium of low speed and low communication reliability in a physical layer. useful. By embedding this communication device below the middleware, each application can be easily developed and designed without being aware of the communication state. This communication device is particularly effective by being incorporated into a control system such as a controller.

본 발명에 의하면, 송신 데이터의 송신처와, 송신 데이터에 대한 응답의 필요 여부와, 통신 매체의 종별에 근거하여 송신 데이터를 송신하는 타이밍이 조정되기 때문에, 네트워크에 접속되는 복수의 통신 장치의 통신을 가상적으로 1:1로 해서, 통신 매체 상의 다른 데이터에 충돌함으로써 송신 데이터가 소실하는 것이 적어져, 통신의 신뢰성을 향상시킬 수 있다. According to the present invention, since the timing of transmitting the transmission data is adjusted based on the transmission destination of the transmission data, whether the response to the transmission data is necessary, and the type of the communication medium, communication of a plurality of communication devices connected to the network can be performed. By virtually 1: 1, transmission data is less lost by colliding with other data on the communication medium, thereby improving the reliability of the communication.

Claims (18)

다른 통신 장치와 통신 매체를 통해 데이터를 송수신하는 통신 장치로서, A communication device for transmitting and receiving data with another communication device through a communication medium, 송신해야 할 송신 데이터의 송신처와, 상기 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터를 작성하는 송신 요구 데이터 작성 수단과, Transmission request data creation means for creating transmission request data including transmission destination of transmission data to be transmitted and data type information indicating whether a response to the transmission data is required; 상기 통신 매체의 종별을 나타내는 통신 매체 종별 정보를 기억하는 통신 매체 종별 정보 기억 수단과, Communication medium type information storage means for storing communication medium type information indicating the type of the communication medium; 상기 송신 요구 데이터 작성 수단에 의해 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 종별 정보 기억 수단에 기억되어 있는 상기 통신 매체 종별 정보에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 통신 조정 처리 수단과, Communication for adjusting the timing for transmitting the transmission data based on the data type information included in the transmission request data created by the transmission request data creating means and the communication medium type information stored in the type information storage means. Adjustment processing means, 상기 통신 조정 처리 수단에 의해 조정되는 타이밍에 따라 상기 송신 데이터를 송신하는 데이터 송신 수단을 구비하는 And data transmission means for transmitting the transmission data in accordance with the timing adjusted by the communication adjustment processing means. 것을 특징으로 하는 통신 장치. A communication device, characterized in that. 제 1 항에 있어서,The method of claim 1, 상기 송신 요구 데이터는, 송신해야 할 송신 데이터가, 특정 송신처를 개별적으로 지정하고, 송신 데이터의 송신처에 의한 응답을 요구하는 개별·응답요 데 이터, 특정 송신처를 개별적으로 지정하고, 송신 데이터의 송신처에 의한 응답을 요구하지 않는 개별·응답 불필요 데이터, 송신처를 특정하지 않고 동보로 송신 데이터를 송신하고, 송신 데이터의 송신처에 의한 응답을 요구하는 동보·응답요 데이터, 또는 송신처를 특정하지 않고 동보로 송신 데이터를 송신하고, 송신 데이터의 송신처에 의한 응답을 요구하지 않는 동보·응답 불필요 데이터인 것을 나타내는 데이터 종별 정보를 포함하고, In the transmission request data, the transmission data to be transmitted individually specifies a specific transmission destination, individually specifies response data and a specific transmission destination for requesting a response by the transmission data transmission destination, and specifies the transmission destination of the transmission data. Individual / response unnecessary data that does not require a response by the user, broadcast data is transmitted without specifying the sender, and broadcast / response data that requests a response by the sender of the transmitted data, or broadcast without specifying the sender. Includes data type information indicating that the transmission data is broadcast and response unnecessary data that does not require a response by the transmission destination of the transmission data, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터 작성 수단에 의해 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 통신 매체 종별 정보 기억 수단에 기억되어 있는 상기 통신 매체 종별 정보에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 The communication adjustment processing means performs the transmission on the basis of the data type information included in the transmission request data created by the transmission request data creating means and the communication medium type information stored in the communication medium type information storage means. To adjust the timing of sending data. 것을 특징으로 하는 통신 장치. A communication device, characterized in that. 제 2 항에 있어서,The method of claim 2, 상기 송신 요구 데이터를 관리하기 위한 통신 데이터 테이블을 더 구비하되, Further comprising a communication data table for managing the transmission request data, 상기 통신 데이터 테이블은, 상기 송신 요구 데이터마다 송신 상태를 대응시켜 기억하고 있고, The communication data table stores transmission states in correspondence with the transmission request data. 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터 작성 수단에 의해 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 통신 매체 종별 정보 기억 수단에 기억되어 있는 상기 통신 매체 종별 정보와, 상기 통신 데 이터 테이블에 기억되어 있는 상기 송신 상태에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 The communication adjustment processing means includes the data type information included in the transmission request data created by the transmission request data creating means, the communication medium type information stored in the communication medium type information storage means, and the communication decode. Adjusting the timing of transmitting the transmission data based on the transmission state stored in the data table 것을 특징으로 하는 통신 장치. A communication device, characterized in that. 제 3 항에 있어서,The method of claim 3, wherein 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 응답 대기 상태로 변경하는 것을 특징으로 하는 통신 장치. When the transmission request data is input, the communication adjustment processing means stores the data type information included in the transmission request data in the communication data table, sets the transmission state to the transmission standby state, and stores the stored data type. When the information is individual response data, the transmission status of the other transmission request data stored in the communication data table is checked, and when the transmission status of all other transmission request data is not a response waiting state, the transmission request data. Outputting the data to the data transmission means, and changing the transmission state of the transmission request data stored in the communication data table to a response wait state. 제 3 항에 있어서,The method of claim 3, wherein 상기 데이터 송신 수단은, 송신 데이터를 송신하기 전에 상기 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있고, The data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and if no other data exists on the communication path, after a predetermined time again on the communication path. After confirming that no other data exists, it has a function of transmitting transmission data, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 상기 응답 대기 상태인 송신 요구 데이터의 송신처가 당해 송신 요구 데이터의 송신처와 모두 다른 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 응답 대기 상태로 변경하는 When the transmission request data is input, the communication adjustment processing means stores the data type information included in the transmission request data in the communication data table, sets the transmission state to the transmission standby state, and stores the stored data type. If the information is individual response data, confirm the transmission state of the other transmission request data stored in the communication data table, and if the transmission state of all the other transmission request data is not a response waiting state, or the other transmission Although the transmission state of the request data is in the waiting state for the response, when the transmission destination of the transmission request data in the response waiting state is different from the transmission destination of the transmission request data, the transmission request data is output to the data transmission means, and the communication Of the transmission request data stored in the data table. To change the sending status to waiting for response 것을 특징으로 하는 통신 장치. A communication device, characterized in that. 제 3 항에 있어서,The method of claim 3, wherein 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상 태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 송신 완료 상태로 변경하는 것을 특징으로 하는 통신 장치. When the transmission request data is input, the communication adjustment processing means stores the data type information included in the transmission request data in the communication data table, sets the transmission state to the transmission standby state, and stores the stored data type. If the information is individual / response unnecessary data, the transmission status of the other transmission request data stored in the communication data table is checked, and if the transmission status of all other transmission request data is not in the waiting for response, the transmission request data. Outputs to the data transmission means, and changes the transmission state of the transmission request data stored in the communication data table to a transmission completion state. 제 3 항에 있어서,The method of claim 3, wherein 상기 데이터 송신 수단은, 송신 데이터를 송신하기 전에 상기 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있고, The data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and if no other data exists on the communication path, after a predetermined time again on the communication path. After confirming that no other data exists, it has a function of transmitting transmission data, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답 불필요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 상기 응답 대기 상태인 송신 요구 데이터의 송신처가, 당해 송신 요구 데이터의 송신처와 모두 다른 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 송신 완료 상태로 변경하는 When the transmission request data is input, the communication adjustment processing means stores the data type information included in the transmission request data in the communication data table, sets the transmission state to the transmission standby state, and stores the stored data type. If the information is individual / response unnecessary data, check the transmission state of the other transmission request data stored in the communication data table, and if the transmission state of all other transmission request data is not in the response waiting state, or the other transmission Although the transmission state of the request data may be in a response waiting state, when the transmission destination of the transmission request data in the response waiting state is different from that of the transmission request data, the transmission request data is output to the data transmission means, and The transmission request data stored in the communication data table. To change the status of the emitter sends a transmission completion status 것을 특징으로 하는 통신 장치. A communication device, characterized in that. 제 3 항에 있어서,The method of claim 3, wherein 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 동보·응답요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 응답 대기 상태로 변경하는 것을 특징으로 하는 통신 장치. When the transmission request data is input, the communication adjustment processing means stores the data type information included in the transmission request data in the communication data table, sets the transmission state to the transmission standby state, and stores the stored data type. If the information is broadcast / response data, the transmission status of the other transmission request data stored in the communication data table is checked, and if the transmission status of all other transmission request data is not a response waiting status, the transmission request data. Outputting the data to the data transmission means, and changing the transmission state of the transmission request data stored in the communication data table to a response wait state. 제 3 항에 있어서,The method of claim 3, wherein 상기 데이터 송신 수단은, 송신 데이터를 송신하기 전에 상기 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있고, The data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and if no other data exists on the communication path, after a predetermined time again on the communication path. After confirming that no other data exists, it has a function of transmitting transmission data, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 동보·응답요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 상기 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보인 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 응답 대기 상태로 변경하는 When the transmission request data is input, the communication adjustment processing means stores the data type information included in the transmission request data in the communication data table, sets the transmission state to the transmission standby state, and stores the stored data type. If the information is broadcast / response data, confirm the transmission state of the other transmission request data stored in the communication data table, and if the transmission state of all other transmission request data is not in the waiting state for response, or the other transmission Although the transmission state of the request data is in the response waiting state, when all kinds of transmission request data in the response waiting state are broadcast, the transmission request data is output to the data transmission means, and stored in the communication data table. The transmission state of the transmission request data is changed to the response waiting state. To 것을 특징으로 하는 통신 장치. A communication device, characterized in that. 제 3 항에 있어서,The method of claim 3, wherein 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이 터의 송신 상태를 송신 완료 상태로 변경하는 것을 특징으로 하는 통신 장치. When the transmission request data is input, the communication adjustment processing means stores the data type information included in the transmission request data in the communication data table, sets the transmission state to the transmission standby state, and stores the stored data type. If the information is broadcast / response unnecessary data, the transmission status of the other transmission request data stored in the communication data table is checked, and if the transmission status of all the other transmission request data is not a response waiting status, the transmission request data. Outputting the data to the data transmission means, and changing the transmission state of the transmission request data stored in the communication data table to a transmission completion state. 제 3 항에 있어서,The method of claim 3, wherein 상기 데이터 송신 수단은, 송신 데이터를 송신하기 전에 상기 통신 매체의 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인하고, 통신 경로 상에 다른 데이터가 존재하지 않는 경우, 소정 시간 후에 다시 통신 경로 상에 다른 데이터가 존재하지 않는 것을 확인한 후, 송신 데이터를 송신하는 기능을 갖고 있고, The data transmission means confirms that no other data exists on the communication path of the communication medium before transmitting the transmission data, and if no other data exists on the communication path, after a predetermined time again on the communication path. After confirming that no other data exists, it has a function of transmitting transmission data, 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 동보·응답 불필요 데이터인 경우, 상기 통신 데이터 테이블이 기억하는 다른 상기 송신 요구 데이터의 송신 상태를 확인하고, 모든 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태가 아닌 경우, 또는 다른 상기 송신 요구 데이터의 송신 상태가 응답 대기 상태인 것은 있지만, 상기 응답 대기 상태인 송신 요구 데이터의 종류가 모두 동보인 경우, 당해 송신 요구 데이터를 상기 데이터 송신 수단으로 출력하고, 상기 통신 데이터 테이블에 기억되어 있는 당해 송신 요구 데이터의 송신 상태를 송신 완료 상태로 변경하는 When the transmission request data is input, the communication adjustment processing means stores the data type information included in the transmission request data in the communication data table, sets the transmission state to the transmission standby state, and stores the stored data type. If the information is broadcast / response unnecessary data, confirm the transmission state of the other transmission request data stored in the communication data table, and if the transmission state of all the other transmission request data is not in the response waiting state, or the other transmission Although the transmission state of the request data is in the response waiting state, when all kinds of transmission request data in the response waiting state are broadcast, the transmission request data is output to the data transmission means, and stored in the communication data table. The transmission state of the transmission request data is changed to the transmission completion state. To change 것을 특징으로 하는 통신 장치. A communication device, characterized in that. 제 3 항에 있어서,The method of claim 3, wherein 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터가 입력되면, 상기 통신 데이터 테이블에 당해 송신 요구 데이터에 포함되는 데이터 종별 정보를 기억하고, 또한, 송신 상태를 송신 대기 상태로 설정하며, 기억된 데이터 종별 정보가 개별·응답요 데이터 또는 동보·응답요 데이터인 경우, 상기 데이터 송신 수단에 의해 상기 송신 요구 데이터가 송신된 후, 송신된 송신 요구 데이터에 대응하는 송신 상태를 응답 대기 상태로 변경하고, 송신 상태가 응답 대기 상태로 변경되고 나서 소정 시간 경과하더라도 응답이 없는 경우, 송신 상태를 타임아웃 상태로 변경하는 것을 특징으로 하는 통신 장치. When the transmission request data is input, the communication adjustment processing means stores the data type information included in the transmission request data in the communication data table, sets the transmission state to the transmission standby state, and stores the stored data type. If the information is individual response data or broadcast response data, after the transmission request data is transmitted by the data transmission means, the transmission state corresponding to the transmission request data transmitted is changed to the response waiting state, and transmission is performed. And if there is no response even after a predetermined time has elapsed since the state is changed to the response wait state, the communication device is changed to the time-out state. 제 12 항에 있어서,The method of claim 12, 상기 통신 조정 처리 수단은, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을, 상기 통신 매체 종별 정보 기억 수단에 기억되어 있는 통신 매체 종별 정보에 따라 설정하는 것을 특징으로 하는 통신 장치. The communication adjustment processing means sets a predetermined time until the transmission state transitions from the response waiting state to the timeout state according to the communication medium type information stored in the communication medium type information storage means. Device. 제 12 항에 있어서,The method of claim 12, 상기 통신 조정 처리 수단은, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을, 상기 송신 요구 데이터의 데이터 길이에 따라 설정하는 것을 특징으로 하는 통신 장치. And the communication adjustment processing means sets a predetermined time until the transmission state transitions from the response waiting state to the timeout state according to the data length of the transmission request data. 제 12 항에 있어서,The method of claim 12, 상기 통신 조정 처리 수단은, 송신 상태가 응답 대기 상태로부터 타임아웃 상태로 천이하기까지의 소정 시간을, 상기 송신 데이터에 대한 응답 데이터의 데이터 길이에 따라 설정하는 것을 특징으로 하는 통신 장치. And the communication adjustment processing means sets a predetermined time until the transmission state transitions from the response waiting state to the timeout state according to the data length of the response data with respect to the transmission data. 제 1 항에 있어서,The method of claim 1, 상기 송신 요구 데이터는, 각각 규격이 다른 복수의 상기 통신 매체 중에서, 사용할 통신 매체를 특정하기 위한 통신 매체 특정 정보를 포함하고, The transmission request data includes communication medium specifying information for specifying a communication medium to be used, among a plurality of the communication media having different standards, respectively; 상기 통신 조정 처리 수단은, 상기 송신 요구 데이터에 포함되는 상기 통신 매체 특정 정보에 근거하여 송신 데이터를 송신하는 통신 매체를 특정하며, The communication adjustment processing means specifies a communication medium for transmitting the transmission data based on the communication medium specifying information included in the transmission request data, 상기 데이터 송신 수단은, 상기 통신 조정 처리 수단에 의해 특정된 통신 매체를 사용하여 상기 송신 데이터를 송신하는 The data transmission means transmits the transmission data using the communication medium specified by the communication adjustment processing means. 것을 특징으로 하는 통신 장치. A communication device, characterized in that. 다른 통신 장치와 통신 매체를 통해 데이터를 송수신하기 위한 통신 방법으로서, A communication method for transmitting and receiving data with another communication device through a communication medium, 송신해야 할 송신 데이터의 송신처와, 상기 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터를 작성하는 송신 요구 데이터 작성 단계와, A transmission request data creation step of creating transmission request data including a transmission destination of transmission data to be transmitted and data type information indicating whether a response to the transmission data is required; 상기 통신 매체의 종별을 나타내는 통신 매체 종별 정보를 기억하는 통신 매체 종별 정보 기억 단계와, A communication medium type information storage step of storing communication medium type information indicating a type of the communication medium; 상기 송신 요구 데이터 작성 단계에서 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 통신 매체 종별 정보 기억 단계에서 기억된 상기 통신 매체 종별 정보에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 통신 조정 처리 단계와, Communication for adjusting the timing for transmitting the transmission data based on the data type information included in the transmission request data created in the transmission request data creating step and the communication medium type information stored in the communication medium type information storing step. Adjustment process steps, 상기 통신 조정 처리 단계에서 조정되는 타이밍에 따라 상기 송신 데이터를 송신하는 데이터 송신 처리 단계를 포함하는 And a data transmission processing step of transmitting the transmission data in accordance with the timing adjusted in the communication adjustment processing step. 것을 특징으로 하는 통신 방법. Communication method characterized in that. 다른 통신 장치와 통신 매체를 통해 데이터를 송수신하기 위한 통신 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체로서, A computer readable recording medium having recorded thereon a communication program for transmitting and receiving data via another communication device with a communication medium, 송신해야 할 송신 데이터의 송신처와, 상기 송신 데이터에 대한 응답의 필요 여부를 나타내는 데이터 종별 정보를 포함하는 송신 요구 데이터를 작성하는 송신 요구 데이터 작성 수단과, Transmission request data creation means for creating transmission request data including transmission destination of transmission data to be transmitted and data type information indicating whether a response to the transmission data is required; 상기 통신 매체의 종별을 나타내는 통신 매체 종별 정보를 기억하는 통신 매체 종별 정보 기억 수단과, Communication medium type information storage means for storing communication medium type information indicating the type of the communication medium; 상기 송신 요구 데이터 작성 수단에 의해 작성된 상기 송신 요구 데이터에 포함되는 상기 데이터 종별 정보와, 상기 통신 매체 종별 정보 기억 수단에 기억되어 있는 상기 통신 매체 종별 정보에 근거하여 상기 송신 데이터를 송신하는 타이밍을 조정하는 통신 조정 처리 수단과, Adjust the timing of transmitting the transmission data based on the data type information included in the transmission request data created by the transmission request data creating means and the communication medium type information stored in the communication medium type information storage means. Communication coordination processing means to perform, 상기 통신 조정 처리 수단에 의해 조정되는 타이밍에 따라 상기 송신 데이터를 송신하는 데이터 송신 수단으로서 컴퓨터를 기능하게 하는 것을 Causing the computer to function as data transmission means for transmitting the transmission data in accordance with the timing adjusted by the communication adjustment processing means. 특징으로 하는 통신 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체. A computer-readable recording medium having recorded thereon a communication program.
KR1020050019934A 2004-03-12 2005-03-10 Computer-readable recording medium recording communication device, communication method and communication program Withdrawn KR20060043813A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2004-00070416 2004-03-12
JP2004070416 2004-03-12

Publications (1)

Publication Number Publication Date
KR20060043813A true KR20060043813A (en) 2006-05-15

Family

ID=34824621

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050019934A Withdrawn KR20060043813A (en) 2004-03-12 2005-03-10 Computer-readable recording medium recording communication device, communication method and communication program

Country Status (5)

Country Link
US (1) US20050201413A1 (en)
EP (1) EP1575219B1 (en)
KR (1) KR20060043813A (en)
CN (1) CN1668041B (en)
DE (1) DE602005001126T2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100940383B1 (en) * 2006-10-02 2010-02-02 닛본 덴끼 가부시끼가이샤 A computer-readable recording medium recording a transmission output control device, a multicarrier transmission system, a transmission output control method, and a transmission output control program.
KR101326390B1 (en) * 2009-08-27 2013-11-11 퀄컴 인코포레이티드 Power optimisation of a mobile device using transmission requests delaying based on historical user behavior

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883388B (en) * 2009-05-08 2013-07-03 傲世通科技(苏州)有限公司 Method for quickly processing MAC-hs package data
CN105703912A (en) * 2014-11-26 2016-06-22 中国科学院沈阳自动化研究所 Multifunctional multi-state wireless network adapter

Family Cites Families (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4853875A (en) * 1988-01-19 1989-08-01 Eastman Kodak Company Image-capable interprocessor link communications protocol
US5479408A (en) * 1994-02-22 1995-12-26 Will; Craig A. Wireless personal paging, communications, and locating system
JP3186917B2 (en) * 1994-03-25 2001-07-11 株式会社日立製作所 Local area network and transmission order automatic determination method
JP3251797B2 (en) * 1995-01-11 2002-01-28 富士通株式会社 Wireless LAN system
US5684791A (en) * 1995-11-07 1997-11-04 Nec Usa, Inc. Data link control protocols for wireless ATM access channels
US5661727A (en) * 1996-06-12 1997-08-26 International Business Machines Corporation Schemes to determine presence of hidden terminals in wireless networks environment and to switch between them
US5935220A (en) * 1996-08-09 1999-08-10 Motorola Inc. Apparatus and method for high speed data and command transfer over an interface
US6122514A (en) * 1997-01-03 2000-09-19 Cellport Systems, Inc. Communications channel selection
US5963560A (en) * 1997-03-05 1999-10-05 Advanced Micro Devices, Inc. Method and arrangement for providing multi-level priority in a rotating priority arrangement for access to medium in an ethernet network
US5991387A (en) * 1997-03-21 1999-11-23 Siemens Information And Communications Network, Inc. Monitoring and controlling channels to improve the interface of calls
US6178448B1 (en) * 1997-06-18 2001-01-23 International Business Machines Corporation Optimal link scheduling for multiple links by obtaining and utilizing link quality information
US6505253B1 (en) * 1998-06-30 2003-01-07 Sun Microsystems Multiple ACK windows providing congestion control in reliable multicast protocol
US20050058149A1 (en) * 1998-08-19 2005-03-17 Howe Wayne Richard Time-scheduled and time-reservation packet switching
US6363062B1 (en) * 1999-06-08 2002-03-26 Caly Corporation Communications protocol for packet data particularly in mesh topology wireless networks
US6643259B1 (en) * 1999-11-12 2003-11-04 3Com Corporation Method for optimizing data transfer in a data network
CN1121651C (en) * 2000-02-03 2003-09-17 财团法人资讯工业策进会 Radio data transmitting method and device
JP2001237828A (en) * 2000-02-18 2001-08-31 Sony Corp Data transmission management device and method, data transmission system and data transmission method
JP3534305B2 (en) * 2000-02-29 2004-06-07 日本電気株式会社 IP address duplication detection method using address resolution protocol
US7127736B2 (en) * 2000-11-17 2006-10-24 Sony Corporation Content processing apparatus and content processing method for digest information based on input of a content user
US7570656B2 (en) * 2001-06-18 2009-08-04 Yitran Communications Ltd. Channel access method for powerline carrier based media access control protocol
US7489655B2 (en) * 2001-07-06 2009-02-10 Qualcomm, Incorporated Method and apparatus for predictive scheduling in a bi-directional communication system
US7505458B2 (en) * 2001-11-27 2009-03-17 Tellabs San Jose, Inc. Apparatus and method for a fault-tolerant scalable switch fabric with quality-of-service (QOS) support
WO2003047175A1 (en) * 2001-11-28 2003-06-05 Millennial Net Etwork protocol for an ad hoc wireless network
US7684380B2 (en) * 2002-01-22 2010-03-23 Freescale Semiconductor, Inc. System and method for handling asynchronous data in a wireless network
US7289535B2 (en) * 2002-03-15 2007-10-30 Freescale Semiconductor, Inc. Method of accommodating fragmentation and burst in a wireless protocol
US6768726B2 (en) * 2002-08-06 2004-07-27 Motorola, Inc. Method and apparatus for effecting a seamless handoff between IP connections
US8644321B2 (en) * 2003-09-16 2014-02-04 Qualcomm Incorporated Scheduling packet transmissions

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100940383B1 (en) * 2006-10-02 2010-02-02 닛본 덴끼 가부시끼가이샤 A computer-readable recording medium recording a transmission output control device, a multicarrier transmission system, a transmission output control method, and a transmission output control program.
KR101326390B1 (en) * 2009-08-27 2013-11-11 퀄컴 인코포레이티드 Power optimisation of a mobile device using transmission requests delaying based on historical user behavior
US8769320B2 (en) 2009-08-27 2014-07-01 Qualcomm Incorporated Power optimization for data services

Also Published As

Publication number Publication date
DE602005001126T2 (en) 2008-02-07
US20050201413A1 (en) 2005-09-15
DE602005001126D1 (en) 2007-06-28
CN1668041A (en) 2005-09-14
EP1575219B1 (en) 2007-05-16
EP1575219A1 (en) 2005-09-14
CN1668041B (en) 2010-12-01

Similar Documents

Publication Publication Date Title
JP5101523B2 (en) Selective activation of field devices in low-power wireless mesh networks
JP5196931B2 (en) Network system and control wireless device
JP2012019487A (en) Communication device and control method
JP2001036459A (en) Wireless communication device
JP2014030168A (en) Relay communication system and relay communication device
JP2012531161A (en) Communication device, communication method and product
JP2012160020A (en) Radio device, display device, and receiving control method
KR20060043813A (en) Computer-readable recording medium recording communication device, communication method and communication program
WO2020090032A1 (en) Communication system, communication apparatus, communication method, and program
JP2010141851A (en) Communications device, method, program, and communication system
JP5891037B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD
JP4833135B2 (en) Wireless base station, central control station, mobile station
JPWO2015045322A1 (en) Remote control and remote control communication method
JP4654056B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP2007081569A (en) Radio network information distribution method
JP2005184551A (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP4763580B2 (en) In-vehicle communication system, in-vehicle device, and in-vehicle communication method
JP4723643B2 (en) Communication method of wireless communication device
KR101876636B1 (en) Apparatus and Method for transmitting/receiving message
KR101444558B1 (en) Electronics shelf label system and method for operating electronics shelf label system
CN113892010A (en) Remote controller and air conditioning system
KR20080096349A (en) Method and system to improve the balance of data transmission in the LLC layer of P2P NFC device
JP5891036B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD
JP5162907B2 (en) Stream distribution system
WO2017188011A1 (en) Facility apparatus and facility communication system provided with same

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20050310

PG1501 Laying open of application
PC1203 Withdrawal of no request for examination
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid