KR20070041999A - Method for setting ip address in ad-hoc mode , printing method using it and apparatus thereof - Google Patents

Method for setting ip address in ad-hoc mode , printing method using it and apparatus thereof Download PDF

Info

Publication number
KR20070041999A
KR20070041999A KR1020050097726A KR20050097726A KR20070041999A KR 20070041999 A KR20070041999 A KR 20070041999A KR 1020050097726 A KR1020050097726 A KR 1020050097726A KR 20050097726 A KR20050097726 A KR 20050097726A KR 20070041999 A KR20070041999 A KR 20070041999A
Authority
KR
South Korea
Prior art keywords
address
subnet
wireless station
hoc
hoc mode
Prior art date
Application number
KR1020050097726A
Other languages
Korean (ko)
Other versions
KR101193457B1 (en
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 KR1020050097726A priority Critical patent/KR101193457B1/en
Publication of KR20070041999A publication Critical patent/KR20070041999A/en
Application granted granted Critical
Publication of KR101193457B1 publication Critical patent/KR101193457B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/668Internet protocol [IP] address subnets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

본 발명은 애드혹 모드에서의 IP주소 설정장치 및 방법과 이를 이용한 애드혹 모드 인쇄장치 및 방법에 관한 것으로서, 그 장치는 무선 스테이션으로부터 애드혹 모드 통신을 위한 설정정보를 받고, 무선 스테이션과 동일한 서브넷에 속하는지 판단하는 서브넷 판단부; 및 동일한 서브넷에 속하면 현재 자신의 IP주소를 그대로 생성하고, 동일한 서브넷에 속하지 않으면 무선스테이션이 속하는 서브넷과 동일한 서브넷 주소를 가진 IP주소를 새로이 생성하는 애드혹 IP주소 생성부를 포함함을 특징으로 한다.The present invention relates to an apparatus and method for setting an IP address in an ad hoc mode, and to an ad hoc mode printing apparatus and method using the same, wherein the apparatus receives configuration information for ad hoc mode communication from a wireless station and belongs to the same subnet as the wireless station. Determining a subnet determination unit; And an ad hoc IP address generator for generating a new IP address as it belongs to the same subnet, and newly generating an IP address having the same subnet address as the subnet to which the wireless station belongs if not belonging to the same subnet.

본 발명에 의하면, 무선 애드혹 통신을 할 수밖에 없는 상황에서, 주변 무선 스테이션들 중 가장 링크 퀄리티(Link Quality)가 좋은 무선 스테이션을 선택하여 통신할 수 있으며, 사용자가 상대 무선 스테이션의 SSID(Service Set IDentifier), IP주소와 서브넷 마스크(Subnet mask) 등을 직접 알아내어 수작업으로 설정할 필요없이 자동으로 설정되는 편리함이 있다.According to the present invention, in a situation where only wireless ad-hoc communication is required, wireless stations having the best link quality among neighboring wireless stations can be selected and communicated, and a user sets the SSID (Service Set IDentifier) of the other wireless station. ), The IP address and subnet mask are automatically found without the need for manual configuration.

Description

애드혹 모드에서의 IP주소 설정장치 및 방법과 이를 이용한 애드혹 모드 인쇄장치 및 방법{Method for setting IP address in ad-hoc mode , printing method using it and apparatus thereof}Apparatus and method for setting IP address in ad-hoc mode and method and apparatus for printing ad-hoc mode using same {method for setting IP address in ad-hoc mode, printing method using it and apparatus

도 1은 애드혹 모드를 나타내는 구성도이다.1 is a block diagram showing an ad hoc mode.

도 2는 인프라스트럭처 모드를 나타내는 구성도이다.2 is a block diagram showing an infrastructure mode.

도 3은 본 발명에 의한 사용 예를 구성도로 도시한 것이다.3 is a configuration diagram showing an example of use according to the present invention.

도 4는 본 발명에 의한 애드혹 모드 인쇄장치의 구성을 블록도로 도시한 것이다.4 is a block diagram showing the configuration of an ad hoc mode printing apparatus according to the present invention.

도 5는 본 발명에 의한 애드혹 모드 인쇄장치의 일 예를 블록도로 도시한 것이다.5 is a block diagram showing an example of an ad hoc mode printing apparatus according to the present invention.

도 6은 본 발명에 의한 애드혹 모드 인쇄방법의 일 예를 흐름도로 도시한 것이다.6 is a flowchart illustrating an example of an ad hoc mode printing method according to the present invention.

도 7은 본 발명에 의한 애드혹 모드 통신을 위한 설정정보의 일 예를 도시한 것이다.7 illustrates an example of setting information for ad hoc mode communication according to the present invention.

본 발명은 애드혹 모드(Ad-hoc mode)을 이용한 인쇄장치에 관한 것으로서, 특히 애드혹 모드에서의 IP주소 설정장치 및 방법과 이를 이용한 애드혹 모드 인쇄장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus using an ad hoc mode, and more particularly, to an IP address setting apparatus and method in an ad hoc mode and an ad hoc mode printing apparatus and a method using the same.

종래에는 애드혹 모드로 통신할 수밖에 없는 상황에서는 두 무선 스테이션들간에 통신을 위한 모든 설정(802.11 a,b,g 선택, SSID(Service Set IDentifier)설정, IP(Internet Protocol)주소, 서브넷 마스크(Subnet Mask), 게이트웨이(Gateway)설정)을 수작업으로 해 주어야만 통신이 가능하였다.Conventionally, in a situation where it is necessary to communicate in ad hoc mode, all settings for communication between two wireless stations (802.11 a, b, g selection, Service Set IDentifier (SSID) setting, IP (Internet Protocol) address, and Subnet Mask) Communication was possible only by manually setting the gateway).

도 1은 애드혹 모드를 나타내는 구성도이다. 프린팅이 가능한 무선스테이션(120)은 주변 무선 스테이션인 노트북 컴퓨터(100) 또는 컴퓨터(110)와 애드혹 모드로 연결이 가능하다. 도 2는 인프라스트럭처 모드를 나타내는 구성도이다. 인프라스트럭처 모드에서 프린팅 가능한 스테이션(240)은 액세스 포인트(250, Access Point)를 통해 노트북 컴퓨터(230) 또는 액세스 포인트와 유선으로 연결된 컴퓨터(200,210,220)와 연결이 가능하다.1 is a block diagram showing an ad hoc mode. The printable wireless station 120 may be connected to the notebook computer 100 or the computer 110 that is a neighboring wireless station in an ad hoc mode. 2 is a block diagram showing an infrastructure mode. In the infrastructure mode, the printable station 240 may be connected to the notebook computer 230 or the computers 200, 210, and 220 wired to the access point through the access point 250.

그러나 이렇게 할 때, 사용자가 무선 스테이션끼리 연결을 하기 위해서는 정확한 설정정보를 알아야 하기 때문에 설정에 큰 불편함을 느낄 수 있으며, 특히 유저 인터페이스(User Interface)가 취약한 프린터 제품의 경우 이러한 불편함을 더 느낄 수 있는 문제점이 있다.However, in this case, users need to know the correct setting information in order to connect wireless stations, so it may be inconvenient to set up, especially in a printer product having a weak user interface. There is a problem that can be.

본 발명이 이루고자 하는 기술적 과제는 유선/무선 인프라스트럭처로 동작할 수 없는 환경에서 무선 애드혹 모드로 통신하고자 할 때, 사용자가 수작업을 통하 여 IP주소, 서브넷 마스크, 게이트웨이 주소 등을 설정하지 않고 자동으로 설정되는 애드혹 모드에서의 IP주소 설정장치 및 방법과 이를 이용한 애드혹 모드 인쇄장치 및 방법을 제공하는 것이다.The technical problem to be achieved by the present invention is to automatically communicate without the user manually setting the IP address, subnet mask, gateway address, etc. when trying to communicate in a wireless ad hoc mode in an environment that can not operate as a wired / wireless infrastructure An apparatus and method for setting an IP address in an ad hoc mode to be set, and an ad hoc mode printing apparatus and method using the same are provided.

상기 기술적 과제를 이루기 위한 본 발명에 의한 애드혹 모드에서의 IP주소 설정장치는, 무선 스테이션으로부터 애드혹 모드 통신을 위한 설정정보를 받고, 상기 무선 스테이션과 동일한 서브넷에 속하는지 판단하는 서브넷 판단부; 및 동일한 서브넷에 속하면 현재 자신의 IP주소를 그대로 생성하고, 동일한 서브넷에 속하지 않으면 상기 무선스테이션이 속하는 서브넷과 동일한 서브넷 주소를 가진 IP주소를 새로이 생성하는 애드혹 IP주소 생성부를 포함함을 특징으로 한다.According to an aspect of the present invention, there is provided an apparatus for setting an IP address in an ad hoc mode, the apparatus including: a subnet determination unit configured to receive setting information for ad hoc mode communication from a wireless station and determine whether the IP address belongs to the same subnet as the wireless station; And an ad hoc IP address generator for generating a new IP address as it belongs to the same subnet, and newly generating an IP address having the same subnet address as the subnet to which the wireless station belongs if not belonging to the same subnet. .

상기 기술적 과제를 이루기 위한 본 발명에 의한 애드혹 모드 인쇄장치는, 무선 스테이션으로부터 애드혹 모드 통신을 위한 설정정보를 받아 상기 무선스테이션이 속하는 서브넷과 동일한 서브넷 주소를 가진 IP주소를 자신의 IP 주소로 설정하는 애드혹 IP주소 설정부; 및 상기 IP주소 설정부에서 IP주소가 설정되면, 상기 IP주소를 이용하여 인쇄를 수행하는 애드혹 인쇄부를 포함함을 특징으로 한다.The ad hoc mode printing apparatus according to the present invention for achieving the above technical problem, receives the setting information for the ad hoc mode communication from the wireless station to set the IP address having the same subnet address as the subnet to which the wireless station belongs to its own IP address; Ad hoc IP address setting unit; And when the IP address is set in the IP address setting unit, it characterized in that it comprises an ad hoc printing unit for performing printing using the IP address.

상기 애드혹 모드 통신을 위한 설정정보는 상기 무선 스테이션의 IP주소 및 서브넷 마스크를 포함함이 바람직하다.The setting information for the ad hoc mode communication preferably includes an IP address and a subnet mask of the wireless station.

상기 기술적 과제를 이루기 위한 본 발명에 의한 애드혹 모드에서의 IP주소 설정방법은, 무선 스테이션으로부터 애드혹 모드 통신을 위한 설정정보를 받고, 상기 무선 스테이션과 동일한 서브넷에 속하는지 판단하는 단계; 및 동일한 서브넷에 속하면 현재 자신의 IP주소를 그대로 생성하고, 동일한 서브넷에 속하지 않으면 상기 무선스테이션이 속하는 서브넷과 동일한 서브넷 주소를 가진 IP주소를 새로이 생성하는 단계를 포함함을 특징으로 한다.According to an aspect of the present invention, there is provided a method for setting an IP address in an ad hoc mode, the method comprising: receiving setting information for ad hoc mode communication from a wireless station, and determining whether the IP address belongs to the same subnet as the wireless station; And if the device belongs to the same subnet as the current IP address, and if not belonging to the same subnet, generating a new IP address having the same subnet address as the subnet to which the wireless station belongs.

상기 기술적 과제를 이루기 위한 본 발명에 의한 애드혹 모드 인쇄방법은, 무선 스테이션으로부터 애드혹 모드 통신을 위한 설정정보를 받아 상기 무선스테이션이 속하는 서브넷과 동일한 서브넷 주소를 가진 IP주소를 자신의 IP 주소로 설정하는 단계; 및 상기 IP주소가 설정되면, 이를 이용하여 인쇄를 수행하는 단계를 포함함을 특징으로 한다.In the ad hoc mode printing method according to the present invention for achieving the technical problem, receiving the setting information for the ad hoc mode communication from the wireless station to set the IP address having the same subnet address as the subnet to which the wireless station belongs to its own IP address; step; And when the IP address is set, performing printing by using the same.

이하, 첨부된 도면을 참조하여 본 발명에 따른 애드혹 모드에서의 IP주소 설정장치 및 방법과 이를 이용한 애드혹 모드 인쇄장치 및 방법에 대해 상세히 설명한다.Hereinafter, an IP address setting apparatus and method in an ad hoc mode and an ad hoc mode printing apparatus and method using the same will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 의한 사용 예를 구성도로 도시한 것이다. 무선 스테이션(310)은 무선 애드혹 모드로 통신이 가능한 네트워크 인터페이스 카드를 이용하여 주변 무선 스테이션들을 스캔한다. 스캔 결과 가장 링크 퀄리티가 좋은 무선 스테이션(300)을 선택하고, 이후 매체 접근 제어 주소(Media Access Control Address, 이하 MAC 주소)를 이용하여 IP주소를 요청한다. 상기 IP주소가 응답되면 상대방 무선 스테이션(300)과 동일한 서브넷에 속할 수 있는 IP주소를 자동 설정한다. 이후 무선 애드혹 통신으로 인쇄가 가능하다.3 is a configuration diagram showing an example of use according to the present invention. The wireless station 310 scans for neighboring wireless stations using a network interface card capable of communicating in wireless ad hoc mode. The wireless station 300 having the best link quality is selected as a result of the scan, and then an IP address is requested using a media access control address (MAC address). When the IP address is responded, the IP address which belongs to the same subnet as the other wireless station 300 is automatically set. After that, printing by wireless ad hoc communication is possible.

도 4는 본 발명에 의한 애드혹 모드 인쇄장치의 구성을 블록도로 도시한 것이다. 상기 애드혹 모드 인쇄장치는 애드혹 IP주소 설정부(400) 및 애드혹 인쇄부 (430)를 포함하여 이루어진다. 상기 애드혹 IP주소 설정부(400)는 서브넷 판단부(410) 및 애드혹 IP주소 생성부(420)을 포함하여 이루어진다.4 is a block diagram showing the configuration of an ad hoc mode printing apparatus according to the present invention. The ad hoc mode printing apparatus includes an ad hoc IP address setting unit 400 and an ad hoc printing unit 430. The ad hoc IP address setting unit 400 includes a subnet determination unit 410 and an ad hoc IP address generation unit 420.

상기 서브넷 판단부(410)는 상대방 무선 스테이션으로부터 애드혹 모드 통신을 하기 위한 설정정보를 받으면, 서브넷 마스크를 이용하여 설정정보에 포함된 IP주소로부터 서브넷 주소를 알아내고 이로부터 동일한 서브넷에 속하는지 판단한다. 이 때 서브넷 마스크는 상대방 무선 스테이션의 서브넷 마스크를 이용할 수 있다.When the subnet determination unit 410 receives the setting information for ad hoc mode communication from the other wireless station, the subnet determination unit finds the subnet address from the IP address included in the setting information using the subnet mask and determines whether it belongs to the same subnet therefrom. . In this case, the subnet mask may use the subnet mask of the other station.

상기 애드혹 IP주소 생성부(420)는 상기 서브넷 판단부(410)에서 판단한 결과 동일한 서브넷에 속하는 것으로 판단이 되면 자신의 IP주소를 그대로 사용하고 동일하지 않은 경우라면 동일한 서브넷에 속하는 IP주소를 새로이 생성한다.If the ad hoc IP address generation unit 420 determines that it belongs to the same subnet as determined by the subnet determination unit 410, the ad hoc IP address generation unit 420 uses its own IP address as it is, and if it is not the same, newly generates an IP address belonging to the same subnet. do.

상기 애드혹 인쇄부(430)는 상기 애드혹 IP주소 생성부(420)에 의해 무선 스테이션들이 동일한 서브넷에 속하게 됨에 따라 애드혹 모드로 통신이 이루어지게 되면, 인쇄를 실행한다.The ad hoc printing unit 430 executes printing when communication is performed in the ad hoc mode as the wireless stations belong to the same subnet by the ad hoc IP address generation unit 420.

도 5는 본 발명에 의한 애드혹 모드 인쇄장치의 일 예를 블록도로 도시한 것이다. 도 6은 본 발명에 의한 애드혹 모드 인쇄방법의 일 예를 흐름도로 도시한 것이다. 도 5과 도 6를 참조하여 본 발명에 의한 애드혹 모드 인쇄장치의 동작을 상세히 설명하기로 한다.5 is a block diagram showing an example of an ad hoc mode printing apparatus according to the present invention. 6 is a flowchart illustrating an example of an ad hoc mode printing method according to the present invention. 5 and 6 will be described in detail the operation of the ad-hoc mode printing apparatus according to the present invention.

상기 애드혹 모드 인쇄장치는 무선스테이션 스캔부(500), 무선스테이션 선택부(510), 설정정보 요청부(520), 설정정보 수신부(530), 서브넷 판단부(540), 애드혹 IP주소 생성부(550) 및 애드혹 인쇄부(560)를 포함하여 이루어진다.The ad hoc mode printing apparatus includes a wireless station scanning unit 500, a wireless station selecting unit 510, a setting information requesting unit 520, a setting information receiving unit 530, a subnet determining unit 540, an ad hoc IP address generating unit ( 550 and the ad hoc printing unit 560.

상기 무선스테이션 스캔부(500)는 주변의 무선 스테이션들이 보내는 비콘 프 레임(Beacon Frame)을 수신하여 목록을 구성한다.(600단계) 상기 비콘 프레임에는 MAC 주소, SSID 및 BSSID를 포함할 수 있다.The wireless station scanning unit 500 configures a list by receiving a beacon frame transmitted from neighboring wireless stations (step 600). The beacon frame may include a MAC address, an SSID, and a BSSID.

상기 무선스테이션 선택부(510)에서는 상기 생성된 목록 중에서 링크 퀄리티(Link Quality)가 가장 좋은 무선 스테이션을 선택한다.(610단계) 상기 링크 퀄리티는 전파 강도를 측정하여 알 수 있다.The wireless station selecting unit 510 selects a wireless station having the best link quality from the generated list (step 610). The link quality may be determined by measuring a radio wave strength.

상기 설정정보 요청부(520)에서는 상기 선택된 무선 스테이션으로 애드혹 모드 통신을 하기 위한 설정정보를 요청하고(620단계), 상기 설정정보 수신부(530)에서는 응답된 설정정보를 수신한다.(630단계) 설정정보 요청시 상기 선택된 무선 스테이션으로부터 수신한 비콘 프레임에서 추출한 SSID 및 MAC 주소를 이용하여 요청할 수 있다.The setting information requesting unit 520 requests setting information for ad hoc mode communication to the selected wireless station (step 620), and the setting information receiving unit 530 receives the setting information that has been answered (step 630). When requesting configuration information, the SSID and MAC address extracted from the beacon frame received from the selected wireless station may be requested.

상기 서브넷 판단부(540)는 상기 수신된 설정정보로부터 서브넷 마스크를 이용하여 IP주소가 같은 서브넷에 속하는지 판단한다.(640단계) 이 경우 상기 선택된 무선 스테이션의 서브넷 마스크를 그대로 사용할 수 있다.The subnet determination unit 540 determines whether the IP address belongs to the same subnet using the subnet mask from the received configuration information. In step 640, the subnet mask of the selected wireless station may be used as it is.

상기 애드혹 IP주소 생성부(550)는 상기 서브넷 판단부(540)에서 판단한 결과 같은 서브넷에 속하면 원래의 IP주소를 사용한다.(660단계) 상기 서브넷 판단부(540)에서 판단한 결과 다른 서브넷에 속하면 상기 애드혹 IP주소 생성부(550)는 동일 서브넷에 속하는 다른 IP주소를 생성한다.(650단계)The ad hoc IP address generation unit 550 uses the original IP address if it belongs to the same subnet as determined by the subnet determination unit 540 (step 660). If belonging to the ad hoc IP address generation unit 550 generates another IP address belonging to the same subnet (step 650).

상기 애드혹 인쇄부(560)는 두 무선 스테이션 간에 애드혹 통신으로 데이터를 송수신하여 인쇄를 한다.(670단계)The ad hoc printing unit 560 transmits and receives data by ad-hoc communication between two wireless stations and prints the data (step 670).

상기 서브넷 판단부(540) 및 애드혹 IP주소 생성부(550)는 IP주소를 요구한 무선 스테이션에서 동작할 수도 있고 IP주소를 요청받은 무선 스테이션에서 동작할 수도 있다. 서브넷 마스크와 게이트웨이 주소는 IP주소를 요청받은 무선 스테이션의 값을 사용할 수 있다.The subnet determination unit 540 and the ad hoc IP address generation unit 550 may operate in a wireless station that requests an IP address or in a wireless station that receives an IP address. The subnet mask and the gateway address may use the value of the wireless station for which the IP address is requested.

도 7은 본 발명에 의한 애드혹 모드 통신을 위한 설정정보의 일 예를 도시한 것이다. 상기 설정정보는 송신스테이션의 MAC 주소, 수신스테이션의 MAC 주소, SSID, BSSID, 자신의 IP주소, 서브넷 마스크 및 게이트웨이 주소를 포함할 수 있다.7 illustrates an example of setting information for ad hoc mode communication according to the present invention. The setting information may include a MAC address of a transmitting station, a MAC address of a receiving station, an SSID, a BSSID, its own IP address, a subnet mask, and a gateway address.

본 발명은 무선 스테이션의 애드혹 모드 통신을 위한 무선 네트워크 카드에 그 기능을 구현할 수 있다.The present invention can implement its function in a wireless network card for ad hoc mode communication of a wireless station.

본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터(정보 처리 기능을 갖는 장치를 모두 포함한다)가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 장치의 예로는 RON, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치 등이 있다.The present invention can be embodied as code that can be read by a computer (including all devices having an information processing function) in a computer-readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording devices include RON, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like.

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

본 발명에 의한 애드혹 모드에서의 IP주소 설정장치 및 방법과 이를 이용한 애드혹 모드 인쇄장치 및 방법에 의하면, 사용자가 애드혹 모드 통신을 할 수 밖에 없는 경우 주변 무선 스테이션들 중 가장 링크 퀄리티가 좋은 무선 스테이션을 선택하여 통신할 수 있으며, 사용자가 상대방 무선 스테이션의 SSID, IP주소 및 서브넷 마스크 등을 알아내어 수작업으로 설정할 필요가 없이 자동으로 설정되는 편리함이 있다.According to an apparatus and method for setting an IP address in an ad hoc mode according to the present invention, and an ad hoc mode printing apparatus and method using the same, a wireless station having the best link quality among neighboring wireless stations when the user is forced to perform ad hoc mode communication It can be selected and communicated, and it is convenient that the user does not need to manually find out the SSID, IP address and subnet mask of the other wireless station and set it manually.

Claims (5)

무선 스테이션으로부터 애드혹 모드 통신을 위한 설정정보를 받고, 상기 무선 스테이션과 동일한 서브넷에 속하는지 판단하는 서브넷 판단부; 및A subnet determination unit which receives setting information for ad hoc mode communication from a wireless station and determines whether it belongs to the same subnet as the wireless station; And 동일한 서브넷에 속하면 현재 자신의 IP주소를 그대로 생성하고, 동일한 서브넷에 속하지 않으면 상기 무선스테이션이 속하는 서브넷과 동일한 서브넷 주소를 가진 IP주소를 새로이 생성하는 애드혹 IP주소 생성부를 포함함을 특징으로 하는 애드혹 모드에서의 IP주소 설정장치.Ad hoc IP address generation unit for generating a new IP address with the same subnet address as the subnet that belongs to the wireless station if it belongs to the same subnet if it belongs to the same subnet, IP address setting device in the mode. 애드혹 모드 통신을 이용한 인쇄장치에 있어서,In the printing apparatus using the ad hoc mode communication, 무선 스테이션으로부터 애드혹 모드 통신을 위한 설정정보를 받아 상기 무선스테이션이 속하는 서브넷과 동일한 서브넷 주소를 가진 IP주소를 자신의 IP 주소로 설정하는 애드혹 IP주소 설정부; 및An ad hoc IP address setting unit configured to receive setting information for ad hoc mode communication from the wireless station and set an IP address having the same subnet address as the subnet to which the wireless station belongs as its own IP address; And 상기 IP주소 설정부에서 IP주소가 설정되면, 상기 IP주소를 이용하여 인쇄를 수행하는 애드혹 인쇄부를 포함함을 특징으로 하는 애드혹 모드 인쇄장치. And an ad hoc printing unit configured to perform printing using the IP address when the IP address is set in the IP address setting unit. 제2항에 있어서, 상기 애드혹 모드 통신을 위한 설정정보는The method of claim 2, wherein the setting information for the ad hoc mode communication is 상기 무선 스테이션의 IP주소 및 서브넷 마스크를 포함함을 특징으로 하는 애드혹 모드 인쇄장치.And the IP address and subnet mask of the wireless station. 무선 스테이션으로부터 애드혹 모드 통신을 위한 설정정보를 받고, 상기 무선 스테이션과 동일한 서브넷에 속하는지 판단하는 단계; 및Receiving setting information for ad hoc mode communication from a wireless station, and determining whether it belongs to the same subnet as the wireless station; And 동일한 서브넷에 속하면 현재 자신의 IP주소를 그대로 생성하고, 동일한 서브넷에 속하지 않으면 상기 무선스테이션이 속하는 서브넷과 동일한 서브넷 주소를 가진 IP주소를 새로이 생성하는 단계를 포함함을 특징으로 하는 애드혹 모드에서의 IP주소 설정방법.In case of belonging to the same subnet, the current IP address is created as it is, and if it does not belong to the same subnet, a new IP address having the same subnet address as the subnet to which the wireless station belongs is included. How to set IP address. 애드혹 모드 통신을 이용한 인쇄방법에 있어서,In the printing method using the ad hoc mode communication, 무선 스테이션으로부터 애드혹 모드 통신을 위한 설정정보를 받아 상기 무선스테이션이 속하는 서브넷과 동일한 서브넷 주소를 가진 IP주소를 자신의 IP 주소로 설정하는 단계; 및Receiving setting information for ad hoc mode communication from a wireless station and setting an IP address having the same subnet address as a subnet to which the wireless station belongs as its IP address; And 상기 IP주소가 설정되면, 이를 이용하여 인쇄를 수행하는 단계를 포함함을 특징으로 하는 애드혹 모드 인쇄방법. If the IP address is set, printing using the ad hoc mode, characterized in that it comprises the step of performing the printing.
KR1020050097726A 2005-10-17 2005-10-17 Method for setting IP address in ad-hoc mode , printing method using it and apparatus thereof KR101193457B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050097726A KR101193457B1 (en) 2005-10-17 2005-10-17 Method for setting IP address in ad-hoc mode , printing method using it and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050097726A KR101193457B1 (en) 2005-10-17 2005-10-17 Method for setting IP address in ad-hoc mode , printing method using it and apparatus thereof

Publications (2)

Publication Number Publication Date
KR20070041999A true KR20070041999A (en) 2007-04-20
KR101193457B1 KR101193457B1 (en) 2012-10-24

Family

ID=38177043

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050097726A KR101193457B1 (en) 2005-10-17 2005-10-17 Method for setting IP address in ad-hoc mode , printing method using it and apparatus thereof

Country Status (1)

Country Link
KR (1) KR101193457B1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6604140B1 (en) 1999-03-31 2003-08-05 International Business Machines Corporation Service framework for computing devices

Also Published As

Publication number Publication date
KR101193457B1 (en) 2012-10-24

Similar Documents

Publication Publication Date Title
TWI481225B (en) Scanning procedure in wireless lan, station supporting the same, and frame format therefor
JP4754624B2 (en) Method and apparatus for selecting a multiband access point for association with a multiband mobile terminal
EP3111701B1 (en) Access point initiated neighbor report request
US20070002811A1 (en) Mechanism to enable optimized provision of beacon information in WLAN networks
EP2112844A2 (en) Methods and apparatus for setting up wireless LAN
JP2013222991A (en) Radio communication system, radio communication method, and radio terminal device
JP2009539323A (en) Physical layer repeater with roaming support based on multiple identifiers
JP2008533917A (en) Enhanced measurement request reporting for media independent handover
EP2770701B1 (en) Apparatus and method for providing a wireless communication in a portable terminal
JP2006254301A (en) Ip address setting system
JP5353683B2 (en) Wireless communication system, wireless communication device, and information notification method
JP6953898B2 (en) Wireless communication device, control method of wireless communication device
JP2006163793A (en) Radio communication system
TWI461090B (en) Methods, apparatuses & computer program products for setting up a network with dynamic channel bandwidth usage to provide support for legacy devices and saving power
JP4836537B2 (en) Radio base station apparatus and communication parameter setting method for radio base station apparatus
JP4635592B2 (en) Document processing system
KR20050104191A (en) Method and apparatus for assisting or performing a handover between access points
JP2005064552A (en) Printer and scanner
JP2006173946A (en) Radio communication system
JP2005064551A (en) Printer and scanner
US20170265232A1 (en) Information processing apparatus and non-transitory computer readable medium
KR101193457B1 (en) Method for setting IP address in ad-hoc mode , printing method using it and apparatus thereof
JP2013058836A (en) Transmission device, transmission method, and program
JP5895678B2 (en) Wireless communication system and wireless communication method
JP2006165982A (en) Radio communication system

Legal Events

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

Payment date: 20150925

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160929

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20170925

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20181015

Year of fee payment: 7