CN101164292A - Layer structure of network control protocol and interface method - Google Patents

Layer structure of network control protocol and interface method Download PDF

Info

Publication number
CN101164292A
CN101164292A CNA2006800137309A CN200680013730A CN101164292A CN 101164292 A CN101164292 A CN 101164292A CN A2006800137309 A CNA2006800137309 A CN A2006800137309A CN 200680013730 A CN200680013730 A CN 200680013730A CN 101164292 A CN101164292 A CN 101164292A
Authority
CN
China
Prior art keywords
layer
network
primitive
control protocol
application
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.)
Pending
Application number
CNA2006800137309A
Other languages
Chinese (zh)
Inventor
田雄
郑钟勋
李相均
李君锡
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
Publication of CN101164292A publication Critical patent/CN101164292A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The present invention relates to a layer structure of network control protocol and a method of interfacing to each layer. A user, for example, who is locating at home or out-of-home, can control the operation or monitor the operation state of various appliances such as refrigerator or laundry machine through RS-485 network, low output RF network, power line network, or the like which is installed at home, thereby providing convenience in remote control and monitoring for the user. Furthermore, for the interface to each layer of network control protocol, it is a very useful invention to implement the interface to each layer more effectively by using proper primitive setting for the interface to each layer, besides that a header and trailer information required for each layer is added to a protocol data unit (PDU) transferred from a higher level to be transferred to a lower level.

Description

The layer structure and the interface method of Network Control Protocol
Technical field
The present invention relates to be used for layer structure and its interface method of user's Network Control Protocol, for example, be positioned at the user outside family or the family, to be operatively connected to the electrical equipment such as refrigerator or washing machine of network effectively.
Background technology
Usually, " home network " refers to wherein various digital appliances and is connected to each other, with be used for the user outside being in or being in whenever to enjoy the network of economic local service easily with the mode of safety, and because the development of Digital Signal Processing, such as various types of electrical equipment digitlization gradually of refrigerator or washing machine.
On the other hand, in recent years, home network is advanced more, has been applied to digital appliances because be used for the operating system and the multimedia technology of electrical equipment, and novel information appliance occurred.
In addition, the network that provides exchange files or Internet service to set up between PC and peripheral unit is provided, the network that between electrical equipment, is used for processing audio or video information, with be home automation, the electrical equipment control of reading such as the remote measurement instrument and network of setting up etc. is known as " living network " on general sense such as the various electrical equipment of refrigerator or washing machine.
In addition, the small-scale transfer of data that is used for Long-distance Control therein, perhaps be included in the electrical equipment in the above-mentioned network, such as the mode of operation monitoring of the various electrical equipment of refrigerator or washing machine be they communication argument the network service in, by using the minimum communication resource that requires, should directly control each electrical equipment connected to one another by the network manager that is included in the network.Yet, also do not provide its effective solution, and therefore to provide its solution be urgent problem.
Summary of the invention
Therefore, consider above-mentioned situation design the present invention, and layer structure and its interface method of the purpose of this invention is to provide Network Control Protocol, be used for realizing more effectively the interface of each layer of Network Control Protocol, in addition, for example, the user who is positioned at outside the person family of family can be operatively connected to the various electrical equipment such as refrigerator or washing machine of network effectively by using the minimum communication resource that requires.
To achieve these goals, comprise according to the layer structure of Network Control Protocol of the present invention: physical layer is used to be provided at the function of transmission/reception physical signalling between the device; Data link layer is used to provide the media interviews controlled function to use shared transmission medium; Network layer, it is used to provide address administration and/or transmission/reception control to be used for the function of the network connection between the device; And application layer, it is used to be provided for to download and/or the flow control function of upload service, and this layer structure is characterised in that data link layer comprises home code control sublayer, its be used to provide be provided with function, management function and processing capacity any one is used for the independent network of logically classifying at least.
In addition, be characterised in that the method that connects each layer of Network Control Protocol by the interface that comprises a plurality of layers of configuration according to the interface method between the layer of Network Control Protocol of the present invention, the primitive that is used to send the primitive of data or grouping and is used to receive data or grouping is used for the interface between each layer.
In addition, be characterised in that according to the interface method between the layer of Network Control Protocol of the present invention main frame and slave unit are separately to be used for the interface between application software and the application layer, and be used for main frame from the service request primitive that application software transmits, and be used to transmit the request message that sends from main frame and be used for slave unit to the primitive of the application software of slave unit.
Description of drawings
From the description of the preferred embodiment that provides below in conjunction with accompanying drawing, can know above-mentioned and other purpose of the present invention more, feature and advantage, in the accompanying drawings:
Fig. 1 shows the configuration according to network system of the present invention;
Fig. 2 and Fig. 3 show according to MS master-slave of the present invention and drive communication structure;
The layer structure that Fig. 4 shows according to LnCP of the present invention;
Fig. 5 to 7 shows about the embodiment according to communication cycle service of the present invention;
The layer structure that Fig. 8 shows according to LnCP of the present invention;
Fig. 9 shows according to the embodiment about the primitive that is used for the interface between the network management sublayer parameter management layer of the present invention;
Figure 10 shows according to of the present invention and is used for the embodiment that interface is connected to the structure of each layer;
Figure 11 shows the embodiment according to the structure of universal asynchronous receiver/reflector of the present invention (UART) frame;
Figure 12 shows the embodiment according to the primitive that is used for the interface between physical layer and the data link layer of the present invention;
Figure 13 shows the embodiment that is used for the primitive of the interface between data link layer and the network layer according to of the present invention;
Figure 14 shows the structure according to data link layer frame of the present invention;
Figure 15 shows the embodiment according to the primitive of the main frame that is used for the interface between network layer and the application layer of the present invention;
Figure 16 shows the embodiment according to the primitive of the slave unit that is used for the interface between network layer and the application layer of the present invention;
Figure 17 and Figure 18 show the embodiment according to the primitive of the main frame that is used for the interface between application layer and the application software of the present invention;
Figure 19 shows the embodiment according to the primitive of the slave unit that is used for the interface between application layer and the application software of the present invention;
Figure 20 shows the embodiment according to the primitive that is used for the interface between parameter management layer and the network management sublayer of the present invention;
The layer structure of the LnCP according to another embodiment of the present invention that Figure 21 shows;
Figure 22 shows the embodiment that is used for transmitting between layer at main frame primitive according to of the present invention; With
Figure 23 shows the embodiment that is used for transmitting between layer at slave unit primitive according to of the present invention.
Embodiment
Hereinafter, will specifically describe with reference to the accompanying drawings according to the layer structure of Network Control Protocol of the present invention and the preferred embodiment of its interface method.
Fig. 1 shows the configuration according to Network Control Protocol of the present invention.With the Network Control Protocol that defines in new ways in the present invention, for example, LnCP is applied to its LnCP (living network control protocol) Internet server 100 and living network control system 400, as shown in Figure 1, connects by the internet; In addition, LnCP Internet server 100 allows to carry out and such as personal computer, PDA, the interface operation of the various communication terminals 200 of PCS etc.
On the other hand, by comprising local gateway 40, network manager 41, LnCP router four 2, LnCP adapter 43 and electrical equipment 44 configuration living network control system 400; In addition, for the implication that disposes, as shown in Figure 1, use had non-standard transmission medium, data link layer such as RS-485 network or low output RF network, perhaps have standard transmission medium, such as power line communication, the data link layer of IEEE 802.11 or ZigBee (IEEE 802.15.4).
In addition, living network control system 400 is known as, and for example, " LnCP network ", and this LnCP network as shown in Figure 1, dispose the separate network that is used for connecting by wired or wireless communication medium the electrical equipment of the living network kind that belongs to independent family.
On the other hand, the LnCP network connects host apparatus and is used to control the work of other electrical equipment or monitors its operating state, is used in response to the function of the request of host apparatus and is used to notify the slave unit of function of information about its state change with being connected to have.
In addition, the environment setting and the management function that are used to be connected to the electrical equipment 44 of LnCP network are responsible for by network manager 41, and electrical equipment 44 can be directly connected to network or be connected to network indirectly by LnCP adapter 43; And the RS-485 network in the LnCP network, the RF network, power line networks etc. are connected to each other by LnCP router four 2.
In addition, the LnCP network is provided for the user monitored or controlled the state of the electrical equipment that is placed in family in the outside function, LnCP network for this purpose and the linkage function between the internet, the outside are responsible for by local gateway 40, and user oneself can visit LnCP Internet server 100 with when the proof procedure at him, uses monitoring or is operatively connected to the function of state of the electrical equipment of LnCP network.
In addition, the user can visit LnCP Internet servers 100 so that the content that be provided by the LnCP Internet server to be provided by local gateway 40 from the electrical equipment that is connected to the LnCP network.The principal character of LnCP network for this purpose will be specifically described below.
At first, digital information appliances has microcontroller, and this microcontroller has the various performances that realize specific function respectively.In LnCP network according to the present invention, simplify the work that this function is enabled the microcontroller with multiple performance with the least resource that is installed in the microcontroller on the electrical equipment by use more effectively, and the electrical equipment specific function the when microcontroller that specifically allows to have low performance is implemented in the function of handling LnCP communication, and allow to have the function that high performance microcontroller is handled multitasking.
In addition, the principal character according to LnCP network of the present invention will be classified as MS master-slave driving communication structure, event-driven communication support, a plurality of network manager supports, 4-layer structure, communication cycle service, flexible address administration, variable-length packet communication and standard message are provided with regulation.
On the other hand, this MS master-slave drives communication structure as the connection communication structure between the electrical equipment in the LnCP network, and it should have at least more than a host apparatus, and this host apparatus should have information and the control routine that is used for controlled slave unit.At this moment, this host apparatus will be controlled other slave units from user's input by following the program of having imported or receiving.
For example, as shown in Figure 2, at the message flow between host apparatus and the slave unit with when when main frame sends a request message to slave unit, slave unit sends and works to the mode of main frame about this response message, and the LnCP network can have many main frames and many slave units drive communication structure, as shown in Figure 3.
In addition, in the LnCP network, support event-driven communication service, and for example, the user can set up the incident that electrical equipment needs, if and the incident of after this being set up by the user occurs in relevant electrical equipment when execution work, it will notify the content of the incident of this fact or appearance to give other electrical equipment then, perhaps respond the operating state that this incident is controlled other electrical equipment.
In addition, the LnCP network comprise the environment setting of being responsible for electrical equipment and management function at least and if necessary more than a network manager, can support a plurality of network managers, and in this case, the management information of electrical equipment is used for a plurality of network manager mistakes with preparation synchronously.
In addition, as shown in Figure 4, the LnCP network has 4-layer structure, has physical layer, data link layer, network layer and application layer, and service configuration has the communication cycle unit in the LnCP network, and only can have a communication cycle in slave unit in preset time.
In other words, it can not be controlled during communication cycle in slave unit by any host apparatus, but in host apparatus, can carry out a plurality of communication cycles that are used for a plurality of slave units in preset time, and there are four kinds of { 1-requests, 1-response }, { 1-request, many-response }, { 1-notice } and { repetition-notice } communication cycle.
For example, { 1-request, 1-response } communication cycle is that main frame sends the request grouping to slave unit, and slave unit transmits the communication cycle of respond packet in response to this, if and in the grouping that receives, mistake occurs, this main frame transmission request grouping again, and slave unit then transmits the respond packet about this subsequently, as shown in Figure 5.
In addition, in { 1-request, many-response } communication cycle, as shown in Figure 6, a main frame sends the request with group address and divides into groups to a plurality of slave units, and each slave unit sends about the grouping of request response packet.If can allow time of reception through maximum, the main frame end period, even and in the respond packet that receives from the subordinate device, mistake occurs this moment, main frame is ignored this mistake.
In addition, as shown in Figure 7, should { 1-notice } communication cycle be that a host apparatus sends notice packet to multiple arrangement, and finish the cycle of communication subsequently once; In addition, should { repetition-notice } communication cycle be that it repeatedly sends identical grouping, and finish communication subsequently to guarantee the cycle of the transmission reliability in { 1-notice } communication cycle.
On the other hand, the flexible address administration of this LnCP network support, and for example, the electrical equipment that is provided with the LnCP function can be given each electrical equipment by distribute the address from factory's shipment the time, and the intervention ground that does not have user configuration network automatically, and here because with the electrical equipment of identical address initialization identical type, this network manager has the algorithm of the particular address that is used for distributing it when electrical equipment is connected to each other.
In addition, in the LnCP network, specify the electrical equipment of the kind that its group address is used to belong to identical, and thus by using a message to enable group communication, and several electrical equipment can be classified as the group is used for each group with appointment group address.
In addition, the LnCP network support has the packet communication of variable-length, and downloading such as the content of the application program relevant or uploading under the data conditions that is stored in the electrical equipment, the length that the buffer size information Control of exchange that can be by making electrical appliance is divided into groups with the operation of electrical equipment.
In addition, this LnCP network provides the standard message setting, and this is suitable for the standard massage set of various electrical equipment, for example, be defined within the application layer with control other electrical equipment from host apparatus, and this message is in conjunction with being divided into the common area message set that is used for basic LnCP communication in addition, is used to support the product application region massage set and being used to of the specific function of electrical equipment that developer's area message set of the specific function of manufacturer is provided.
On the other hand, can expand above-mentioned message setting if necessary, and argument can be added to the message that has defined.Hereinafter, with the layer structure of describing in further detail as one of principal character in the LnCP network according to the present invention.
Fig. 8 shows the layer structure according to LnCP agreement of the present invention, and as mentioned above, this LnCP network that the present invention uses has 4-layer structure, has physical layer, data link layer, network layer and application layer are with control and monitor such as refrigerator the work of the electrical equipment of washing machine etc.
On the other hand, the physical interface between the physical layer generator and be used to send/receive function such as the physical signalling of the bit that will be sent out, with be used for physical layer, non-standard transmission medium with data link layer, such as RS-485, the function of low output RF network etc.With can use the wired or wireless transmission medium of standard, such as power line communication, IEEE 802.11, Ethernet, and ZigBee, and the LnCP adapter can be as the independent physical layer physical layer to realize installing in the LnCP network.
In addition, this data link layer provides media interviews control (MAC) function to use shared transmission medium, and for the LnCP network, data link layer is used under the situation of non-standard transmission medium therein, and p-DCSMA (probabilistic delayed carrier detection multiple access) should control the agreement of (MAC) with acting on media interviews.
Yet data link layer is used for can using the media interviews controlled function that defines in the relevant agreement under the situation of standard transmission medium of LnCP network therein.
On the other hand, as shown in Figure 8, home code control sublayer provides the home code setting, management and processing capacity are used for when passing through to use non-independent transmission medium, and such as power line communication, IEEE 802.11, Ethernet, and ZigBee, perhaps low output RF logically divides independent network when disposing the LnCP network, and is preferably physically divided such as RS-485 by independent transmission medium therein and do not realize home code control sublayer under the independent network condition.
In addition, network layer provides the electrical equipment address administration, the function of transmission/reception control etc.For the reliable network between installing connects, application layer is provided for the flow control function of download and upload service and transmission/receptions controlled function with the realization application software service.
In addition, the application layer definition is used for network management, the perhaps message setting of electrical equipment control and monitoring, and the specific function of this application software realization electrical equipment, and and the interface swap data of application layer by defining in the application layer.
In addition, as shown in Figure 8, network management sublayer is provided for that the parameter management function of node parameter is set and is used for network configuration and the Network Management Function of management and parameter management layer can or read the parameter that is used for each layer according to the request setting of network management sublayer.
In addition, primitive at the interface that is used for network management sublayer, as shown in Figure 9, be used for the primitive (structure SetPar) from the network management sublayer value of passing a parameter to parameter management layer and be used for primitive (structureGetPar) from the parameter management layer value of passing a parameter to network management sublayer.
On the other hand, be used for the primitive (structureSetPar) of the value of passing a parameter to parameter management layer, write be used to specify layer that parameter value is sent to ' uchar DestLayer ', the conduct that changes according to the DestLayer value with its value be used for each layer parameter ' structureSetLayerPar ', and the layer that is sent to of parameter value is that DestLayer is " 1 " under the situation of application layer therein, DestLayer is " 2 " under the situation of network layer, DestLayer is " 3 " under the situation of data link layer, and DestLayer is " 4 " under the situation of physical layer.
In addition, SetLayerPar is " SetALPar " under the situation of application layer, SetLayerPar is " SetNLPar " under the situation of network layer, SetLayerPar is " SetDLLPar " under the situation of data link layer, and SetLayerPar is " SetPHYPar " under the situation of physical layer.
In addition, be used for the primitive (structure GetPar) of the value of passing a parameter to network management, write be used to specify layer that parameter value sends to ' uchar SreLayer ', whether be used to specify successfully from each layer obtain parameter value ' uchar PMLResult ', the conduct that changes according to the SrcLayer value with its value be used for each layer parameter ' structure GetLayerPar ', with the layer that sends at parameter value be that SrcLayer is " 1 " under the situation of application layer, SrcLayer is " 2 " under the situation of network layer, SrcLayer is " 3 " under the situation of data link layer, and SrcLayer is " 4 " under the situation of physical layer.
In addition, obtain successfully from each layer therein that PMLResult is PAR_OK (1) under the situation of parameter value, and obtain unsuccessfully from each layer therein that PMLResult is PAR_FAILD (0) under the situation of parameter value, and GetLayerPar is " RptALPar " under the situation of application layer, GetLayerPar is " RptNLPar " under the situation of network layer, GetLayerPar is " RptDLLPar " under the situation of data link layer, and GetLayerPar is " RptPHYPar " under the situation of physical layer.
On the other hand, for the parameter value that is used for parameter management layer, existence ' const unitParTimeOut, and its appointment is used for transmitting GetALPar (perhaps GetNLPar, GetDLLPar, GetPHYPar) after each layer, receive RptALPar (perhaps RptNLPar, RptDLLPar, stand-by period RptPHYPar) (ms).
In addition, if parameter management layer receives SetPar primitive from network management sublayer, then with SetALPar, SetNLPar, SetDLLPar, perhaps SetPHYPar is sent to the layer of in primitive appointment, and (for example ignores its all bit values are " 1 " in the primitive that receives variable in each layer, 0xFF, 0xFFFF).
In addition, if receive GetPar primitive from network management sublayer, then with GetALPar, GetNLPar, GetDLLPar, perhaps GetPHYPar is sent to the layer of appointment in primitive, if and receive RptALPar from each layer, RptNLPar, RptDLLPar or RptPHYPar comprise that then GetPar primitive and PARResult value become PAR_OK to be sent to network management sublayer.If do not receive primitive from each layer in the time of ParTimeOut, the PARResult value becomes PAR_FAILED to be sent to network management sublayer then.
On the other hand, network management sublayer is provided for being provided with the parameter management function of node parameter in independent device, with be used for network configuration, environment is provided with, function with network operations management, if and existence is provided with or reads following parameter value by parameter management layer then from the request of application software and main frame in relevant layer.
For example, under the situation of application layer, be provided with or read AddressResult, NP_Alivelnt, the parameter value of SvcTimeOut and NP_BufferSize, and under the situation of network layer, be provided with or read NP_LogicalAddress, NP_ClusterCode, NP_HomeCode, and SendRetries, under the situation of data link layer, be provided with or read MinPktInterval, and under the situation of physical layer, be provided with or read NP_bps.
Specifically, if the network management sublayer in the slave unit receives the UserReqRcv primitive that comprises the applied business that belongs to " device node parameter setting service (the device node parameter is provided with service) " or " device node parameter acquisition service (service of obtaining of device node parameter) " from application layer, be provided with in relevant layer by parameter management layer then or read parameter value, and the result is sent to application layer by UserResSend primitive.The application service of parameter management that is used for each layer is as follows.
For example, under the situation of application layer, there is SetOption, SetAliveTiem, SetClock and GetBufferSize service; Under the situation of network layer, there is SetTempAddress, SetAddress, GetAddress service; Under the situation of data link layer, there is not related service; And under the situation of physical layer, there is the SetSpeed service.
On the other hand, network management sublayer provides the network configuration such as LnCP, environment is provided with, Network Management Function with network operations management, and the universal network management function will be worked on the application layer in main frame, and the part of the synchronizing function of the network information during a plurality of network management periods will be worked on the application layer in slave unit.
In addition, for to the interface of application layer, there is in the slave unit in the interface of application layer and the main frame interface to application layer.In addition, the interface for arriving application layer in the slave unit uses UserReqRcv and UserResSend primitive, and for the interface that arrives application layer in the main frame, use UserReq, UserDLReq, UserULReq, UserRes, UserEventRcv and ALCompleted primitive.
On the other hand, in the interface method according to each layer of Network Control Protocol of the present invention, as shown in figure 10, the header and the trailer information that require in each layer are added to the protocol Data Unit (PDU) to be sent to lower floor that sends from higher level.
For example, APDU (application layer PDU) as the grouping that transmits between application layer and network layer comprises APDU header and message, and the NPDU (network layer PDU) as the grouping that transmits between network layer and data link layer or home code sublayer comprises such as the NPDU header of ADPU and its address, the address of destination electrical equipment, packet type according to the importance of the message that sends, NPDU afterbody, and APDU.
In addition, the HCNPDU (home code control sublayer PDU) as the grouping that transmits between network layer and data link layer comprises NPDU and home code.In the physical layer of LnCP network, as shown in figure 11, universal asynchronous receiver/reflector (UART) frame structure will be used for the interface between device and LnCP adapter or the LnCP router.
For example, the grouping that receives from higher level be converted into have 10 bits the UART frame unit to be transmitted by transmission medium, and the UART frame in the LnCP network comprises the start bit with 1 bit, data with 8 bits, with position of rest with 1 bit, and do not use parity check bit, and from the start bit to the position of rest, sequentially transmit the UART frame.
On the other hand, UART is used under the situation of LnCP network therein, does not use additional frame header and postamble portion, and 9600bps will be used for communication speed, perhaps will use 4800bps or 19200bps according to the performance of device.
In addition, as shown in figure 12, at the primitive that is used for the interface between physical layer and the data link layer, exist and be used for transmitting the primitive ' FrameSend ' of 1 byte data to physical layer from data link layer, be used for transmitting 1 byte data to the primitive ' FrameRcv ' of data link layer be in the primitive ' RptLineStatus ' of the capable state that is sent to data link layer from physical layer.If there is the UART frame that is in capable state, transmits LINE_BSY then, or otherwise transmit LINE_IDLE.
On the other hand, as shown in figure 13, at the primitive that is used for the interface between data link layer and the network layer, there is the primitive ' PktSend ' that is used for delivering the packets to data link layer from network layer, be used for delivering the packets to the primitive ' PktRcv ' of network layer and being used to notify primitive ' DLLCompleted ' of the result of the transmitted in packets from the data link layer to the network layer from data link layer.
In addition, the grouping of network layer (NPDU/HCNPDU), the byte data length of NPDU/HCNPDU, and transmission priority (SvcPriority) is written into PktSend; The byte data length (PDULength) of grouping of network layer (PDU) and PDU is written into PktRcv; And if successfully finish packet transmission as the result (DLLResult) of transmitted in packets, write SEND_OK (1) then, and otherwise write SEND_FAILED (0), and DLLResult is under the situation of SEND_FAILED (0) therein, writes the value (DLLFailCode) of the failure cause that is used to classify in DLLCompleted.
On the other hand, as shown in figure 14, by adding frame header and afterbody to NPDU/HCNPDU configuration data isl frame structure, if and non-standard transmission medium is used for data link layer, to in frame header and afterbody, write null field then, if and used standard transmission medium, it will follow the rule that defines in relevant agreement then.The NPDU field is the data cell that transmits from upper network layers.
In addition, HCNPDU is that physical layer is that the home code that uses in the situation of non-independent transmission medium is added to the data cell of NPDU front therein, and does not divide the processing that NPDU and HCNPDU are used for data link layer.
On the other hand, arrive the interface of network layer with different for main frame and slave unit.In main frame, as shown in figure 15, will use ReqMsgSend, MsgRcv, and NLCompleted primitive is used for the interface between network layer and the application layer.Be used for transmitting the primitive ReqMsgSend of message to network layer from the application layer of main frame, the identification number of communication cycle (CycleID), be included in the ADPU (ReqADPU) of the request message of creating in the application layer of main frame, the byte data length (APDULength) of ADPU, the address of acceptor device (DstAddress), the address of sender device (SrcAddress), type (the NLService of the communication cycle service in the main frame, example: 0=confirms, the non-affirmation of 1=, 2=repeats notice), be used for selecting therein NLService to issue to refer to and ask the stand-by period (Response TimeOut) that is grouped into the respond packet after the main frame as the situation of " Acknowledged ", select NLService as the time cycle (RepNotiInt) between the continuous notice packet under " repetition-notice " situation with the transmission priority (SvcPriority) of the request message that writes therein.
In addition, at the primitive MsgRcv that is used for delivering the packets to application layer from the network layer of main frame, write the identification number (CycleID) of communication cycle, be used to be sent to the APDU (ResEventAPDU) of application layer, the byte data length (APDULength) of ADPU, the address (SrcAddress) of address of acceptor device (DstAddress) and sender device.
In addition, be used for transmitting the primitive NLCompleted of grouping process state, writing the identification number (CycleID) of communication cycle and the result (NLResult) that communication cycle is realized to application layer from network layer.Here, if successfully finish communication cycle, write then CYCLE_OK (1) and otherwise write CYCLE_FAILED (0); If with NLService be CYCLE_FAILED, write then the failure cause that is used to classify value (NLFailCode) and if NLResult be CYCLE_OK, write the number of times (NLSuccessCode) of the transmission of repetition then.
On the other hand, as shown in figure 16, in slave unit, ReqMsgRcv, ResMsgSend, EventMsgSend and NLCompleted primitive will be used for the interface between network layer and the application layer.Transmit the ReqMsgRcv of the request message of reception in the network layer that is used for from the subordinate device to application layer, write the APDU (ReqAPDU) that is used to be sent to application layer, the byte data length (APDULength) of APDU, the address of acceptor device (DstAddress), the address of sender device (SrcAddress), type (the NLService of the communication cycle service in the slave unit, example: 0=confirms, the non-affirmation of 1=), if with the result of the detection of packets of duplicating be normal, write NORMAL_PKT (1) and if detect and to be number of repeated packet, write DUPLICATED_PKT (0) then.
In addition, transmit the primitive ResMsgSend of response message in the application layer that is used for from the subordinate device to network layer, write the identification number (CycleID) of communication cycle, be included in the byte data length (APDULength) of the ADPU (ResADPU) and the ADPU of the response message of creating in the application layer of slave unit.
In addition, transmit the primitive EventMsgSend of event message in the application layer that is used for from the subordinate device to network layer, write the identification number (CycleID) of communication cycle, the ADPU (EventADPU) that comprises the event message of creating in the application layer of slave unit, the byte data length (ADPULength) of ADPU, the address of acceptor device (DstAddress), the address of sender device (SrcAddress), transmission service (NLService in the network layer, the non-affirmation of example: 1=, 2=repeats notice), select NLService as the time cycle (RepNotiInt) between continuous notice packet and the transmission priority (SvcPriority) of event message under the situation that repeats to notify therein.
On the other hand, be used for transmitting the primitive NLCompleted of grouping process state, writing the identification number (CycleID) of communication cycle and the result (NLResult) that communication cycle is realized to application layer from network layer.Here, if successfully finish communication cycle, write then CYCLE_OK (1) and otherwise write CYCLE_FAILED (0); If with NLService be CYCLE_FAILED, write then the failure cause that is used to classify value (NLFailCode) and if NLResult be CYCLE_OK, write the number of times (NLSuccessCode) of the transmission of repetition then.
In addition, as Figure 17 and shown in Figure 180, main frame will use UserReq, UserDLReq, and UserULReq, UserRes, UserEventRcv and ALCompleted primitive are used for the interface of application software.In main frame from the service request primitive UserReq that application software transmits, to write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, the request message (ReqMsg) that comprises command code and input argument, the byte data length (ReqMsgLength) of ReqMsg, the address of acceptor device (DstAddress), type (the ALService of transmission service, example: 0=request-response-message, 1=only-request-message, 2=repetition-message, 3=only-incident-message), be used for ALService therein and be the stand-by period (ms) of the respond packet after main frame sends the request grouping under the situation of request response, perhaps therein ALService be under the situation of repetition message in time cycle (TimeOut) between the notification message continuously, and transmission priority (SvcPriority).
In addition, the result who realizes in the service that is used for transmitting about the request message of main frame is to the primitive UserRes of application software, write as the product code of the service password of application layer and the combination (ALSvcCode) of command code, comprise command code and the response message (ResMsg) that returns argument, the byte data length (ResMsgLength) of ResMsg and the address (SrcAddress) of sender device.
On the other hand, be used for transmitting the event message that receives from the subordinate device primitive UserEventRcv to the application software of main frame, write product code as the service code of application layer, the combination of command code and event code (ALSvcCode), the event message (EventMsg) that receives from the subordinate device, the byte data length (EventMsgLength) of EventMsg, the address of sender device (SrcAddress).
In addition, be used for sending data to the request primitive UserDLReq that connects the device of network by network manager, to write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, data file name to be downloaded (DownloadFile), be fixed as the type (ALService) of the transmission service of " request-response-message (0) ", the address of acceptor device (DstAddress), in network manager, send stand-by period (TimeOut) of asking grouping respond packet afterwards and the transmission priority (SvcPriority) that is fixed as " 1 ".
In addition, at the request primitive UserULReq that is used for receiving data from the device that connects network by network manager, to write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, treat uploaded data file name (UploadFile), be fixed as the type (ALService) of the transmission service of " request-response-message (0) ", the address of acceptor device (DstAddress), in network manager, send stand-by period (TimeOut) of asking grouping respond packet afterwards and the transmission priority (SvcPriority) that is fixed as " 1 ".
In addition, be used for transmitting the ALCompleted primitive of the result of service realization to application software from the application layer of main frame, to write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, the pragmatic existing result of kimonos (ALResult); If with successfully finish by the application software requested service, write SERVICE_OK (1) then, with otherwise write SERVICE_FAILED (0) and therein ALResult be ' write the value (ALFailCode) of the failure cause that is used to classify in the situation of SERVICE_FAILD '.
On the other hand, as shown in figure 19, slave unit will use UserResSend, UserReqRcv and UserEventSend primitive.Be used for transmitting the request message (comprising download and upload) that sends from main frame primitive UserReqRcv to the application software of slave unit, to write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, be included in the data (ReqData) from the request message that main frame sends, the address (SrcAddress) of the length of ReqData (ReqDataLength) and sender device.
In addition, be used for transmitting about the response message of the request message of main frame primitive UserResSend to slave unit, to write as the product code of the service password of application layer and the combination (ALSvcCode) of command code, be included in data (ResData) in the response message that will be sent to main frame and the length (ResDataLength) of ResData.
In addition, in the primitive UserEventSend of the state variable value of the event message that will be sent to main frame that is used for being transmitted in slave unit, with the product code that writes as the service code of application layer, the combination of command code and event code (ALSvcCode), the type of transmission service (ALService, example: 2=repetition-message, 3=only-incident-message), the state variable value (StateValue) of event code (EventCode) and event message.
On the other hand, as shown in figure 20, the interface between parameter management layer and network management sublayer will use SetPar and GetPar primitive.At the SetPar that is used for from the network management sublayer value of passing a parameter to parameter management layer, the layer (DestLayer) that parameter value is sent to it will be write; For example, DestLayer will be written as " 1 " under the situation of application layer, DestLayer will be written as " 2 " under the situation of network layer, and DestLayer will be written as " 3 " under the situation of data link layer, and DestLayer will be written as " 4 " under the situation of physical layer.
In addition, at the parameter (SetLayerPar) that changes according to the DestLayer value for each layer, under the situation of application layer, write " SetALPar ", under the situation of network layer, write " SetNLPar ", under the situation of data link layer, write " SetDLLPar ", under the situation of physical layer, write " SetPHYPar ".
In addition, at the primitive GetPar that is used for from the parameter management layer value of passing a parameter to network management sublayer, write and send the layer (SrcLayer) of parameter value to it; For example, under the situation of application layer, write " 1 ", under the situation of network layer, write " 2 ", under the situation of data link layer, write " 3 ", under the situation of physical layer, write " 4 ".
In addition, write the result (PMLResult) of realization, and it is PAR_OK (1) under each layer successfully determined the situation of parameter value therein, and otherwise it will be PAR_FAILD (0), and at the parameter (GetLayerPar) that changes according to the SrcLayer value for each layer, under the situation of application layer, write " RptALPar ", under the situation of network layer, write " RptNLPar ", under the situation of data link layer, write " RptDLLPar ", under the situation of physical layer, write " RptPHYPar ".
On the other hand, Figure 21 shows the layer structure of LnCP according to another embodiment of the present invention, and the layer structure of this LnCP has physical layer, data link layer, the four-layer structure of network layer and application layer.Application layer comprises that the application sublayer and the data link layer that are used for supervising the network management function and device information object comprise home code control sublayer.
In addition, physical interface between the physical layer generator and transmission and reception physical signalling are such as the function of the bit that will be sent out.For physical layer, use had non-standard transmission medium, non-standard transmission medium such as RS-485 network or low output RF network, perhaps has the wired or wireless transmission medium of standard, such as power line communication, IEEE 802.11, perhaps the data link layer of ZigBee (IEEE 802.15.4) and will be used for realizing the physical layer of the device of LnCP network as the LnCP adapter of independent physical layer.
In addition, this data link layer provides media interviews control (MAC) function to use shared transmission medium, and for the LnCP network, data link layer is used under the situation of non-standard transmission medium therein, p-DCSMA (probabilistic delayed carrier detection multiple access) can be used as the agreement that is used for media interviews controls (MAC), and serves network layer or receive service by data link services accessing points (DL-SAP) from network layer by data link services accessing points (DL-SAP) transmission.
On the other hand, as shown in figure 21, home code control sublayer provides the home code setting, management and processing capacity are used for when passing through to use non-independent transmission medium, and such as power line communication, IEEE 802.11, Ethernet, and ZigBee, perhaps low output RF logically divides independent network when disposing the LnCP network, and is preferably physically divided such as RS-4215 by independent transmission medium therein and do not realize home code control sublayer under the independent network condition.
In addition, network layer provides the electrical equipment address administration, the function of transmission/reception control etc.Connect for the reliable network between the device, and serve application layer or receive service from application layer by network link service access point (NL-SAP) transmission.
On the other hand, using the sublayer is included in the application layer, and provide Network Management Function and device information object, be provided for being provided with the parameter management function of node parameter with Network Management Function and be used for the function of network configuration and management, with this device information object from device receiving system information and management devices information, and provide the answer function of association requests.
In addition, application layer provides transmission/reception controlled function to realize the service of application software, and the additional flow control function that is provided for download/upload service, and definition is used for the massage set of network management or electrical equipment control and monitoring, and serves application software or receive service from application software by application layer services accessing points (AL-SAP) transmission.
In addition, application software is carried out the specific function of electrical equipment, and and the interface swap data of application layer by defining in the application layer.As shown in figure 21, parameter management plane can or read the parameter that is used for each layer according to the request setting of Network Management Function in the application layer.
On the other hand, as according to another embodiment of the present invention, shown in Figure 22 and 23, the layer structure of the LnCP agreement in main frame and the slave unit has physical layer, data link layer, the four-layer structure of network layer and application layer.Application layer comprises the application sublayer that is used for supervising the network management function and device information object, and data link layer comprises home code control sublayer.
In addition, as shown in figure 22, in main frame, use UserReq, UserDLReq, UserULReq, ALCompleted, UserRes and UserEventRcv primitive are used for the interface of application software.In main frame from the service request primitive UserReq that application software transmits, to write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, the request message (ReqMsg) that comprises command code and input argument, the byte data length (ReqMsgLength) of ReqMsg, the address of acceptor device (DstAddress), the type (ALService) of transmission service, ALService is the stand-by period (ms) that sends the respond packet after the request grouping under the situation of request response in main frame therein, perhaps therein ALService be under the situation of repetition message in time cycle (TimeOut) between the notification message continuously, and transmission priority (SvcPriority).
In addition, the result who realizes in the service that is used for transmitting about the request message of main frame is to the primitive UserRes of application software, to write as the product code of the service password of application layer and the combination (ALSvcCode) of command code, comprise command code and the response message (ResMsg) that returns argument, the byte data length (ResMsgLength) of ResMsg and the address (SrcAddress) of sender device.
On the other hand, be used for transmitting the event message that receives from the subordinate device primitive UserEventRcv to the application software of main frame, write product code as the service code of application layer, the combination of command code and event code (ALSvcCode), the event message (EventMsg) that receives from the subordinate device, the byte data length (EventMsgLength) of EventMsg, the address of sender device (SrcAddress).
In addition, be used for sending data to the request primitive UserDLReq that connects the device of network by network manager, write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, data file name to be downloaded (DownloadFile), be fixed as the type (ALService) of the transmission service of " request-response-message (0) ", the address of acceptor device (DstAddress), in network manager, send stand-by period (TimeOut) of asking grouping respond packet afterwards and the transmission priority (SvcPriority) that is fixed as " 1 ".
In addition, at the request primitive UserULReq that is used for receiving data from the device that connects network by network manager, write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, treat uploaded data file name (UploadFile), be fixed as the type (ALService) of the transmission service of " request-response-message (0) ", the address of acceptor device (DstAddress), in network manager, send stand-by period (TimeOut) of asking grouping respond packet afterwards and the transmission priority (SvcPriority) that is fixed as " 1 ".
In addition, be used for transmitting the ALCompleted primitive of the result of service realization to application software from the application layer of main frame, write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, the pragmatic existing result of kimonos (ALResult); If with successfully finish by the application software requested service, write SERVICE_OK (1) then, with otherwise write SERVICE_FAILED (0) and therein ALResult be ' write the value (ALFailCode) of the failure cause that is used to classify in the situation of SERVICE_FAILD '.
On the other hand, as shown in figure 23, slave unit will use UserResSend, UserReqRcv and UserEventSend primitive.Be used for transmitting the request message (comprising download and upload) that sends from main frame primitive UserReqRcv to the application software of slave unit, to write as the product code of the service code of application layer and the combination (ALSvcCode) of command code, be included in the data (ReqData) from the request message that main frame sends, the address (SrcAddress) of the length of ReqData (ReqDataLength) and sender device.
In addition, be used for transmitting about the response message of the request message of main frame primitive UserResSend to slave unit, write as the product code of the service password of application layer and the combination (ALSvcCode) of command code, be included in data (ResData) in the response message that will be sent to main frame and the length (ResDataLength) of ResData.
In addition, in the primitive UserEventSend of the state variable value of the event message that will be sent to main frame that is used for being transmitted in slave unit, write product code as the service code of application layer, the combination of command code and event code (ALSvcCode), the type (ALService) of transmission service, the state variable value (StateValue) of event code (EventCode) and event message.
On the other hand, the interface between parameter management plane and network management sublayer will use SetPar and GetPar primitive.At the SetPar that is used for from the network management sublayer value of passing a parameter to parameter management layer, write the layer (DestLayer) that parameter value is sent to it; For example, DestLayer will be written as " 1 " under the situation of application layer, DestLayer will be written as " 2 " under the situation of network layer, and DestLayer will be written as " 3 " under the situation of data link layer, and DestLayer will be written as " 4 " under the situation of physical layer.
In addition, at the parameter (SetLayerPar) that changes according to the DestLayer value for each layer, under the situation of application layer, write " SetALPar ", under the situation of network layer, write " SetNLPar ", under the situation of data link layer, write " SetDLLPar ", under the situation of physical layer, write " SetPHYPar ".
In addition, at the primitive GetPar that is used for from the parameter management layer value of passing a parameter to network management sublayer, write and send the layer (SrcLayer) of parameter value to it; For example, under the situation of application layer, write " 1 ", under the situation of network layer, write " 2 ", under the situation of data link layer, write " 3 ", under the situation of physical layer, write " 4 ".
In addition, write the result (PMLResult) of realization, it is PAR_OK (1) under each layer successfully determined the situation of parameter value therein, and otherwise it will be PAR_FAILD (0), and at the parameter (GetLayerPar) that changes according to the SrcLayer value for each layer, under the situation of application layer, write " RptALPar ", under the situation of network layer, write " RptNLPar ", under the situation of data link layer, write " RptDLLPar ", under the situation of physical layer, write " RptPHYPar ".
Layer structure according to Network Control Protocol of the present invention will provide user's Long-distance Control and monitoring easily with the interface method with above-mentioned configuration, be implemented to the interface of each layer of Network Control Protocol thus more effectively.
As mentioned above, though for the open the present invention of the above-mentioned preferred embodiment illustrative purposes of reference, living network can be known as the network with different titles, more kinds of electrical equipment can be connected to network, and it will be appreciated by those skilled in the art that and do not breaking away under the situation of the present invention as additional defined technical spirit of claim and scope, can improve in every way, change replaces or interpolation the foregoing description.

Claims (35)

1. the layer structure of a Network Control Protocol comprises:
Physical layer, it is used to be provided at the function of transmission/reception physical signalling between the device;
Data link layer, it is used to provide the media interviews controlled function to use shared transmission medium;
Network layer, it is used to provide the function of emission/reception control of the network connection between address administration and/or the device; With
Application layer, it is used to provide the flow control function of download and/or upload service,
Wherein, this data link layer comprises any one at least home code control sublayer that function, management function and processing capacity are set of the single network that is used to be provided for logically to classify.
2. according to the layer structure of the Network Control Protocol of claim 1, wherein, in physical layer, use the wired or wireless transmission medium of non-standard transmission medium or standard, and comprise that the independent adapter of communication module optionally is used for connecting.
3. according to the layer structure of the Network Control Protocol of claim 1, wherein, this application layer comprises any one at least application sublayer of the function that is used to provide Network Management Function, generator information object.
4. according to the layer structure of the Network Control Protocol of claim 3, wherein, this Network Management Function is provided for being provided with the parameter management function of node parameter and is used for network configuration and the function of management.
5. according to the layer structure of the Network Control Protocol of claim 3, wherein, this device information object receives and management devices information from device, and is provided for the answer function of association requests.
6. according to the layer structure of the Network Control Protocol of claim 1, wherein, this application layer definition is used for the massage set of network management or device control and monitoring, and and the application software swap data with the specific function of final controlling element.
7. according to the layer structure of the Network Control Protocol of claim 1, wherein, this Network Control Protocol further comprises the specific function that is used for final controlling element and carries out and the application software of the exchanges data of application layer by the interface that application layer defines.
8. the interface method of each layer of the Network Control Protocol by comprising a plurality of layers of configuration, wherein, the primitive that is used to send the primitive of data or grouping and is used to receive data or grouping is used for the interface between each layer.
9. the interface method of each layer of Network Control Protocol according to Claim 8, wherein, by comprising a plurality of layers of any one configuration at least of physical layer, data link layer, network layer and application layer.
10. according to the interface method of each layer of the Network Control Protocol of claim 9, wherein, for physical layer in the middle of a plurality of layers and the interface between the data link layer, use is used for transferring data to from data link layer the primitive of physical layer, be used for from physical layer transfer data to data link layer primitive and with the state of going be used to be sent to data link layer primitive at least any one.
11. interface method according to each layer of the Network Control Protocol of claim 10, wherein, be used to be sent under the situation of primitive of data link layer with the state of going, if there is universal asynchronous receiver/reflector (UART) frame, then transmit LINE_BSY then, otherwise transmit LINE_IDLE.
12. interface method according to each layer of the Network Control Protocol of claim 9, wherein, for the interface between data link layer and the network layer in the middle of a plurality of layers, use is used for delivering the packets to from network layer the primitive of data link layer, be used for from data link layer deliver the packets to the primitive of network layer and be used to notify the transmitted in packets from the data link layer to the network layer the result primitive at least any one.
13. interface method according to each layer of the Network Control Protocol of claim 12, wherein, be used for from the primitive that network layer delivers the packets to data link layer write the byte data length of grouping, grouping of network layer and transmission priority at least any one.
14. according to the interface method of each layer of the Network Control Protocol of claim 12, wherein, be used for from the primitive that data link layer delivers the packets to network layer write the grouping of network layer and grouping byte data length at least any one.
15. interface method according to each layer of the Network Control Protocol of claim 12, wherein, under the situation of the result's who is used to notify the transmitted in packets from the data link layer to the network layer primitive, if the result as transmitted in packets successfully finishes packet transmission, then write SEND_OK (1) then, otherwise write SEND_FAILED (0), and under the situation of bust this, write the value of failure cause (DLLFailCode) that be used to classify.
16. interface method according to each layer of the Network Control Protocol of claim 9, wherein, for the interface between each layer, this main frame separates with slave unit, and be used in the middle of a plurality of layer in main frame from application layer transmission message to network layer primitive, be used for from network layer deliver the packets to the primitive of application layer and be used for from network layer to the primitive of application layer notice packet treatment state at least any one.
17. interface method according to each layer of the Network Control Protocol of claim 16, wherein, in the address of the address of the byte data length that is used for transmitting message writes communication cycle to the primitive of network layer identification number, the ADPU that is included in the request message of creating the application layer of main frame, ADPU, acceptor device, sender device and main frame from application layer the type of communication cycle service at least any one.
18. interface method according to each layer of the Network Control Protocol of claim 16, wherein, be used for from the primitive that network layer delivers the packets to application layer write the address of byte data length, acceptor device of identification number, the ADPU that is sent to application layer, the ADPU of communication cycle and sender device the address at least any one.
19. interface method according to each layer of the Network Control Protocol of claim 16, wherein, write the identification number of communication cycle and the result that communication cycle is realized at the primitive that is used for from network layer transmission packet transaction state to application layer, if and successfully finish communication cycle, then write CYCLE_OK (1) then, otherwise write CYCLE_FAILED (0).
20. interface method according to each layer of the Network Control Protocol of claim 9, wherein, for the interface between each layer, this main frame separates with slave unit, and be used for transmitting the primitive of the request message of reception in the middle of a plurality of layers in slave unit to application layer from network layer, be used for transmitting the primitive of response message to network layer from application layer, be used for from application layer transmit event message to the primitive of network layer and be used for from network layer to the primitive of application layer notice packet treatment state at least any one.
21. interface method according to each layer of the Network Control Protocol of claim 20, wherein, write the ADPU that is used to be sent to application layer at the request message that is used for transmit receiving from network layer to the primitive of application layer, the byte data length of ADPU, the address of acceptor device, the address of sender device, the result that the type of communication cycle service and number of repeated packet detect in the slave unit at least any one.
22. interface method according to each layer of the Network Control Protocol of claim 20, wherein, be used for transmitting response message writes communication cycle to the primitive of network layer identification number from application layer, be included in the ADPU of the response message of creating in the application layer, the byte data length of ADPU at least any one.
23. interface method according to each layer of the Network Control Protocol of claim 20, wherein, be used for transmitting event message writes communication cycle to the primitive of network layer identification number from application layer, the ADPU that comprises the event message of creating in the application layer of slave unit, the byte data length of ADPU, the address of acceptor device, the address of sender device and the transmission in network layer service at least any one.
24. the interface method of each layer of a Network Control Protocol, wherein, for the interface between application software and the application layer, this main frame and slave unit separate, and be used for main frame from the service request primitive that application software transmits, and be used for transmitting the request message that sends from main frame and use at slave unit to the primitive of the application software of slave unit.
25. according to the interface method of each layer of the Network Control Protocol of claim 24, wherein, should from service request primitive that application software transmits main frame, use and
Additionally be used to transmit result that the service about request message realizes primitive to application software, be used to transmit the event message that receives from the subordinate device primitive to the application software of main frame, be used to send data to the request primitive that is connected to the device of network by network manager, be used for by network manager from the device that is connected to network receive the request primitive of data and the result that is used for realizing from the application layer service of transmitting of main frame to the primitive of application software at least any one.
26. according to the interface method of each layer of the Network Control Protocol of claim 24, wherein, be used to transmit the request message that sends from main frame and be used to slave unit to the primitive of the application software of slave unit, and
Additionally be used to transmit about the response message of the request message of main frame to the primitive of the application layer of slave unit and be used to transmit the slave unit that will be sent to main frame event message state variable value to the primitive of application layer at least any one.
27. interface method according to each layer of the Network Control Protocol of claim 25, wherein, the type of the address of the byte data length that from the service request primitive that application software transmits, writes the combination of product code and command code, the request message (ReqMsg) that comprises command code and input argument, this ReqMsg, acceptor device and transmission service at least any one as the service code of application layer.
28. interface method according to each layer of the Network Control Protocol of claim 25, wherein, the result who realizes in the service that is used for transmitting about request message to the primitive of application software write product code and command code combination, comprise command code and return the byte data length of response message (ResMsg), this ResMsg of argument and the address of sender device at least any one as the service code of application layer.
29. interface method according to each layer of the Network Control Protocol of claim 25, wherein, write being used for transmitting the event message that receives from the subordinate device primitive to the application software of main frame: the byte data length of the combination of product code, command code and event code, the event message (EventMsg) that receives from the subordinate device, this EventMsg and the address of sender device at least any one as the service code of application layer.
30. interface method according to each layer of the Network Control Protocol of claim 25, wherein, the stand-by period of the respond packet after being used for sending data to address that the request primitive that is connected to the device of network by network manager writes product code and command code combination, data file name to be downloaded, the type that is fixed as the transmission service of particular value, acceptor device, being used for sending the request grouping from network manager and be fixed as particular value transmission priority at least any one as the service code of application layer.
31. interface method according to each layer of the Network Control Protocol of claim 25, wherein, write product code and command code combination at the request primitive that is used for receiving data, be used to store by the address of the file name of uploaded data, the type that is fixed as the transmission service of particular value, acceptor device from the device that is connected to network by network manager, stand-by period of the respond packet after being used for sending the request grouping from network manager and be fixed as particular value transmission priority at least any one as the service code of application layer.
32. interface method according to each layer of the Network Control Protocol of claim 25, wherein, the result who is used for realizing from the service of transmitting of the application layer of main frame to the primitive of application software write the pragmatic existing result of the combination kimonos of product code and command code at least any one as the service code of application layer.
33. interface method according to each layer of the Network Control Protocol of claim 26, wherein, be used for transmitting the request message that sends from main frame writes product code and command code to the primitive of the application software of slave unit combination, be included in data (ReqData) from the request message that main frame sends, the address of the length of this ReqData and sender device at least any one as the service code of application layer.
34. interface method according to each layer of the Network Control Protocol of claim 26, wherein, be used for transmitting the combination that writes product code and command code about the response message of the request message of main frame to the primitive of the application layer of slave unit, be included in be sent to data (ResData) in the response message of main frame and this ResData length at least any one as the service code of application layer.
35. interface method according to each layer of the Network Control Protocol of claim 26, wherein, write at the state variable value of the event message that is used for transmitting the slave unit that will be sent to main frame primitive to application layer: the state variable value of type, event code and the event message of the combination of product code, command code and event code, transmission service at least any one as the service code of application layer.
CNA2006800137309A 2005-02-24 2006-02-24 Layer structure of network control protocol and interface method Pending CN101164292A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
KR20050015581 2005-02-24
KR1020050015581 2005-02-24
US60/762,784 2006-01-27

Publications (1)

Publication Number Publication Date
CN101164292A true CN101164292A (en) 2008-04-16

Family

ID=39298306

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006800137309A Pending CN101164292A (en) 2005-02-24 2006-02-24 Layer structure of network control protocol and interface method

Country Status (1)

Country Link
CN (1) CN101164292A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106230A (en) * 2011-08-23 2013-05-15 索尼公司 Information processing apparatus, information processing method, and program
CN103440746A (en) * 2013-08-09 2013-12-11 深圳市富斯遥控模型技术有限公司 AFHDS2 two-way communication system applied to remote control model

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106230A (en) * 2011-08-23 2013-05-15 索尼公司 Information processing apparatus, information processing method, and program
CN103106230B (en) * 2011-08-23 2017-10-20 索尼公司 Information processor, information processing method and program
CN103440746A (en) * 2013-08-09 2013-12-11 深圳市富斯遥控模型技术有限公司 AFHDS2 two-way communication system applied to remote control model
CN103440746B (en) * 2013-08-09 2016-12-28 深圳市富斯遥控模型技术有限公司 A kind of AFHDS2 intercommunication system being applied to telecontrolled model

Similar Documents

Publication Publication Date Title
WO2006091040A1 (en) Layer structure of network control protocol and interface method
KR100605215B1 (en) Network device
KR100638017B1 (en) Network device
US20100005166A1 (en) Network device
KR100638030B1 (en) Network electric device
CN101164317A (en) Packet structure and packet transmission method of network control protocol
CN101164295A (en) Method for setting home code in network system and device for network
KR20070120099A (en) Packet structure and packet transmission method of network control protocol
KR100605216B1 (en) 0network device
KR100735968B1 (en) Method for providing download and upload service in living network control system
US20080164980A1 (en) Home Network System
US20080172481A1 (en) Method of Configuring Network Profile of Network System
CN101164292A (en) Layer structure of network control protocol and interface method
WO2005094195A2 (en) Home network system
KR101062219B1 (en) Data transmission and reception control method in data link layer
KR101067333B1 (en) Method for managing layer structure in living network control system
CN101164294A (en) Network control protocol device and net connecting method thereof
WO2006091039A1 (en) Network control protocol device and network connection method
KR20060090356A (en) Method for controling transmission and receive using a communication cycle service in living network control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication