CN105978702B - A kind of two-way communication and device of point-to-point configuration - Google Patents

A kind of two-way communication and device of point-to-point configuration Download PDF

Info

Publication number
CN105978702B
CN105978702B CN201610317468.2A CN201610317468A CN105978702B CN 105978702 B CN105978702 B CN 105978702B CN 201610317468 A CN201610317468 A CN 201610317468A CN 105978702 B CN105978702 B CN 105978702B
Authority
CN
China
Prior art keywords
listener
window
speaker
time window
serial number
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
CN201610317468.2A
Other languages
Chinese (zh)
Other versions
CN105978702A (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.)
Light Scientific And Technical Industry Co Ltd In Chongqing Century
Original Assignee
Light Scientific And Technical Industry Co Ltd In Chongqing Century
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 Light Scientific And Technical Industry Co Ltd In Chongqing Century filed Critical Light Scientific And Technical Industry Co Ltd In Chongqing Century
Priority to CN201610317468.2A priority Critical patent/CN105978702B/en
Publication of CN105978702A publication Critical patent/CN105978702A/en
Application granted granted Critical
Publication of CN105978702B publication Critical patent/CN105978702B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1881Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with schedule organisation, e.g. priority, sequence management

Abstract

The present invention is suitable for the two-way communication field of point-to-point configuration, provides the two-way communication and device of a kind of point-to-point configuration, and method includes: to divide time window width, safe spacing and time window sum in collection diddle-net network or monitoring network;According to the time window width, safe spacing and time window of the division sum, downlink broadcast window and uplink unicast window are chosen;Time window using the downlink broadcast window of selection as the time window of the SPEAKER, according to the uplink unicast window of selection as terminal LISTENER;According to the time window of the SPEAKER and the time window of the LISTENER, data are transmitted, complete the collection diddle-net network or monitor the two-way communication of network;Collection diddle-net network monitors the network topology structure that network uses the EPON/GPON communication technology.The present invention realizes two-way communication using time-multiplexed mode, provides higher communication efficiency and bandwidth, at the same can quick fault point, Single Point of Faliure is isolated, reduces maintenance workload.

Description

A kind of two-way communication and device of point-to-point configuration
Technical field
The invention belongs to the two-way communication field of point-to-point configuration more particularly to a kind of two-ways of point-to-point configuration Believe method and device.
Background technique
In the applications such as industrial monitoring, power monitoring and intelligent meter remote centralized meter-reading, RS485 bussing technique is widely applied, The technology uses copper wire medium communication, and there are many problems, and such as vulnerable to interference, traffic rate is low, and Single Point of Faliure will lead to complete Network Communication interrupts, and is not easy to position after failure.
Traditional RS485 bus type technology is no longer satisfied application requirement, and the point of EPON technology and GPON technology Have the advantages that multipoint network topological very much, is particularly suitable for above-mentioned service application.But its technology under such application conditions Excessively complicated, hardware cost is high, and huge bandwidth seems too more than needed again and wastes.
Wherein, existing EPON/GPON communication means is applied to the disadvantage in above-mentioned monitoring sum aggregate diddle-net network, and details are as follows:
One, technology is complicated, and performance requirement is high, and expensive special chip is needed to realize.
Two, complicated special chip causes network cost high, and power consumption is high, for industry/power monitoring sum aggregate copies business Completely impracticable, economy is too poor.
Three, huge bandwidth is very uneconomical to small portfolio application.
Four, complicated technology causes O&M complicated, and high to O&M skill requirement, maintenance cost is high.
In conclusion at present the network topology structure of the EPON/GPON communication technology be not directly applicable above-mentioned monitoring and In collection diddle-net network.
Summary of the invention
A kind of two-way communication for being designed to provide point-to-point configuration of the embodiment of the present invention solves current The network topology structure of EPON/GPON is applied to the above-mentioned problems in monitoring sum aggregate diddle-net network, both takes into account network economy, Overcome again current RS485 bussing technique there are the problem of, meanwhile, improve it is existing monitoring sum aggregate diddle-net network communication.
The embodiments of the present invention are implemented as follows, a kind of two-way communication of point-to-point configuration, is suitable for SPEAKER With the point-to-point configuration topological structure of LISTENER, comprising:
Divide safe spacing and time window sum between the time window width of the SPEAKER, window;
According to safe spacing between the time window width, window and time window sum, it is incremented by according to the time suitable Sequence sequentially generates downlink broadcast window and each uplink unicast window;
Time window of the downlink broadcast window as the SPEAKER is chosen, uplink unicast window conduct is chosen The time window of LISTENER, and serial number, the uplink unicast window are carried out according to initial time to uplink unicast window Number corresponded with the pre-set sequence number of the LISTENER;
According to the time window of the SPEAKER and the time window of the LISTENER, data are transmitted, collection is completed and copies Network or the two-way communication for monitoring network;
Wherein, the collection diddle-net network or monitoring network use the network topology structure of the EPON/GPON communication technology.
The another object of the embodiment of the present invention is to provide a kind of bidirectional communication apparatus of point-to-point configuration, be suitable for The point-to-point configuration topological structure of SPEAKER and LISTENER, comprising:
Configuration module, for dividing safe spacing and time window between the time window width of the SPEAKER, window Mouth sum;
Generation module, for pressing according to safe spacing between the time window width, window and time window sum The sequence being incremented by according to the time sequentially generates downlink broadcast window and uplink unicast window;
Time window module chooses uplink list for choosing time window of the downlink broadcast window as the SPEAKER Broadcast time window of the window as LISTENER, and serial number carried out according to initial time to uplink unicast window, it is described on The number of row unicast window is corresponded with the pre-set sequence number of the LISTENER;
Bi-directional communication modules, for according to the time window of the SPEAKER and the time window of the LISTENER, Data are transmitted, the collection diddle-net network is completed or monitor the two-way communication of network;
Wherein, the collection diddle-net network or monitoring network use the network topology structure of the EPON/GPON communication technology.
In embodiments of the present invention, according to the time window of the SPEAKER and the time window of the LISTENER, Data are transmitted, the collection diddle-net network is completed or monitor the two-way communication of network.Solves the net of the current EPON/GPON communication technology Network topological structure directly applies to problems present in above-mentioned monitoring sum aggregate diddle-net network, also solves existing using RS485 The problems of when bussing technique.Its advantages are as follows:
Between 1.SPEAKER and LISTENER uplink using time division multiplexing (Time division multiple access, TDMA) mode, each LISTENER can active transmission data, communication efficiency and bandwidth improve, and have certain real-time communication (in the T2+T3 time).
Automation is realized in the online registration of 2.LISTENER, it can be achieved that automatic maintenance and update network topology, reduce artificial Intervene, reduces maintenance workload.
3. technology realization is simpler, general network chip can be used to realize, complicated independent of valuableness is dedicated hard Part chip can change network function by modification software at any time, and flexibility is good.
4. the isolation of Single Point of Faliure can be carried out by the network topology of point-to-multipoint, avoid influencing TOCOM total communication.
5. fault point is easy quickly positioning, maintenance cost is reduced.
6, technically simple, easy to operate, reduce the skill requirement to network O&M personnel.
Detailed description of the invention
Fig. 1 is the implementation flow chart of the two-way communication of point-to-point configuration provided in an embodiment of the present invention;
Fig. 2 is that TDMA time window provided in an embodiment of the present invention divides preferable sample figure;
Fig. 3 is LISTENER provided in an embodiment of the present invention to the preferable implementation flow chart of SPEAKER registration process;
Fig. 4 is the implementation flow chart of time window serial number collision detection mechanism provided in an embodiment of the present invention;
Fig. 5 is the implementation flow chart of online registration management provided in an embodiment of the present invention;
Fig. 6 is the structural block diagram of the bidirectional communication apparatus of point-to-point configuration provided in an embodiment of the present invention;
Fig. 7 is the network topology structure that the two-way communication of point-to-point configuration provided in an embodiment of the present invention uses Figure.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Embodiment one
Fig. 1 is the implementation flow chart of the two-way communication of point-to-point configuration provided in an embodiment of the present invention, is described in detail such as Under:
In step s101, safe spacing and time window between the time window width of the SPEAKER, window are divided Sum;
In step s 102, total according to safe spacing between the time window width, window and time window, according to The sequence that time is incremented by sequentially generates downlink broadcast window and each uplink unicast window;
In step s 103, time window of the downlink broadcast window as the SPEAKER is chosen, uplink unicast window is chosen Time window of the mouth as LISTENER, and serial number, the uplink list are carried out according to initial time to uplink unicast window The number for broadcasting window and the pre-set sequence number of the LISTENER correspond;
In step S104, according to the time window of the SPEAKER and the time window of the LISTENER, transmission Data complete the collection diddle-net network or monitor the two-way communication of network;
Wherein, collection diddle-net network or monitoring network use the network topology structure of the EPON/GPON communication technology, copy in the collection Network or monitoring network in, the LISTENER according to the uplink unicast window of its pre-set sequence number and reference numeral with it is described SPEAKER is communicated.
Wherein, management end SPEAKER and each terminal LISTENER, using the network topology of the EPON/GPON communication technology Structure is connected, building collection diddle-net network or monitoring network.
Wherein, for the LISTENER in the time window of oneself, Xiang Suoshu SPEAKER sends registration request;
The SPEAKER receives registration request, and Xiang Suoshu LISTENER returns to registration request return information;
The LISTENER receives request return information, and in the time window of oneself, Xiang Suoshu SPEAKER sends registration Confirmation message;
The SPEAKER receives the registration confirmation of the LISTENER, and Xiang Suoshu LISTENER return is succeeded in registration Information.
In embodiments of the present invention, two-way communication is realized using time-multiplexed mode between SPEAKER and LISTENER, Each LISTENER can active transmission data, improve communication efficiency and have certain real-time communication.
Fig. 2 is that TDMA time window provided in an embodiment of the present invention divides preferable sample figure.
Using time division multiplexing (Time division multiple access, TDMA) in collection diddle-net network or monitoring network Implementation process, it is as follows,
1, a turnaround time includes N+1 time window, and the value of N is wanted by the quantity and real-time communication of LISTENER Ask common determination.
2, T1, T3 are the time window width divided.T2 is the safe spacing of two adjacent time windows.T1, T3 time Length of window determines the maximum data length that SPEAKER, LISTENER can be sent, in other words, SPEAKER or LISTENER The data sent every time, which must assure that, to be sent a T1 or T3 period.
3, T2, which will guarantee to issue to close to shine, instructs be considered having been switched off in the medium to light to be reliably completed, and can support Disappearing, (plastic optical fiber takes maximum fixed delay according to 100 meters of maximum distance to maximum line delay, and silica fibre is according to 2000 meters Maximum distance takes fixed delay).
4, slow traffic this for electric meters collecting, it is assumed that T1=T3=40ms, T2=20ms;One SPEAKER connection 32 LISTENER, then N=32;Then turnaround time T=T1+N* (T2+T3)+T2=40+32* (40+20)+20= 1980ms, it can guarantee that 32 LISTENER are fully completed information collection and are reported in 1980ms, i.e., SPEAKER was at T1 weeks Phase issues information collection order, and 32 LISTENER successively complete information reporting within 32 T3 periods.
5, T1, T2, T3, N can be arranged and be modified by management software, wherein and T1, T2, T3 have minimum value requirement, and N is no more than maximum value, to ensure real-time communication.
It 6, can also be different as downlink broadcast window can take with the length of uplink unicast window.The T1/T3 period exists Multiple small periods can be further divided on SPEAKER and LISTENER, it is ensured that the high data of priority are (as related in registered Deng) first send.
Fig. 3 is LISTENER provided in an embodiment of the present invention to the preferable implementation flow chart of SPEAKER registration process.
SPEAKER:
It initializes (value of preset T1, T2, T3, N),
Period timing at preset timed intervals executes, and forces all LISTENER synchronization times, orders: FORCE_TIME_SYN;
Period timing at preset timed intervals executes, in all uplink unicast time window slogans of broadcast window periodic broadcasting and correspondence Time window initial time and the end time, order: BROADCAST_TIME_WINDOW.
Period timing at preset timed intervals executes, and starts LISTENER discovery and registration, order:
LISTENER_REGISTER_BEGIN。
LISTENER is allowed to register, order: LISTENER_REGISTER_ACK.
LISTENER:
Initialization, each LISTENER are preset a unique device id and serial number (≤N)
LISTENER updates the machine time after receiving FORCE_TIME_SYN order.
LISTENER receive after BROADCAST_TIME_WINDOW order according to belonging to the serial number of oneself record oneself The initial time of time window and end time, and start timer accordingly, when the timer times out after, close shine immediately.
LISTENER records the relevant information of SPEAKER, such as the device id of SPEAKER.
LISTENER sends registration request after random delay in the time window of oneself,
Order: LISTENER_REGISTER_REQUEST.
After LISTENER receives the LISTENER_REGISTER_ACK order for issuing oneself, sent out in oneself time window Accreditation verification is sent, is ordered: REGISTER_OK.
The embodiment of the present invention describes the implementation method for generating and solving discovery collision, and details are as follows:
Using time window serial number collision detection mechanism, solving multiple LISTENER, (device id is different, but sequence It is number identical) conflict that is generated when same time window is registered to the SPEAKER.
Fig. 4 is the implementation flow chart of time window serial number collision detection mechanism provided in an embodiment of the present invention, is described in detail such as Under:
In step S401, the uplink unicast window carries out serial number according to initial time, each described LISTENER possesses a unique pre-set sequence number;
In step S402, when the LISTENER is registered to SPEAKER, the serial number of uplink unicast window is by arriving first elder generation The principle distribution obtained;
In step S403, if the SPEAKER receives the different LISTENER of another device id in the same time Registration information is sent on window, then determines its serial number conflict, refuse its registration;
In step s 404, the SPEAKER broadcasts the suitable of all registered LISTENER on broadcast window next time Serial number and device id relationship correspond to table;
In step S405, oneself device id of unregistered LISTENER and pre-set sequence number with it is registered The serial number and device id relationship of LISTENER corresponds to table and is compared;
In step S406, if the device id of oneself is different from the device id of notice, but serial number is identical, then it is assumed that sequence Number conflict, forbids shining, until detect that Lothrus apterus or serial number are reset.
Fig. 5 is the implementation flow chart of online registration management provided in an embodiment of the present invention, and details are as follows:
SPEAKER and all LISTENER powers on completion initialization;
Each LISTENER is directed by registration account number;
The SPEAKER all LISTENER of period forcing and oneself time synchronization at preset timed intervals;
The initial time of SPEAKER periodic broadcasting all downgoing time windows and each time window at preset timed intervals And the end time;
The period initiates the order that registration starts to the SPEAKER at preset timed intervals;
The SPEAKER receives the LISTENER registration request;
The SPEAKER judges whether the device id for initiating LISTENER registration request is registered;
When device id is registered, the step of SPEAKER receives the LISTENER registration request is jumped to;
It when device id is unregistered, may choose whether to be authenticated, the data of corresponding LISTENER opened after succeeding in registration Forwarding capability;
The SPEAKER serial number of periodic broadcasting registered device and device id relation table at preset timed intervals.
Wherein, the period executes at preset timed intervals, force time is synchronous, all uplink unicast time windows of broadcast and it is each when Between window initial time and the end time, initiate registration and start, broadcast the serial number and device id relation table of registered device This four steps.
The embodiment of the invention provides the implementation processes of maintenance LISTENER state table, and details are as follows:
It is arranged and safeguards that LISTENER state table, the LISTENER state table include on the SPEAKER LISTENER device id, LISTENER serial number (determine used in time window), state in place, in login state at least It is a kind of.
Wherein, LISTENER state table, as follows:
LISTENER device id LISTENER serial number State in place Login state
12121111 3 online ACTIVE
12321331 1 online INACTIVE
12332334 12 online ACTIVE
12342211 8 offline ACTIVE
Wherein, the login state of registered LISTENER is in the preset period of time after LISTENER is offline after continuation of insurance It holds, offline time is more than preset period of time, then deletes the LISTENER equipment from state table, and weight is needed when next time is connected to New registration.
Fig. 6 is the structural block diagram of the bidirectional communication apparatus of point-to-point configuration provided in an embodiment of the present invention, which can To run in collection diddle-net network or monitoring network.For ease of description, only the parts related to this embodiment are shown.
Referring to Fig. 6, the bidirectional communication apparatus of the point-to-point configuration, comprising:
Configuration module 61, for dividing safe spacing and time between the time window width of the SPEAKER, window Window sum;
Generation module 62, for total according to safe spacing between the time window width, window and time window, Downlink broadcast window and uplink unicast window are sequentially generated according to the sequence that the time is incremented by;
Time window module 63 chooses uplink for choosing time window of the downlink broadcast window as the SPEAKER Time window of the unicast window as LISTENER, and serial number is carried out according to initial time to uplink unicast window, it is described The number of uplink unicast window is corresponded with the pre-set sequence number of the LISTENER;
Bi-directional communication modules 64, for according to the time window of the SPEAKER and the time window of the LISTENER Mouthful, data are transmitted, the collection diddle-net network is completed or monitors the two-way communication of network;
Wherein, the collection diddle-net network or monitoring network use the network topology structure of the EPON/GPON communication technology.
As a kind of implementation of the present embodiment, the bidirectional communication apparatus of above-mentioned point-to-point configuration, further includes:
Discovery collision solves module, for solving multiple using the time window serial number collision detection mechanism being pre-configured Configuration same sequence number obtains the conflict that the LISTENER is generated when same time window is registered to the SPEAKER.
As a kind of implementation of the present embodiment, in the bidirectional communication apparatus of above-mentioned point-to-point configuration, the time Window serial number collision detection mechanism, specifically:
When LISTENER is registered to SPEAKER, the serial number of uplink unicast window is distributed by first-come first-served basis;
If SPEAKER receives the different LISTENER of another device id and also sends registration letter on same time window Breath, then determine its serial number conflict;
SPEAKER broadcasts the serial number of all registered LISTENER in broadcast window next time and device id relationship corresponds to Table;
Unregistered the LISTENER device id of oneself and the pass serial number of pre-set sequence number and registered LISTENER Table is corresponded to device id system to be compared;
If the device id of oneself is different from the device id of notice, but serial number is identical, then it is assumed that serial number conflict is forbidden sending out Light, until detecting that Lothrus apterus or serial number are reset.
As a kind of implementation of the present embodiment, the bidirectional communication apparatus of above-mentioned point-to-point configuration, further include on Line registration management module, specifically:
The SPEAKER all LISTENER of period forcing and oneself time synchronization at preset timed intervals;
The initial time of SPEAKER periodic broadcasting all downgoing time windows and each time window at preset timed intervals And the end time;
The period initiates the order that registration starts to the SPEAKER at preset timed intervals;
The SPEAKER receives the LISTENER registration request;
The SPEAKER judges whether the device id for initiating LISTENER registration request is registered;
When device id is registered, the step of SPEAKER receives the LISTENER registration request is jumped to;
It when device id is unregistered, may choose whether to be authenticated, the data of corresponding LISTENER opened after succeeding in registration Forwarding capability;
The SPEAKER serial number of periodic broadcasting registered device and device id relation table at preset timed intervals.
As a kind of implementation of the present embodiment, the bidirectional communication apparatus of above-mentioned point-to-point configuration, further includes:
LISTENER state table handing module, for being arranged and safeguarding LISTENER state table, institute on the SPEAKER Stating LISTENER state table includes LISTENER device id, LISTENER serial number, state in place, at least one in login state Kind.
Fig. 7 is the network topology structure that the two-way communication of point-to-point configuration provided in an embodiment of the present invention uses Figure, details are as follows:
SPEAKER, SPLITTER (light combiner device) use single fiber bi-directional transmission medium to connect between LISTENER, transmit Medium selects plastic optical fiber or silica fibre, alternatively, cascading by SPLITTER, reconnects multiple LISTENER.
Communication between SPEAKER and LISTENER realized by the standard ethernet MAC and PHY chip of support duplex communication, It the use of 10M rate is to meet the Intelligent centralized meter reading application demand of low speed.
Device provided in an embodiment of the present invention can be applied in aforementioned corresponding embodiment of the method, and details are referring to above-mentioned reality The description of example is applied, details are not described herein.Through the above description of the embodiments, those skilled in the art can be clearly Recognize that the present invention can add the mode of required common hardware to realize by software.The program can store in can be read In storage medium, the storage medium, as random access memory, flash memory, read-only memory, programmable read only memory, electricity can Erasable programmable storage, register etc..The storage medium is located at memory, and processor reads the information in memory, in conjunction with Its hardware executes method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (6)

1. a kind of two-way communication of point-to-point configuration, the point pair suitable for management end SPEAKER and terminal LISTENER Multipoint network topological characterized by comprising
Divide safe spacing and time window sum between the time window width of the SPEAKER, window;
According to safe spacing between the time window width, window and time window sum, according to the time be incremented by sequence according to Secondary generation downlink broadcast window and each uplink unicast window;
Time window of the downlink broadcast window as the SPEAKER is chosen, chooses uplink unicast window as LISTENER's Time window, and serial number, the number of the uplink unicast window and institute are carried out according to initial time to uplink unicast window The pre-set sequence number for stating LISTENER corresponds;
According to the time window of the SPEAKER and the time window of the LISTENER, data are transmitted, complete collection diddle-net network Or the two-way communication of monitoring network;
Wherein, the collection diddle-net network or monitoring network use the network topology structure of the EPON/GPON communication technology;
The two-way communication of the point-to-point configuration further comprises the steps of:
Using time window serial number collision detection mechanism, to avoid multiple preset same sequences number the LISTENER same One time window is registered to the SPEAKER and generates conflict;
The time window serial number collision detection mechanism, specifically:
The uplink unicast window carries out serial number according to initial time, and each LISTENER possesses unique one in advance Set serial number;
When the LISTENER is registered to SPEAKER, the serial number of uplink unicast window is distributed by the principle first obtained is arrived first;
If the SPEAKER receives the different LISTENER of another device id and sends registration letter on same time window Breath, then determine its serial number conflict, refuse its registration;
The SPEAKER broadcasts the serial number and device id relationship pair of all registered LISTENER on broadcast window next time Answer table;
Unregistered the LISTENER device id of oneself and the serial number and equipment of pre-set sequence number and registered LISTENER ID relationship corresponds to table and is compared;
If the device id of oneself is different from the device id of notice, but serial number is identical, then it is assumed that serial number conflict is forbidden shining, Until detecting that Lothrus apterus or serial number are reset.
2. the two-way communication of point-to-point configuration as described in claim 1, which is characterized in that the point-to-point configuration Two-way communication, further includes:
The SPEAKER all LISTENER of period forcing and oneself time synchronization at preset timed intervals;
The initial time and knot of SPEAKER periodic broadcasting all downgoing time windows and each time window at preset timed intervals The beam time;
The period initiates the order that registration starts to the SPEAKER at preset timed intervals;
The SPEAKER receives the LISTENER registration request;
The SPEAKER judges whether the device id for initiating LISTENER registration request is registered;
When device id is registered, the step of SPEAKER receives the LISTENER registration request is jumped to;
It when device id is unregistered, may choose whether to be authenticated, the data forwarding of corresponding LISTENER opened after succeeding in registration Function;
The SPEAKER serial number of periodic broadcasting registered device and device id relation table at preset timed intervals.
3. the two-way communication of point-to-point configuration as described in claim 1, which is characterized in that the point-to-point configuration Two-way communication, further includes:
It is arranged and safeguards that LISTENER state table, the LISTENER state table include that LISTENER is set on the SPEAKER Standby at least one of ID, LISTENER serial number, state in place, login state.
4. a kind of bidirectional communication apparatus of point-to-point configuration, the point pair suitable for management end SPEAKER and terminal LISTENER Multipoint network topological characterized by comprising
Configuration module, it is total for dividing safe spacing and time window between the time window width of the SPEAKER, window Number;
Generation module, for according to safe spacing between the time window width, window and time window sum, according to when Between be incremented by sequence sequentially generate downlink broadcast window and uplink unicast window;
Time window module chooses uplink unicast window for choosing time window of the downlink broadcast window as the SPEAKER Time window of the mouth as LISTENER, and serial number, the uplink list are carried out according to initial time to uplink unicast window The number for broadcasting window and the pre-set sequence number of the LISTENER correspond;
Bi-directional communication modules, for according to the time window of the SPEAKER and the time window of the LISTENER, transmission Data complete collection diddle-net network or monitor the two-way communication of network;
Discovery collision solves module, time window serial number collision detection mechanism is used for, to avoid multiple preset same sequences number The LISTENER registered in same time window to the SPEAKER and generate conflict;
The time window serial number collision detection mechanism, specifically:
The uplink unicast window carries out serial number according to initial time, and each LISTENER possesses unique one in advance Set serial number;
When the LISTENER is registered to the SPEAKER, the serial number of uplink unicast window is distributed by the principle first obtained is arrived first;
If the SPEAKER receives the different LISTENER of another device id and sends registration letter on same time window Breath, then determine its serial number conflict, refuse its registration;
The SPEAKER broadcasts the serial number of all registered LISTENER in broadcast window next time and device id relationship corresponds to Table;
Unregistered the LISTENER device id of oneself and the serial number and equipment of pre-set sequence number and registered LISTENER ID relationship corresponds to table and is compared;If the device id of oneself is different from the device id of notice, but serial number is identical, then it is assumed that sequence Number conflict, forbids shining, until detect that Lothrus apterus or serial number are reset;
Wherein, collection diddle-net network or monitoring network use the network topology structure of the EPON/GPON communication technology.
5. the bidirectional communication apparatus of point-to-point configuration as claimed in claim 4, which is characterized in that the point-to-multipoint net The bidirectional communication apparatus of network further includes online registration management module, specifically:
The SPEAKER all LISTENER of period forcing and oneself time synchronization at preset timed intervals;
The initial time and knot of SPEAKER periodic broadcasting all downgoing time windows and each time window at preset timed intervals The beam time;
The period initiates the order that registration starts to the SPEAKER at preset timed intervals;
The SPEAKER receives the LISTENER registration request;
The SPEAKER judges whether the device id for initiating LISTENER registration request is registered;
When device id is registered, the step of SPEAKER receives the LISTENER registration request is jumped to;
It when device id is unregistered, may choose whether to be authenticated, the data forwarding of corresponding LISTENER opened after succeeding in registration Function;
The SPEAKER serial number of periodic broadcasting registered device and device id relation table at preset timed intervals.
6. the bidirectional communication apparatus of point-to-point configuration as claimed in claim 5, which is characterized in that further include:
LISTENER state table handing module, it is described for being arranged and safeguarding LISTENER state table on the SPEAKER LISTENER state table includes LISTENER device id, LISTENER serial number, state in place, at least one in login state Kind.
CN201610317468.2A 2016-05-13 2016-05-13 A kind of two-way communication and device of point-to-point configuration Expired - Fee Related CN105978702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610317468.2A CN105978702B (en) 2016-05-13 2016-05-13 A kind of two-way communication and device of point-to-point configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610317468.2A CN105978702B (en) 2016-05-13 2016-05-13 A kind of two-way communication and device of point-to-point configuration

Publications (2)

Publication Number Publication Date
CN105978702A CN105978702A (en) 2016-09-28
CN105978702B true CN105978702B (en) 2019-07-02

Family

ID=56991849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610317468.2A Expired - Fee Related CN105978702B (en) 2016-05-13 2016-05-13 A kind of two-way communication and device of point-to-point configuration

Country Status (1)

Country Link
CN (1) CN105978702B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789188B (en) * 2016-12-05 2019-09-03 河南西岛仪表研发有限公司 A kind of method of the apparatus self-adaptation addressing of bus type topological structure
CN109257829B (en) * 2018-09-05 2021-08-24 深圳市艾森智能技术有限公司 Synchronous service implementing method for LPWA network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065345A (en) * 2010-12-01 2011-05-18 王健 Method and circuit for transmitting meter-reading information of electricity meter by utilizing low-cost time division multiplex optical network
CN102098593A (en) * 2011-02-23 2011-06-15 华为技术有限公司 Method for performing uplink registration in Ethernet passive optical network (EPON) system and remote equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065345A (en) * 2010-12-01 2011-05-18 王健 Method and circuit for transmitting meter-reading information of electricity meter by utilizing low-cost time division multiplex optical network
CN102098593A (en) * 2011-02-23 2011-06-15 华为技术有限公司 Method for performing uplink registration in Ethernet passive optical network (EPON) system and remote equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
带远端转发节点的EPON上行资源调度策略优化研究;刘祖奇;《中国优秀硕士学位论文全文数据库》;20121115;1.2.3节
时分波分复用堆叠无源光网络中的资源管理技术研究;尚智婕;《中国优秀硕士学位论文全文数据库》;20150415;2.1.1节,2.1.2节,2.1.2.1-2.1.2.2节,2.1.4节,图2-3,2-6
时分波分复用堆叠无源光网络中的资源管理技术研究;尚智婕;《中国优秀硕士学位论文全文数据库》;20150415;2.1.1节,2.1.4.1节

Also Published As

Publication number Publication date
CN105978702A (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN109450662B (en) Ad hoc network communication manager, networking method and ad hoc network communication system
CN108737590A (en) A kind of method that address is distributed automatically, system, Modbus main websites, Modbus slave stations
US9306624B1 (en) Initialization of endpoint devices joining a power-line communication network
CN103370884A (en) Channel selection in power line communications
US10015020B2 (en) Interleaved communication with resource providers and a home area network
CN102291259B (en) Low-voltage power line communication network layer management method based on multi-master station mode
CN108551356B (en) Method and system for reporting power failure of centralized meter reading system
CN106533833B (en) A method of reducing Carrier Sense Multiple Access resource contention
CN102752227A (en) Network organizing method, site and system of power user electricity-consumption information collecting system
CN103051359B (en) Method for binding slave nodes with master nodes and unit transformer power supply area distinguishing method
CN107046494A (en) The division methods of time slot in a kind of power information acquisition system based on power line communication
CN105978702B (en) A kind of two-way communication and device of point-to-point configuration
CN106506046A (en) A kind of electricity saving method of bandwidth carrier communication system terminal node
CN102904610B (en) Node recovering method and equipment for power line communication
CN103139865A (en) Method of networking and communicating in electric power internet of things
CN103326916A (en) System and method for automatic partition of intelligent substation and optimization of VLAN
CN104883701A (en) Communication method between frame and discs in mobile forward network
Rios et al. A hybrid multiple-access protocol for data and voice-packet over local area networks
Ochiai et al. Facility networking with ip over rs485: Packet control for master-slave cascaded networks
CN109922463A (en) A kind of point-to-point wireless lan communication system and method
CN103441509A (en) Reactive power compensation cabinet and control method
Liu et al. A token scheduled high throughput multi-channel data collection protocol for wireless sensor network
JPWO2018025491A1 (en) Control network system and its node equipment
US11323153B2 (en) Protocol for multi-master communication coordination on shared media channel
JP4637549B2 (en) Communications 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190702

Termination date: 20210513