CN110649999A - Networking method and device for power line carrier communication - Google Patents

Networking method and device for power line carrier communication Download PDF

Info

Publication number
CN110649999A
CN110649999A CN201910922154.9A CN201910922154A CN110649999A CN 110649999 A CN110649999 A CN 110649999A CN 201910922154 A CN201910922154 A CN 201910922154A CN 110649999 A CN110649999 A CN 110649999A
Authority
CN
China
Prior art keywords
channel
networking
serial port
channels
time slots
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910922154.9A
Other languages
Chinese (zh)
Other versions
CN110649999B (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.)
Guoneng Longyuan Electric Co ltd
Original Assignee
Guodian Longyuan Electrical 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 Guodian Longyuan Electrical Co Ltd filed Critical Guodian Longyuan Electrical Co Ltd
Priority to CN201910922154.9A priority Critical patent/CN110649999B/en
Publication of CN110649999A publication Critical patent/CN110649999A/en
Application granted granted Critical
Publication of CN110649999B publication Critical patent/CN110649999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0078Timing of allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form

Abstract

The application discloses a networking method and device for power line carrier communication, wherein the method comprises the following steps: determining a plurality of channels; distributing time slots for transmitting networking data for each channel by utilizing a routing module; allocating channels for the serial port according to the time slots of the channels, and taking the allocated channels as current channels using the serial port; and transmitting networking data by utilizing the serial port based on the current channel so as to perform networking on the communication sub-nodes which are not networked. According to the invention, the time slot is allocated by utilizing the routing module according to the idle condition of the channel and the networking state, and then the channel is allocated for the serial port when the serial port is idle, so that each channel can flexibly and fully utilize the serial port resource, and further the channel using the serial port resource occupies the power line communication resource to transmit networking data so as to communicate with the communication sub-node, complete networking and improve the networking efficiency.

Description

Networking method and device for power line carrier communication
Technical Field
The present disclosure relates to the field of network communications, and in particular, to a networking method and apparatus for power line carrier communications.
Background
The power line carrier network is a novel network which is established on a power distribution network, takes a power line as a transmission medium, and integrates a power communication technology, a sensor technology and a network technology. The power line is widely distributed without erecting a circuit again, so that the method has the advantage of cost saving, has very wide application prospect, and is widely applied to the fields of power grid monitoring, remote meter reading, smart home, access network and the like.
However, the power channel has the characteristics of large attenuation, strong interference and noise, and the load on the power line randomly and irregularly accesses and leaves the network, so that the channel environment is severe, the network topology changes in real time, and the network topology structure needs to be reconstructed.
Content of application
The application provides a networking method and device for power line carrier communication, which are used for solving the problem of low networking efficiency in the prior art.
In order to solve the technical problem, the embodiment of the application adopts the following technical scheme: a networking method for power line carrier communication comprises the following steps:
determining a plurality of channels;
distributing time slots for transmitting networking data for each channel by utilizing a routing module;
allocating channels for the serial port according to the time slots of the channels, and taking the allocated channels as current channels using the serial port;
and transmitting networking data by utilizing the serial port based on the current channel so as to perform networking on the communication sub-nodes which are not networked.
Optionally, the determining the plurality of channels specifically includes:
determining the channel according to three-phase power lines; the channels include a first channel corresponding to an a-phase power line, a second channel corresponding to a B-phase power line, a third channel corresponding to a C-phase power line, and a fourth channel corresponding to a wireless channel.
Optionally, the allocating, by the routing module, a time slot for transmitting networking data for each channel specifically includes: and acquiring networking state information of each channel, and allocating time slots for each channel by using a routing module according to the networking state information of each channel.
Optionally, the allocating channels for the serial port according to the time slot of each channel specifically includes: and judging the state of the serial port, and distributing channels for the serial port based on the time slots of the channels when the serial port is in an idle state.
Optionally, the method further includes: and when the current state of the serial port is judged to be a non-idle state, a routing module is utilized to reallocate time slots for transmitting networking data for each channel.
Optionally, the transmitting networking data by using the serial port based on the current channel to perform networking on the communication sub-nodes that are not networked specifically includes: based on the networking request sent by the current channel by using the serial port transmission routing module, the corresponding relation between the communication sub-node and the current channel is obtained according to the received response information of the communication sub-node, so as to perform networking on the obtained communication sub-node
In order to solve the above technical problem, an embodiment of the present invention provides a networking device for power line carrier communication, including:
a determining module for determining a plurality of channels; determining a plurality of channels;
the first distribution module is used for distributing time slots for transmitting networking data for each channel by utilizing the routing module;
the second distribution module is used for distributing channels to the serial ports according to the time slots of the channels so as to take the distributed channels as current channels using the serial ports;
and the networking module is used for transmitting networking data by utilizing the serial port based on the current channel so as to perform networking on the communication sub-nodes which are not networked.
Optionally, the first allocation module is specifically configured to: and acquiring networking state information of each channel, and allocating time slots for each channel by using a routing module according to the networking state information of each channel.
Optionally, the system further includes a judging module, where the judging module is configured to judge a state of a serial port, and when the serial port is in an idle state, allocate a channel to the serial port by using the second allocating module.
Optionally, a third distribution module is included, and the third distribution module is configured to: and when the serial port is in a non-idle state, reallocating the time slot for transmitting networking data for each channel by utilizing the routing module.
Optionally, the networking module is specifically configured to: and acquiring the corresponding relation between the communication sub-node and the current channel according to the received response information of the communication sub-node based on the networking request sent by the current channel by using the serial port transmission routing module so as to perform networking on the acquired communication sub-node.
The embodiment of the invention has the beneficial effects that: the routing module is used for allocating time slots according to the idle condition of the channels and the networking state, and then when the serial port is idle, the channels are allocated for the serial port, so that each channel can flexibly and fully and flexibly utilize the serial port resources, and further the channels using the serial port resources occupy power line communication resources to transmit networking data so as to communicate with communication sub-nodes, complete networking, and improve networking efficiency.
Drawings
Fig. 1 is a flowchart of a networking method for power line carrier communication according to an embodiment of the present invention;
fig. 2 is a flowchart of a networking method for power line carrier communication according to an embodiment of the present invention;
fig. 3 is a block diagram of a networking device for power line carrier communication according to an embodiment of the present invention;
fig. 4 is a flowchart of the operation of the networking device for power line carrier communication according to the embodiment of the present invention.
Detailed Description
Various aspects and features of the present application are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
The embodiment of the invention provides a networking method for power line carrier communication, which comprises the following steps as shown in figure 1:
step S101, determining a plurality of channels;
in the step, when a plurality of channels are determined, the channels are determined according to three-phase power lines. The channels include a first channel corresponding to an a-phase power line, a second channel corresponding to a B-phase power line, a third channel corresponding to a C-phase power line, and a fourth channel corresponding to a wireless channel.
Step S102, allocating time slots for transmitting networking data for each channel by using a routing module;
in this step, when allocating a time slot for transmitting networking data for a channel, the networking state of each channel also needs to be considered, for example, the networking rate of the communication sub-node in the first channel is high, and most of the communication sub-nodes complete networking, so the networking state is good. And the networking rate of the communication sub-nodes in the second channel is low, and most of the communication sub-nodes are not completed with networking, so that the networking state is poor. In this way, the time slots may be allocated for the first channel and the second channel based on the networking conditions.
Step S103, distributing channels for the serial port according to the time slots of the channels, and taking the distributed channels as current channels using the serial port;
in this step, when the serial port is idle, a channel is allocated to the serial port. The channels may be allocated specifically according to the size of the time slot.
And step S104, transmitting networking data by utilizing the serial port based on the current channel so as to perform networking on the communication sub-nodes which are not networked.
In this step, after the channel is well allocated to the serial port, the channel can occupy the serial port resource, and then the networking data is transmitted by using the power line communication resource and is communicated with each communication sub-node, so as to perform networking on the communication sub-nodes which are not networked.
In this embodiment, the routing module is used to allocate time slots according to the idle condition of the channel and the networking state, and then when the serial port is idle, the channel is allocated for the serial port, so that each channel can flexibly and sufficiently utilize the serial port resource, and further the channel using the serial port resource occupies the power line communication resource to transmit networking data, so as to communicate with the communication sub-node, complete networking, and improve networking efficiency.
Another embodiment of the present invention provides a networking method for power line carrier communication, as shown in fig. 2, including the following steps:
step S201, determining a plurality of channels;
in the step, when a plurality of channels are determined, the channels are determined according to three-phase power lines. The channels include a first channel corresponding to an a-phase power line, a second channel corresponding to a B-phase power line, a third channel corresponding to a C-phase power line, and a fourth channel corresponding to a wireless channel.
Step S202, acquiring networking state information of each channel, and allocating time slots for each channel by using a routing module according to the networking state information of each channel;
in this step, for example, the networking rate of the communication child node in the first channel is high, and most of the communication child nodes complete networking, so that the networking state is good. And the networking rate of the communication sub-nodes in the second channel is low, and most of the communication sub-nodes are not completed with networking, so that the networking state is poor. Thus, when allocating time slots for the first channel and the second channel, less time slots may be allocated for the first channel, and more time slots may be allocated for the second channel, that is, the time slots allocated for the first channel are less than the time slots allocated for the second channel.
Step S203, judging the state of a serial port, and when the state of the serial port is an idle state, allocating channels to the serial port according to the time slots of the channels so as to use the allocated channels as the current channels of the used serial port;
in this step, for example, if the serial port is judged to be in an idle state, a channel is allocated to the serial port according to the amount of time slots of each channel, that is, the channel with the large time slots is preferentially allocated to the serial port, so that the channel is used as the current channel.
Step S204, based on the networking request sent by the current channel by using the serial port transmission routing module, according to the received response information of the communication sub-node, obtaining the corresponding relation between the communication sub-node and the current channel, so as to perform networking on the obtained communication sub-node.
In this step, after a channel is allocated to the serial port and a current channel is obtained, the current channel can use serial port resources, further use power line communication resources to transmit networking data, communicate with each communication sub-node, and finally obtain a corresponding relation between the communication sub-node and the current channel according to received response information of the communication sub-node so as to perform networking on the obtained communication sub-node.
Specifically, in this embodiment, when the current state of the serial port is determined to be a non-idle state, the method further includes reallocating, by using a routing module, a time slot for transmitting networking data for each channel according to the current networking state of each channel. Through the dynamic time slot allocation for each channel, the subsequent channel allocated for the serial port can be more reasonable, the use of the serial port is more reasonable, and the networking efficiency is improved.
The embodiment of the invention can meet the requirement of rapid networking of the multi-communication sub-nodes; by allocating time slots for each channel, the communication time slots of the communication sub-nodes can be dynamically allocated and dynamically managed; and hardware serial port resources can be utilized to the maximum extent, and multi-channel concurrent networking under a single serial port is realized.
Another embodiment of the present invention provides a networking device for power line carrier communication, as shown in fig. 3, including:
a determining module 1, configured to determine a plurality of channels; determining a plurality of channels;
the first distribution module 2 is used for distributing time slots for transmitting networking data for each channel by utilizing the routing module;
the second allocating module 3 is configured to allocate a channel to the serial port according to the time slot of each channel, so that the allocated channel is used as a current channel using the serial port;
and the networking module 4 is used for transmitting networking data by utilizing the serial port based on the current channel so as to perform networking on the communication sub-nodes which are not networked.
In a specific implementation process of this embodiment, the first distribution module is specifically configured to: and acquiring networking state information of each channel, and allocating time slots for each channel by using a routing module according to the networking state information of each channel.
Specifically, the embodiment further includes a determining module, where the determining module is configured to determine a state of a serial port, and when the state of the serial port is an idle state, allocate a channel to the serial port by using the second allocating module.
Preferably, the present embodiment further includes a third distribution module, where the third distribution module is configured to: and when the serial port is in a non-idle state, reallocating the time slot for transmitting networking data for each channel by utilizing the routing module.
In a specific implementation process of this embodiment, the networking module is specifically configured to: and acquiring the corresponding relation between the communication sub-node and the current channel according to the received response information of the communication sub-node based on the networking request sent by the current channel by using the serial port transmission routing module so as to perform networking on the acquired communication sub-node.
In the embodiment, as shown in fig. 4, the networking device for power line carrier communication in use has the following working process:
step one, a routing module allocates time slots for each channel;
step two, judging whether the serial port is idle or not; if the mobile terminal is idle, executing the third step; if not, executing the step one;
thirdly, distributing channels for the serial ports according to the time slots of the channels;
step four, the routing module uses the serial port resource to send networking data;
judging whether response information of the communication sub-node is received; if yes, executing the step six; if not, executing the step seven;
and step six, the routing module performs networking according to the response information.
Step seven, judging whether the time for receiving the response information exceeds a set value; if not, executing the fifth step; if yes, finishing the current networking, judging whether to perform subsequent networking, and if not, finishing; and if the subsequent networking is carried out, executing the step one.
According to the embodiment of the invention, the first distribution module is used for distributing the time slot according to the idle condition of the channel and the networking state, and then the second distribution module is used for distributing the channel to the serial port when the serial port is idle, so that each channel can flexibly and fully utilize the serial port resource, and further the networking module utilizes the channel using the serial port resource to transmit networking data by occupying the power line communication resource so as to communicate with the communication sub-node, complete networking, and improve the networking efficiency.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. A networking method for power line carrier communication is characterized by comprising the following steps:
determining a plurality of channels;
distributing time slots for transmitting networking data for each channel by utilizing a routing module;
allocating channels for the serial port according to the time slots of the channels, and taking the allocated channels as current channels using the serial port;
and transmitting networking data by utilizing the serial port based on the current channel so as to perform networking on the communication sub-nodes which are not networked.
2. The method of claim 1, wherein the determining the number of channels specifically comprises:
determining the channel according to three-phase power lines; the channels include a first channel corresponding to an a-phase power line, a second channel corresponding to a B-phase power line, a third channel corresponding to a C-phase power line, and a fourth channel corresponding to a wireless channel.
3. The method of claim 1, wherein the allocating, by the routing module, time slots for transmitting networking data for each channel specifically comprises: and acquiring networking state information of each channel, and allocating time slots for each channel by using a routing module according to the networking state information of each channel.
4. The method according to claim 1, wherein said allocating channels to the serial port according to the time slot of each of said channels specifically comprises: and judging the state of the serial port, and distributing channels for the serial port based on the time slots of the channels when the serial port is in an idle state.
5. The method of claim 4, wherein the method further comprises: and when the current state of the serial port is judged to be a non-idle state, a routing module is utilized to reallocate time slots for transmitting networking data for each channel.
6. The method according to claim 1, wherein the transmitting networking data by using the serial port based on the current channel to perform networking on the non-networked communication child nodes specifically comprises: and acquiring the corresponding relation between the communication sub-node and the current channel according to the received response information of the communication sub-node based on the networking request sent by the current channel by using the serial port transmission routing module so as to perform networking on the acquired communication sub-node.
7. A networking apparatus for power line carrier communication, comprising:
a determining module for determining a plurality of channels; determining a plurality of channels;
the first distribution module is used for distributing time slots for transmitting networking data for each channel by utilizing the routing module;
the second distribution module is used for distributing channels to the serial ports according to the time slots of the channels so as to take the distributed channels as current channels using the serial ports;
and the networking module is used for transmitting networking data by utilizing the serial port based on the current channel so as to perform networking on the communication sub-nodes which are not networked.
8. The apparatus of claim 7, wherein the first assignment module is specifically configured to: and acquiring networking state information of each channel, and allocating time slots for each channel by using a routing module according to the networking state information of each channel.
9. The apparatus of claim 7, further comprising a determining module, configured to determine a status of a serial port, and allocate a channel to the serial port by using the second allocating module when the status of the serial port is idle.
10. The apparatus of claim 9, comprising a third allocation module to: and when the serial port is in a non-idle state, reallocating the time slot for transmitting networking data for each channel by utilizing the routing module.
CN201910922154.9A 2019-09-27 2019-09-27 Networking method and device for power line carrier communication Active CN110649999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910922154.9A CN110649999B (en) 2019-09-27 2019-09-27 Networking method and device for power line carrier communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910922154.9A CN110649999B (en) 2019-09-27 2019-09-27 Networking method and device for power line carrier communication

Publications (2)

Publication Number Publication Date
CN110649999A true CN110649999A (en) 2020-01-03
CN110649999B CN110649999B (en) 2022-04-12

Family

ID=69011537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910922154.9A Active CN110649999B (en) 2019-09-27 2019-09-27 Networking method and device for power line carrier communication

Country Status (1)

Country Link
CN (1) CN110649999B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100698A (en) * 2016-06-12 2016-11-09 南京南瑞集团公司 A kind of network-building method being applied to the power line carrier module that power information gathers
CN108833245A (en) * 2018-07-25 2018-11-16 山东精诚电子科技有限公司 A kind of cascade extension acquisition system and method based on CAN and LoRa

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100698A (en) * 2016-06-12 2016-11-09 南京南瑞集团公司 A kind of network-building method being applied to the power line carrier module that power information gathers
CN108833245A (en) * 2018-07-25 2018-11-16 山东精诚电子科技有限公司 A kind of cascade extension acquisition system and method based on CAN and LoRa

Also Published As

Publication number Publication date
CN110649999B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN111970030B (en) Signal transmitting method of broadband carrier communication network
KR101644248B1 (en) Identifier assignment method and device in wireless local area network
CN102056306B (en) Method and device for allocating uplink shared channel resources and communication system
US8885505B2 (en) Non-beacon network communications using frequency subbands
EP2728915B1 (en) Identifier allocation method and system
WO2020032364A1 (en) Method for processing physical resource and user equipment
Lv et al. Network virtualization for smart grid communications
US20200177355A1 (en) Downlink Control Information Transmission Method, Apparatus, and System
CN109246795A (en) Maximize the connection control method of user's connection number in non-orthogonal multiple uplink network
CN106455073B (en) Channel allocation method for security service in electric power wireless private network and central base station
CN109429347B (en) Time slot allocation method and device
CN108777857B (en) Access control method and system under coexistence scene of URLLC and mMTC
CN112087808B (en) Wireless communication networking method and device
WO2022041914A1 (en) Power line communication method, device, and system
CN110649999B (en) Networking method and device for power line carrier communication
Mitran et al. Resource allocation for downlink spectrum sharing in cognitive radio networks
JP2019510400A (en) Method and apparatus for indicating a channel in a wireless local area network
EP4021123A1 (en) Communication method, communication apparatus, and system
CN111294978A (en) CSMA-NOMA-based hybrid random access method and device
CN105306102A (en) Fusion communication device and method for power line carrier and wireless physical layer
CN113766446B (en) Data scheduling and resource allocation method for intelligent power grid information acquisition based on 5G network
CN109348487B (en) Cognitive radio-based power wireless private network resource allocation method
CN109041016B (en) Method for optimizing terminal access number of 5G communication system in dense scene
CN106792904A (en) The transmission method of small bag data and base station
CN102833165B (en) Method and device for dispatching resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100039 17th floor, building 1, yard 16, West Fourth Ring Middle Road, Haidian District, Beijing

Patentee after: Guoneng Longyuan Electric Co.,Ltd.

Address before: 100039 17th floor, building 1, yard 16, West Fourth Ring Middle Road, Haidian District, Beijing

Patentee before: GUODIAN LONGYUAN ELECTRICAL Co.,Ltd.

CP01 Change in the name or title of a patent holder