CN104242989B - Code matching method and device - Google Patents

Code matching method and device Download PDF

Info

Publication number
CN104242989B
CN104242989B CN201310253264.3A CN201310253264A CN104242989B CN 104242989 B CN104242989 B CN 104242989B CN 201310253264 A CN201310253264 A CN 201310253264A CN 104242989 B CN104242989 B CN 104242989B
Authority
CN
China
Prior art keywords
network
code
equipment
message
interpolation
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.)
Expired - Fee Related
Application number
CN201310253264.3A
Other languages
Chinese (zh)
Other versions
CN104242989A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310253264.3A priority Critical patent/CN104242989B/en
Priority to PCT/CN2014/080604 priority patent/WO2014206273A1/en
Publication of CN104242989A publication Critical patent/CN104242989A/en
Application granted granted Critical
Publication of CN104242989B publication Critical patent/CN104242989B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines

Abstract

The embodiment of the invention provides a code matching method and device. The method comprises the steps that member equipment in a PLC sub-network triggers the code matching process to become add equipment, and first add equipment sends a code matching stop message to other add equipment in the PLC sub-network where the first add equipment is located, so that other add equipment stops the code matching process after receiving the code matching stop message, the first add equipment is the add equipment which is the first to search for an add request message broadcast by new equipment, and the first add equipment sends an add confirmation message to the new equipment, so that the new equipment obtains a basic message in the PLC sub-network according to the add confirmation message and is related to a central coordinator in the PLC sub-network. The code matching method and device save transmission resources in the network and lower power consumption of other add equipment.

Description

To code method and apparatus
Technical field
The present embodiments relate to communication technical field, more particularly, to one kind is to code method and apparatus.
Background technology
With home network application, the growing of bandwidth demand and user are required to service variation Increase, based on Institute of Electrical and Electronics Engineers(Institute of Electrical and Electronics Engineers, hereinafter referred to as:IEEE)The mixing isomery household network technology of 1905.1 standards would is that not Carry out the extensive trend of home network.IEEE 1905.1 standard is one and has merged wired and wireless two types Technology household network standards, wherein can be provided the user larger based on wired home network technologies Bandwidth or plug and play Consumer's Experience, and can be provided the user based on wireless home network technologies Easily mobility.The two is complementary to one another and just can give full play to respective advantage, thus reaching whole family All standing.IEEE 1905.1 defines a unified level of abstraction for different home network technologies, should Level of abstraction is located at the medium education of layer 2(Media access control, hereinafter referred to as:MAC)Son Layer and logic link control(Logic link control, hereinafter referred to as:LLC)Between sublayer, each Floor layer Technology all provides 1905.1 ports to this level of abstraction, and equipment supports that several Floor layer Technologies are just corresponding Ground possesses several different types of 1905.1 ports.
Fig. 1 is the schematic diagram of the blended family's network being made up of IEEE 1905.1 equipment, as shown in figure 1, The IEEE1905.1 equipment holding identical Floor layer Technology forms the sub-network of a Floor layer Technology(As the net in Fig. 1 Network 1 arrives network n), they are probably power line communication(Power line communication, letter below Claim:PLC)Any one in network, 802.11 networks, 802.3 networks and coaxial multi-media network. Be connected using passing through bridge device between the sub-network of different technologies, bridge device be have at least two and 1905.1 equipment of difference 1905.1 port of above number, carry in a network in hybrid network The task to another network for the packet bridges forward.Multiple ports of bridge device are belonging respectively to multiple Different sub-networks.All of sub-network in Fig. 1(Network 1 arrives network n)Together constitute one to be based on 1905.1 blended family's network.In above-mentioned blended family network, for the user providing the user with Experience, needs to allow user in the case of not knowing about the port type of equipment, can by shirtsleeve operation To add new equipment in network, define one kind in 1905.1 standards based on right for solving this problem The method of operating of code, in conjunction with Fig. 1, the method is as follows:Define exclusively for code process in 1905.1 standards Article one, the control message of level of abstraction, adds notification message to code(Push Button Event Notification), this message is to be produced after oneself code process is triggered by original interpolation equipment. New equipment code process is triggered first, original interpolation equipment sends to code on its each port Add notification message, the miscellaneous equipment receiving this message will forward this message on the port meet condition, All devices in final hybrid network all can receive this message.After receiving that message, if certain equipment n Certain(A bit)Port support to code operate, then equipment n to start on these ports to code process and become For adding equipment.
In above process, if new equipment is a PLC device, all devices in final PLC sub-network Code process all can be triggered, therefore can cause the waste of transfer resource in PLC sub-network, increase PLC Add the power consumption of equipment in sub-network.
Content of the invention
The embodiment of the present invention provides one kind to code method and apparatus, to solve to add newly in PLC sub-network The problem of the transmission resource waste leading to during equipment, reduces the power consumption adding equipment in PLC sub-network.
In a first aspect, the embodiment of the present invention provide a kind of to code method, including:
Member device triggering in power line communication PLC sub-network becomes after interpolation equipment to code process, First adds equipment adds other interpolation equipment in the PLC sub-network that equipment is located to described first Send and message is stopped to code, so that other interpolation equipment described stop after receiving the described stopping message to code Only to code process, described first interpolation equipment is that first addition request searching new device broadcasts disappears The interpolation equipment of breath;
Described first adds equipment sends addition confirmation message to described new equipment, so that described new equipment Confirmation message is added to obtain the essential information in described PLC sub-network and described PLC according to described Central coordinator in sub-network is associated.
In the first possible embodiment of first aspect, described power line communication PLC sub-network In member device triggering interpolation equipment is become to code process, including:
The triggering after itself code key is pressed of a member device in described PLC sub-network is described Code process is become with original interpolation equipment, it is right that other member devices in described PLC sub-network receive Code event notification message after trigger described to code process, described is to be added by original to code event notification message Oil (gas) filling device generates, or,
Member device in described PLC sub-network triggers institute after receiving to code event notification message State to code process, described is to be generated by original interpolation equipment to code event notification message, and by other sons The interpolation device forwards of network give the member device in described PLC sub-network.
In conjunction with the first possible embodiment of first aspect or first aspect, in first aspect In the possible embodiment of second, described first adds equipment adds what equipment was located to described first Other interpolation equipment in PLC sub-network send and stop message to code, including:
It is described right that described first interpolation equipment adds equipment transmission to described other by the way of broadcast Code stops message;Or,
It is described right that described first interpolation equipment adds equipment transmission to described other by the way of multicast Code stops message;Or,
It is described right that described first interpolation equipment adds equipment transmission to described other by the way of unicast Code stops message.
In conjunction with any one of the possible embodiment of the second of first aspect to first aspect Method, in the third possible embodiment of first aspect, described first adds equipment to described New equipment sends after adding confirmation message, also includes:
If described new equipment is successfully associated with the central coordinator of described PLC sub-network, described first adds Oil (gas) filling device is to described new equipment distribution network member keys NMK.
In conjunction with any one of the third possible embodiment of first aspect to first aspect Method, in the 4th kind of possible embodiment of first aspect, described addition confirms to comprise in message The network label NID of described PLC sub-network.
In conjunction with any one of the 4th kind of possible embodiment of first aspect to first aspect Method, in the 5th kind of possible embodiment of first aspect, described first adds equipment to described After new equipment distribution network member keys NMK, also include:
Described first interpolation equipment sends one in hybrid network and adds notification message to code, so that institute Other interpolation equipment in hybrid network of stating terminate to code mistake after receiving the described addition notification message to code Journey simultaneously adds notification message to forward in described hybrid network code by described.
Second aspect, the embodiment of the present invention provide a kind of to code device, including:
Processing module, triggers to code process for the member device in power line communication PLC sub-network After becoming interpolation equipment, the addition request message of search new device broadcasts;
Sending module, for adding to first after described processing module searches described addition request message Other in the PLC sub-network that oil (gas) filling device is located add equipment transmission to code stopping message, so that described Other interpolation equipment stop after receiving the described stopping message to code to code process, and described first interpolation sets Search the described interpolation equipment adding request message for for first;
Described sending module is additionally operable to send to add to described new equipment confirm message, so that described newly set Standby according to the described essential information adding in the confirmation message described PLC sub-network of acquisition and and described Central coordinator in PLC sub-network is associated.
In the first possible embodiment of second aspect, described power line communication PLC sub-network In member device triggering interpolation equipment is become to code process, including:
The triggering after itself code key is pressed of a member device in described PLC sub-network is described Code process is become with original interpolation equipment, it is right that other member devices in described PLC sub-network receive Code event notification message after trigger described to code process, described is to be added by original to code event notification message Oil (gas) filling device generates, or,
Member device in described PLC sub-network triggers institute after receiving to code event notification message State to code process, described is to be generated by original interpolation equipment to code event notification message, and by other sons The interpolation device forwards of network give the member device in described PLC sub-network.
In conjunction with the first possible embodiment of second aspect or second aspect, the of second aspect In two kinds of possible embodiments, described sending module is used for:
Using broadcast by the way of to described other add equipment send described to code stop message;Or,
By the way of multicast to described other add equipment send described to code stop message;Or,
By the way of unicast to described other add equipment send described to code stop message.
In conjunction with the side described in the possible any one of embodiment of the second of second aspect to second aspect Method, in the third possible embodiment of second aspect, described sending module is additionally operable to:
Send to described new equipment after adding confirmation message, if described new equipment and described PLC subnet The central coordinator of network is successfully associated, to described new equipment distribution network member keys NMK.
In conjunction with the side described in the third possible any one of embodiment of second aspect to second aspect Method, in the 4th kind of possible embodiment of second aspect, described addition confirms to comprise institute in message State the network label NID of PLC sub-network.
In conjunction with the side described in the 4th kind of possible any one of embodiment of second aspect to second aspect Method, in the 5th kind of possible embodiment of second aspect, described sending module is additionally operable to:
To after described new equipment distribution network member keys NMK, in hybrid network, send one Notification message is added to code so that in described hybrid network other interpolation equipment receive described to code plus Terminate after entering notification message to add notification message in described hybrid network to code process and by described to code Middle forwarding.
Provided in an embodiment of the present invention to code method and apparatus, the member device in PLC sub-network touches Sending out becomes after interpolation equipment to code process, is disappeared by first addition request searching new device broadcasts The equipment that adds of breath sends to other interpolation equipment in the first PLC sub-network adding equipment place Message is stopped to code, other interpolation equipment in PLC sub-network receive and code stopped just stopping after message Only to code process, that is, the addition request message of the new device broadcasts that stop search, accordingly also stop to newly setting Standby reply adds confirmation message.Last needs the first interpolation equipment to add confirmation to disappear to new equipment transmission Breath, according to addition, new equipment confirms that message obtains the essential information in PLC sub-network and PLC Central coordinator in network is associated.Therefore save the transfer resource in network, and also drop Low other add the power consumption of equipment.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be right In embodiment or description of the prior art the accompanying drawing of required use be briefly described it is clear that Ground, drawings in the following description are some embodiments of the present invention, for those of ordinary skill in the art For, without having to pay creative labor, can also be obtained other according to these accompanying drawings Accompanying drawing.
Fig. 1 is the schematic diagram of the blended family's network being made up of IEEE 1905.1 equipment;
Fig. 2 is the flow chart to code embodiment of the method one for the present invention;
Fig. 3 is the flow chart to code embodiment of the method two for the present invention;
Fig. 4 is the structural representation to code device embodiment one for the present invention;
Fig. 5 is the structural representation to code device embodiment two for the present invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with this Accompanying drawing in inventive embodiments, is clearly and completely retouched to the technical scheme in the embodiment of the present invention State it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, broadly falls into the scope of protection of the invention.
Fig. 2 is the flow chart to code embodiment of the method one for the present invention, as shown in Fig. 2 the present embodiment Method can include:
Member device triggering in S101, PLC sub-network becomes after interpolation equipment to code process, and first Other interpolation equipment that interpolation equipment adds to first in the PLC sub-network that equipment is located send to code Stop message, so that other interpolation equipment receive stopping to code stopping to code process after message, first Interpolation equipment is the interpolation equipment of first addition request message searching new device broadcasts.
Specifically, in PLC sub-network add equipment start search for new device broadcasts addition request disappear After breath, in PLC sub-network, the first interpolation equipment searching addition request message just becomes first and adds Oil (gas) filling device, other in the PLC sub-network that then the first interpolation equipment is located to the first interpolation equipment add Oil (gas) filling device sends and stops message to code, and other interpolation equipment in PLC sub-network receive and code is stopped Just stop to code process after message, that is, other interpolation equipment in PLC sub-network stop search new equipment The addition request message of broadcast, accordingly also stops replying to add to new equipment confirming message.Wherein, It is right that one other interpolation equipment adding in the PLC sub-network that equipment is located to the first interpolation equipment send Code stops message, can in the way of using broadcast, the mode of the mode of multicast or unicast sends.
Specifically, all equipment supported to code operation all can there is one to code key, this is permissible to code key It is in the user interface on an entity button or the equipment display interface on equipment, such as Drop-down menu or dialog box etc., this is once pressed to code key, will trigger equipment to code process, User need to press in predetermined time interval new equipment to code key and member device to code key. The sequencing of the two is not restricted, that is, user can select first to press new equipment to code key to trigger New equipment to code process, then press again member device to code key with trigger member device to code Process;User can also select first to press member device to code key with trigger member device to code mistake Journey, then press again new equipment to code key with trigger new equipment to code process.Member device is Through adding the equipment in hybrid network, user is specifically chosen to press which member device code key is not had Restricted, that is, user can choose at random and will trigger its member device to code process.New equipment refers to PLC device in one sub-network to PLC to be added or PLC port.Triggering new equipment to code Process is as follows:
User press new equipment to code key, new equipment code process is triggered, new equipment starts In PLC sub-network, periodically broadcast adds request message.
Member device triggering in PLC sub-network becomes interpolation equipment, detailed process bag to code process Include:
A member device in PLC sub-network triggers the right of itself after itself code key is pressed Code process becomes original interpolation equipment, and other member devices in PLC sub-network receive original interpolation Equipment send to triggering after code event notification message to code process, be by former to code event notification message Beginning interpolation equipment generates.In this case original interpolation equipment is that a member in PLC sub-network sets Standby, the other member devices in PLC sub-network directly receive at original interpolation equipment and code event are led to Know message and trigger interpolation equipment is become to code process.
Or, in PLC sub-network, all of member device touches after receiving to code event notification message From body to code process, it is to be generated by original interpolation equipment to code event notification message, and by other The interpolation device forwards of sub-network are to the member device in PLC sub-network.Original in the case of this kind add Oil (gas) filling device is other sub-network(Non- PLC sub-network)In member device, in PLC sub-network Member device triggering is as follows to the detailed process of code process:
S10, user press the right of any one member device in hybrid network in predetermined time interval Code key, member device code process is triggered, this member device becomes original interpolation equipment.Original The Floor layer Technology defined that interpolation equipment is supported according to it to code process, or in its affiliated sub-network In start to broadcast the first instruction message, or start to search for the second instruction message in its affiliated sub-network. Additionally, original interpolation equipment also needs to produce one to code event notification message, and all full at oneself On the port of sufficient condition, this message is forwarded.The port meeting condition is:Non- WIFI port, WIFI access point(WIFI AP)Port, not associated WIFI website(WIFI STA)End Mouthful.
Other member devices in S11, hybrid network receive that original interpolation equipment sends to code event After notification message, oneself all port that have passed through certification forwards this to code event notification message, And allow all port startups supporting code is operated to code process.It should be noted that these equipment Code process is triggered after, they set also into becoming interpolation with original interpolation equipment identical state Standby, that is, as user is they also press to code key, therefore they are also according to Floor layer Technology Defined to code process, or start to broadcast the first instruction message in its affiliated sub-network, or at it Start in affiliated sub-network to search for the second instruction message.
S12, when original interpolation equipment produce to code event notification message with miscellaneous equipment forwarding And after reaching the PLC sub-network at new equipment place, the member device in PLC sub-network will touch Send out to code process, become interpolation equipment.The addition that these interpolation equipment start to search for new device broadcasts please Seek message.
S102, first add equipment to new equipment send add confirm message so that new equipment according to add Enter to confirm that message obtains Central co-ordination simultaneously and in PLC sub-network for the essential information in PLC sub-network Device is associated.
Specifically, first adds equipment to after new equipment transmission addition confirmation message, wherein adds really Recognize the network label comprising PLC sub-network in message(Network identifier, hereinafter referred to as: NID), therefore new equipment obtain objective network to be added NID so that it may according to NID with The central coordinator of PLC sub-network is associated.New equipment and the central coordinator of PLC sub-network After being successfully associated, the first interpolation equipment just can set up secret passage and new equipment between, and using single Broadcast key to exchange(Unicast key exchange, hereinafter referred to as:UKE)Agreement is distributed to new equipment Network Membership Key in network(Network membership key, hereinafter referred to as:NMK). So far entirely code process is completed, new equipment is also added in hybrid network.
After the completion of code process, the first interpolation equipment sends one in hybrid network and adds notice to code Message so that in hybrid network other interpolation equipment receive to code add notification message after terminate to code Process simultaneously will add notification message to forward in hybrid network to code.
The present embodiment provide to code method, the member device in PLC sub-network triggers to code process After becoming interpolation equipment, set by the interpolation of first addition request message searching new device broadcasts Other interpolation equipment in the standby PLC sub-network being located to the first interpolation equipment send and code are stopped disappearing Breath, other interpolation equipment in PLC sub-network receive and code are stopped just stopping to code mistake after message Journey, that is, the addition request message of the new device broadcasts that stop search, accordingly also stop adding to new equipment reply Enter to confirm message.Last needs the first interpolation equipment to add confirmation message, new equipment to new equipment transmission According to add confirm message obtain PLC sub-network in essential information and and PLC sub-network in Centre telegon is associated.Therefore save the transfer resource in network, and also reduce other and add The power consumption of oil (gas) filling device.
Adopt a specific embodiment below, the technical scheme of embodiment of the method shown in Fig. 2 is carried out Describe in detail.
Fig. 3 is the flow chart to code embodiment of the method two for the present invention, and the present embodiment combines Fig. 1, to retouch State illustrating to as a example code process of equipment 8 and equipment 1, such as sub-network n is a PLC Network, equipment 8 is the new equipment of network to be added, and sub-network 1 is a non-PLC sub-network, such as Shown in Fig. 3, the method for the present embodiment can include:
S201, user press new equipment 8 to code key, code process being triggered, newly of new equipment 8 Equipment 8 starts periodically to broadcast addition request message in PLC sub-network n.
S202, user press in predetermined time interval member device 1 to code key, equipment 1 Code process is triggered, equipment 1 becomes original interpolation equipment.The bottom that equipment 1 is supported according to it Technology defined to code process, or start to broadcast the first instruction message in its affiliated sub-network 1, Or start to search for the second instruction message in its affiliated sub-network.
S203, equipment 1 also need to produce one to code event notification message, and in oneself all satisfaction On the port of condition, this message is forwarded.The port meeting condition is:Non- WIFI port, WIFI access point(WIFI AP)Port, not associated WIFI website(WIFI STA)End Mouthful.
Herein it should be noted that, the order of S201 and S202 does not limit.
Other member devices in S204, hybrid network receive equipment 1 transmission code event notice is disappeared After breath, oneself the port of certification forward this to code event notification message, and if equipment Port is supported to code operation, then to allow these ports enter and equipment 1 identical state becomes interpolation Equipment, that is, as user is they also press to code key, therefore they are also according to bottom skill Art defined to code process, or start to broadcast the first instruction message in its affiliated sub-network, or Start in its affiliated sub-network to search for the second instruction message.For example, if sub-network 2 be one coaxial Multi-media network(Multimedia Over Coax Alliance, referred to as:MoCA), then work as equipment After 2 receive to code event notification message, first this message is forwarded, then equipment 2 opens Move to code process, equipment 2 starts to broadcast the first instruction message.
S205, code event notification message is reached with the forwarding of miscellaneous equipment when equipment 1 generation After the PLC sub-network that new equipment 8 is located, that the member device in PLC sub-network will trigger is right Code process, becomes interpolation equipment.
The addition request that interpolation equipment in S206, PLC sub-network starts to search for new device broadcasts disappears Breath.
Other in the PLC sub-network that S207, the first interpolation equipment are located to the first interpolation equipment add Oil (gas) filling device sends and stops message to code.
S208, first add equipment to new equipment send add confirm message so that new equipment according to add Enter to confirm that message obtains Central co-ordination simultaneously and in PLC sub-network for the essential information in PLC sub-network Device is associated.
After the central coordinator of S209, new equipment and PLC sub-network is successfully associated, the first interpolation sets Standby just can set up secret passage and new equipment between, and using UKE agreement to new equipment distribution net NMK in network.So far code process is completed, new equipment 8 is also added in hybrid network.
S210, to code process after the completion of, the first interpolation equipment send in hybrid network one to code plus Enter notification message, so that other interpolation equipment receive to knot after code addition notification message in hybrid network Bundle add will notification message in hybrid network forward to code process and to code.
Fig. 4 is the structural representation to code device embodiment one for the present invention, as shown in figure 4, this enforcement The device of example can include:Processing module 11 and sending module 12, wherein, processing module 11 is used for After the member device triggering in PLC sub-network becomes interpolation equipment to code process, search new equipment is wide The addition request message broadcast.Sending module 12 is used for searching addition request message in processing module 11 Other interpolation equipment in PLC sub-network being located to the first interpolation equipment afterwards send and code are stopped disappearing Breath, so that other interpolation equipment receive stopping stopping after message to code process to code, the first interpolation sets Search the interpolation equipment adding request message for for first.Sending module 12 is additionally operable to newly setting Preparation send addition to confirm message, so that according to addition, new equipment confirms that message obtains in PLC sub-network Central coordinator simultaneously and in PLC sub-network for the essential information is associated.
Specifically, the member device triggering in PLC sub-network becomes the mistake of interpolation equipment to code process Journey, including:
A member device in PLC sub-network triggers to code process after itself code key is pressed Become original interpolation equipment, other member devices in PLC sub-network receive and code event is notified to disappear Trigger after breath to code process, be to be generated by original interpolation equipment to code event notification message, this kind of feelings Under condition, original interpolation equipment is the member device in PLC sub-network.
Or, it is right that the member device in PLC sub-network triggers after receiving to code event notification message Code process, wherein, is to be generated by original interpolation equipment to code event notification message, and by other subnets The interpolation device forwards of network are to the member device in PLC sub-network.
Further, sending module 12 specifically for:
Add equipment to other by the way of broadcast to send to code stopping message;Or,
Add equipment to other by the way of multicast to send to code stopping message;Or,
Add equipment to other by the way of unicast to send to code stopping message.
In the above-described embodiments, sending module 12 is additionally operable to:Send to add to new equipment and confirm message Afterwards, if new equipment is successfully associated with the central coordinator of PLC sub-network, to new equipment distribution network Member keys NMK.
In the above-described embodiments, add the network label NID confirming to comprise PLC sub-network in message.
Further, sending module 12 is additionally operable to:
To after new equipment distribution network member keys NMK, send one in hybrid network to code Add notification message, so that after in hybrid network, other interpolation equipment receive to code addition notification message Stop to code process and code will be added notification message forward in hybrid network.
The present embodiment to code device, can be used for executing the technical scheme of embodiment of the method shown in Fig. 2, It is realized principle and is similar to, and here is omitted.
The present embodiment provide to code device, by member device in PLC sub-network for the processing module Triggering becomes after interpolation equipment to code process, the addition request message of search new device broadcasts, sends mould The PLC sub-network that block is located to the first interpolation equipment after processing module searches and adds request message Interior other add equipment transmission to code stopping message, so that other interpolation equipment receive stopping to code Stop to code process after message, the first interpolation equipment is that first addition searching new device broadcasts please Seek the interpolation equipment of message, last needs the first interpolation equipment to add confirmation message to new equipment transmission, According to addition, new equipment confirms that message obtains the essential information in PLC sub-network and PLC sub-network In central coordinator be associated.Therefore save the transfer resource in network, and also reduce Other add the power consumption of equipment.
Fig. 5 is the structural representation to code device embodiment two for the present invention, as shown in figure 5, this enforcement The device of example can include:Processor 21 and transmitter 22, wherein, processor 21 is used in PLC Member device triggering in sub-network becomes after interpolation equipment to code process, searches for adding of new device broadcasts Enter request message.Transmitter 22 is used for adding to first after processor 21 searches addition request message Other in the PLC sub-network that oil (gas) filling device is located add equipment transmission to code stopping message, so that other Interpolation equipment receives and code is stopped stopping to code process after message, and the first interpolation equipment is searched for first Rope is to the interpolation equipment adding request message.Transmitter 22 is additionally operable to:Send to new equipment and add really Recognize message so that new equipment according to add confirm message obtain PLC sub-network in essential information and and Central coordinator in PLC sub-network is associated.
Specifically, the member device triggering in PLC sub-network becomes the mistake of interpolation equipment to code process Journey, including:
A member device in PLC sub-network triggers to code process after itself code key is pressed Become original interpolation equipment, other member devices in PLC sub-network receive and code event is notified to disappear Trigger after breath to code process, be to be generated by original interpolation equipment to code event notification message, this kind of feelings Under condition, original interpolation equipment is the member device in PLC sub-network.
Or, it is right that the member device in PLC sub-network triggers after receiving to code event notification message Code process, is to be generated by original interpolation equipment to code event notification message, and adding by other sub-networks Oil (gas) filling device is transmitted to the member device in PLC sub-network.
Further, transmitter 22 specifically for:
Add equipment to other by the way of broadcast to send to code stopping message;Or,
Add equipment to other by the way of multicast to send to code stopping message;Or,
Add equipment to other by the way of unicast to send to code stopping message.
In the above-described embodiments, transmitter 22 is additionally operable to:To new equipment send add confirm message it Afterwards, if new equipment is successfully associated with the central coordinator of PLC sub-network, become to new equipment distribution network Member key NMK.
In the above-described embodiments, add the network label NID confirming to comprise PLC sub-network in message.
Further, transmitter 22 is additionally operable to:
To after new equipment distribution network member keys NMK, send one in hybrid network to code Add notification message, so that after in hybrid network, other interpolation equipment receive to code addition notification message Stop to code process and code will be added notification message forward in hybrid network.
The present embodiment to code device, can be used for executing the technical scheme of embodiment of the method shown in Fig. 2, It is realized principle and is similar to, and here is omitted.
The present embodiment provide to code device, touched by member device in PLC sub-network for the processor Sending out becomes after interpolation equipment to code process, the addition request message of search new device broadcasts, and transmitter exists Processor searches its in the PLC sub-network being located after adding request message to the first interpolation equipment He adds equipment and sends to code stopping message, so that other interpolation equipment receive stopping after message to code Stop to code process, the first interpolation equipment is first addition request message searching new device broadcasts Interpolation equipment, last only need first to add equipment and send to add to new equipment to confirm message, new equipment According to add confirm message obtain PLC sub-network in essential information and and PLC sub-network in Centre telegon is associated.Therefore save the transfer resource in network, and also reduce other and add The power consumption of oil (gas) filling device.
It should be understood that disclosed apparatus and method in several embodiments provided by the present invention, Can realize by another way.For example, device embodiment described above is only schematically , for example, the division of described unit, only a kind of division of logic function is actual permissible when realizing Have other dividing mode, for example multiple units or assembly can in conjunction with or be desirably integrated into another System, or some features can ignore, or do not execute.Another, shown or discussed mutual it Between coupling or direct-coupling or communication connection can be by some interfaces, device or unit indirect Coupling or communication connection, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, As the part that unit shows can be or may not be physical location, you can with positioned at a ground Side, or can also be distributed on multiple NEs.Can select therein according to the actual needs Some or all of unit is realizing the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit In or unit is individually physically present it is also possible to two or more units are integrated in In one unit.Above-mentioned integrated unit both can be to be realized in the form of hardware, it would however also be possible to employ hard The form that part adds SFU software functional unit is realized.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in a calculating In machine read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, if including Dry instruction is with so that a computer equipment(Can be personal computer, server, or network Equipment etc.)Or processor(processor)The part step of execution each embodiment methods described of the present invention Suddenly.And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage(Read-Only Memory, ROM), random access memory(Random Access Memory, RAM)、 Magnetic disc or CD etc. are various can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned The division of each functional module is illustrated, in practical application, can be as desired by above-mentioned work( Distribution can be completed by different functional modules, the internal structure of device will be divided into different function moulds Block, to complete all or part of function described above.The specific works mistake of the device of foregoing description Journey, may be referred to the corresponding process in preceding method embodiment, will not be described here.
Finally it should be noted that:Various embodiments above only in order to technical scheme to be described, rather than It is limited;Although being described in detail to the present invention with reference to foregoing embodiments, this area Those of ordinary skill should be understood:It still can enter to the technical scheme described in foregoing embodiments Row modification, or equivalent is carried out to wherein some or all of technical characteristic;And these modification or Person replaces, and does not make the essence of appropriate technical solution depart from the model of various embodiments of the present invention technical scheme Enclose.

Claims (10)

1. one kind to code method it is characterised in that include:
Member device triggering in power line communication PLC sub-network becomes after interpolation equipment to code process, First adds equipment adds other interpolation equipment in the PLC sub-network that equipment is located to described first Send and message is stopped to code, so that other interpolation equipment described stop after receiving the described stopping message to code Only to code process, described first interpolation equipment is that first addition request searching new device broadcasts disappears The interpolation equipment of breath;
Described first adds equipment sends addition confirmation message to described new equipment, so that described new equipment Confirmation message is added to obtain the essential information in described PLC sub-network and described PLC according to described Central coordinator in sub-network is associated;Described addition confirms to comprise described PLC subnet in message The network label NID of network;Essential information in described PLC sub-network includes:Described PLC subnet The NID of network.
2. method according to claim 1 is it is characterised in that described power line communication PLC Member device triggering in sub-network becomes interpolation equipment to code process, including:
The triggering after itself code key is pressed of a member device in described PLC sub-network is described Code process is become with original interpolation equipment, it is right that other member devices in described PLC sub-network receive Code event notification message after trigger described to code process, described is to be added by original to code event notification message Oil (gas) filling device generates, or,
Member device in described PLC sub-network triggers institute after receiving to code event notification message State to code process, described is to be generated by original interpolation equipment to code event notification message, and by other sons The interpolation device forwards of network give the member device in described PLC sub-network.
3. method according to claim 1 and 2 is it is characterised in that described first interpolation sets Other interpolation equipment in the standby PLC sub-network being located to described first interpolation equipment send and code are stopped Only message, including:
It is described right that described first interpolation equipment adds equipment transmission to described other by the way of broadcast Code stops message;Or,
It is described right that described first interpolation equipment adds equipment transmission to described other by the way of multicast Code stops message;Or,
It is described right that described first interpolation equipment adds equipment transmission to described other by the way of unicast Code stops message.
4. method according to claim 1 and 2 is it is characterised in that described first interpolation sets After the standby transmission addition confirmation message to described new equipment, also include:
If described new equipment is successfully associated with the central coordinator of described PLC sub-network, described first adds Oil (gas) filling device is to described new equipment distribution network member keys NMK.
5. method according to claim 1 and 2 is it is characterised in that described first interpolation sets For to after described new equipment distribution network member keys NMK, also include:
Described first interpolation equipment sends one in hybrid network and adds notification message to code, so that institute Other interpolation equipment in hybrid network of stating terminate to code mistake after receiving the described addition notification message to code Journey simultaneously adds notification message to forward in described hybrid network code by described.
6. one kind to code device it is characterised in that include:
Processing module, triggers to code process for the member device in power line communication PLC sub-network After becoming interpolation equipment, the addition request message of search new device broadcasts;
Sending module, for adding to first after described processing module searches described addition request message Other in the PLC sub-network that oil (gas) filling device is located add equipment transmission to code stopping message, so that described Other interpolation equipment stop after receiving the described stopping message to code to code process, and described first interpolation sets Search the described interpolation equipment adding request message for for first;
Described sending module is additionally operable to send to add to described new equipment confirm message, so that described newly set Standby according to the described essential information adding in the confirmation message described PLC sub-network of acquisition and and described Central coordinator in PLC sub-network is associated;Described addition confirms to comprise described PLC in message The network label NID of sub-network;Essential information in described PLC sub-network includes:Described PLC The network label NID of sub-network.
7. according to claim 6 to code device it is characterised in that described power line communication Member device triggering in PLC sub-network becomes interpolation equipment to code process, including:
The triggering after itself code key is pressed of a member device in described PLC sub-network is described Code process is become with original interpolation equipment, it is right that other member devices in described PLC sub-network receive Code event notification message after trigger described to code process, described is to be added by original to code event notification message Oil (gas) filling device generates, or,
Member device in described PLC sub-network triggers institute after receiving to code event notification message State to code process, described is to be generated by original interpolation equipment to code event notification message, and by other sons The interpolation device forwards of network give the member device in described PLC sub-network.
8. according to claim 6 or 7 to code device it is characterised in that described transmission mould Block is used for:
Using broadcast by the way of to described other add equipment send described to code stop message;Or,
By the way of multicast to described other add equipment send described to code stop message;Or,
By the way of unicast to described other add equipment send described to code stop message.
9. according to claim 6 or 7 to code device it is characterised in that described transmission mould Block is additionally operable to:
Send to described new equipment after adding confirmation message, if described new equipment and described PLC subnet The central coordinator of network is successfully associated, to described new equipment distribution network member keys NMK.
10. according to claim 6 or 7 to code device it is characterised in that described transmission mould Block is additionally operable to:
To after described new equipment distribution network member keys NMK, in hybrid network, send one Notification message is added to code so that in described hybrid network other interpolation equipment receive described to code plus Terminate after entering notification message to add notification message in described hybrid network to code process and by described to code Middle forwarding.
CN201310253264.3A 2013-06-24 2013-06-24 Code matching method and device Expired - Fee Related CN104242989B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310253264.3A CN104242989B (en) 2013-06-24 2013-06-24 Code matching method and device
PCT/CN2014/080604 WO2014206273A1 (en) 2013-06-24 2014-06-24 Code matching method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310253264.3A CN104242989B (en) 2013-06-24 2013-06-24 Code matching method and device

Publications (2)

Publication Number Publication Date
CN104242989A CN104242989A (en) 2014-12-24
CN104242989B true CN104242989B (en) 2017-02-08

Family

ID=52141062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310253264.3A Expired - Fee Related CN104242989B (en) 2013-06-24 2013-06-24 Code matching method and device

Country Status (2)

Country Link
CN (1) CN104242989B (en)
WO (1) WO2014206273A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107959933B (en) * 2017-11-14 2021-08-06 深圳市共进电子股份有限公司 Code matching method, device, equipment and storage medium for PLC (programmable logic controller) equipment in WiFi (wireless fidelity) wireless network
CN111245477B (en) * 2020-01-16 2022-02-22 磐基技术有限公司 Power failure detection method of communication equipment
CN112051745A (en) * 2020-08-03 2020-12-08 深圳市共进电子股份有限公司 Cable modem, intelligent household system and control method
CN113872642B (en) * 2021-10-26 2023-09-01 成都康特电子科技股份有限公司 Code matching method and device for power line communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10048348A1 (en) * 2000-09-28 2002-04-18 Siemens Ag Synchronization of powerline communications systems involves PLC devices involved in system to be synchronized activating transmission mode, generating PLC signals asymmetrically
EP1499072A2 (en) * 2003-07-17 2005-01-19 Sharp Kabushiki Kaisha Method for bridging traffic on a PLC LAN segment
CN102215540A (en) * 2011-05-31 2011-10-12 电子科技大学 Backward call establishment method for wireless heterogeneous network and wireless heterogeneous network system
CN102932214A (en) * 2012-10-29 2013-02-13 深圳市奋达科技股份有限公司 Discovery polymerization method of home network heterogeneous media equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9369448B2 (en) * 2011-06-01 2016-06-14 Broadcom Corporation Network security parameter generation and distribution
WO2013083752A1 (en) * 2011-12-08 2013-06-13 Siemens Aktiengesellschaft Method and devices for running push-button configuration sessions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10048348A1 (en) * 2000-09-28 2002-04-18 Siemens Ag Synchronization of powerline communications systems involves PLC devices involved in system to be synchronized activating transmission mode, generating PLC signals asymmetrically
EP1499072A2 (en) * 2003-07-17 2005-01-19 Sharp Kabushiki Kaisha Method for bridging traffic on a PLC LAN segment
CN102215540A (en) * 2011-05-31 2011-10-12 电子科技大学 Backward call establishment method for wireless heterogeneous network and wireless heterogeneous network system
CN102932214A (en) * 2012-10-29 2013-02-13 深圳市奋达科技股份有限公司 Discovery polymerization method of home network heterogeneous media equipment

Also Published As

Publication number Publication date
CN104242989A (en) 2014-12-24
WO2014206273A1 (en) 2014-12-31

Similar Documents

Publication Publication Date Title
CN102461288B (en) The enhanced debugging of Radio Network System
CN102137395B (en) Method, device and system for configuring access device
CN110401568B (en) Network topology discovery method and equipment
CN103248543B (en) Code verification method, code verification control equipment and code verification equipment
CN105139877A (en) Method for connecting multimedia play devices, main device, control terminal and system
CN105846864A (en) Methods, devices and systems for bluetooth audio transmission
CN104242989B (en) Code matching method and device
CN103430515B (en) Use the mixing simple connection establishment of networking of agent equipment
CN101902537B (en) The method of remotely controlling household appliances with short messages
CN103124422A (en) Device associating method, device and system
CN102508473A (en) Intelligent home control system, method and device
CN104885416A (en) Bridging network devices in a hybrid communication network
CN101459536A (en) Port configuration method and switching device
CN104918302B (en) A kind of method and wireless sound box for building wireless mesh network
CN103812903A (en) Method and system for achieving intelligent song requesting through Internet and service management server
CN105227397A (en) Method for discovering equipment, main equipment, from equipment and corresponding system
CN102387478B (en) Method of handling service group ownership transfer in a communication system and related communication device
CN107534923A (en) For controlling the access classes information table of the access to cellular network
CN107508747A (en) Group communication method, server and the computer-readable storage medium of converged communication
CN104883719A (en) Method, apparatus and system of accessing to wireless local area network by wireless input device
CN101980504B (en) Data sharing method, mobile terminal and server
CN105430597A (en) Bluetooth device, and Bluetooth Scatternet networking method and device thereof
CN103731569A (en) Control method based on mobile phone and mobile phone
CN106230631A (en) Information interacting method and device
CN103200110A (en) Data multicasting method and device applied to intelligent substation local area network

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: 20170208

Termination date: 20180624

CF01 Termination of patent right due to non-payment of annual fee