CN101164293A - Network control management method - Google Patents

Network control management method Download PDF

Info

Publication number
CN101164293A
CN101164293A CNA2006800138636A CN200680013863A CN101164293A CN 101164293 A CN101164293 A CN 101164293A CN A2006800138636 A CNA2006800138636 A CN A2006800138636A CN 200680013863 A CN200680013863 A CN 200680013863A CN 101164293 A CN101164293 A CN 101164293A
Authority
CN
China
Prior art keywords
network
network manager
manager
address
master
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.)
Granted
Application number
CNA2006800138636A
Other languages
Chinese (zh)
Other versions
CN100581123C (en
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 CN101164293A publication Critical patent/CN101164293A/en
Application granted granted Critical
Publication of CN100581123C publication Critical patent/CN100581123C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A network system management method is provided. According to the method, a user inside or outside home can control or monitor the operations of appliances such as refrigerator or laundary machine through a living network such as an RS-485 network, a small output RF network, and a power line network provided inside home so that the user can perform remote control and monitor. Also, when a new device to which no address is assigned is connected in a state where a plurality of network managers are connected to the living network, only an arbitrary network manager sets and registers the address of the corresponding device and updates and manages the homenet profile suitable therefor through interface with the other network manager or a main network manager sets and registers the address1'' of the corresponding device and updates and manages the homenet profile suitable therefor through interface with a sub network manager so that it is possible to effectively manage and control the devices connected to the network without redundancy error on the network to which the plurality of network managers are connected.

Description

Network control management method
Technical field
The present invention relates to a kind of network control management method,, for example, be positioned at the household electrical appliance that user outside family or the family can be operatively connected to living network effectively such as refrigerator or washing machine by its user.
Background technology
Usually, " home network " refer to wherein various digital appliances be connected to each other 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 living network, such as the mode of operation monitoring of the various electrical equipment of refrigerator or washing machine be they communication argument the living 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 living network.Yet, also do not provide its effective solution, and therefore to provide its solution be urgent problem.
Summary of the invention
In order to address the above problem, the purpose of this invention is to provide a kind of network control management method, for example be positioned at the household electrical appliance that user outside family or the family can be connected to living network effectively by it such as refrigerator or washing machine, and, when the new device that is assigned to it when zero-address was connected to living network, it can prevent to produce the mistake that corresponding device thereof is wherein managed by a plurality of network managers redundantly.
In order to realize above-mentioned purpose, provide a kind of network control management method to comprise step: when the device that is assigned to it when zero-address in the state that is connected to living network at a plurality of network managers is connected to living network, the message that the request of producing of this device distributes the address is to send this message and when the arbitrary network manager transmission that receives message is used to specify the message of address, the address of network manager registration appointment is as the address of device, and ignorance is used to specify from the message of the address that other network manager receives subsequently.
Network control management method in a kind of network system that comprises one or more network managers is provided, this network control management method comprises step: newly add the inspection of network of network manager and be present in other network manager in the network, this network manager is provided with itself as the master network manager when determining not have other network manager, and the network manager notice is provided with the device that the result gives the adding network.
Provide a kind of network control management method to comprise step, master network manager and secondary network manager are connected in the state of network therein, when the device that is assigned to it when zero-address is connected to network, the address of master network manager distributor with registered address in home net profile and distribute the address to its device notice addresses distributed to other secondary network manager that is connected to network via message transfer.
A kind of method of distributing the address to network equipment is provided, the method comprising the steps of: device receives new address from the master network manager of network, the new address that the device storage receives is in its address and this device notice receives and other secondary network manager that is connected to network is given in the new address of storage.
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 structure according to living network control system of the present invention;
Fig. 2 and 3 shows and is applied to MS master-slave driving communication structure of the present invention;
Fig. 4 shows the layer structure that is applied to LnCP network of the present invention;
Fig. 5 to 7 shows the embodiment that is applied to communication cycle service of the present invention;
Fig. 8 shows the structure according to the layer of LnCP agreement of the present invention;
Fig. 9 shows the embodiment that is used for the primitive of the interface between network management sublayer and the node parameter management level according to of the present invention;
Figure 10 shows the structure of the interface between the layer according to an embodiment of the invention;
Figure 11 shows the home net profile of network management management according to an embodiment of the invention;
Figure 12 shows home net profile according to an embodiment of the invention;
Figure 13 shows the figure of the state of the network manager that is used for configuration network according to an embodiment of the invention;
Figure 14 shows the processing of testing fixture according to an embodiment of the invention;
Figure 15 shows the processing that logical address is set according to of the present invention;
Figure 16 shows the processing of the address of setting device in the network manager according to an embodiment of the invention;
Figure 17 shows according to the supervisor authority of new network manager of the present invention and handles; With
Figure 18 shows the processing of giving new network manager according to distribution of the present invention address.
Embodiment
Hereinafter, with the preferred embodiment of explaining with reference to the accompanying drawings according to network control management method of the present invention.
Fig. 1 shows the structure according to living network control system of the present invention.For example, according to the present invention to the Network Control Protocol of its redetermination, for example, application is connected to each other via internet 300 according to the LnCP Internet server 100 and the living network control system 400 of living network control protocol of the present invention, and LnCP Internet server 100 executive's interfaces connect various communication terminals 200, such as personal computer (PC), PDA(Personal Digital Assistant), and PCS Personal Communications System (PCS), as shown in Figure 1.
On the other hand, this living network control system 400 comprises local gateway 40, network manager 41, LnCP router four 2, LnCP adapter 43 and electrical equipment 44.As shown in Figure 1, said modules is used the transmission medium of its data link layer criteria of right and wrong, such as RS-485 network and little output RF network, perhaps using its data link layer is the transmission medium of standard, such as power line, IEEE 802.411, ZigBee (IEEE 802.15.4).
Simultaneously, for example, living network control system 400 can be called as the LnCP network.As shown in Figure 1, the LnCP network connects and to be used in independent this locality by the be connected to each other separate network of the electrical equipment that belongs to living network of wired or wireless transmission medium.
On the other hand, in the LnCP network, control or monitor other electrical equipment work host apparatus be connected to each other in response to the request of host apparatus and the slave of the information of the variation that provides relevant its state.
As shown in Figure 1, network manager 41 is provided with and manages the environment of the electrical equipment 44 that is connected to the LnCP network.Electrical equipment 44 can be directly connected to network or can be connected to network indirectly via LnCP adapter 43.RS-485 network in the LnCP network, RF network and power line network are connected to each other via LnCP router four 2.
And LnCP is connected to the internet 300 in the outside so that the customer inspection in the outside or be controlled at the state of the local electrical equipment that is provided with.Therefore, local gateway 40 internet in the LnCP network and the outside that is connected to each other.When the LnCP Internet server 100 in the user capture outside when carrying out proof procedure, the user can check or be operatively connected to the state of the electrical equipment of LnCP network.
The user can visit LnCP Internet server 100 by the electrical equipment that is connected to the LnCP network via local gateway 40, and the content that is provided by the LnCP Internet server is provided subsequently.Therefore, the main feature of LnCP network will be specifically described.
At first, digital information appliances comprises that respectively the microcontroller of various performances is to carry out unique function.Simplify effectively according to the function of LnCP network of the present invention so that the LnCP network can be worked in the microcontroller of various performances, and the LnCP network can use the resource that is installed in the microcontroller on the electrical equipment by minimally.Specifically, the microcontroller of low performance is carried out the LnCP communication function when carrying out for the exclusive function of this electrical equipment, and high performance microcontroller is supported the multitasking function.
Drive communication structure according to LnCP network support MS master-slave of the present invention, event-driven communication and a plurality of network manager, and 4-layer structure is provided, and communication cycle service, flexible address administration, the packet communication and the standard message of variable-length are provided with regulation.
On the other hand, MS master-slave drives communication structure as the connection communication structure in the middle of the electrical equipment in the LnCP network.Require at least one host apparatus, and host apparatus must have about with the information of controlled slave be used for its control routine.At this moment, host apparatus is according to the program of input in advance or the program control slave of being imported by the user.
For example, the message flow between host apparatus and the slave makes that as shown in Figure 2, when host apparatus sent a request message to slave, slave sent a response message to host apparatus.As shown in Figure 3, the LnCP network can have many main frames and many slaves driving communication structure.
LnCP network support event-driven communication service.For example, the user can be provided with the incident that electrical equipment needs.Then, when carrying out when producing the incident that is provided with by the user when working arbitrarily, corresponding electrical equipment is notified the content of the fact that other electrical equipment produces incident or incident or is controlled the state of other electrical equipment in response to incident.
Simultaneously, the LnCP network comprises at least one network manager of the environment that is provided with and manages electrical equipment and can support a plurality of network managers if necessary.In this case, must be synchronized with each other about the information of managing project of electrical equipment to deal with a plurality of network manager mistakes.
As shown in Figure 4, this LnCP network comprises physical layer, data link layer, network layer and application layer.The LnCP network is that unit provides service with the communication cycle.In slave, only there is a communication cycle at preset time point.
That is to say that when the slave communication cycle, slave can not be by any host apparatus control.Yet host apparatus was put and can be carried out a plurality of communication cycles for a plurality of slaves in preset time, such as { 1-request, 1-response }, and { 1-request, many-response }, { 1-notice } and { repetition-notice }.
For example, in { 1-request, 1-response } communication cycle, request of a main frame transmission is grouped into a slave and slave sends a respond packet in response to the request grouping.When producing in the grouping that receives when wrong, as shown in Figure 5, main frame sends request grouping again and slave and resends respond packet and be used for asking again grouping.
And in { 1-request, many-response } communication cycle, as shown in Figure 6, a main frame sends a request with address group and divides into groups to a plurality of slaves, and slave sends a respond packet of request grouping.Main frame is along with the maximum time of reception execution cycle through allowing.At this moment, although produce mistake in the respond packet that receives from subordinate equipment, main frame is ignored this mistake.
In { 1-notice } communication cycle, as shown in Figure 7, host apparatus sends a notice packet and installs to one or more, and execution cycle immediately.In { repetition-notice } communication cycle,, repeatedly send identical grouping and finish communication subsequently for the safe transmission reliability of { 1-notice } communication cycle.
On the other hand, PnCP network support address administration flexibly.For example, when when electrical equipment passes in factory, the address is assigned to the electrical equipment that comprises the LnCP function respectively, so that configuration network and do not have user's intervention automatically.At this moment, because the electrical equipment of identical type is by identical address initialization, network management electrical equipment has the algorithm that distributes unique address when electrical equipment is connected to each other.
And in the LnCP network, unique group address is assigned to the electrical equipment of identical type so that can use a message to carry out group communication.Needs according to the user are distinguished from each other various electrical equipment so that group address is assigned to each group by the group.
The packet communication of PnCP network support variable-length.For example, when downloading such as the content of the application program relevant or when uploading the data that are stored in the electrical equipment with the operation of electrical equipment, can be by the length of use about the information project control grouping of the exchange of the size of the buffer of electrical equipment.
And the LnCP network provides the standard message setting.For example, the application layer definition is suitable for the standard message setting of various electrical equipment so that host apparatus can be controlled other electrical equipment.Massage set is divided into the common area message set that is used for basic LnCP communication, be used to support electrical equipment unique function the application region massage set and be used to provide unique function development person's area message set of manufacturing company.
On the other hand, can increase massage set if necessary, and factor can be added to predefined message.Hereinafter, with the layer structure that specifically describes according to one of main feature as the LnCP network of the present invention.
Fig. 8 shows the layer structure of LnCP agreement according to an embodiment of the invention.As mentioned above, in order to control and monitor the operation such as the electrical equipment of refrigerator or washing machine, LnCP network according to the present invention comprises physical layer, data link layer, network layer and application layer.
On the other hand, physical interface between the physical layer final controlling element and transmission and reception physical signalling are such as the bit that will be sent out.The transmission medium of its data link layer criteria of right and wrong, such as the wired and wireless transmission medium of RS-485 and little output RF and standard, such as power line communication or Ethernet, IEEE 802.11 and ZigBee can be used as physical layer.In the LnCP network, the LnCP adapter can be as the physical layer of additional physical layer with implement device.
Data link layer is carried out media interviews controls (MAC) to use shared transmission medium.When data link layer was used off-gauge transmission medium, the LnCP network must use probabilistic delayed carrier to detect multiple access (p-DCSMA) as the MAC agreement.
Yet when data link layer was used the transmission medium of standard, the LnCP network can use the MAC function of appointment in the corresponding protocol.
On the other hand, as shown in Figure 8, when the transmission medium that uses subordinate, such as power line communication or IEEE 802.11, when ZigBee and little output RF configuration LnCP network, home code control sublayer is provided with, and management and processing home code are used for logically distinguishing network.When network is physically distinguished such as RS-485 by independent transmission medium, preferably do not realize home code control sublayer.
The address of network layer management electrical equipment and control send and receive to carry out reliable network between device and connects.Application layer control sends and receives and control is used for the stream of download and upload service to carry out the service of application software.
Application layer definition massage set is with supervising the network or control and monitoring household electrical appliance.Application software carry out to the exclusive function of electrical equipment and and application layer via the interface swap data that defines by application layer.
As shown in Figure 8, network management sublayer management node parameter is to be provided with node parameter and configuration and supervising the network.The node parameter management level can or read the node parameter that is used for each layer according to the request setting of network management sublayer.
Be used for primitive that interface connects network management sublayer and be divided into and be used for primitive (structure SetPar) and be used for primitive (structureGetPar), as shown in Figure 9 from the value of node parameter management level sending node parameter to network management sublayer from the value of network management sublayer sending node parameter to the node parameter management level.
On the other hand, show ' the uchar DestLayer ' and be recorded in the primitive (structure SetPar) that the value that is used for the sending node parameter arrives the node parameter management level of the layer of the value that is used for the sending node parameter as being used for the node parameter ' structureSetLayerPar ' of its value according to each layer of DestLayer value variation.DestLayer is ' 1 ' when the layer of the value that is used for the sending node parameter is application layer, DestLayer is ' 2 ' when the layer of the value that is used for the sending node parameter is network layer, DestLayer is ' 3 ' when the layer of the value that is used for the sending node parameter is data link layer, and DestLayer is ' 4 ' when the layer of the value that is used for the sending node parameter is physical layer.
SetLayerPar is ' SetALPar ' when the layer of the value that is used for the sending node parameter is application layer, SetLayerPar is ' SetNLPar ' when the layer of the value that is used for the sending node parameter is network layer, SetLayerPar is ' SetDLLPar ' when the layer of the value that is used for the sending node parameter is the data circuit layer, and SetLayerPar is ' SetPHYPar ' when the layer of the value that is used for the sending node parameter is physical layer.
Show ' ucharSrcLayer ' of the layer of the value that is used for the sending node parameter, whether show successfully ' the uchar PMLResult ' and be recorded in the value that is used for the sending node parameter primitive (structure GetPar) that receives the value of node parameter from each layer to network management sublayer as being used for ' structureGetLayerPar ' of its value according to the node parameter of each layer of SrcLayer value variation.SrcLayer is ' 1 ' when the layer of the value that is used for the sending node parameter is application layer, when the layer of the value that is used for the sending node parameter is network layer is ' 2 ', when the layer of the value that is used for the sending node parameter is data link layer is ' 3 ', and is ' 4 ' when the layer of the value that is used for the sending node parameter is physical layer.
PMLResult is PAR_OK (1) when successfully receiving the value of node parameter from each layer, and when from each layer when receiving node parameter unsuccessfully PMLResult be PAR_FAILED (0).GetLayerPar is ' RptALPar ' when the layer of the value that is used for the sending node parameter is application layer, when the layer of the value that is used for the sending node parameter is network layer is ' RptNLPar ', when the layer of the value that is used for the sending node parameter is data link layer is ' RptDLLPar ', and is ' RptPHYPar ' when the layer of the value that is used for the sending node parameter is physical layer.
On the other hand, the node parameter " const unitParTimeOut " that is used for the node parameter management level shows and is sending GetALPar (GetNLPar, GetDLLPar, perhaps GetPHYPar) after each layer, receives RptALPar (RptNLPar, RptDLLPar, perhaps RptPHYPar) stand-by period (ms).
When receiving SetPar primitive from network management sublayer, the node parameter management level send primitive SetALPar, SetNLPar, SetDLLPar, the perhaps layer of SetPHYPar appointment in the primitive, and ignore from the primitive that each layer receives (for example: 0xFF and 0XFFFF) wherein all bit values are node parameters of ' 1 '.
And, the node parameter management layer sends primitive GetALPar when receiving GetPar primitive from network management sublayer, GetNLPar, GetDLLPar, perhaps GetPHYPar is to the layer of appointment in primitive, and when receiving RptALPar from network management sublayer, RptNLPar when RptDLLPar or RptPHYPar, sends the value of PARResult, that is, PAR_OK is to network management sublayer.When ParTimeOut in the time not when each layer receives primitive, the node parameter management level send the value of PARResult, that is, PAR_FAILED is to network management sublayer.
On the other hand, network management sublayer management node parameter is to be provided with node parameter in each device, and configuration network is provided with the work of environment and supervising the network.When by application software and host request, network management sublayer is provided with or reads the value of following node parameter in equivalent layer.
For example, in application layer, be provided with or read, NP_Alivelnt, the value of the node parameter of SvcTimeOut and NP_BufferSize such as AddressResult.In network layer, be provided with or read NP_LogicalAddress, NP_ClusterCode, the value of the node parameter of NP_HomeCode and SendRetries.In data link layer, be provided with or read the value MinPktInterval of node parameter.In physical layer, be provided with or read the value NP_bps of node parameter.
Specifically, when comprising and belonging to the primitive UserReqRcv of ' a device node parametersetting service ' or ' application service of a device node parameter acquiring service ' when receiving from application layer, the network management sublayer of slave is via the setting of node parameter management level or read the value of the node parameter in the equivalent layer and send the result to application layer via primitive User ResSendprimitive.The application service of node parameter that is used to manage each layer is as follows.
For example, in application layer, comprise application service SetOption, SetAliveTime, SetClock and GetBufferSize.In network layer, comprise SetTempAddress, SetAddress and GetAddress application service.In data link layer, do not comprise application service.In physical layer, comprise the SetSpeed service.
On the other hand, the network management sublayer supervising the network, for example, configuration LnCP network is provided with the work of the environment and the supervising the network of network.The public network management function is worked in the application layer of main frame.Some function of information project about network synchronized with each other is worked in the application layer of slave in a plurality of network management periods.
Interface connects application layer and is divided into application layer that interface connects slave is connected main frame with interface application layer.Primitive UserReqRcv is used for the application layer that interface is connected slave with UserResSend.Primitive UserReq, UserDLReq, UserULReq, UserRes, UserEventRcv is used for the application layer that interface is connected main frame with ALCompleted.
In the method for the interface in living network control system according to the present invention between the execution level, as shown in figure 10, the protocol Data Unit that receives from the upper strata (PDU), collect the item of information about header and afterbody of each layer needs, and send it to lower floor.
For example, APDU (application layer PDU) as the grouping that transmits between application layer and network layer comprises APDU header and message, and comprise NPDU header such as ADPU as the network layer PDU (NPDU) of the grouping that between network layer and data link layer or home code control sublayer, transmits, the address of NPDU afterbody and APDU and APDU, the address of destination electrical equipment, and the kind of the grouping of determining according to the importance of the message that sends.
On the other hand, handle continuously about the information of whole devices of constituting the LnCP network and the use home net profile user that provides services on the Internet, as shown in figure 11 according to network manager of the present invention.
And, the network manager configuration network with the work of the device that is provided for being connected to the LnCP network and basis after finishing network configuration and generally the result that communicates by letter of device upgrade home net profile.
As shown in figure 11, in applied power after the electrical equipment that belongs to LnCP network and network manager, configuration network when the outside from network manager or device receives the message that is used for configuration network.
On the other hand, when finishing network configuration as mentioned above, network manager is carried out the control user or is managed the public work of the incident that is produced by device.Home net profile according to the present invention comprises the device archives of the information with relevant device that is connected to network.
And, record is stored in device information archives ' the InfoFile DeviceInforFile ' that is used for single device in the network manager, node parameter file ' ParFile DeviceParFile ', device working document ' StatusFile DeviceStatus ', scheme file ' ScenFile DeviceScenFile ', with the number of the device of in network manager, registering ' HomeNetProfile[N] ', as shown in figure 12.
As shown in figure 13, network manager configuration LnCP network for example, is checked the device that is connected to the LnCP network, and home code is set, and the logical address of setting device is provided with value, plan of establishment program and the configuration home net profile of other node parameter.
On the other hand, other network manager of network manager request just upgrades home net profile when the content changing of home net profile during network configuration.In order to carry out such operation, network manager uses primitive UserReq to send a request message to application layer and receive primitive UserRes and ALCompleted.
And as shown in figure 14, during the device do not registered in home net profile when power is being provided (S10), that is, when home net profile is in initial condition (S11), network manager determines whether other network manager is connected to network (S12).
For example, network manager uses the GetAddress service to determine whether other network manager is connected to network.At this moment, its receiver all be the value ' DstAddress=0x00FF ' of the factor of device and response message waiting time ' TimeOut (and for example: 10,000ms) be used to be sent to the primitive UserReq of application layer.
When definite other network manager is connected to network, for example, when receiving DeviceAddressAckRes message, uses GetDeviceList service (0xFF34) to duplicate home net profile (S13) and check this device to finish from other network manager.Send the factor value ' DstAddress=0xXXYY ' of node address of network manager of DeviceAddressAckRes message and response message waiting time ' TimeOut (and for example: 2,500ms) be used for when use GetDeviceList serves, being sent to the primitive UserReq of application layer.
On the other hand, when definite other network manager is free of attachment to network, use GetAddress service (0xFF07) inspection to be connected to the device (S14) of network.At this moment, its receiver all is the value of the factor ' DstAddress=0xFFFF ' of device, and the transmission of affirmation service NLService=0 and response message waiting time ' TimeOut (for example: 10,000ms) be used to be sent to the primitive UserReq of application layer.
And, when handling the GetAddress service, extract the logical address of device and group's code (S15) with its new registration (S16) home net profile from the response message that receives.Then, use the home net profile of item of information about device of wherein new registration, perhaps home net profile configuration and the supervising the network (S17) that duplicates from other network manager via above-mentioned processing.
On the other hand, the number that sends the device of response message therein is no less than under the suitable number of communications purpose situation, for example, this number is 10 when handling the GetAddress service, carries out repeatedly that the operation (S14) of testing fixture and use GetAddress service inspection are registered and the device that do not receive response message because of power remove in home net profile.At this moment, corresponding to the value ' DstAddress=0xXXYY ' of the factor of product code XX and logical address YY and response message waiting time ' TimeOut (and for example: 2,500ms) be used to be sent to the primitive UserReq of application layer.
The logical address of network manager setting device.For example, when the logical address of device was 0x00, the device that its logical address is not set sent ConfigurationReq message at time interval AddressReqInt.When device receives ConfigurationReq message via NotiPlugIn service, network manager determine request be provided with its address device number and for multiple arrangement or single device executive address algorithm is set.
On the other hand, when receiving ConfigurationReq message, network manager is waited for the ConfigurationReq message scheduled time from other device, for example, and from receiving the time point 2 * AddressReqInt of ConfigurationReq message.When receive ConfigurationReq message when being no less than twice from identical emitter address in time 2 * AddressReqInt, it determines to exist the device of a plurality of identical type.If no, determine to exist single device.
For example, as shown in figure 15, when in the state at power turn-on when device receives ConfigurationReq message arbitrarily (S30), there is single device in the product code that network manager extracts reflector with inspection or has multiple arrangement (S31).For example, when reflector is single device, extracts the product code ' 0xXX ' of reflector and in home net profile, check the maximum logical address value ' 0xYY ' of distributing to device with identical product code.
Then, this logical address ' 0xYY+1 ' is assigned to and uses SetAddress service (0XFF0F) to send the device (S32) of ConfigurationReq message.At this moment, send ConfigurationReq message device node address factor value " DstAddress=0xXX00 ' and response message waiting time ' TimeOut (and for example: 2,500ms) be used to be sent to the primitive UserReq of application layer.
And the address of the device that the network manager registration is new connects other network manager use NotiDeviceAd service (00xFF31) request to upgrade the home net profile of other network manager in home net profile and via interface.
On the other hand, when reflector is multiple arrangement, that is, when repeatedly receiving identical message ConfigurationReq, extract the product code ' 0xXX ' of reflector and in home net profile, check the maximum logical address value ' 0xYY ' of distributing to device with identical product code.
Then, ' 0xYY+Nd+1 selects interim logical address to 0xFD ' so that multiple arrangement is from logical address to use SetTempAddress service (0xFF0E) that SetTempAddressReq message is sent to the device (S33) that sends ConfigurationReq message.
On the other hand, Nd represents to be provided with by set handling in advance the number of the device of its logical address.Send ConfigurationReq message device node address factor value " DstAddress=0xXX00 ' and response message waiting time ' TimeOut (and for example: 29,000ms) be used to be sent to the primitive UserReq of application layer.
And, network manager uses the SetAddress service sequentially to determine the logical address of the device of transmission SetTempAddressAckRes message from ' 0xYY+1 ', SetTempAddressAckRes message is the response message corresponding to SetTempAddressReq message, and registers the address (S34) in home net profile of new device.
Then, network manager connects other network manager via interface, uses the home net profile (0xFF31) of NotiDeviceAd service request to upgrade other network manager.At this moment, select the factor value ' DstAddress=0xXXMM ' of node address and the response message of the device of interim logical address to wait the time ' TimeOut (for example: 2,500ms) be used for when using SetAddress to serve, being sent to the primitive UserReq of application layer.
On the other hand, to use SetAddress service its logical address that resets be the logical address (S35) of all devices of ' 0xFE ' to network manager.At this moment, its address 0xZZ that determines is the factor value ' DstAddress=0xXXFE ' of the node address of device redundant or that select identical interim logical address, the transmission of messages service ' Aservice=2 ' that repeats, with response message waiting time ' TimeOut (and for example: 1,000ms) be used to be sent to the primitive UserReq of application layer.
And when receiving ConfigurationReq message (S36), network manager is repeatedly carried out the sequence of operations that sends SetTempAddressReq message.When not receiving ConfigurationReq message, network manager is finished the operation of the logical address of setting device.
On the other hand, network manager shows arbitrary value NP_OptionVal and the announcement period time value NP_AliveInt that whether normally produces incident according to the number setting that is connected to LnCP network logical address device, with when the logical address of new setting device or when finding to be provided with in advance the new device of its address, the time data of all devices in the synchronizing network.
According to group's code of user's purpose setting device to determine the group of device.For example, use the arbitrary value NP_OptionVal of SetOption service (0xFF0D) setting device to be 0xFFFFFFFF, and the transmission ' EventOption=1 ' of concrete arbitrary value as all event messages of the transmission ' AliveEventOption=1 ' of AliveEvent message and eliminating AliveEvent message can be set.
At this moment, selection is connected to the factor value ' DstAddress=0xFFFF ' of node address of all devices of network, the transmission of messages service ' ALService=2 ' that repeats, with response message waiting time ' TimeOut (and for example: 1,000ms) be used to be sent to the primitive UserReq of application layer.
On the other hand, announcement period time NP_AliveInt is used for the variable of sensing by the off-line state of pulling out the device that plug or operating power switch cause, and controls its value according to the number of the device that is connected to the LnCP network.For example, the equispaced of using SetAliveTime service (0xFF16) to receive AliveEvent message by network manager is preferably more than 30 seconds.
That is to say that when the number of the device that is connected to physically identical network was N, NP_AliveInt was set to larger than 30 * N (second).At this moment, selection is connected to the factor value ' DstAddress=0xFFFF ' of node address of all devices of network, the transmission of messages service ' ALService=2 ' that repeats, with response message waiting time ' TimeOut (and for example: 1,000ms) be used to be sent to the primitive UserReq of application layer.
Then, the network manager time set of using SetClock service (0xFF17) to be provided for it is used for other device.
On the other hand, as being used for,, and can use the power consumption of SetAddress service (0xFF0F) setting device such as the group's code of value of group of device that is distinguished from each other of the position of generator wherein based on various standards.At this moment, the factor value of the node address of the device of selecting by the user " DstAddress=0xXXYY ' and response message waiting time " TimeOut (for example: 2,500ms) " be used to be sent to the primitive UserReq of application layer.
Then, when carrying out via user interface ' during the work of setting cluster codes ', network manager shows ' operation checking ' button, can check about the information project of the device in home net profile, registered and the work of device, and make user's group's code of input unit manually.
And as the group of user input apparatus during code, group's code of the device that uses SetAddress service (0xFF0f) to be provided with to be selected by the user also is registered in it in home net profile.When the work of customer inspection device, carry out ' operation checking ' button so that group code to be set, the work of customer inspection device and input group code manually.
Then, after use SetAddress service (0xFF0F) was provided with group's code of the device of being selected by the user and registers group's code in home net profile, network manager used group's code that the group of the device that provides in the position of customer requirements jointly is provided.
On the other hand, when a plurality of network managers are worked, require the basic mutual relevant work between the network manager on the LnCP network.For example, can be used as node address 0x0000 regularly as the network manager of local gateway work, yet, can have the product of unique function, such as television set or only have in the product of Network Management Function and realize other network manager.
Its product code is not that the network manager of 0x00 must be started working after assign logical addresses.The start node address is 0x0000 and via a series of processing logical address is set after power is provided.
For example, when having other network manager on network, network manager connects network manager via interface logical address is set.When other network manager was not present on the network, network manager was selected interim logical address at 0x01 in the scope of 0xFD, and for example, arbitrary value 0xXX is its logical address so that this value to be set.
On the other hand, because the problem of LnCP transmission over networks medium when damaging, the item of information about Product Status between as the network manager of main frame may not meet each other when grouping.For item of information synchronized with each other, preferably in the application layer of network manager, carry out time slot scrambling about program.
Figure 16 shows the processing of register device when having a plurality of network manager according to an embodiment of the invention.When a plurality of network managers therein, for example, main frame #_1 and main frame #_2 have in the state of function of Registering product, new device, for example, when slave was connected to network, slave sent ConfigurationReq message and main frame #_1 and the main frame #_2 reception ConfigurationReq message that request distributes the address.
Wish to add processing that slave at first carries out register device to the user of main frame #_1 therein also subsequently, another user registers under the situation of slave in main frame #_2 by accident, when at first by main frame #_1 registration slave, ignore the message of the registration slave that sends by main frame #_2.
For example, when zero-address was assigned to air conditioner, initial address was 0x0200.When registration slave in main frame #_1 so that address modification is when being 0x0201, although receive the temporary address via the location registration process of being carried out by main frame #_2, slave is ignored this address and is registered among the main frame #_2 afterwards among the main frame #_1 in being registered to prevent slave redundantly.
The DeviceAddReq message of wherein registering the main frame #_1 transmission NotiDeviceAdd service (0xFF31) of new device arrives other network manager, for example, and main frame #_2.At this moment, the group address of network manager " DstAddress=0x00FF ", the transmission of messages service ' ALService=2 ' of repetition and response message waiting time " TimeOut (for example: 1,000ms) " are used to be sent to the primitive UserReq of application layer.
On the other hand, the network manager main frame #_2 that receives DeviceAddReq message use GetNetProfile service (0xFF35) obtain its information-change device archives and upgrade its home net profile.At this moment, receive the node address " DstAddress=0x00XX " of the network manager of DeviceModifyReq message, the transmission of messages service ' ALService=2 ' that repeats, be used to be sent to the primitive UserReq of application layer with response waiting time " TimeOut (for example: 1,000ms) ".
Be connected to the fact of the all-network manager deletion corresponding device thereof of network from the network manager notice of home net profile delete device.Network manager at first uses NotiDeviceDel service (0xFF1B) delete device, and subsequently from its home net profile deletion corresponding device thereof.
Then, the DeviceDel message of network manager NotiDeviceDel service (0xFF32) is to the all-network manager.At this moment, the group address of network manager " DstAddress=0x00FF ", the transmission of messages service ' ALService=2 ' of repetition and response message waiting time " TimeOut (for example: 1,000ms) " are used to be sent to the primitive UserReq of application layer.
On the other hand, the network manager of reception DeviceDelReq message is deleted the information about the device of deleting from its home net profile.During the information of the device of registering in the relevant home net profile when change, network manager sends the DeviceModifyReq message of NotiDeviceModify service (0xFF33).At this moment, the group address of network manager " DstAddress=0x00FF ", the transmission of messages service ' ALService=2 ' of repetition and response message waiting time " TimeOut (for example: 1,000ms) " are used to be sent to the primitive UserReq of application layer.
And, the network manager that receives DeviceModifyReq message use GetNetProfile service (0xFF35) obtain its information-change device archives and upgrade its home net profile.At this moment, use to receive the node address " DstAddress=0x00XX " of the network manager of DeviceModifyReq message, and the transmission of messages service ' ALService=2 ' of repetition and response waiting time " TimeOut (for example: 1,000ms) ".
Network manager can use GetDeviceList service (0xFF34) to obtain information project about the device that is connected to network from other network manager once.
On the other hand, according to another embodiment of the present invention, will describe wherein a plurality of network managers and be connected to living network so that the arbitrary network manager is set is master network manager (P-NM) and the situation that other network manager is secondary network manager (S-NM) is set.
Simultaneously, this master network management electrical equipment has Network Management Function and network management mandate, but this secondary network management electrical equipment has the Network Management Function allocation manager to license to the master network manager so that the secondary network manager does not use Network Management Function.
On the other hand, when wherein not having network manager to be connected to network manager new in the state of living network to be connected to living network, the master network manager is connected to network manager new in the state of living network and is connected to living network therein, perhaps network manager is connected to living network therein, yet, do not have the master network manager with when removing the master network manager to being connected of living network, during the exchange of execution network management mandate, new network manager is connected to living network.
For example, as shown in figure 17, the new new network manager that adds living network uses the GetAddress service inspection whether to have another network manager (S50), when determining that when it there be (S51) in another network manager, use the NMSearch service inspection whether to have master network manager (S52), when determining that when it another network manager does not exist, be provided with new network manager this as the master network manager.
When the master network manager exists (S53), new network manager uses its Network Management Function version of NMAuthExchange service inspection whether to be higher than the Network Management Function version of master network manager with the receiving network managing mandate, when determining that when it new network manager itself has higher Network Management Function version (S54), be provided with new network manager this as master network manager (S56).
On the other hand, when on living network, not having the master network manager, new network manager is via NMSearch service search secondary network manager (S57), license to secondary network manager (S59) to use the NMAuthExchange service to give network management, during with the secondary network manager that determine to have Network Management Function version when it (S58), new network manager is set as secondary network manager (S60) with the Network Management Function version that is higher than new network manager itself.
On the other hand, when the secondary network management electrical equipment of search has the Network Management Function version of the Network Management Function version that is higher than new network manager, new network manager is provided with this as the master network manager, and the network manager that is set to the master network manager uses the NotiNMChange Service Notification to change and gives other network manager and device via above-mentioned processing.
On the other hand, when removing the master network manager to the connection of living network, carry out the exchange of network management mandate, for example, the master network manager is evenly sending AliveEvent and secondary network manager reception AliveEvent at interval.When not receiving AliveEvent, determine to remove of the connection of master network manager to living network for the scheduled time.
Then, check the Network Management Function version of other secondary network manager that is connected to living network, the network management mandate is arranged so that have the secondary network management electrical equipment of the highest version.For example, extract the master network manager, can carry out the operation of reexamining of master network manager once more according to user's selection because a plurality of secondary network manager is side by side checked.
On the other hand, for a plurality of network managers are worked on a network, must be to the network manager assign logical addresses in 0x0001 arrives the scope of 0x00Fd.Can realize network manager and can realize network manager such as TV about having the product of unique function about the product that only has Network Management Function.Be under the situation of network manager of 0x00 at its product code, the start node address is 0x0000 and according to providing the next one after the power to handle logical address is set.
For example, as shown in figure 18, the new network manager that newly is connected to living network sends ConfigurationReq to living network (S70).When having the master network manager, distribute the address to give the new network manager that sends ConfigurationReq message.
On the other hand, as new network manager not (S71) during receiver address, send ConfigurationReq message to unify number of times (for example, m time) according to communication speed.Then, when receiver address not, select in the scope of 0xFD arbitrary value 0x00 to give new network manager (S73) to distribute arbitrarily logical address at 0x01.
Then, the master network manager (S74) that this new network manager uses the NMSearch service search to exist in advance, with when searching master network manager (S75), new network manager is set originally as secondary network manager (S76), with when not searching master network manager (S77), be provided with new network manager this as master network manager (S77) and the configuration (S78) of notifying the user to finish living network.
On the other hand, network manager can use the device tabulation (RDL) that GetDeviceList service (0xFF34) obtains registering from other network manager.In having the LnCP network of a plurality of network managers, the master network manager distributes the address to give new device.At this moment, the NotiAddressConfirm of secondary network manager receiving system service is to confirm that logical address is assigned to new device.
And this DeviceAddReq message of distributing the address to send DeviceAdd service (0xFF31) for the master network manager of new device arrives other network manager.Other network manager that receives DeviceAddReq message adds corresponding device thereof to its home net profile, uses GetNetProfile service (0xFF35) to obtain the archives of the device of its information-change, and upgrades its home net profile.
Then, be connected to the all-network manager deletion corresponding device thereof of network from the master network manager notice of home net profile delete device.For example, the master network manager uses SetDeviceDel service (0xFF1B) delete device and gives the all-network manager from its home net profile deletion corresponding device thereof with the DeviceDelReq message of notice DevieDel service (0xFF32).The network manager that receives DeviceDelReq message is deleted the information of relevant corresponding device thereof from its home net profile.
On the other hand, when changing the information of the relevant device of registering in home net profile, the master network manager sends the DeviceModifyReq message of DeviceModify service (0xFF33) and gives other network manager.The network manager that receives DeviceModifyReq message use GetNetProfile service (0xFF35) obtain its information-change device archives and upgrade its home net profile.
And the master network manager can use GetActiveDeviceList service (0xFF39) to obtain active device tabulation (ADL) from other network manager.Can by the master network manager directly manage among the ADL change and can be by the secondary network manager via the effective incident of device or can use the database of the service in the middle of the synchronizing network manager to manage.
Can there be the group in the management arbitrary network manager in the state of a plurality of network managers therein in the user.For example, the arbitrary network manager is served to obtain corresponding tabulation to other network manager request GetClusterList.
On the other hand, the ClusterAddReq message of wherein registering new group's network manager transmission ClusterAdd service (0xFF3A) is given other network manager.The network manager that receives ClusterAddReq message adds corresponding group's code and group's title in its group-list.
And, send the ClusterDelReq message of ClusterDel service (0xFF3B) to the all-network manager from group-list deletion group's network manager.The network manager device that receives ClusterDelReq message is from the corresponding group of its group-list deletion.
Then, change group's network manager sends the ClusterModify message of ClusterModify service (0xFF3C) to the all-network manager in group-list.The network manager device that receives ClusterModify message is from the corresponding group of its group-list change.
According to network control management method of the present invention with said structure, the user can carry out Long-distance Control and monitoring easily and can manage and be operatively connected to all devices of network effectively, and not is not connected to the mistake of redundancy of its network about a plurality of network managers.
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 of another title, more kinds of electrical equipment can be connected to according to living network of the present invention, and it will be appreciated by those skilled in the art that not breaking away from the present invention and be called under the situation of defined technical spirit and scope as additional right, can improve in every way, change replaces or interpolation the foregoing description.

Claims (17)

1. network control management method comprises:
When a plurality of network managers therein were connected to device that zero-address in the state of living network is assigned to it and are connected to living network, the device request of producing distributed the message of address to send this message; With
When the arbitrary network manager transmission that receives this message was used to specify the message of address, the address of network manager registration appointment was the address of device, and ignorance is used to specify from the message of the address that other network manager receives subsequently.
2. according to the network control management method of claim 1, further comprise step: wherein the network manager of the address of additional register device upgrades its home net profile, and sends this home net profile subsequently to the home net profile of other network manager with the renewal network manager.
3. according to the network control management method of claim 2, further comprise step: when the information of the relevant device in the home net profile registration of deletion, produce the message of the information of the relevant corresponding device thereof of notice deletion, and send subsequently this message to the all-network manager that is connected to network to upgrade home net profile.
4. according to the network control management method of claim 2, further comprise step: when the information of the relevant device in the home net profile registration of change, produce the message of the information of the relevant corresponding device thereof of notice change, and send subsequently this message to the all-network manager that is connected to network to upgrade home net profile.
5. according to the network control management method of claim 2, wherein, other network manager that this network manager is connected with network via the interface connection receives the item of information about all devices once.
6. network control management method in comprising the network system of one or more network managers, this network control management method comprises:
The inspection of new adding network of network manager is present in other network manager on the network;
Network manager is provided with this as the master network manager when determining not have other network manager; With
The network manager notice is provided with the result and gives the device that adds network.
7. according to the network control management method of claim 6, further comprise step: when definite other network manager was present on the network, whether the network manager search existed another master network manager.
8. according to the network control management method of claim 7, further comprise step: when determining to have other master network manager, network manager checks whether other master network manager has the Network Management Function version higher than its Network Management Function version.
9. network control management method according to Claim 8, further comprise step: when the Network Management Function version of determining other master network manager is higher than its Network Management Function version, it is the master network manager that network manager is provided with other master network manager, with when the Network Management Function version of determining other master network manager is not higher than its Network Management Function version, this is set is the secondary network manager as the master network manager with other master network manager is set.
10. according to the network control management method of claim 9, further comprise step: notice is provided with the result and gives the device that adds network.
11. a network control management method comprises:
When master network manager and secondary network manager therein are connected in the state of living network, when the device that zero-address is assigned to it is connected to living network, the address of master network manager distributor with this address registration in home net profile; With
Distribute the address to give other secondary network manager that is connected to network via message transfer notice addresses distributed to its device.
12. network control management method according to claim 11, wherein, when removing the master network manager therein have a plurality of secondary network manager in the state of the connection of network, relatively the Network Management Function version of secondary network manager is the master network manager so that select the higher any secondary network manager of its Network Management Function version and it is set mutually.
13. according to the network control management method of claim 11, wherein, this master network manager and the tabulation of secondary network manager exchange register device are with synchronous register device tabulation.
14. according to the network control management method of claim 11, wherein, this master network manager and the tabulation of secondary network manager exchange active device are with synchronous active device tabulation.
15. according to the network control management method of claim 11, wherein, this master network manager and the tabulation of secondary network manager abelian group are tabulated with synchronic group.
16., comprise that further the addresses distributed of master network manager dispensing device gives the secondary network manager with this address of registration in the home net profile of secondary network manager according to the network control management method of claim 11.
17. a method of distributing the address to give network equipment, this method comprises:
Device receives new address from the master network manager of network;
Device is stored the new address that receives in its address; With
The device notice receives and other secondary network manager that is connected to network is given in the new address of storage.
CN200680013863A 2005-02-24 2006-02-24 Network system management method Expired - Fee Related CN100581123C (en)

Applications Claiming Priority (3)

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

Publications (2)

Publication Number Publication Date
CN101164293A true CN101164293A (en) 2008-04-16
CN100581123C CN100581123C (en) 2010-01-13

Family

ID=39298307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200680013863A Expired - Fee Related CN100581123C (en) 2005-02-24 2006-02-24 Network system management method

Country Status (1)

Country Link
CN (1) CN100581123C (en)

Also Published As

Publication number Publication date
CN100581123C (en) 2010-01-13

Similar Documents

Publication Publication Date Title
KR100996309B1 (en) Network device
WO2006091042A1 (en) Network system management method
KR100596756B1 (en) Home network system
US7729282B2 (en) Home network system and its configuration system
US20140304382A1 (en) System and method for automatic provisioning of onsite networking services
US20090160626A1 (en) Method for Setting Home Code in Network System and Device for Network
CN1681256A (en) Method of synchronizing management information between a plurality of managing devices in a home network
US20090232028A1 (en) Configuration systems and methods for utilizing location information to configure devices in application systems
US20090232020A1 (en) Automatic-configuration systems and methods for adding devices to application systems
US8484323B2 (en) Network system connected with multiple master devices and method for operating the same
US20090024726A1 (en) Device for network system and method of transmitting profile
WO2006083148A1 (en) Address management method and message transmitting and receiving method in network control system
CN101164285A (en) Packet structure and packet transmission method of network control protocol
CN101185286A (en) Method of configuring network profile of network system
CN100581123C (en) Network system management method
CN1938988A (en) Home network system
KR101067333B1 (en) Method for managing layer structure in living network control system
CN101164292A (en) Layer structure of network control protocol and interface method
KR20060089854A (en) Living network control system
KR20070120100A (en) Network control protocol device and network connection method
CN101164294A (en) Network control protocol device and net connecting method thereof
KR20060094427A (en) Method for executing network management general operation in living network control system
CN1767464A (en) Household network system
CN1767463A (en) Household network system
KR20060089855A (en) Method for communicating based event 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100113

Termination date: 20150224

EXPY Termination of patent right or utility model