WO2006083147A1 - Method for providing download and upload service in network control system - Google Patents

Method for providing download and upload service in network control system Download PDF

Info

Publication number
WO2006083147A1
WO2006083147A1 PCT/KR2006/000434 KR2006000434W WO2006083147A1 WO 2006083147 A1 WO2006083147 A1 WO 2006083147A1 KR 2006000434 W KR2006000434 W KR 2006000434W WO 2006083147 A1 WO2006083147 A1 WO 2006083147A1
Authority
WO
WIPO (PCT)
Prior art keywords
download
network
service
received
sending
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.)
Ceased
Application number
PCT/KR2006/000434
Other languages
French (fr)
Inventor
Woong Jeon
Jong Hoon Chung
Sang Kyun Lee
Koon Seok Lee
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LG Electronics Inc
Original Assignee
LG Electronics Inc
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 LG Electronics Inc filed Critical LG Electronics Inc
Priority to CN2006800041965A priority Critical patent/CN101120579B/en
Priority to US11/883,794 priority patent/US8005915B2/en
Publication of WO2006083147A1 publication Critical patent/WO2006083147A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B02CRUSHING, PULVERISING, OR DISINTEGRATING; PREPARATORY TREATMENT OF GRAIN FOR MILLING
    • B02CCRUSHING, PULVERISING, OR DISINTEGRATING IN GENERAL; MILLING GRAIN
    • B02C4/00Crushing or disintegrating by roller mills
    • B02C4/02Crushing or disintegrating by roller mills with two or more rollers
    • B02C4/08Crushing or disintegrating by roller mills with two or more rollers with co-operating corrugated or toothed crushing-rollers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B02CRUSHING, PULVERISING, OR DISINTEGRATING; PREPARATORY TREATMENT OF GRAIN FOR MILLING
    • B02CCRUSHING, PULVERISING, OR DISINTEGRATING IN GENERAL; MILLING GRAIN
    • B02C4/00Crushing or disintegrating by roller mills
    • B02C4/28Details
    • B02C4/30Shape or construction of rollers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B02CRUSHING, PULVERISING, OR DISINTEGRATING; PREPARATORY TREATMENT OF GRAIN FOR MILLING
    • B02CCRUSHING, PULVERISING, OR DISINTEGRATING IN GENERAL; MILLING GRAIN
    • B02C4/00Crushing or disintegrating by roller mills
    • B02C4/28Details
    • B02C4/42Driving mechanisms; Roller speed control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Definitions

  • the present invention relates to a method for providing a download and upload service in a network control system, by which a user, for example, who is locating at home or out-of-home can effectively control household appliances such as refrigerator or laundry machine connected to a network .
  • ' home network ' means a network in which various digital appliances are connected to one another for the user to enj oy economical home services in a convenient and safe way anytime at home or out-of-home , and due to the development of digital signal processing technology, various types of appliances such as refrigerator or laundry machine are being gradually digitalized .
  • a network which is established for providing file exchanges or internet services between personal computers and peripheral devices a network between appliances for handling audio or video information, and a network established for home automation of various appliances such as refrigerator or laundry machine , appliance control such as remote meter reading, and the like are called a ' living network 1 , for example .
  • the present invention is devised in consideration of the aforementioned situation, and it is an obj ect of the invention to provide a download and upload service in a network control system, by which a user, for example , who is 0 locating at home or out-of-home can effectively control various appliances such as refrigerator or laundry machine connected to a network by using the minimum required communication resources , and a download and upload service for the appliances can be more effectively implemented at the same time .
  • a method for providing a download service in a network control system comprising the steps of : receiving a UserDLReq primitive from application software in a master application layer of the network control system; generating 0 communication cycles to be suitable for a buffer size of a device to be downloaded; sending a ReqMsgSend primitive to a network layer as the unit of the generated communication cycle ; and generating a UserRes primitive and then sending it to the application software if an executed result of the communication cycle is received from the network layer .
  • a method for providing a download service in a network control system comprising the steps of : sequentially recording downloaded communication cycle messages in a previously allocated memory and sending a response message in a slave application layer of the network control system; and determining that the download service is succeeded if download messages are received as many as the TotalPage necessary for download completion .
  • a method for providing an upload service in a network control system comprising the steps of : requesting a slave to send upload data by the DataLength size included in a UserULReq primitive while sequentially increasing PageNo of communication cycles necessary for uploads if the UserULReq primitive is received from application software in a master application layer of the network control system,- sending a ReqMsgSend to a network layer while dividing as the unit of each communication cycle ; and generating a UserRes primitive and then sending it to the application software if an executed result of each communication cycle is received from the network layer .
  • a method for providing an upload service in a network control system comprising the steps of : containing upload data in a response message as the unit of a predetermined data length and then sending the response message to a master whenever an upload request message is received in a slave application layer of the network control system; and completing an upload service by sending a response message with no data to the master if a request message is received after all the upload data are sent .
  • FIG . 1 illustrates a configuration of a network control system according to the present invention
  • FIGS . 2 and 3 illustrate master-slave based communication structures applied to the present invention
  • FIG . 4 illustrates a hierarchical structure of an LnCP network applied to the present invention
  • FIGS . 5 to 7 illustrate embodiments for a communication cycle service applied to the present invention
  • FIG . 8 illustrates an embodiment of a method for providing a download service in a master application layer according to the present invention
  • FIG . 9 illustrates an embodiment of a method for providing a download service in a slave application layer according to the present invention.
  • FIG. 10 illustrates an embodiment of a method for providing an upload service in a master application layer according to the present invention
  • FIG. 11 illustrates an embodiment of a method for providing an upload service in a slave application layer according to the present invention.
  • FIG . 1 illustrates a configuration of a network control system according to the present invention.
  • An LnCP Internet server 100 and a living network control system 400 to which a network control protocol newly defined in the present invention, e . g . , an LnCP (Living network Control System) is applied, are connected to each other via Internet 300 as shown in FIG. 1.
  • the LnCP Internet server 100 implements interfaces with a variety of communication terminals 200 such as PCs , PDAs or PCSs .
  • the living network control system 400 includes a home gateway 40 , a network manager 41 , an LnCP router
  • the components use a non-standardized transmission method of a data link layer such as an RS-485 network or small output RF network, or a standardized transmission medium of a data link layer such as power line communications or IEEE 802.11. ZigBee (IEEE 802.15.4 ) .
  • the living network control system 400 is referred to as an "LnCP network" , for example .
  • the LnCP network is configured as an individual network in which appliances belonging to the category of a living network are connected through a wire or wireless transmission medium at an individual home .
  • a master device capable of controlling or supervising operations of other appliances and a slave device with functions of responding to the request of the master device and notifying information on changes of their own states are connected to the LnCP network .
  • the network manager 41 implements a function of environment setting and management of the applices 44 connected to the LnCP network .
  • the appliances 44 may be connected directly to the network or indirectly to the network via the LnCP adaptor 43 , and the RS-485 network, RF network, power line network and the like are connected to the network via the LnCP router 42.
  • the LnCP network provides a function in that a user located outside a house can identify or control the states of appliances installed at home through a connection with the external Internet 300.
  • the home gateway 40 implements a function of connecting the LnCP network with the external Internet . If the user accesses the Internet server 100 and then passes through an authentication procedure , the user can use a function of identifying or controlling the states of appliances conneted to the LnCP network .
  • the user can connect to the LnCP Internet server 100 from the appliances connected to the LnCP network via the home gateway 40 and then download contents provided from the LnCP Internet server 100. Main features of the LnCP network for this purpose will be described in detail below .
  • digital information appliances have micro controllers with various performances such that each of them implements their unique function.
  • functions are more effectively simplified to operate in such micro controllers with various performances so that the resources of the micro controller built in the appliances can be used at the minimum.
  • micro controllers with low performances can implement not only unique functions of the appliances but also LnCP communication functions
  • micro controllers with high performances can support multi-tasking functions .
  • the main features of the LnCP network according to the present invention may be classified into master-slave based communication structure , event-driven communication surpport , multiple network manager support , four-layer structure , communication cycle service , flexible address management , variable length packet communication and standard message set offer .
  • the master-slave based communication structure which is used as a communication structure for connection between appliances in the LnCP network, should include at least one master device, and the master device should have information on slave devices to be controlled and control codes .
  • the master device controls another slave device in accordance with a previously input program or through a user' s input .
  • the flow of messages between the master and the slave devices is accomplished through a process in that if a request message is sent from the master device to the slave device, the slave device sends a response message thereto to the master device .
  • the LnCP network may have a multi-master and multi-slave based communication structure .
  • the LnCP network supports an event-driven communication service , and a user, for example, can set an event required to an appliance . Then, if there occurs an event set by the user in an appliance while performing a certain operation, the correspondent appliance notifies the fact or content that the event occurs to another appliance or controls the operation state of another appliance .
  • the LnCP network includes at least one network manager for implementing a function of environment setting and management of appliances and may support a plurality of network managers as occasion demands .
  • the management information of the appliances should be synchronized to provide for errors produced from the plurality of network managers .
  • the LnCP network has a four- layer structure comprising a physical layer, a data link layer, a network layer and an application layer .
  • a service is provided by the communication cycle , while there may be only one communication cycle at a given time point in the slave device . That is , although one slave device cannot been controlled by any master devices while a communication cyle is being executed in the slave device , a plurality of communication cycles for a plurality of slave devices can be executed at a given time point in the master device .
  • Such communication cycles are divided into four classes such as ⁇ l-Request , 1-Response ⁇ , ⁇ l-request , Multi-Request ⁇ , ⁇ l-Notification ⁇ and ⁇ Repeated-Notification ⁇ .
  • the communication cycle ⁇ l-Request , 1-Response ⁇ refers to a communication cycle in which one master device transmits one request packet to one slave device , and the slave device transmits a response packet to the master device in response thereto . If there occurs an error in the received packet , as shown in FIG . 5 , the master device transmits a re-request packet to the slave device , and the slave device retransmits a response packet in response thereto . In addition, as shown in FIG .
  • the ⁇ l-request , Multi-Request ⁇ refers to a communication cycle in which one master device transmits one request packet with a group address to multiple slave devices , and each of the slave devices transmits a response packet in response thereto .
  • the master device completes the communication cycle after the available maximum receiving time elapses . At this time , even if there occurs an error in the response packet received from the slave device , the master device does not respond thereto .
  • the communication cycle ⁇ l-Notification ⁇ refers to a communication cycle in which one master device transmits one notification packet to one or multiple slave devices and then completes communications immediately
  • the communication cycle ⁇ Repeated-Notification ⁇ refers to a communication cycle in which one master device repeatedly transmits the same packet and then completes communications so as to guarantee transmission reliability in the communication cycle ⁇ l-Notification ⁇ .
  • a function of flexible address management is supported in the LnCP network. For example, since an address is allocated to appliances provided with an LnCP function for each class when they are shipped from a factory, the appliances automatically configures a network without any user' s intervention . At this time , since appliances belonging to the same class are initialized with the same address , a network manager has an algorithm for allocating a single unique address when connecting the appliances .
  • a unique group address is allocated to appliances beloing to the same class so that group communications are available using one message and that various kinds of appliances are classified into clusters as a user demands , and a group address can be allocated to each of the clusters .
  • variable length packet communications are supported in the LnCP network. For example, in a case where contents such as application programs related to operations of appliances are downloaded, or data stored from the appliances are uploaded, the lengths of a packets are controlled using buffer size information on the appliances .
  • the LnCP network provides a standard message set .
  • a standard message set suitable for a variety of appliances is difined such that the master device can control other appliances , and the message set is divided into a common area message set for basic LnCP communications , an application area message set for supporting unique functions of appliances and a developer area message set for providing unique functions of manufacturers at the same time .
  • a download and upload service which is one of main features in the LnCP network according to the present invention, will be described in detail below.
  • a download and upload service using variable length packet communication which is capable of diving data by the size of a buffer contained in a device , and then sending and assembling the data, in case of a plurality of communication cycles such as downloads or uploads . Further, a function of receiving data from a network layer is controlled to prevent an application layer buffer from being overflowed .
  • command codes for providing a download service includes "TotalPage” and "CurrentPage” as input factors , and a memory area for combining a message is previously allocated for each command code for downloads in a slave device for supporting the download service .
  • a download function corresponding thereto is implemented in a master application layer.
  • TotalPage value the number of the total communication cycles (TotalPage value) for downloads is calculated whlie dividing by the node parameter buffer size (NP_BufferSize) byte in a download file (DownloadFile)
  • NP_BufferSize node parameter buffer size
  • a ReqMsgSend primitive is sent to a network layer at operation S12. Then, if an executed result of each of the communication cycles is received from the network layer at operation S13 , a UserReq primitive is sent to application software at operation S14. Further, before the download service is completed, if an individual communication cycle is failed, or an NAK (Negative Ack) response message is received at operation S15 , the download service is determined to be failed so that an ALCompleted primitive including SERVICE_FAILED (0) and ALFailCode is sent to the application software .
  • NAK Negative Ack
  • the download service is successfully completed at operation S16 , the ALCompleted primitive including SERVICEjDK (I) is sent to the application software at operation S17. As such, a series of download service operations are performed .
  • received messages are sequentially recorded in a previously allocated memory, and a response message is sent at operation S20. Then, if download messages are received as many as the number of TotalPage at operation S21 , the download service is determined to be succeeded at operation 22.
  • command codes for providing an upload service includes "PageNo” and "DataLength” as input factors , and a data area to be uploaded is previously allocated for each command code for uploads in a slave device for supporting the upload service .
  • a UserULReq primitive is received from application software at operation S30 , an upload function corresponding thereto is implemented .
  • a PageNo value is increased by one from the number 1 , and a request for transmitting upload data by the DataLength size included in the UserULReq primitive is made to a slave device at operation S31.
  • a ReqMsgSend primitive is sent to a network layer at operation S32 , and a UserRes primitive is sent to the application software at operation S33. Then, if an executed result of each of the communication cycles is received from the network layer at operation S34 , a UserReq primitive is sent to application software at operation S35. Further, before the upload service is completed, if an individual communication cycle is failed, an NAK (Negative Ack) response message is received at operation S36, the upload service is determined to be failed so that an ALCompleted primitive including SERVICE_FAILED ( 0) and ALFailCode is sent to the application software at operation S37.
  • NAK Negative Ack
  • upload data is contained by the DataLength in a response message and then sent to the master device whenever a request message is received at operation S40. After all the upload data are sent at operation S41 , if the request message is received S42 , an ACK response message with no data is sent to the master device at operation S43 so that the upload service is successfully completed at operation S44.
  • the receiving buffer of each of the layers is allowed to be shared such that the slave device is executed even in a micro controller with a low performance, and thus an overflow may be generated in the buffer of each of the layers in case where continuous data is received from the network layer .
  • a function of temporarily suspend data reception from the network layer is implemented when one message is received from the network layer .
  • a method for providing a download and upload service in a network control system wherein convenience of remote control and supervision can be provided to a user, and a download and upload service for various appliances connected through the living network can be more effectively executed .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Food Science & Technology (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a method for providing a download and upload service using variable length packet communication in a living network control system. For example, a user located inside or outside a house controls or monitors operations or operation states of various appliances such as refrigerator or laundry machine through a living network installed at home, such as a RS-485 network, small output network, or power line network so that convenience of remote control and supervision can be provided to a user. Further, in a case where a download or upload service is executed in a living network in which various appliances connected thereto, variable length packet communication, which is capable of dividing data by the buffer size of a device, and then sending and assembling the data, is used so that a download and upload service for various appliances connected through the living network can be more effectively executed.

Description

D E S C R I P T I O N
METHOD FOR PROVIDING DOWNLOAD AND UPLOAD SERVICE IN NETWORK CONTROL SYSTEM
1 . Technical Field The present invention relates to a method for providing a download and upload service in a network control system, by which a user, for example, who is locating at home or out-of-home can effectively control household appliances such as refrigerator or laundry machine connected to a network .
2. Background Art
In general , ' home network ' means a network in which various digital appliances are connected to one another for the user to enj oy economical home services in a convenient and safe way anytime at home or out-of-home , and due to the development of digital signal processing technology, various types of appliances such as refrigerator or laundry machine are being gradually digitalized .
On the other hand, in recent years , home network has been more advanced, since operating system and multi-media technology for appliances has been applied to digital appliances , as well as new types of information appliances have appeared .
Moreover, in a general meaning, a network which is established for providing file exchanges or internet services between personal computers and peripheral devices , a network between appliances for handling audio or video information, and a network established for home automation of various appliances such as refrigerator or laundry machine , appliance control such as remote meter reading, and the like are called a ' living network 1 , for example .
Furthermore, in the network services in which small-scale
5 data transmission for the remote control , or operating state monitoring of the appliances included in the network, for example , various appliances such as refrigerator or laundry machine, is the main obj ect of their communication, each of appliances connected to one another should be directly controlled by a O1 network manager, which is included in the network, with the use of the minimum required communication resources . However, its effective solution has not been provided yet , and thus it is a matter of urgency to provide its solution .
5 3. Disclosure of Invention
Accordingly, the present invention is devised in consideration of the aforementioned situation, and it is an obj ect of the invention to provide a download and upload service in a network control system, by which a user, for example , who is 0 locating at home or out-of-home can effectively control various appliances such as refrigerator or laundry machine connected to a network by using the minimum required communication resources , and a download and upload service for the appliances can be more effectively implemented at the same time . 5 In order to achieve the aforementioned obj ect , there is provided a method for providing a download service in a network control system, the method comprising the steps of : receiving a UserDLReq primitive from application software in a master application layer of the network control system; generating 0 communication cycles to be suitable for a buffer size of a device to be downloaded; sending a ReqMsgSend primitive to a network layer as the unit of the generated communication cycle ; and generating a UserRes primitive and then sending it to the application software if an executed result of the communication cycle is received from the network layer . Also, according to another aspect of the present invention for achieving the obj ect , there is provided a method for providing a download service in a network control system, the method comprising the steps of : sequentially recording downloaded communication cycle messages in a previously allocated memory and sending a response message in a slave application layer of the network control system; and determining that the download service is succeeded if download messages are received as many as the TotalPage necessary for download completion .
Also, according to a further aspect of the present invention for achieving the obj ect , there is provided a method for providing an upload service in a network control system, the method comprising the steps of : requesting a slave to send upload data by the DataLength size included in a UserULReq primitive while sequentially increasing PageNo of communication cycles necessary for uploads if the UserULReq primitive is received from application software in a master application layer of the network control system,- sending a ReqMsgSend to a network layer while dividing as the unit of each communication cycle ; and generating a UserRes primitive and then sending it to the application software if an executed result of each communication cycle is received from the network layer .
Also, according -to a still further aspect of the present invention for achieving the obj ect , there is provided a method for providing an upload service in a network control system, the method comprising the steps of : containing upload data in a response message as the unit of a predetermined data length and then sending the response message to a master whenever an upload request message is received in a slave application layer of the network control system; and completing an upload service by sending a response message with no data to the master if a request message is received after all the upload data are sent .
4. Brief Description of Drawings
FIG . 1 illustrates a configuration of a network control system according to the present invention; FIGS . 2 and 3 illustrate master-slave based communication structures applied to the present invention;
FIG . 4 illustrates a hierarchical structure of an LnCP network applied to the present invention;
FIGS . 5 to 7 illustrate embodiments for a communication cycle service applied to the present invention;
FIG . 8 illustrates an embodiment of a method for providing a download service in a master application layer according to the present invention;
FIG . 9 illustrates an embodiment of a method for providing a download service in a slave application layer according to the present invention;
FIG. 10 illustrates an embodiment of a method for providing an upload service in a master application layer according to the present invention; and FIG. 11 illustrates an embodiment of a method for providing an upload service in a slave application layer according to the present invention.
5. Modes for Carrying out the Invention Hereinafter, preferred embodiments of a method for providing a download and upload service in a network control system will be described in detail with reference to the accompanying drawings .
FIG . 1 illustrates a configuration of a network control system according to the present invention. An LnCP Internet server 100 and a living network control system 400 , to which a network control protocol newly defined in the present invention, e . g . , an LnCP (Living network Control System) is applied, are connected to each other via Internet 300 as shown in FIG. 1. Further , the LnCP Internet server 100 implements interfaces with a variety of communication terminals 200 such as PCs , PDAs or PCSs .
In the meantime, the living network control system 400 includes a home gateway 40 , a network manager 41 , an LnCP router
42 , an LnCP adaptor 43 and appliances 44. As shown in FIG . 1 , the components use a non-standardized transmission method of a data link layer such as an RS-485 network or small output RF network, or a standardized transmission medium of a data link layer such as power line communications or IEEE 802.11. ZigBee (IEEE 802.15.4 ) .
Further, the living network control system 400 is referred to as an "LnCP network" , for example . As shown in FIG. 1 , the LnCP network is configured as an individual network in which appliances belonging to the category of a living network are connected through a wire or wireless transmission medium at an individual home . In the meantime , a master device capable of controlling or supervising operations of other appliances , and a slave device with functions of responding to the request of the master device and notifying information on changes of their own states are connected to the LnCP network . As shown in FIG . 1 , the network manager 41 implements a function of environment setting and management of the applices 44 connected to the LnCP network . At this time, the appliances 44 may be connected directly to the network or indirectly to the network via the LnCP adaptor 43 , and the RS-485 network, RF network, power line network and the like are connected to the network via the LnCP router 42.
Further, the LnCP network provides a function in that a user located outside a house can identify or control the states of appliances installed at home through a connection with the external Internet 300. Here, the home gateway 40 implements a function of connecting the LnCP network with the external Internet . If the user accesses the Internet server 100 and then passes through an authentication procedure , the user can use a function of identifying or controlling the states of appliances conneted to the LnCP network . In addition, the user can connect to the LnCP Internet server 100 from the appliances connected to the LnCP network via the home gateway 40 and then download contents provided from the LnCP Internet server 100. Main features of the LnCP network for this purpose will be described in detail below . First , digital information appliances have micro controllers with various performances such that each of them implements their unique function. In the LnCP network according to the present invention, functions are more effectively simplified to operate in such micro controllers with various performances so that the resources of the micro controller built in the appliances can be used at the minimum. In particular, according thereto, micro controllers with low performances can implement not only unique functions of the appliances but also LnCP communication functions , and micro controllers with high performances can support multi-tasking functions .
Further, the main features of the LnCP network according to the present invention may be classified into master-slave based communication structure , event-driven communication surpport , multiple network manager support , four-layer structure , communication cycle service , flexible address management , variable length packet communication and standard message set offer .
In the meantime, the master-slave based communication structure, which is used as a communication structure for connection between appliances in the LnCP network, should include at least one master device, and the master device should have information on slave devices to be controlled and control codes . At this time, the master device controls another slave device in accordance with a previously input program or through a user' s input . For example , as shown in FIG . 2 , the flow of messages between the master and the slave devices is accomplished through a process in that if a request message is sent from the master device to the slave device, the slave device sends a response message thereto to the master device . As shown in FIG . 3 , the LnCP network may have a multi-master and multi-slave based communication structure .
In addition, the LnCP network supports an event-driven communication service , and a user, for example, can set an event required to an appliance . Then, if there occurs an event set by the user in an appliance while performing a certain operation, the correspondent appliance notifies the fact or content that the event occurs to another appliance or controls the operation state of another appliance .
Further, the LnCP network includes at least one network manager for implementing a function of environment setting and management of appliances and may support a plurality of network managers as occasion demands . In this case , the management information of the appliances should be synchronized to provide for errors produced from the plurality of network managers .
Furthermore, as shown in FIG . 4 , the LnCP network has a four- layer structure comprising a physical layer, a data link layer, a network layer and an application layer . In the LnCP network, a service is provided by the communication cycle , while there may be only one communication cycle at a given time point in the slave device . That is , although one slave device cannot been controlled by any master devices while a communication cyle is being executed in the slave device , a plurality of communication cycles for a plurality of slave devices can be executed at a given time point in the master device . Such communication cycles are divided into four classes such as { l-Request , 1-Response} , { l-request , Multi-Request } , { l-Notification} and {Repeated-Notification} .
For example , the communication cycle { l-Request , 1-Response} refers to a communication cycle in which one master device transmits one request packet to one slave device , and the slave device transmits a response packet to the master device in response thereto . If there occurs an error in the received packet , as shown in FIG . 5 , the master device transmits a re-request packet to the slave device , and the slave device retransmits a response packet in response thereto . In addition, as shown in FIG . 6 , the { l-request , Multi-Request } refers to a communication cycle in which one master device transmits one request packet with a group address to multiple slave devices , and each of the slave devices transmits a response packet in response thereto . The master device completes the communication cycle after the available maximum receiving time elapses . At this time , even if there occurs an error in the response packet received from the slave device , the master device does not respond thereto .
Moreover, as shown in FIG. 7 , the communication cycle { l-Notification} refers to a communication cycle in which one master device transmits one notification packet to one or multiple slave devices and then completes communications immediately, and the communication cycle {Repeated-Notification} refers to a communication cycle in which one master device repeatedly transmits the same packet and then completes communications so as to guarantee transmission reliability in the communication cycle { l-Notification} .
In the meantime , a function of flexible address management is supported in the LnCP network. For example , since an address is allocated to appliances provided with an LnCP function for each class when they are shipped from a factory, the appliances automatically configures a network without any user' s intervention . At this time , since appliances belonging to the same class are initialized with the same address , a network manager has an algorithm for allocating a single unique address when connecting the appliances .
In addition, in the LnCP network, a unique group address is allocated to appliances beloing to the same class so that group communications are available using one message and that various kinds of appliances are classified into clusters as a user demands , and a group address can be allocated to each of the clusters .
Further, variable length packet communications are supported in the LnCP network. For example, in a case where contents such as application programs related to operations of appliances are downloaded, or data stored from the appliances are uploaded, the lengths of a packets are controlled using buffer size information on the appliances . Furthermore , the LnCP network provides a standard message set . For example , a standard message set suitable for a variety of appliances is difined such that the master device can control other appliances , and the message set is divided into a common area message set for basic LnCP communications , an application area message set for supporting unique functions of appliances and a developer area message set for providing unique functions of manufacturers at the same time .
In the meantime, the message set described above may be extended as occasion demands , and a factor may be added to a previously defined message . A download and upload service , which is one of main features in the LnCP network according to the present invention, will be described in detail below.
First , in an application layer of the LnCP network according to the present invention, there is provided a download and upload service using variable length packet communication, which is capable of diving data by the size of a buffer contained in a device , and then sending and assembling the data, in case of a plurality of communication cycles such as downloads or uploads . Further, a function of receiving data from a network layer is controlled to prevent an application layer buffer from being overflowed . For example , command codes for providing a download service includes "TotalPage" and "CurrentPage" as input factors , and a memory area for combining a message is previously allocated for each command code for downloads in a slave device for supporting the download service .
As shown in FIG . 8 , in a master application layer, if a UserDLReq primitive is received from application software at operation SlO , a download function corresponding thereto is implemented . After the number of the total communication cycles (TotalPage value) for downloads is calculated whlie dividing by the node parameter buffer size (NP_BufferSize) byte in a download file (DownloadFile) , a communication cycles with the same CycleID value is generated at operation SIl .
In addition, while dividing as the unit of each of the communication cycles , a ReqMsgSend primitive is sent to a network layer at operation S12. Then, if an executed result of each of the communication cycles is received from the network layer at operation S13 , a UserReq primitive is sent to application software at operation S14. Further, before the download service is completed, if an individual communication cycle is failed, or an NAK (Negative Ack) response message is received at operation S15 , the download service is determined to be failed so that an ALCompleted primitive including SERVICE_FAILED (0) and ALFailCode is sent to the application software . If the download service is successfully completed at operation S16 , the ALCompleted primitive including SERVICEjDK (I) is sent to the application software at operation S17. As such, a series of download service operations are performed . In the meantime, as shown in FIG . 9 , in a slave application layer, received messages are sequentially recorded in a previously allocated memory, and a response message is sent at operation S20. Then, if download messages are received as many as the number of TotalPage at operation S21 , the download service is determined to be succeeded at operation 22.
On the other hand, if another download request message is not received within a DLInterval time after one download request message is received at operation S23 , the download service is determined to be failed at operation S24 so that the received download data is removed from the memory at operation S25.
Further, an upload service is provided in the LnCP network according to the present invention . For example, command codes for providing an upload service includes "PageNo" and "DataLength" as input factors , and a data area to be uploaded is previously allocated for each command code for uploads in a slave device for supporting the upload service .
As shown in FIG. 10 , in the master application layer, if a UserULReq primitive is received from application software at operation S30 , an upload function corresponding thereto is implemented . In the master application layer, a PageNo value is increased by one from the number 1 , and a request for transmitting upload data by the DataLength size included in the UserULReq primitive is made to a slave device at operation S31.
In addition, while dividing by the communication cycle , a ReqMsgSend primitive is sent to a network layer at operation S32 , and a UserRes primitive is sent to the application software at operation S33. Then, if an executed result of each of the communication cycles is received from the network layer at operation S34 , a UserReq primitive is sent to application software at operation S35. Further, before the upload service is completed, if an individual communication cycle is failed, an NAK (Negative Ack) response message is received at operation S36, the upload service is determined to be failed so that an ALCompleted primitive including SERVICE_FAILED ( 0) and ALFailCode is sent to the application software at operation S37. If an ACK response message with no data is received at operation S38 , the upload service is determined to be successfully completed so that the ALCompleted primitive including SERvTCE_OK (l) is sent to the application software at operation S39. In the meantime, in the slave application layer, in a case where an upload function is implemented as shown in FIG . 11 , upload data is contained by the DataLength in a response message and then sent to the master device whenever a request message is received at operation S40. After all the upload data are sent at operation S41 , if the request message is received S42 , an ACK response message with no data is sent to the master device at operation S43 so that the upload service is successfully completed at operation S44.
Further, in the present invention, the receiving buffer of each of the layers is allowed to be shared such that the slave device is executed even in a micro controller with a low performance, and thus an overflow may be generated in the buffer of each of the layers in case where continuous data is received from the network layer . To prevent this , a function of temporarily suspend data reception from the network layer is implemented when one message is received from the network layer .
As described above , according to the present invention, there is provided a method for providing a download and upload service in a network control system, wherein convenience of remote control and supervision can be provided to a user, and a download and upload service for various appliances connected through the living network can be more effectively executed .
As describe above , while the present invention has been disclosed for the purpose of illustration with reference to the aforementioned preferred embodiment , more various appliances can be connected to a living network, which may be referred to as another network of a different name, according to the present invention and it will be understood by those skilled in the art that the foregoing embodiment can be improved, modified, substituted or added in a variety of ways without departing from the technical spirit and scope of the invention as defined by the appended claims .

Claims

C LAI M S
1. A method for providing a download service in a network control system, the method comprising the steps of : receiving a UserDLReq primitive from application software in a master application layer of the network control system; generating communication cycles to be suitable for a buffer size of a device to be downloaded; sending a ReqMsgSend primitive to a network layer as the unit of the generated communication cycle ; and generating a UserRes primitive and then sending it to the application software if an executed result of the communication cycle is received from the network layer .
2. The method according to claim 1 , wherein the buffer size of the device to be downloaded corresponds to an NP_BufferSize
(Node Parameter Buffer Size) .
3. The method according to claim 1 , wherein the step of generating communication cycles further comprises a step of obtaining the total number of the communication cycles to be downloaded (TotalPage) .
4. The method according to claim 1 , wherein each of the generated communication cycles has the same CycleID value .
5. The method according to claim 4 , wherein the same communication CycleID value is provided to each communication cycle unit .
6. The method according to claim 1 , further comprising a step of generating an ALCompleted primitive including SERVICE_OK (1) and then sending it to the application software if the download service is successfully completed .
7. The method according to claim 1 , further comprising a step of generating an ALCompleted primitive including SERVICE_FAILED (O) and ALFailCode and then sending it to the application software by determining that the download service is failed if it is failed to send an individual communication cycle before the download service is completed .
8. The method according to claim 1 , further comprising a step of generating an ALCompleted primitive including SERVICE_FAILED (0 ) and ALFailCode and then sending it to the application software by determining that the download service is failed if a failure response message is received from the network layer before the download service is completed .
9. The method according to claim 3 , wherein the TotalPage is a value dividing a download file by the bytes of an NP_BufferSize (Node Parameter Buffer Size) , which corresponds to the buffer size of the device to be downloaded.
10. The method according to claim 1 , wherein a network layer, a data link layer and a physical layer are sequentially laminated beneath the master application layer, and application software is laminated on the master application layer .
11. A method for providing a download service in a network control system, the method comprising the steps of : sequentially recording downloaded communication cycle messages in a previously allocated memory and sending a response message in a slave application layer of the network control system; and determining that the download service is succeeded if download messages are received as many as the TotalPage necessary for download completion .
12. The method according to claim 11 , further comprising a step of determining that the download service is failed if a download request message is not received within a predetermined time interval before the download messages are received as many as the TotalPage necessary for download completion.
13. The method according to claim 12 , further comprising a step of removing download data recorded in the memory if it is determined that the download service is failed .
14. A method for providing an upload service in a network control system, the method comprising the steps of : requesting a slave to send upload data by the DataLength size included in a UserULReq primitive while sequentially increasing
PageNo of communication cycles necessary for uploads if the
UserULReq primitive is received from application software in a master application layer of the network control system; sending a ReqMsgSend to a network layer while dividing as the unit of each communication cycle ; and generating a UserRes primitive and then sending it to the application software if an executed result of each communication cycle is received from the network layer .
15. The method according to claim 14 , further comprising a step of sending a correspondent success completion primitive to the application software by determining that the upload service is succeeded if a response message with no data is received from the slave .
16. The method according to claim 14 , further comprising a step of sending a correspondent failure completion primitive to the application software by determining that the upload service is failed if it is failed to send an individual communication cycle before the upload service is succeeded.
17. The method according to claim 14 , further comprising a step of sending a correspondent failure completion primitive to the application software by determining that the upload service is failed if an abnormal response message is received from the network layer before the upload service is succeeded.
18. A method for providing an upload service in a network control system, the method comprising the steps of : containing upload data in a response message as the unit of a predetermined data length and then sending the response message to a master whenever an upload request message is received in a slave application layer of the network control system; and completing an upload service by sending a response message with no data to the master if a request message is received after all the upload data are sent .
19. The method according to claim 18 , wherein download data are received while sharing each of the receiving buffers of the slave application layer, a network layer, a data link layer and a physical layer .
20. The method according to claim 18 , further comprising a step of preventing the generation of an overflow by temporarily suspending data reception from the network layer when one message is received from the network layer .
PCT/KR2006/000434 2005-02-07 2006-02-07 Method for providing download and upload service in network control system Ceased WO2006083147A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2006800041965A CN101120579B (en) 2005-02-07 2006-02-07 Method for providing download and upload service in network control system
US11/883,794 US8005915B2 (en) 2005-02-07 2006-02-07 Method for providing download and upload service in network control system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2005-0011145 2005-02-07
KR1020050011145A KR100735968B1 (en) 2005-02-07 2005-02-07 How to provide download and upload service in network control system

Publications (1)

Publication Number Publication Date
WO2006083147A1 true WO2006083147A1 (en) 2006-08-10

Family

ID=36777490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2006/000434 Ceased WO2006083147A1 (en) 2005-02-07 2006-02-07 Method for providing download and upload service in network control system

Country Status (4)

Country Link
US (1) US8005915B2 (en)
KR (1) KR100735968B1 (en)
CN (1) CN101120579B (en)
WO (1) WO2006083147A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100714715B1 (en) * 2006-03-03 2007-05-04 삼성전자주식회사 Multiway packet generation and multiway switch group configuration method, multiway packet generation and multiway switch group configuration apparatus using the same
US20170344703A1 (en) 2006-12-29 2017-11-30 Kip Prod P1 Lp Multi-services application gateway and system employing the same
US11316688B2 (en) 2006-12-29 2022-04-26 Kip Prod P1 Lp Multi-services application gateway and system employing the same
US9602880B2 (en) 2006-12-29 2017-03-21 Kip Prod P1 Lp Display inserts, overlays, and graphical user interfaces for multimedia systems
WO2008085206A2 (en) 2006-12-29 2008-07-17 Prodea Systems, Inc. Subscription management of applications and services provided through user premises gateway devices
US9569587B2 (en) 2006-12-29 2017-02-14 Kip Prod Pi Lp Multi-services application gateway and system employing the same
US11783925B2 (en) 2006-12-29 2023-10-10 Kip Prod P1 Lp Multi-services application gateway and system employing the same
KR20080112914A (en) * 2007-06-22 2008-12-26 삼성전자주식회사 Event message receiving method, event message transmission method, controlled device and control point

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004107710A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system
WO2004107093A2 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network management system

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5751951A (en) * 1995-10-30 1998-05-12 Mitsubishi Electric Information Technology Center America, Inc. Network interface
US5946687A (en) * 1997-10-10 1999-08-31 Lucent Technologies Inc. Geo-enabled personal information manager
US6418478B1 (en) * 1997-10-30 2002-07-09 Commvault Systems, Inc. Pipelined high speed data transfer mechanism
US6457175B1 (en) * 1998-11-09 2002-09-24 Tut Systems, Inc. Method and apparatus for installing a software upgrade within a memory resource associated with a computer system
JP2000332817A (en) * 1999-05-18 2000-11-30 Fujitsu Ltd Packet processing device
US7047330B2 (en) * 2001-03-06 2006-05-16 Ati Technologies, Inc. System for digital stream transmission and method thereof
KR100434270B1 (en) * 2001-05-30 2004-06-04 엘지전자 주식회사 Control System for Home Appliance Network
KR100442261B1 (en) * 2002-04-08 2004-07-30 엘지전자 주식회사 Variable method for waiting time
KR100442281B1 (en) * 2002-08-26 2004-08-02 엘지전자 주식회사 Method for controlling of Home Network System
KR100964657B1 (en) * 2002-12-07 2010-06-21 엘지전자 주식회사 How to download data on your home network system
US20040249948A1 (en) * 2003-03-07 2004-12-09 Sethi Bhupinder S. Performing application layer transactions during the connection establishment phase of connection-oriented protocols
KR100605216B1 (en) 2003-05-30 2006-07-31 엘지전자 주식회사 0network device
CN1747415A (en) 2004-09-06 2006-03-15 乐金电子(天津)电器有限公司 Household network system
CN1767479A (en) 2004-10-27 2006-05-03 乐金电子(天津)电器有限公司 Household network system and information processing method and storage medium for recording information structure

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004107710A1 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network system
WO2004107093A2 (en) * 2003-05-30 2004-12-09 Lg Electronics, Inc. Home network management system

Also Published As

Publication number Publication date
US20090031177A1 (en) 2009-01-29
US8005915B2 (en) 2011-08-23
KR100735968B1 (en) 2007-07-06
CN101120579A (en) 2008-02-06
CN101120579B (en) 2012-01-04
KR20060090358A (en) 2006-08-10

Similar Documents

Publication Publication Date Title
CN102957551B (en) A kind of method and system of bulk management equipment
KR100810837B1 (en) Network electric device
WO2006091040A1 (en) Layer structure of network control protocol and interface method
US8005915B2 (en) Method for providing download and upload service in network control system
WO2006091042A1 (en) Network system management method
US20090160626A1 (en) Method for Setting Home Code in Network System and Device for Network
US20090024726A1 (en) Device for network system and method of transmitting profile
KR20070114740A (en) Packet Structure and Packet Transmission Method of Network Control Protocol
WO2006083148A1 (en) Address management method and message transmitting and receiving method in network control system
US20090213848A1 (en) Packet Structure and Packet Transmission Method of Network Control Protocol
US9948748B2 (en) Method of receiving/transmitting event message, controlled device, and control point
JP2019022125A (en) Management system and management method
KR20060089854A (en) Living network control system
US20080172481A1 (en) Method of Configuring Network Profile of Network System
KR101067333B1 (en) Hierarchy Management Method in Living Network Control System
KR101062219B1 (en) Data transmission and reception control method in data link layer
WO2006004378A1 (en) Event interfacing method and apparatus between applications and a library of a master on home network
CN120343015A (en) Information processing method, electronic device and computer program product
WO2025060103A1 (en) Device control method and apparatus, device, and storage medium
CN101164292A (en) Layer Structure and Interface Method of Network Control Protocol
WO2006091039A1 (en) Network control protocol device and network connection method
CN101164294A (en) Network control protocol device and network connection method
KR20060089855A (en) Event-based Communication Method in Living Network Control System
Lee et al. The Implementation of EIA 709.1 Standard Protocol Based Home Control System Architecture having Network Configuration Function
KR20060090356A (en) Transmission and reception control method using communication cycle service in living network control system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 200680004196.5

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06715886

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 11883794

Country of ref document: US