KR950013138B1 - Method of program data transmission in classroom computer network - Google Patents

Method of program data transmission in classroom computer network Download PDF

Info

Publication number
KR950013138B1
KR950013138B1 KR1019930009225A KR930009225A KR950013138B1 KR 950013138 B1 KR950013138 B1 KR 950013138B1 KR 1019930009225 A KR1019930009225 A KR 1019930009225A KR 930009225 A KR930009225 A KR 930009225A KR 950013138 B1 KR950013138 B1 KR 950013138B1
Authority
KR
South Korea
Prior art keywords
computer
packet
program
receiving
student
Prior art date
Application number
KR1019930009225A
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 대우통신주식회사
Priority to KR1019930009225A priority Critical patent/KR950013138B1/en
Application granted granted Critical
Publication of KR950013138B1 publication Critical patent/KR950013138B1/en

Links

Abstract

determining whether programs each transmitted to a plurality of receiving side computers are same as each other; if the same programs are transmitted, transmitting a data packet in a broadcasting manner; transmitting confirmation data in one to one manner to check whether the receiving side computers receive the data packet; if only one receiving side computer is in a bad receiving state, returning to the data packet transmitting step; if the different programs are transmitted, receiving an execution packet and transmitting a program including a receiving program execution command to the receiving side computers in one to one manner; sequentially transmitting the execution packet to the receiving side computers; and if only one receiving side computer is in a bad receiving state of the execution packet, returning to the execution packet transmitting step.

Description

교실망에서의 프로그램 전송방법How to send a program in the classroom network

제 1 도는 종래 교실망에서 1 대 1방식으로 프로그램을 전송하는 방법의 흐름도.1 is a flowchart of a method for transmitting a program in a one-to-one manner in a conventional classroom network.

제 2 도는 본 발명에서 사용되는 지역네트워크카드의 블럭도.2 is a block diagram of a local area network card used in the present invention.

제 3 도는 본 발명에 따른 교실망에서의 프로그램 전송방법의 흐름도.3 is a flowchart of a program transmission method in a classroom network according to the present invention.

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

1 : ISA버스 L1, L2 : 래치1: ISA bus L1, L2: Latch

2 : 이더네트제어회로 3 : 어드레스 발생회로2: Ethernet control circuit 3: Address generating circuit

4 : 버퍼 5 : 양방향성 버퍼4: Buffer 5: Bidirectional Buffer

본 발명은 학교에 보급되는 교실망에 관한 것으로서, 더욱 상세하게는, 동일한 프로그램을 다수의 학생용 컴퓨터에 전송할때 전송효율을 높이는 교실망에서의 프로그램 전송방법에 관한 것이다.The present invention relates to a classroom network that is spread in schools, and more particularly, to a program transmission method in a classroom network that improves transmission efficiency when transmitting the same program to a plurality of student computers.

교실망이란 교실환경에서 교사용 컴퓨터와 다수의(통상 30∼60) 학생용 컴퓨터사이에 형성되는 지역네트워크(Local Area Network ; 이하 LAN이라함)를 의미한다. 교실망을 형성하는 컴퓨터들은 통상 노벨(NOVELL)사의 NE 1000 호환기능을 갖는 LAN카드(card)를 내장하고 있고, 각각의 LAN카드는 동축 케이블에 의해 연결된다.The classroom network refers to a local area network (hereinafter referred to as a LAN) formed between a teacher computer and a plurality of student computers (typically 30 to 60) in a classroom environment. Computers that form the classroom network usually incorporate a LAN card with NOVELL's NE 1000 compatibility, and each LAN card is connected by a coaxial cable.

이러한 교실망 환경에서는 교사용 컴퓨터로부터 다수의 학생용 컴퓨터에 동일한 프로그램을 전송해야 하는 경우가 빈번히 발생하기도 하고 각각에 대해서 서로 상이한 프로그램을 전송해야 하기도 한다. 그러나, 동일한 프로그램을 학생용 컴퓨터로 전송하는 경우에 통상적인 지역네트워크에서는 일대 다수의 프로그램전송에 대한 고려가 별도로 되어 있지 못하므로 교실망에서도 역시 교사용 컴퓨터로부터 학생용 컴퓨터들로 프로그램을 개별적으로 1 대 1 전송해야 한다. 네트바이오스(NETBIOS)의 기본 명령문을 이용하여 1 대 1 데이타 전송을 위해서는 네트바이오스 명령문의 어드 네임(ADD NAME)명령에 의해 송수신자의 사용자 이름을 등록한 뒤 수신할 컴퓨터는 리슨(LISTEN) 상태에서 송신할 컴퓨터의 콜(CALL) 명령을 기다린다.In such a classroom network environment, it is often necessary to transmit the same program from a teacher computer to a plurality of student computers, or different programs may be transmitted for each of them. However, in the case of transferring the same program to the student computer, there is no consideration of one-to-many program transmission in a typical local network, so in the classroom network, the program is individually transferred one-to-one from the teacher computer to the student computer. Should be. For one-to-one data transfer using the basic statement of NETBIOS, register the sender's user name by the ADD NAME command of the NETBIOS statement. Wait for the computer's CALL command.

송신할 컴퓨터로부터의 콜 명령송신과, 수신할 컴퓨터의 콜 명령수신으로 송수신측간에 세션(SESSION)이 형성된 후 수신측 컴퓨터는 리시브(RECEIVE) 명령상태에서 송신측 컴퓨터의 샌드(SEND) 명령을 이용한 정보의 전송을 수신하고 난 뒤 행-업(HANG-UP)으로 세션을 단절한 후 수신된 프로그램을 수행하게 된다. 이때, 송신측 컴퓨터가 송신하는 프로그램은 데이타 패킷(PACKT)별로 전송하며, 하나의 데이타 패킷 전송후, 수신측 컴퓨터의 데이타 패킷 수신상태를 확인하는 확인 패킷을 전송한다. 확인 패킷의 전송후, 수신상태가 양호하다는 패킷이 수신측으로 부터 전송되면 송신측 컴퓨터는 다음 데이타 패킷을 전송하나 수신상태가 불량하다는 정보가 수신측으로부터 전송되면 송신측 컴퓨터는 전송하였던 데이타 패킷을 다시 전송하게 된다.After a session is established between the sending and receiving party by sending a call command from the sending computer and receiving a call command from the receiving computer, the receiving computer uses the send command of the sending computer in the receive command state. After receiving the transmission of information, the session is disconnected by HANG-UP and the received program is executed. At this time, the program transmitted by the sending computer transmits data packet by packet, and after transmitting one data packet, transmits an acknowledgment packet confirming the reception state of the data packet of the receiving computer. After sending the acknowledgment packet, if a packet indicating that the reception status is good is transmitted from the receiving side, the sending computer transmits the next data packet, but when the information indicating that the receiving status is bad is transmitted from the receiving side, the sending computer retransmits the transmitted data packet. Will be sent.

따라서, 전송하고자 하는 정보가 n개의 데이타 패킷으로 형성된다면 송신측 컴퓨터는 최소한 n개의 데이타 패킷 전송 과정과 n개의 확인패킷 전공과정을 행하여야 한다.Therefore, if the information to be transmitted is formed of n data packets, the sending computer must perform at least n data packet transmission procedures and n confirmation packet major procedures.

제 1 도에는 네트워크 바이오스 명령문에 의한 1 대 1 데이타 전송방식을 이용하여 N개의 학생용 컴퓨터에 교사용 컴퓨터가 n개의 데이타 패킷으로 형성된 데이타를 전송하는 방식의 흐름도가 도시되어 있다. 도시된 흐름도에서 설명의 편이를 위하여 세션의 형성과정을 생략하였다.FIG. 1 is a flowchart illustrating a method in which a teacher computer transmits data formed of n data packets to N student computers using a one-to-one data transmission method using a network BIOS statement. In the illustrated flowchart, a process of forming a session is omitted for ease of explanation.

도시된 바와 같이 교사용 컴퓨터는 단계(S11)에서 변수(N)로 세팅한 후 변수(N)를 1증가시킨다. 그리고, 교사용 컴퓨터는 단계(S13)에서, 변수(n)를 0으로 설정한 후 단계(S14)에서 변수(n)를 1증가시킨다. 단계(S14)의 수행후 교사용 컴퓨터는 단계(S15)로 진행하여, 단계(S12)에서 지정된 변수(N)에 해당하는 학생용 컴퓨터 단계(S14)에서 지정된 데이타 패킷을 전송한다. 데이타 패킷의 전송후, 교사용 컴퓨터는 단계(S16)에서 확인 패킷을 전송하고, 단계(S17)에서 지정된 학생용 컴퓨터로부터 송신되는 패킷에 따라 데이타 수신상태를 판별한다. 단계(S17)에서의 판단결과, 학생용 컴퓨터의 수신상태가 양호하다면, 단계(S18)로 진행하여 현재 변수(N)로 지정된 데이타 패킷이 전송하고자 하는 정보의 마지막 데이타 패킷에 해당하는 가를 판단한다. 판단결과, 마지막 데이타 패킷에 해당하지 않는다면, 교사용 컴퓨터는 단계(S14)로 궤환하여, 다음번 데이타 패킷을 전송한다. 단계(S18)의 판단결과, 전송한 데이타 패킷이 마지막 데이타 패킷이라면, 교사용 컴퓨터는 단계(S19)로 진행하여, 현재 변수(N)로 지정된 학생용 컴퓨터가 마지막 학생용 컴퓨터인가를 판단한다. 단계(S19)에서의 판단결과, 마지막 학생용 컴퓨터가 아니라면 교사용 컴퓨터는 단계(S12)로 궤환하여 다음번 학생용 컴퓨터를 지정하여 단계(S12∼S19)를 수행한다. 이때, 단계(S19)에서의 판단결과 마지막 학생용 컴퓨터에 대응한다면, 교사용 컴퓨터는 모든 패킷 전송과정을 종료할 것이다.As shown, the teacher computer sets the variable N in step S11 and increases the variable N by one. Then, in step S13, the teacher computer sets the variable n to 0, and then increases the variable n by one in step S14. After performing step S14, the teacher computer proceeds to step S15 to transmit the data packet designated in the student computer step S14 corresponding to the variable N specified in step S12. After the transmission of the data packet, the teacher computer transmits a confirmation packet in step S16, and determines the data reception state according to the packet transmitted from the student computer designated in step S17. As a result of the determination in step S17, if the reception state of the student computer is good, the process proceeds to step S18 to determine whether the data packet specified by the current variable N corresponds to the last data packet of the information to be transmitted. As a result of the determination, if it does not correspond to the last data packet, the teacher computer returns to step S14 to transmit the next data packet. As a result of the determination in step S18, if the transmitted data packet is the last data packet, the teacher computer proceeds to step S19 to determine whether the student computer specified by the current variable N is the last student computer. As a result of the determination in step S19, if it is not the last student computer, the teacher computer returns to step S12 to designate the next student computer to perform steps S12 to S19. At this time, if the determination in step S19 corresponds to the last student computer, the teacher computer will end all packet transmission process.

상술한 설명에서 알 수 있는 바와 같이, 교실망에서 정보의 1 대 1 전송방식을 취하는 경우, 교사용 컴퓨터로 부터 최초로 데이타를 수신하는 학생용 컴퓨터와 마지막으로 데이타를 수신하는 학생용 컴퓨터간에는 데이타의 수신시각 차이가 발생하여 컴퓨터들간에 수신하는 프로그램을 수행하는 시각차이가 발생하게 된다.As can be seen from the above description, when taking a one-to-one transmission of information in the classroom network, the difference in the reception time of the data between the student computer first receiving the data from the teacher computer and the student computer finally receiving the data. Occurs so that a time difference between the computers receiving the program occurs.

예컨데, 10M bps의 데이타 송수신 속도를 갖는 네트워크카드에서 각종 콘트롤 프레임, 해더 바이트등을 고려한 유효 전송속도가 2M bps인 네트워크의 경우 300K bytes 크기의 프로그램을 30대의 컴퓨터에 전송하는 경우에는 맨처음 프로그램을 수신한 컴퓨터와 맨마지막에 프로그램을 수신한 컴퓨터의 수신시각 차이는 다음과 같이 구해질 수 있다.For example, in a network card with a data transmission / reception rate of 10M bps, a network of 300K bytes in size with a effective transmission rate of 2M bps in consideration of various control frames and header bytes will be used for the first program. The difference in the reception time of the received computer and the computer that received the last program can be obtained as follows.

한대의 컴퓨터에 300k bytes의 프로그램을 전송하는 시간Time to transfer 300k bytes of program to one computer

t=300(k) * 8(bits)/2(M b/s) =1.2초t = 300 (k) * 8 (bits) / 2 (M b / s) = 1.2 seconds

30대의 컴퓨터에 300k bytes의 프로그램을 전송하는 시간Time to transfer 300k bytes of program to 30 computers

t=300(k) * 8(bits) * 30(대)/2(M b/s) =36초t = 300 (k) * 8 (bits) * 30 (large) / 2 (M b / s) = 36 seconds

300k bytes의 프로그램을 30대에 전송할 때 처음 수신한 컴퓨터와 마지막 수신한 컴퓨터와의 수신 시간 차이Difference in reception time between the first computer and the last computer when sending a program of 300k bytes to 30 devices

t=1.2초* (30-1) =34.8초t = 1.2 seconds * (30-1) = 34.8 seconds

60대의 컴퓨터에 300k bytes의 프로그램을 전송하는 시간Time to transfer 300k bytes of program to 60 computers

t=300(k) * 8(bits) * 60(대)/2(M b/s) =72초t = 300 (k) * 8 (bits) * 60 (large) / 2 (M b / s) = 72 seconds

300k bytes의 프로그램을 60대에 전송할 때 처음 수신한 컴퓨터와 마지막 수신한 컴퓨터와의 수신 시간 차이Difference in reception time between the first computer and the last computer when sending a program of 300k bytes to 60 devices

t=1.2초* (60-1) =71.8초t = 1.2 seconds * (60-1) = 71.8 seconds

이러한 수신시각차이는 특히 컴퓨터를 이용하여 시험을 실시하는 경우나 저학년 대상의 컴퓨터의 수업의 경우에 전체학생이 시험 및 수업을 동시에 수행할 수 없어 커다란 수업환경 저해요소로 등장하였다.This receiving time difference appeared as a great obstacle to the class environment, especially in the case of conducting a test using a computer or in the case of a computer class for lower grades, because the whole student cannot simultaneously perform the test and the class.

이러한 문제를 해결하기 위한 종래의 방식은 네트워크 바이오스에서 지원되는 브로드캐스트(BROADCAST) 기능을 갖는 리시브 브로드캐스트 데이타 그램(RECEIVE BROADCAST DATAGRAM) 및 센드 브로드캐스트 데이타 그램(SEND BROADCAST DATAGRAM)에 의한 송수신 명령을 이용하는 것이다. 이들 명령문에서 브로드캐스트의 의미는 한 송신용 컴퓨터로 부터 네트워크에 연결되어 있는 모든 컴퓨터에서 수신될 수 있도록 패킷의 주소(ADDRESS)가 모두 "FF"(여섯 바이트의 주소가 모두 "FFh"의 값을 갖는다)로 되어 있어서 네트워크에 연결되어 있는 모든 컴퓨터가 이 패킷을 수신할 수 있게 되는 것이다.The conventional approach to solve this problem is to use the receive and send commands by RECEIVE BROADCAST DATAGRAM and SEND BROADCAST DATAGRAM with BROADCAST function supported by the network BIOS. will be. In these statements, broadcast means that the address (ADDRESS) of the packet is all set to "FF" (all six-byte addresses are set to "FFh") so that it can be received from one sending computer by all computers connected to the network. So that all computers connected to the network can receive this packet.

그러나, 브로드캐스트의 명령은 중요한 정보전달에는 일반적으로 사용되지 않는다. 그 이유는 브로드캐스트 기능의 송수신에 있어서 수신자측은 센드 브로드캐스트 데이타 그램(SEND BROADCAST DATAGRAM)으로 전송된 정보를, 네트워크에 연결된 모든 컴퓨터들이 수신을 제대로 했는지 하지 않았는지에 대한 회답을 하지 않도록 되어 있기 때문이다. 따라서 브로드캐스트 명령은 간단한 메세지 또는 중요치 않은 정보의 전송에만 사용된다. 교실망에서, 이와 같은 브로드캐스트 기능을 이용하여, 시험을 행하는 경우, 시험에 관한 데이타를 수신하지 못한 학생용 컴퓨터가 발생할 수 있게 되어 1 대 1 전송방식을 이용하는 경우보다 더 큰 문제가 발생하므로 통상 교실망에서는 중요 정보의 전송에 있어서는 브로드캐스트기능을 이용하지 않고 있다.However, broadcast instructions are generally not used for important information delivery. The reason for this is that in the transmission and reception of the broadcast function, the receiver side does not reply whether or not all the computers connected to the network received or received the information transmitted in the SEND BROADCAST DATAGRAM. . Broadcast commands are therefore only used for the transmission of simple messages or non-critical information. In the classroom network, when a test is performed using such a broadcast function, a student computer may not be able to receive data about the test, which may cause a bigger problem than using a one-to-one transmission method. The network does not use the broadcast function to transmit important information.

본 발명은 교실망에서 발생하는 종래의 이러한 문제를 해결하기 위한 것으로, 본 발명의 목적은 교실망 환경에서 교사용 컴퓨터로부터 전송된 프로그램을 전체 학생용 컴퓨터가 동시에 실행할 수 있게 하는 교실망으로 프로그램 전송방법을 제공하는데 있다.The present invention is to solve the conventional problems that occur in the classroom network, an object of the present invention is to transmit a program to the classroom network that allows the entire student computer to run the program transmitted from the teacher computer in the classroom network environment at the same time. To provide.

이러한 목적을 달성하기 위한 본 발명의 특징은, 교실망에서 프로그램을 전송하는 방법에 관한 것으로서, 다수의 수신측 컴퓨터들에 각각 전송되는 프로그램들이 서로 동일한 프로그램인지를 판단하는 과정과 ; 동일한 프로그램이 전송되는 경우 브로드캐스트 방식으로 데이타 패킷을 전송하는 제 1 단계와, 데이타 패킷의 전송 후 확인 데이타를1 대 1 방식으로 전송하여 수신측 컴퓨터들의 수신상태를 확인하는 제 2 단계와, 하나의 수신측 컴퓨터라도 수신상태가 불량할 때 상기 제 1 단계로 궤환하는 제 3 단계를 전체 데이타 패킷들에 대하여 순차적으로 행하는 과정과 ; 서로 상이한 프로그램이 수신측 컴퓨터에 전송되는 경우 실행패킷을 수신하여야 수신 프로그램을 수행하라는 명령을 포함하는 프로그램을 수신측 컴퓨터들에 1 대 1 방식으로 전송하는 제 4 단계와, 실행패킷을 수신측 컴퓨터들에 순차적으로 전송하는 제 5 단계와, 하나의 수신측 컴퓨터라도 실행패킷의 수신 상태가 불량할때 상기 제 5 단계로 궤환하는 제 6 단계를 수행하는 교실망에서의 프로그램 전송방법에 있다.A feature of the present invention for achieving the above object is a method for transmitting a program in a classroom network, the process of determining whether the programs respectively transmitted to a plurality of receiving computers are the same program; A first step of transmitting a data packet in a broadcast manner when the same program is transmitted, a second step of confirming reception status of receiving computers by transmitting acknowledgment data in a one-to-one manner after transmission of the data packet, and Performing a third step of returning to the first step sequentially for all the data packets even when the receiving computer of the receiver receives a poor reception state; When different programs are transmitted to the receiving computer, a fourth step of transmitting a program including instructions for executing the receiving program to be received by the receiving computer in a one-to-one manner and receiving the execution packet; And a fifth step of sequentially transmitting to the second step, and a sixth step of returning to the fifth step when the reception packet of the execution packet is poor even in one receiving side computer.

이하, 본 발명의 일실시예를 첨부된 도면에 따라 상세히 설명한다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

제 2 도는 본 발명에 사용되는 지역네트워크카드의 블럭도이다. 도시된 바와 같이 지역네트워크카드는 어드레스버스, 시스템 데이타버스, 콘트롤버스로 되는 퍼스널컴퓨터의 ISA버스(1)와 연결되어 있다. 그리고, 지역네트워크카드는 ISA버스(1)를 통한 퍼스널 컴퓨터의 제어에 따라 퍼스널 컴퓨터의 데이타를 래치하여 전송하는 제 1 래치(L1)와, 이더네트(Ethenet) 제어회로(2)의 제어에 따라 데이타를 래치하여 ISA버스(1)에 인가하는 제 2 래치(L2)와 PROM으로되어 어드레스를 발생하는 어드레스 발생회로(3)와 수신데이타에 따라 상기 제 2 래티(L2)를 제어하고, 입출력 제어신호(RD)(WD) 및 어드레스신호를 출력하고 이더네트 제어 회로(2)와, 상기 이더네트 제어회로(3)의 어드레스 신호(A0∼A7)를 래치하는 제 3 래치(L3)와 상기 이더네트 제어회로(3)의 입출력 제어신호(RD)(WD)에 따라 어드레스 신호에 따른 어드레스에 데이타를 저장 및 출력하는 버퍼(4)를 구비한다. 상기 버퍼(4)는 SRAM으로 구성될 수 있다. 그리고, 지역네트워크 카드는 양방향성 버퍼(5)와 병렬 데이타를 직렬로 변환시키고, 직렬데이타를 병렬로 변환시키는 변환회로(5)와, 다른 퍼스널 컴퓨터와의 데이타 교환을 위한 인터페이스 회로(6)가 구성되어 있다.2 is a block diagram of a local network card used in the present invention. As shown, the local network card is connected to the ISA bus 1 of the personal computer, which is an address bus, a system data bus, and a control bus. Then, the local network card has a first latch L1 for latching and transmitting data of the personal computer under the control of the personal computer via the ISA bus 1 and under the control of the Ethernet control circuit 2. The second latch L2, which latches data and applies it to the ISA bus 1, and the PROM to control the second lattice L2 according to the address generating circuit 3 generating the address and the received data, and controlling the input / output control. A third latch L3 and the ether for outputting a signal RD (WD) and an address signal and latching the Ethernet control circuit 2, the address signals A0 to A7 of the Ethernet control circuit 3; A buffer 4 is provided for storing and outputting data at an address corresponding to the address signal in accordance with the input / output control signal RD WD of the net control circuit 3. The buffer 4 may be composed of SRAM. The local network card is composed of a bidirectional buffer 5 and a conversion circuit 5 for converting parallel data in series and serial data in parallel, and an interface circuit 6 for data exchange with another personal computer. It is.

제 3 도는 본 발명에 따른 교실망에서 프로그램 전송방법을 행하는 흐름도가 도시되어 있다.3 is a flowchart illustrating a program transmission method in a classroom network according to the present invention.

통상적으로 교실망에서는 교사용 컴퓨터로부터 학생용 컴퓨터들에 동일한 프로그램을 전송하는 경우와 서로 상이한 프로그램들을 학생용 컴퓨터 각각에 전송하는 경우가 있다. 본원에서는 이러한 경우를 대비하여 교사용 컴퓨터가 2가지 과정을 선택적으로 수행하도록 하고 있다. 즉, 교사용 컴퓨터는 단계(S30)에서 학생용 컴퓨터들에 전송할 프로그램이 동일한 것인지 또는 서로 상이한 프로그램인지를 판단한다. 단계(30)에서의 판단 결과, 동일한 프로그램을 전송한다면, 단계(S31)로 진행하고, 상이한 프로그램들을 학생용 컴퓨터 각각에 전송한다면 단계(S41)로 진행한다. 단계(S31)로 진행한 교사용 컴퓨터는 제 1 변수(n)를 0으로 세팅한후, 단계(S32)에서 변수(n)값을 1증가시킨다. 그리고, 교사용 컴퓨터는 단계(S33)에서 제 2 변수(N)를 0으로 세팅한후 방식으로 단계(S32)에서 설정된 변수(N)값에 해당되는 프로그램의 데이타 패킷을 전송한다. 브로드캐스트 방식으로 데이타 패킷을 전송하는 경우, 상술한 바와 같이, 교사용 컴퓨터와 네트워크를 형성하고 있는 모든 학생용 컴퓨터는 교사용 컴퓨터로 부터 전송되는 데이타 패킷을 수신할 수 있게 된다. 이경우 각 학생용 지역네트워크카드 중에는 송신된 데이타 패킷을 수신하지 못한 경우가 발생할 수 있고, 에러가 발생한 상태에서 데이타 패킷을 수신할 수도 있다. 이러한 경우를 대비하여 교사용 컴퓨터는 단계(S35)로 진행하여 변수(N)를 1증가시킨후 단계(S36)에서 변수(N)에 해당하는 학생용 컴퓨터에 확인 패킷을 전송한다. 그리고, 교사용 컴퓨터는 단계(S37)에서 확인 패킷에 응답하여 변수(N)에 해당하는 학생용 컴퓨터가 송신하는 패킷에 의해, 학생용 컴퓨터가 데이타 패킷을 정확히 수신하였는지를 판단한다. 단계(S37)에서의 판단결과 해당학생용 컴퓨터가 송신된 데이타 패킷을 수신하지 못하였다면, 교사용 컴퓨터는 단계(S33)로 궤환하여 브로드캐스트 방식으로 데이타 패킷을 재송신하게 된다.In general, there are cases in which the classroom network transmits the same program from the teacher computer to the student computers, and different programs are transmitted to each student computer. In this application, the teacher computer selectively performs two processes in preparation for such a case. That is, the teacher computer determines whether the programs to be transmitted to the student computers are the same or different programs in step S30. As a result of the determination in step 30, if the same program is transmitted, the process proceeds to step S31, and if different programs are transmitted to each student computer, the process proceeds to step S41. The teacher computer having proceeded to step S31 sets the first variable n to zero, and then increases the value of the variable n by one in step S32. Then, the teacher computer transmits the data packet of the program corresponding to the value of the variable N set in step S32 after setting the second variable N to 0 in step S33. When transmitting a data packet in a broadcast manner, as described above, all student computers forming a network with the teacher computer can receive the data packet transmitted from the teacher computer. In this case, each student local network card may not receive the transmitted data packet, and may receive the data packet in an error state. In preparation for such a case, the teacher computer proceeds to step S35 to increase the variable N by one, and then transmits a confirmation packet to the student computer corresponding to the variable N in step S36. The teacher computer then determines whether the student computer correctly received the data packet by the packet transmitted by the student computer corresponding to the variable N in response to the confirmation packet in step S37. If it is determined in step S37 that the student computer did not receive the transmitted data packet, the teacher computer returns to step S33 and retransmits the data packet in a broadcast manner.

그리고, 단계(S37)에서 변수(N)에 해당하는 학생용 컴퓨터가 데이타 패킷을 정확히 수신하였다면 교사용 컴퓨터는 단계(S38)로 진행하여 변수(N)가 마지막 학생용 컴퓨터에 대응할때 단계(S39)로 진행하고, 마지막 학생용 컴퓨터에 대응하지 않을때 단계(S35)로 궤환한다. 즉, 교사용 컴퓨터는 단계(S33∼S38)들에 의하여 데이타 패킷의 송신후, 학생용 컴퓨터들이 송신된 데이타 패킷을 정확히 수신하였는지를 순차적으로 판별하여, 하나의 학생용 컴퓨터라도 데이타 패킷을 수신하지 못하였다면, 송신하였던 데이타 패킷을 브로드캐스트 방식으로 전체 학생용 컴퓨터에 재송신하는 것이다.If the student computer corresponding to the variable N has received the data packet correctly in step S37, the teacher computer proceeds to step S38, and the process proceeds to step S39 when the variable N corresponds to the last student computer. When the computer does not correspond to the last student computer, the process returns to step S35. That is, the teacher computer sequentially determines whether the student computers correctly received the transmitted data packet after transmitting the data packet by the steps S33 to S38, and if no student computer receives the data packet, the teacher computer transmits the data packet. The data packet is then retransmitted to the entire student computer in a broadcast manner.

단계(S38)에서의 판단결과 변수(N)가 마지막 학생용 컴퓨터에 대응한다면, 교실망을 구성하는 전체 학생 컴퓨터들이 송신된 데이타 패킷을 정확히 수신하였다는 의미가 되므로 교사용 컴퓨터는 단계(S39)로 진행한다. 단계(S39)에 교사용 컴퓨터는 송신한 데이타 패킷이 송신하고자 하는 정보를 구성하는 다수의 데이타 패킷들중 마지막 데이타 패킷에 대응하는지를 판단한다. 단계(S39)에서의 판단결과, 송신한 데이타 패킷이 마지막 데이타 패킷에 대응하지 않는다면, 교사용 컴퓨터는 단계(S32)로 궤환하여 변수(n)를 1증가시키고, 단계(S34)에서 변수(n)에 해당하는 데이타 패킷을 전송하게 된다. 즉, 단계(S32), (S39)들에 의하여 정보를 구성하는 전체 데이타 패킷들이 브로드캐스트 방식에 의하여 학생용 컴퓨터에 순차적으로 전송되는 것이다.If the result of the determination at step S38 corresponds to the last student computer, the teacher computer proceeds to step S39 since it means that all student computers constituting the classroom network correctly received the transmitted data packet. do. In step S39, the teacher computer determines whether the transmitted data packet corresponds to the last data packet of the plurality of data packets constituting the information to be transmitted. As a result of the determination in step S39, if the transmitted data packet does not correspond to the last data packet, the teacher computer returns to step S32 to increase the variable n by one, and in step S34 the variable n It sends a data packet corresponding to. That is, all data packets constituting the information by the steps S32 and S39 are sequentially transmitted to the student computer by the broadcast method.

그러나 단계(S30)의 판단결과 학생용 컴퓨터들에 상이한 프로그램을 전송하다면 교사용 컴퓨터는 제 1 도와 동일한 단계(S41∼S49)에 의하여 프로그램을 각 학생용 컴퓨터에 순차적으로 전송한 후 단계(S50)로 진행한다.However, if it is determined in step S30 that different programs are transmitted to the student computers, the teacher computer sequentially transfers the programs to the student computers by the same steps S41 to S49 as the first degree, and then proceeds to step S50. .

단계(S50)에서 각 학생용 컴퓨터를 지정하는 변수(N)를 다시 0으로 세팅하고, 단계(S51)로 진행하여, 변수(N)에 "1"을 증가시킨다.In step S50, the variable N designating each student computer is set to 0 again, and the process proceeds to step S51, where " 1 "

그리고, 교사용 컴퓨터는 단계(S52)로 진행하여 변수(N)에 해당하는 학생용 컴퓨터에 수신한 프로그램을 실행하라는 내용의 실행 패킷을 전송한다. 그리고, 교사용 컴퓨터는 해당 학생용 컴퓨터가 실행패킷 수신 여부를 단계(S53)에서 판단하여, 해당 학생용 컴퓨터가 실행패킷을 수행하지 못하였다면 단계(S52)로 궤환하여 실행패킷을 재송신하고, 해당 학생용 컴퓨터가 실행패킷을 수행하였다면 단계(S54)로 진행한다.In addition, the teacher computer proceeds to step S52 and transmits an execution packet for executing the received program to the student computer corresponding to the variable N. In addition, the teacher computer determines whether the student computer receives the execution packet in step S53. If the student computer fails to execute the execution packet, the teacher computer returns to step S52 to retransmit the execution packet, and the student computer If the execution packet has been performed, the process proceeds to step S54.

단계(S54)에서 교사용 컴퓨터는 설정된 변수(N)가 교실망을 형성하는 총 학생용 컴퓨터의 갯수와 동일한가를 판단하여 동일하다면 프로그램의 전송과정을 종료하나 동일하지 않다면 단계(S51)로 궤환하게 된다. 즉, 교사용 컴퓨터는 단계(S54)에서 전체 학생 컴퓨터에 실행패킷이 전송되었는가를 판단하여, 전송되었다면 프로그램의 전송과정을 종료하나, 전체 학생용 컴퓨터에 전송되지 않았다면 단계(S51)로 궤환하여 실행패킷을 전송받지 못한 다음번 학생용 컴퓨터에 실행패킷을 전송하는 것이다.In step S54, the teacher computer determines whether the set variable N is equal to the total number of student computers forming the classroom network, and if it is the same, ends the transmission process of the program, but returns to step S51 if it is not the same. That is, the teacher computer determines whether the execution packet has been transmitted to all student computers in step S54, and if so, terminates the transmission process of the program, but returns to step S51 if it has not been transmitted to all student computers. The next time an unsent file is sent, the executable packet is sent to the student computer.

상술한 전송과정에 의해 프로그램을 학생용 컴퓨터로부터 전송받은 학생용 컴퓨터들은 실행패킷을 수신하여야만이 수신된 프로그램을 수행하게 될 것이다. 이때, 이더네트에서의 최소 패킷의 크기는 64바이트를 형성한 다음, 실행패킷을 처음 수신한 학생용 컴퓨터와 실행패킷을 마지막 수신하는 학생용 컴퓨터간에 발생하는 실행패킷의 수신시각 차이는 다음예와 같이 구할 수 있다. 다음의 예는 교실망을 형성하는 학생용 컴퓨터가 30대, 60대인 경우이며, 유효 전송속독 2M bps인 경우이다.Student computers that receive the program from the student computer by the above-described transmission process will receive the execution packet only to execute the received program. At this time, the minimum packet size in Ethernet forms 64 bytes, and the difference in the reception time of the execution packet occurring between the student computer first receiving the execution packet and the student computer receiving the execution packet last can be obtained as follows. Can be. In the following example, there are 30 and 60 student computers that form the classroom network, and the effective transmission speed is 2M bps.

1) 64바이트 이내의 정보전달의 경우 컴퓨터 한대에 전송에 필요한 시간(t1)1) Time required for transmission to one computer for information transfer within 64 bytes (t1)

t=64 * 8(비트) /2M bps=0.00025초.t = 64 * 8 (bits) / 2M bps = 0.00025 seconds.

30대의 컴퓨터에 64바이트 이내의 프로그램을 전송하는 시간(t)Time to transfer programs within 64 bytes to 30 computers (t)

t=0.00025×30=0.0075초t = 0.00025 × 30 = 0.0075 seconds

64바이트 이내의 프로그램을 30대에 전송할때 처음 수신한 컴퓨터와 마지막에 수신한 컴퓨터와의 수신시간 차이Difference in the reception time between the first computer and the last computer when sending a program within 64 bytes to 30 devices

t=0.00025초×(30-1)=0.00725초t = 0.00025 sec × (30-1) = 0.00725 sec

2) 60대의 컴퓨터에 64바이트 이내의 프로그램을 전송하는 시간2) Time to transfer a program within 64 bytes to 60 computers

t=0.00025×60대t = 0.00025 × 60 units

64바이트 이내의 프로그램을 60대에 전송할 때 처음 수신한 컴퓨터와 마지막에 수신한 컴퓨터와의 수신시각 차이Received time difference between the computer that received the first time and the computer that received the last time when transferring programs within 64 bytes to 60 devices

t=0.00025초×(60-1)=0.007초t = 0.00025 sec × (60-1) = 0.007 sec

상술한 계산에서 알 수 있는 바와 같이 학생용 컴퓨터간에는 교사용 컴퓨터로부터 실행패킷을 수신하는 시각차이가 미세함을 알 수 있다. 학생용 컴퓨터들은 교사용 컴퓨터로부터 수신한 프로그램을 실행패킷을 수신하여야 실행하므로 결국 학생용 컴퓨터들이 수신프로그램을 실행하는 실행개시시각의 차이가 종래에 비하여 대폭 감소하게 된다. 즉, 종래의 경우, 상술한 바와 같이, 300킬로바이트의 프로그램을 30대와 60대의 학생용 컴퓨터에 전송시 최대 30.8초와 71.8초의 실행개시시간 차이가 발생하나 본원의 경우 0.00025초와 0.007초의 실행개시시각 차이만이 발생하는 것이다.As can be seen from the above calculation, it can be seen that the time difference between receiving the execution packet from the teacher computer is small among the student computers. Since the student computers execute the program received from the teacher computer only after receiving the execution packet, the difference in the start time of execution of the student computers to execute the received program is greatly reduced as compared with the related art. That is, in the conventional case, as described above, when a 300 kilobyte program is transferred to 30 and 60 student computers, a maximum execution time difference of 30.8 seconds and 71.8 seconds occurs, but in this case, the execution start time of 0.00025 seconds and 0.007 seconds Only difference occurs.

이와 같이 본 발명은 학생용 컴퓨터들에 동일한 프로그램을 전송하는 경우에는 브로드캐스트 방식으로 프로그램을 전송하고, 학생용 컴퓨터의 프로그램 수신 여부를 1 대 1 방식으로 확인하므로써 프로그램의 전송시각을 단축할 수 있으며, 전송시각의 단축으로 학생용 컴퓨터간의 정보수신 시각의 차이를 줄일 수 있는 효과가 있다.As described above, when the same program is transmitted to the student computers, the program can be transmitted by broadcasting, and the transmission time of the program can be shortened by checking whether the student computer receives the program in a one-to-one manner. By shortening the time, it is possible to reduce the difference in time of receiving information between student computers.

또한, 본 발명은 학생용 컴퓨터들에 서로 상이한 프로그램을 전송할 때, 프로그램의 처음 부분에 실행패킷을 수신하여야 수신된 프로그램을 수행하라는 명령을 삽입하여 학생용 컴퓨터들 전체에 순차적으로 프로그램을 전송한 후, 실행패킷을 학생용 컴퓨터들에 순차적으로 전송하므로써 학생용 컴퓨터들은 수신 프로그램을 거의 동시에 실행하게 되어 교실망에서의 수업 환경을 개선할 수 있는 효과가 있다.In addition, in the present invention, when transmitting different programs to student computers, the execution packet must be received at the beginning of the program to insert a command to execute the received program, and then sequentially transmit the program to all the student computers, and then execute the program. By sequentially transmitting the packets to the student computers, the student computers execute the receiving program at about the same time, thereby improving the classroom environment in the classroom network.

Claims (1)

교실망에서 프로그램을 전송하는 방법에 관한 것으로서, 다수의 수신측 컴퓨터들에 각각 전송되는 프로그램들이 서로 동일한 프로그램인지를 판단하는 과정과 ; 동일한 프로그램 전송되는 경우 브로드캐스트방식으로 데이타 패킷을 전송하는 제 1 단계와, 데이타 패킷의 전송 후 확인 데이타를 1 대 1방식으로 전송하여 수신측 컴퓨터들의 수신상태를 확인하는 제 2 단계와, 하나의 수신측 컴퓨터라도 수신상태가 불량할 때 상기 제 1 단계로 궤환하는 제 3 단계를 전체 데이타 패킷들에 대하여 순차적으로 행하는 과정과 ; 서로 상이한 프로그램이 수신측 컴퓨터에 전송되는 경우 실행패킷을 수신하여야 수신 프로그램을 수행하라는 명령을 포함하는 프로그램을 수신측 컴퓨터들에 1 대 1 방식으로 전송하는 제 4 단계와, 실행패킷을 수신측 컴퓨터들에 순차적으로 전송하는 제 5 단계와, 하나의 수신측 컴퓨터라도 실행패킷의 수신상태가 불량할때 상기 제 5 단계로 궤환하는 제 6 단계를 수행하는 과정을 구비하는 교실망에서의 프로그램 전송방법.A method of transmitting a program in a classroom network, the method comprising: determining whether programs each transmitted to a plurality of receiving computers are identical to each other; A first step of transmitting a data packet by a broadcast method when the same program is transmitted, a second step of confirming reception status of receiving computers by transmitting acknowledgment data in a one-to-one manner after transmission of the data packet, and A step of sequentially performing a third step of returning to the first step for all data packets even when the receiving computer is in a poor reception state; When different programs are transmitted to the receiving computer, a fourth step of transmitting a program including instructions for executing the receiving program to be received by the receiving computer in a one-to-one manner and receiving the execution packet; And a sixth step of sequentially transmitting the data to the first step, and a sixth step of returning to the fifth step when the reception packet of the execution packet is poor even in one receiving computer. .
KR1019930009225A 1993-05-26 1993-05-26 Method of program data transmission in classroom computer network KR950013138B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930009225A KR950013138B1 (en) 1993-05-26 1993-05-26 Method of program data transmission in classroom computer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930009225A KR950013138B1 (en) 1993-05-26 1993-05-26 Method of program data transmission in classroom computer network

Publications (1)

Publication Number Publication Date
KR950013138B1 true KR950013138B1 (en) 1995-10-25

Family

ID=19356109

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930009225A KR950013138B1 (en) 1993-05-26 1993-05-26 Method of program data transmission in classroom computer network

Country Status (1)

Country Link
KR (1) KR950013138B1 (en)

Similar Documents

Publication Publication Date Title
US4082922A (en) Statistical multiplexing system for computer communications
US4896151A (en) Simultaneous communication method and system
US10503599B2 (en) Method and system for facilitating one-to-many data transmissions with reduced network overhead
KR950013138B1 (en) Method of program data transmission in classroom computer network
US5623602A (en) Data transmission confirmation by sending frame with command to change transmitter's resend counter when receiver's buffer is full
KR960004801B1 (en) Method for transmitting program in school network
CN101114891B (en) Techniques to expedite retransmission of arq blocks using temporal relationships in wireless networks
KR960004800B1 (en) Method for reducing acting time difference of school network program
US6452480B1 (en) Active wireless network for calculators
JP3539606B2 (en) Packet communication device
JPH08223214A (en) Transmission control system
JPH02100538A (en) Data communication method for local area network
CN115334331B (en) Communication method, equipment and storage medium for teaching live broadcast
CN114817113B (en) Method, system, equipment and storage medium for judging SDA data direction
JPS62206946A (en) Remote test circuit
EP0836297A1 (en) A wireless network
JP2001333048A (en) Data transfer system
US7584380B2 (en) Method and system for debugging flow control based designs
JPS60201760A (en) Data transmission system
CN114339883A (en) Data transmission method and device, electronic equipment and storage medium
JPS61100043A (en) Transmitter for multiple address communication
JPH01165245A (en) Interrupt packet control system
JPS63316539A (en) Resending control device in multi-casting communication device
JPS6138895B2 (en)
Chen Design and Validation of an XTP Simulator

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19971230

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee