WO2014101109A1 - 电力网控制***中的数据传输及控制 - Google Patents

电力网控制***中的数据传输及控制 Download PDF

Info

Publication number
WO2014101109A1
WO2014101109A1 PCT/CN2012/087845 CN2012087845W WO2014101109A1 WO 2014101109 A1 WO2014101109 A1 WO 2014101109A1 CN 2012087845 W CN2012087845 W CN 2012087845W WO 2014101109 A1 WO2014101109 A1 WO 2014101109A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
access network
identification information
data
network terminal
Prior art date
Application number
PCT/CN2012/087845
Other languages
English (en)
French (fr)
Inventor
徐进
普云
关勇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280018043.1A priority Critical patent/CN104067570A/zh
Priority to PCT/CN2012/087845 priority patent/WO2014101109A1/zh
Publication of WO2014101109A1 publication Critical patent/WO2014101109A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2858Access network architectures
    • H04L12/2861Point-to-multipoint connection from the data network to the subscribers

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data transmission and control method of a power network control system, and an apparatus and system for implementing the same. Background technique
  • a power system consists of power generation, transmission, substation, power distribution, power consumption, and dispatching for the production, transmission, distribution, and use of electrical energy.
  • Power systems are also known as power grids, and modern power grids are expanding toward smart grids.
  • the intelligent power grid is a new modernized power grid that combines advanced sensing measurement technology, information and communication technology, analytical decision-making technology, automatic control technology and energy and power technology, and is highly integrated with the power grid infrastructure.
  • the comprehensive application of communication, information and modern management technology can improve the efficiency of power equipment, reduce power loss, make grid operation more economical and efficient, and at the same time, by establishing a two-way interactive service mode, users can understand power supply capability, power quality, and electricity price in real time. Status and power outage information, use electrical appliances reasonably. Power companies can also obtain detailed user information and provide more value-added services.
  • One way to implement an intelligent grid is to have nodes in the grid covered by the communication network. Even better, all nodes in the grid are covered by the communication network.
  • the current situation is that the upstream part of the general power grid, including power generation, transmission, and power transformation, can already achieve coverage of the communication network, but the downstream part including power distribution and power consumption has not fully realized the coverage of the communication network. Therefore, for the intelligentization of the power grid, the power distribution and power consumption of the power grid are the focus of attention.
  • optical network equipment such as an ONU (Optical Network Unit) is available. To achieve communication network coverage in the downstream part of the power grid.
  • FIG. 1 shows an example of a smart grid in which a communication network is combined with a distribution network.
  • distribution network 100 including one or more substations 110 and power distribution room 130 equipped with transformers 132 transmits power to the user via power line 120, and the power consumption of one or more users is passed through power meter 210.
  • the data of the electric energy meter and/or the status information of the user are collected and provided to the power supplier by the collector 220 (also called the power terminal), so that the power supplier can use the collected data to collect the electricity fee or perform other control operations. .
  • the collector 220 is connected to the communication network.
  • the communication network shown in this example is a passive optical network (PON), but may be other similar communication networks.
  • the PON300 is a chain network composed of a plurality of passive devices such as an ONU 310, an OLT 320, and an Optical Distribution Network (ODN) 330.
  • ODN Optical Distribution Network
  • the collector 220 can be a DTU (Data Terminal Unit) or an RTU (Remote Terminal Unit).
  • the collector 220 can be connected to only one energy meter, but in most applications, the collector needs to connect multiple power meters 210.
  • the data information of the collector 220 enters the PON 300 and is transmitted to the power server 500 through a bearer communication network (such as the IP bearer network 400).
  • the power server 500 obtains each power user (such as a home user, a corporate user, etc.) from the data information.
  • the power consumption information, and centralized management of the power meter reading, power status monitoring, remote control, troubleshooting and other operations are examples of the power meter reading, power status monitoring, remote control, troubleshooting and other operations.
  • the collector 220 needs to receive and transmit data conforming to the serial port format.
  • the ONU 310 In the uplink direction (from the collector to the power server), the ONU 310 needs to convert data conforming to the serial port format so that the data can be transmitted in the communication network.
  • data from the communication network In the downstream direction, data from the communication network needs to be converted into a data format that the collector 220 can receive.
  • the ONU 310 encapsulates the data from the serial port into a TCP (Transmission Control Protocol)/IP (Internet Protocol) data stream, identifies the serial port number by the port number, and transmits the IP address to the IP through the ⁇ 300.
  • the bearer network 400 is transmitted by the IP bearer network 400 to the power server 500.
  • the ONU 310 restores the TCP/IP data stream of the IP bearer network 400 to a data stream conforming to the serial port format, according to the TCP link identifier and the serial port number.
  • the data frame is sent to the corresponding collector 220, thereby completing communication between the power server 500 and the collector 220.
  • the power server is required to manage the correspondence between the serial port numbers of the collector 220 and the ONU 310. Therefore, a serial port corresponding to a TCP/UDP (User Datagram Protocol) link is required. 1 : 1 virtual connection pair.
  • TCP/UDP User Datagram Protocol
  • 1 1 virtual connection pair.
  • one power server needs to manage multiple collectors, because there are multiple collectors coexisting between each collector and ONU. Need to establish a serial port TCP / UDP link, so you need to use multiple serial port numbers, it will waste IP resources, and if the power server only supports the establishment of a TCP / UDP connection, it will cause the ONU to use only one serial port and set Connected. Summary of the invention
  • An embodiment of the present invention provides a data transmission and control method for a distribution network, where a power network control system includes an access network terminal device, a plurality of power terminals, and a power server, and the plurality of power terminals are respectively at one end A plurality of data generating nodes or data output devices of the distribution network are connected, and the other end is respectively connected to one or more serial ports on the terminal device of the access network, and the terminal device of the access network is connected to the power server.
  • the one or more serial ports correspond to a channel between the access network terminal device and the power server, and the method includes:
  • the access network terminal device acquires the identification information of the multiple power terminals, and encapsulates the identification information of the multiple power terminals and the data information of the multiple power terminals into one or more data frames;
  • the access network terminal device transmits the one or more data frames to the power server through the channel.
  • the method may further include:
  • identifier information of the channel an IP address of the terminal device of the access network, an IP address of the power server, and identifier information of a port corresponding to the channel on the terminal device of the access network.
  • configuration information saved on the access device, where the configuration information saves the label of the channel Corresponding relationship between the information and the IP address of the access network terminal device, the IP address of the power server, and the identification information of the port.
  • the encapsulating the identifier information of the multiple power terminals and the data information of the multiple power terminals in one or more data frames in the embodiment may specifically include:
  • each entity may include identification information of one power terminal And corresponding data information.
  • the encapsulating the identifier information of the multiple power terminals and the data information of the multiple power terminals in one or more data frames in the embodiment may specifically include:
  • Each tag may include identification information of one power terminal, identification information of a port of the access network terminal device connected to the power terminal, and device identification information of the terminal device of the access network.
  • the generating the plurality of tags for identifying the power terminal according to the identifier information of the multiple power terminals may specifically include:
  • the obtaining the port number of the data information of the receiving power terminal, and using the obtained port number to query the correspondence between the serial port number and the identification information of the power terminal may further include:
  • Receiving first frame data information of the power terminal acquiring identification information of the power terminal carried in the first frame data information, and identifier information of a port on the access network terminal device receiving the first frame data information, where And storing, by the access network terminal device, identifier information of the power terminal carried in the first frame data information and a label of a port on the access network terminal device that receives the first frame data information Identify the correspondence of information.
  • An access network terminal device (700) includes:
  • a power server port (76) the terminal is connected to the processor (74), and the other end is connected to the power server (84), and a channel is disposed between the power server port (76) and the power server (84) ( 85), the channel (85) corresponds to the one or more user side ports, and the power server port (76) is configured to send the one or more data frames to the power through the channel (85) Server (84).
  • the data frame is a data frame in an Ethernet format
  • the processor (74) may be specifically configured to use identifier information of the multiple power terminals (82) and the plurality of power terminals (82)
  • the data information is divided into a plurality of entities encapsulated into the payload of the one or more data frames, each entity including identification information of one power terminal and corresponding data information.
  • the processor may be further configured to generate, according to the identification information of the multiple power terminals (82), a plurality of tags for identifying the power terminals; and the plurality of tags and the plurality of power terminals
  • the data information is composed of a plurality of entities encapsulated into the payload of the one or more Ethernet frames, each entity containing a Tag and data information corresponding to the power terminal.
  • the receiving converter (72) is further configured to receive first frame data information of the power terminal (82).
  • the access network terminal device (700) further includes a memory (78), the processor (74) is further configured to acquire identification information of the power terminal carried in the first frame data information, and the Receiving, by the access network terminal device, a port number of the first frame data information, storing, in the memory (78), identification information of the power terminal (82) carried in the first frame data information, and the accessing The corresponding relationship of the port numbers of the first frame data information is received on the network terminal device (700).
  • the processor (74) may be further configured to obtain identifier information of a port that receives data information of the power terminal (82), and use the acquired identifier information of the port to query the correspondence between the identifier information of the port and the identifier information of the power terminal.
  • a power network control system (800) includes a plurality of power terminals (82), an access network terminal device (80), and a power server (84), wherein the plurality of power terminals (82) pass the One or more ports on the access network terminal device (80) are connected to the power server (84);
  • the access network terminal device (80) is configured to receive data information of the multiple power terminals (82) through the one or more ports; acquire identification information of the multiple power terminals (82), and Identification information of the plurality of power terminals (82) and data information of the plurality of power terminals (82) are encapsulated into one or more data frames; and the one or more data frames are passed through the access A channel (85) between the network terminating device and the power server (84) is sent to the power server (85).
  • the access network terminal device (80) is specifically configured to divide the identification information of the multiple power terminals (82) and the data information of the multiple power terminals (82) into multiple entities into the In the payload of one or more data frames, each entity includes identification information of one power terminal and corresponding data information.
  • the access network terminal device (80) is specifically configured to:
  • each entity contains a tag and data information corresponding to the power terminal.
  • the access network terminal device (80) is further configured to:
  • the downlink message is broadcast to a plurality of ports on the access network terminal device (80).
  • the access network terminal device (80) is further configured to:
  • the payload of the downlink message includes one or more entities, and each entity includes a tag for identifying the power terminal; Sending the downlink packet to a corresponding port according to multiple tags in the downlink packet.
  • the method, the device and the system provided by the embodiments of the present invention can implement a N: 1 virtual connection pair of a serial port connection and a TCP/UDP link. When transmitting data information of the power terminal, only a TCP/UDP connection needs to be established. It saves IP resources and can solve the problem that only one serial port can be used by one ONU.
  • FIG. 1 is a schematic diagram of a smart grid system using a passive optical network for data grid collection and control
  • FIG. 2 is a simplified architecture diagram of a power grid control system according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a data processing method according to Embodiment 1 of the present invention.
  • FIG. 4 is a flowchart of a data processing method according to Embodiment 2 of the present invention.
  • 5a and 5b are schematic diagrams showing the structure of an Ethernet frame according to Embodiment 2 of the present invention.
  • FIG. 6 is a flowchart of a data processing method according to Embodiment 3 of the present invention.
  • FIG. 7a and 7b are schematic diagrams showing the structure of an Ethernet frame according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of an access network terminal device according to Embodiment 4 of the present invention. detailed description
  • FIG. 2 is a simplified architectural diagram of a power network control system based on an embodiment of the present invention.
  • a plurality of power terminals 82 i.e., the aforementioned collectors
  • the power terminals 82 may be DTUs or RTUs, etc.
  • each The power terminal 82 is connected to and retrieves data from one or more data generation nodes (e.g., power meters of the power user) in the distribution network.
  • the access network terminal device 80 may be, but not limited to, an ONU, an ONT (Optical Network Terminal), an MxU (Multiple User Equipment), and the like. Further, the access network terminal device 80 can pass through the access device (H. OLT (Optical Line Terminal), DSLAM (Digital Subscriber Line Access Multiplexer) or A device such as an MSAN (Multiservice Access Node) is connected to the power server 84.
  • H. OLT Optical Line Terminal
  • DSLAM Digital Subscriber Line Access Multiplexer
  • a device such as an MSAN (Multiservice Access No
  • the access network terminal device 80 can have one or more ports (which can be serial ports). The one or more ports are used to connect the plurality of power terminals 82, respectively. Specifically, when the port on the access network terminal device 80 is based on the RS485 protocol, the plurality of power terminals 82 can be connected to the power server 84 through a port on the access network terminal device 80. When the port on the access network terminal device 80 is RS232, the plurality of power terminals 82 can be connected to the power server 84 through a plurality of ports on the access network terminal device 80, and each port is connected to a power terminal 82.
  • the access network terminal device 80 can upload the data information reported by the power terminal 82 to the power server 84.
  • the data information reported by the power terminal 82 may be, but not limited to, electric energy meter degree information and the like.
  • the power server 84 needs to manage the correspondence between the power terminal 82 and the serial port number on the access network terminal device 80. How many serial ports are connected to the access network terminal device 80, and how many TCP/UDP connections need to be established between the access network terminal device 80 and the power server 84, which causes waste of IP resources, and only supports the establishment of a TCP/ In the case of a UDP-connected power server, this results in only one port being used on the access network terminal device 80.
  • embodiments of the present invention provide a data transmission method in a power network control system. As shown in FIG. 3, the method includes the following steps:
  • Step 200 The access network terminal device receives data information of multiple power terminals through one or more ports. When a plurality of power terminals are connected to a port on the access network terminal device, the access network terminal device receives data information reported by the plurality of power terminals through the port; when the plurality of power terminals are connected to the access network terminal device When multiple ports are used, the access network terminal device receives data information reported by multiple power terminals through multiple ports.
  • Step 205 The access network terminal device acquires the identifier information of the multiple power terminals, and encapsulates the acquired identifier information of the multiple power terminals and the data information reported by the multiple power terminals into one or more data frames, such as Ethernet (Ethernet) In the frame, each data frame can encapsulate data information of multiple power terminals.
  • Ethernet Ethernet
  • the identification information of one power terminal may be the SN of the power terminal (Serial
  • Serial number can also be other information used to identify the power terminal, such as the device identification of the power terminal, MAC (Media Access Control) address, and so on.
  • MAC Media Access Control
  • a path 85 for uploading data information of the power terminal is provided between the access network terminal device 80 and the power server 84, and the channel may be a TCP/UDP based protocol.
  • the data information reported by the multiple power terminals can be uploaded to the power server 84 by using a shared channel 85 to form a virtual connection architecture of N:1.
  • the channel 85 between the access network terminal device 80 and the power server 84 may be manually pre-configured, or may be established by the power network terminal 84 after being powered on by the access network terminal device 80. How to configure the channel 85 and the access network terminal device 80 to establish the channel in consultation with the power server 84 will be known to those skilled in the art and will not be described here.
  • the access network terminal device obtains the identification information of the plurality of power terminals and the data information reported by the plurality of power terminals, and obtains the power terminal identification information in multiple manners, for example, may be obtained from the report message of the power terminal; Acquiring the port identifier of the report message of the receiving power terminal, and obtaining the identifier information of the power terminal from the correspondence between the port identifier and the identifier information of the power terminal.
  • the access network terminal device obtains the reported data information of the power terminal in various manners. For example, after receiving the instruction of the power server, the power terminal may be notified to report the data information, or the power terminal may be set in advance according to the setting. The time automatically reports the data information, and may also report the data or status information of the currently collected electric energy meter when the power terminal fails or the link between the power terminal and the electric energy meter fails, so that the electric power server obtains the electric energy meter. Correct data or fault information.
  • the access network terminal device will obtain the identification information of the plurality of power terminals and the multiple power terminals
  • the data information is encapsulated into one or more data frames.
  • the identification information of the plurality of power terminals and the data information of the corresponding plurality of power terminals may be Encapsulating into the payload of the data frame, for example, encapsulating the identification information of the plurality of power terminals and the terminal data information of the corresponding multiple powers into the payload of one or more Ethernet frames, the payload of each Ethernet frame
  • the identification information of the plurality of power terminals and the data information of the corresponding plurality of power terminals may be carried in the medium.
  • the access network terminal device Before the identifier information of the obtained multiple power terminals and the data information reported by the plurality of power terminals are encapsulated into one or more data frames, the access network terminal device further needs to provide the frame header information of the data frame, which may specifically include:
  • the access network terminal device acquires its own IP address, the IP address of the power server, and the port shared by the plurality of ports on the port corresponding to the port on the access network terminal device. Identification information.
  • the IP address of the access network terminal device, the IP address of the power server, and the identification information of the port may be used to form a frame header of the data frame.
  • the access network terminal device can obtain the information required to form the frame header from the locally saved configuration information.
  • the locally saved configuration information stores the correspondence between the channel identification information and the IP address of the access network terminal device, the IP address of the power server, and the port identification information.
  • the identification information of the channel may be an ID (Identifier) of the channel or other information that can uniquely identify a channel.
  • the identifier information of the port may be a port number and a frame/slot of the port on the terminal device of the access network. One or more of the bit numbers.
  • the access network terminal device combines the acquired identification information of the plurality of power terminals and the data information of the plurality of power terminals with the frame header to form one or more data frames, identification information of the plurality of power terminals, and data information of the plurality of power terminals. Can be encapsulated into the payload of the one or more data frames.
  • multiple ports on the access network terminal device correspond to one channel, for example, corresponding to a TCP/UDP virtual connection
  • the access network terminal device sends the data information of the power terminal to the power through the TCP/UDP virtual connection.
  • server The data processing method provided in this embodiment can encapsulate the identification information and the data information of the multiple power terminals into one or more data frames, and send the data frame to the power server through a channel, so that the port on the access network terminal device can be implemented.
  • N 1 scenario application with TCP/UDP virtual connection.
  • IP resources can be saved, and at the same time, the problem that the power server does not support establishing multiple TCP/UDP virtual connections in the prior art can be solved.
  • Embodiments of the present invention will be described in detail below with respect to a frame formatted scene and a frameless formatted scene.
  • This embodiment will describe in detail the data transmission method in the above power network control system for the framed format.
  • the frame format means that the access network terminal device sends a complete format data frame in the upward direction (ie, the direction of the power server), and the format of the frame is relatively fixed.
  • the data transmission method provided by this implementation is as shown in FIG. 4, and includes:
  • Step 300 The access network terminal device receives data information of multiple power terminals through one or more ports, and acquires identification information of multiple power terminals.
  • the identification information of the power terminal may be the SN of the power terminal, the device identifier of the power terminal, or the MAC address of the power terminal, and the like.
  • SN is taken as an example.
  • each power terminal sends a report message to the access network terminal device, and the report message includes the power terminal itself.
  • the access network terminal device receives the reporting message of the plurality of power terminals through the plurality of ports; for the case where the plurality of power terminals are connected to one port on the access network terminal device, each power terminal accesses
  • the network terminal device sends a report message, and the report message includes the SN and the data information of the power terminal, and the terminal device of the access network receives the report message of the multiple power terminals through one port.
  • Step 305 The access network terminal device divides the identifier information of the multiple power terminals and the data information of the multiple power terminals into multiple entities, and encapsulates them into a payload of one or more data frames, where each entity includes a power terminal. Identification information and corresponding data information.
  • the data frame can be a data frame in an Ethernet format.
  • the access network terminal device sets the identification information of the multiple power terminals and the corresponding multiple
  • the data information of the power terminal is divided into multiple entities and encapsulated into the payload of one or more data frames.
  • Each entity may include identification information of a power terminal and corresponding data information, and the entity may further include an entity start identifier (BEG), an entity termination identifier (END), a control code (C), and a CRC (cyclic redundancy check, loop). Redundancy check) code, and data field length (L) indicating the length of the data information, and the like.
  • BEG entity start identifier
  • END entity termination identifier
  • C control code
  • CRC cyclic redundancy check, loop
  • Figure 5a shows the data frame structure containing an entity. If the identification information of the plurality of power terminals and the data information of the plurality of power terminals are divided into a plurality of entities and encapsulated into the payload of the plurality of data frames, the identification information of each power terminal and the corresponding data information may be encapsulated. Make a data frame as shown in Figure 5a. Alternatively, the identification information of the two or more power terminals and the corresponding data information may be encapsulated into the payload of one data frame. If the method is used, at least two payloads are included in each data frame. Entities, the number of data frames after encapsulation is less than the number of power terminals.
  • the plurality of entities described above may be included in the payload of one data frame, such as Figure 5b shows.
  • the access network terminal device also needs to obtain the data frame frame header information. How to obtain the frame header information has been described in the above embodiment, and will not be described here.
  • Step 310 The access network terminal device sends the one or more data frames to the power server through a channel between the access network terminal device and the power server.
  • the access network terminal device 80 transmits one or more data frames to the power server 84 through the channel 85 between the access network terminal device 80 and the power server 84 according to the frame header information of the data frame.
  • the channel 85 may be A TCP/UDP virtual connection
  • the access network terminal device 80 and the power server 84 may also have multiple TCP/UDP virtual connections
  • the access network terminal device 80 may select one or more serial ports from the TCP/UDP virtual connection.
  • the data information of the plurality of power terminals is reported to the power server 84 by using the selected TCP/UDP virtual connection.
  • the data frame of the power service format can be used to implement the present invention, and it is obvious that the scope of the present invention is not limited to the specific data frame. Format, but if a data frame of the general Ethernet format is used, this data frame can be transmitted through the existing IP bearer network without affecting the performance of the existing system, and has good versatility.
  • the method provided in this embodiment may further include:
  • Step 315 The access network terminal device receives a downlink packet from the power server to the power terminal, where the payload of the downlink message includes one or more entities, and each entity may include an identifier of one or more power terminals. information.
  • the downlink frame may also use the frame structure as shown in FIG. 5a, each downlink message includes an entity, and may also use the frame structure as shown in FIG. 5b, and the payload includes multiple Entities, each entity including identification information of a power terminal.
  • Step 320 The access network terminal device broadcasts the downlink packet to multiple ports.
  • the access network terminal device After receiving the downlink packet, the access network terminal device can broadcast the downlink packet to multiple ports. After the power terminal receives the downlink packet, the power terminal can save the IP address of the power server. Determining whether the downlink packet is sent to itself according to the IP address of the power server in the downlink packet, and discarding the downlink packet if not sent to itself; if it is sent to itself, processing the downlink packet .
  • the data transmission method provided in this embodiment can implement the port and the TCP/UDP virtual port on the access network terminal device by encapsulating the data information of the multiple power terminals into one or more data frames and transmitting the data to the power server through one channel.
  • the application of the connected N:1 scenario can save IP resources by using only one IP address.
  • it can solve the problem that the access network terminal device that only supports one serial port is not supported in the prior art.
  • Embodiment 3 The frameless format refers to that the access network terminal device composes a data frame according to the binding time and the frame length, and sends a byte code stream.
  • the data frame can be a data frame in Ethernet format, and the data field of the data frame is not necessarily a complete format.
  • the data transmission method provided in this embodiment is as shown in FIG. 6 , and includes: Step 500: The access network terminal device receives data information of multiple power terminals through one or more ports, and acquires data terminals of multiple power terminals. Data information.
  • the identification information of the power terminal may be the SN of the power terminal, the device identifier of the power terminal, or the MAC address of the power terminal, and the like.
  • SN is taken as an example.
  • the first frame data information reported by the power terminal carries the power terminal's own SN.
  • the access network terminal device saves the correspondence between the SN of the power terminal and the identification information of the port that receives the first frame data information of the power terminal, because the subsequent data information reported by the power terminal Generally, the SN of the power terminal is not carried.
  • the access network terminal device receives the subsequent data information of the power terminal, the SN of the power terminal can be obtained from the corresponding relationship according to the port identifier of the port that receives the data information.
  • the port identification information may be one or more of a port number and a frame/slot number of the port on the terminal device of the access network.
  • the corresponding relationship between the SN of the power terminal and the identification information of the port may be configured in advance on the access network terminal device. After receiving the data information of the power terminal, the power terminal is obtained from the corresponding relationship according to the port identifier of the port that receives the data information. SN.
  • Step 505 The access network terminal device generates, according to the identifier information of the multiple power terminals, a plurality of tags (markers) for identifying the power terminal.
  • the tag generated by the access network terminal device may include the SN of the power terminal and the identifier information of the port connected to the power terminal on the access network terminal device, and may also include the device identifier of the access network terminal device.
  • the device identifier of the access network terminal device may be one or more of the information of the access network terminal device, the bridge MAC address of the access network terminal device, and the like, which may identify the access network terminal device.
  • the access network terminal device may generate a plurality of tags for identifying the power terminals, where each tag includes an SN of the power terminal, and identifier information of a port connected to the power terminal on the access network terminal device, and may also include an access network. Device identification information of the terminal device.
  • Step 510 The access network terminal device encapsulates the generated data of the multiple tags and the data information of the multiple power terminals into a payload of one or more data frames, and each entity may include a Tag and a corresponding power terminal. Data information.
  • the access network terminal device encapsulates a plurality of tags and corresponding data information into a plurality of entities into a payload of one or more data frames, and Figure 7a shows a case where the payload of one data frame contains one entity.
  • a plurality of tags and corresponding data information are encapsulated into a plurality of entities and are encapsulated into a payload of the plurality of data frames, a plurality of data frames as shown in FIG. 7a are generated, where the payload of the data frame includes the power terminal Tag and data information; may also include tag and data information of at least two power terminals in one data frame, in this way, the number of data frames is less than the number of power terminals.
  • the structure of the data frame may be as shown in FIG. 7b, and there are multiple such entities in the payload. Data field is used to save the Tag corresponding Data information.
  • Step 515 The access network terminal device sends the one or more data frames to the power server through a channel between the access network terminal device and the power server.
  • the access network terminal device 80 transmits the data frame to the power server 84 through the channel 85 between the access network terminal device 80 and the power server 84 according to the frame header information of the data frame, specifically according to the frame header of the data frame.
  • Information transmission of data frames will be known to those of ordinary skill in the art.
  • the SN and the data information of the power terminal are encapsulated into the payload of the data frame, and the power is taken in a common Ethernet format data frame, so that the data can be transmitted through the existing IP bearer network without affecting the existing system. Performance, with good versatility.
  • the method provided in this embodiment can be used to support the N in the frameless format without upgrading the existing IP bearer network device. : 1 virtual connection.
  • Step 520 The access network terminal device receives the downlink packet of the power server, and sends the downlink message to the corresponding port according to one or more tags in the downlink message.
  • the payload of the downlink packet received by the access network terminal device may include one or more entities, each entity includes a tag for identifying the power terminal, and the access network terminal device extracts the SN of the power device in the tag, according to Corresponding relationship between the saved SN and the port, and forwarding the downlink packet to the corresponding power terminal.
  • the data transmission method provided in this embodiment can be implemented by encapsulating the data information of the multiple power terminals into one data frame and transmitting the data to the power server through a channel, so that the N of the port on the access network terminal device and the power terminal can be virtualized.
  • the application of the scenario because only one IP address is needed, can save IP resources.
  • multiple ports on the access network terminal device can simultaneously and simultaneously The power terminals establish communication, and are not limited to establishing communication with only one power terminal.
  • the access network terminal device 700 (corresponding to the access network terminal device 82 in FIG. 2) includes:
  • One or more user side ports 70 are used to connect a plurality of power terminals 82.
  • the user side port 70 may be a serial port. If the user side port 70 is based on the RS485 protocol, only one such user side port may be used to connect the plurality of power terminals 82; if the user side port 70 is based on the RS232 protocol, multiple Such user side ports are respectively connected to a plurality of power terminals 82.
  • the receiving converter 72 is connected to the user side port 70 and the other end is connected to the processor 74 for receiving data information of the plurality of power terminals 82 through the user side port 70.
  • the receiving converter 72 may specifically be composed of an RS485 driving circuit and/or an RS232 driving circuit.
  • the receiving converter 72 may be composed only of an RS485 driving circuit; for supporting only RS232 access
  • the receiving converter 72 can be composed only of the RS232 driving circuit.
  • the receive converter 72 can also be used to convert data information from the power terminal 82 based on the serial port format, convert the electrical signals into a byte stream, and send them to the processor 74.
  • the processor 74 is connected to the receiving converter 72. In addition to receiving data information of the plurality of power terminals 82, the processor 74 is configured to acquire corresponding identification information of the plurality of power terminals 82, and the identification information of the plurality of power terminals 82 and the plurality of power terminals.
  • the data information of 82 is encapsulated into a data signal, which may be in a convention format and may include one or more data frames.
  • the format of the data frame is not limited, but preferably it may be a data frame in a terrestrial format.
  • the processor 74 may specifically include a circuit or module such as a CPU (Central Processing Unit) 742 and forwarding logic 744.
  • the forwarding logic 744 is managed by the CPU 742 and may be used to convert the bytes from the conversion receiver 72.
  • the code stream framing includes encapsulating the identification information of the plurality of power terminals 82 and the data information of the plurality of power terminals 82 into one or more data frames and the like.
  • the power server port 76 is configured to send data information of the plurality of power terminals 82 to the power server 84 through a set channel 85.
  • Channel 85 can be a direct data connection or a data connection through a bearer network. Such a data connection can be implemented by existing communication technologies and will not be described here.
  • the data information of the plurality of power terminals 82 may be transmitted in the form of one or more data frames, such as Ethernet data frames.
  • the power server port 76 can also receive data or command information from the power server 84 to the one or more power terminals 82 via the channel 85 and pass it to the processor. 74.
  • the processor 74 processes the data or instruction information and sends the data to the corresponding one or more power terminals 82.
  • the power server port 76 may be an optical module connected to the bearer network access device connected to the power server 84 through an uplink port, and the uplink port may be a three-mode adaptive uplink port, and the three-mode includes GE (Gigabit Ethernet). , Gigabit Ethernet, GPON (gigabit-capable passive optical network), EPON (Ethernet passive optical network).
  • GE Gigabit Ethernet
  • GPON gigabit-capable passive optical network
  • EPON Erthernet passive optical network
  • the access device connected to the uplink port may be an OLT, a DSLAM, or an MSAN.
  • the network terminal device 700 may also include a memory 78.
  • the memory 78 may be one or more of an ARM (random access memory), a ROM (read-only memory), and a flash memory.
  • the memory 78 is used to store identification information and data information of the power terminal, and is also used to store computer instructions for enabling the access network terminal device 700 to implement data transmission and power network control.
  • the memory 78 can also be used to store configuration information, including but not limited to: an IP address of the access network terminal device 700, an IP address of the power server 84, and identification information of the channel 85, and the like.
  • the access network terminal device provided in this embodiment may further include a power module that provides a power source, and the power module is connected to the DC power source or the AC power source through the power interface.
  • a power module that provides a power source
  • the power module is connected to the DC power source or the AC power source through the power interface.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, Read-Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明公开一种电力网控制***中的数据处理方法、装置和***,电力网控制***包括接入网终端设备、多个电力终端和电力服务器,多个电力终端在一端分别与配电网的多个电能表连接,在另一端分别与接入网终端设备上的一个或多个串口相连,接入网终端设备与电力服务器相连,所述一个或多个串口与接入网终端设备和电力服务器之间的一个通道对应。提供的方法包括:接入网终端设备接收多个电力终端的数据信息;接入网终端设备获取多个电力终端的标识信息,将多个电力终端的标识信息以及多个电力终端的数据信息封装到一个或多个数据帧中;接入网终端设备将一个或多个数据帧通过共用通道发送给电力服务器。

Description

电力网控制***中的数据传输及控制 技术领域
本发明涉及通信技术领域, 具体涉及一种电力网控制***的数据传输及控 制方法、 以及实现该方法的设备及***。 背景技术
众所周知, 一个电力***由发电、 输电、 变电、 配电、 用电以及调度等部 分组成, 用于电能的生产、 输送、 分配以及使用。
电力***又称作电网, 现代的电网正在广泛地向智能化电网的方向发展。 智能化电网是将先进的传感测量技术、 信息通信技术、 分析决策技术、 自动控 制技术和能源电力技术相结合, 并与电网基础设施高度集成而形成的新型现代 化电网。 通信、 信息和现代管理技术的综合运用, 可以提高电力设备使用效率, 降低电能损耗, 使电网运行更加经济和高效, 同时通过建立双向互动的服务模 式, 用户可以实时了解供电能力、 电能质量、 电价状况和停电信息, 合理地使 用电器。 电力企业也可以获取用户的详细用电信息, 为其提供更多的增值服务。
智能化电网的一种实现方式是使电网中的节点被通信网络所覆盖。 更好的, 是使电网中的所有节点都被通信网络所覆盖。 当前的情况是, 一般电网的上游 部分, 包括发电、 输电、 变电等环节, 已经可以实现通信网络的覆盖, 但下游 部分包括配电和用电等环节还没有完全实现通信网络的覆盖。 所以, 对电网的 智能化来说, 电网的配电和用电等环节是需要关注的重点, 而通信网络设备中, 光网络设备, 如类似 ONU ( Optical Network Unit, 光网络单元)等, 可用于实现 电网下游部分的通信网络覆盖。
在这种需求下, 现有技术中有将 ONU和 OLT ( Optical Line Terminal, 光线路 终端)设备组成链式拓朴网络或者环形拓朴网络来覆盖电网的配电和用电环节, 利用现有的通信网络技术如无源光网络( Passive Optical Network, PON)将电网的 配电和用电环节管理起来, 从而达到电网的全覆盖。 图 1为一个通信网络与配电网结合的智能电网的示例。 如图 1所示, 配电网 100 (包括一个或多个变电站 110和装备有变压器 132的配电房 130 )通过电力线 120向用户输电, 一个或多个用户的用电量通过电能表 210来记录, 电能表的数 据和 /或用户的状态信息由釆集器 220 (又称电力终端)来集中釆取并提供给供电 商, 使供电商可以利用釆集的数据收取电费或作其他控制操作。 釆集器 220与通 信网络相连, 本例中所示的通信网络为无源光网络(PON ), 但也可以是其他类 似的通信网络。 PON300是一个由多个无源设备如 ONU310 , OLT320和 ODN ( Optical Distribution Network, ODN )330组成的链式网络。 PON300中的 ONU310 通过串口与釆集电能表数据的釆集器 220相接。 釆集器 220可以是 DTU ( Data Terminal Unit, 数据终端单元)或 RTU ( Remote Terminal Unit, 远程终端单元)。 釆集器 220可只连接一个电能表, 但在大多数应用场景中, 釆集器需要连接多个 电能表 210。 釆集器 220的数据信息进入 PON300, 并通过承载通信网络(如 IP承 载网 400 )传输到电力服务器 500, 电力服务器 500从这些数据信息中获取每个电 力用户 (如家庭用户, 企业用户等等) 的用电信息, 并集中对用户进行电能表 读数, 用电状态监测, 远程调控, 故障排除等管理操作。
釆集器 220需接收和发送符合串口格式的数据, 在上行方向 (从釆集器到电 力服务器的方向), ONU310需要对符合串口格式的数据进行转换, 使得这些数 据能在通信网络中传输, 而在下行方向, 则需要将来自通信网络的数据转换成 釆集器 220能接收的数据格式。 具体的, 在上行方向, ONU310将串口来的数据 封装成 TCP ( Transmission Control Protocol ,传输控制协议 ) /IP ( Internet Protocol , 因特网协议)数据流, 以端口号标识串口号, 通过 ΡΟΝ300上行传输到 IP承载网 400, 由 IP承载网 400传输到电力服务器 500; 在下行方向, ONU310则是将 IP承 载网 400的 TCP/IP数据流还原成符合串口格式的数据流, 根据 TCP链接标识与串 口号的对应关系, 将数据帧发送给对应的釆集器 220, 从而完成电力服务器 500 和釆集器 220之间的通信。
在现有技术中, 需要电力服务器把釆集器 220和 ONU310之间串口号的对应 关系管理起来,这样就需要一个串口对应一个 TCP/UDP( User Datagram Protocol, 用户数据报文协议)链接, 属于 1 : 1的虚连接对。 在实际使用时, 一个电力服 务器需要管理多个釆集器, 由于有多个釆集器并存, 在每个釆集器和 ONU之间 需要建立一个串口的 TCP/UDP链接, 这样需使用多个串口号, 会比较浪费 IP资 源, 而且如果当电力服务器只支持建立一个 TCP/UDP连接时, 会导致 ONU只能 使用一个串口与釆集器连接。 发明内容
本发明的一个实施例提供一种用于配电网的数据传输及控制方法, 一个电 力网控制***包括接入网终端设备、 多个电力终端和电力服务器, 所述多个电 力终端在一端分别与配电网的多个数据产生节点或数据输出装置连接, 在另一 端分别与所述接入网终端设备上的一个或多个串口相连, 所述接入网终端设备 与所述电力服务器相连, 所述一个或多个串口与所述接入网终端设备和所述电 力服务器之间的一个通道对应, 所述方法包括:
所述接入网终端设备通过所述一个或多个串口接收所述多个电力终端的数 据信息;
所述接入网终端设备获取所述多个电力终端的标识信息, 将所述多个电力 终端的标识信息以及所述多个电力终端的数据信息封装到一个或多个数据帧 中;
所述接入网终端设备将所述一个或多个数据帧通过所述通道发送给所述电 力服务器。
进一步的, 将所述多个电力终端的标识信息以及所述多个电力终端的数据 信息封装到一个或多个数据帧中之前还可以包括:
根据所述通道的标识信息获取所述接入网终端设备的 IP地址、所述电力服务 器的 IP地址以及所述通道在所述接入网终端设备上对应的端口的标识信息,所述 接入网终端设备的 IP地址、所述电力服务器的 IP地址以及所述端口的标识信息用 于构成所述一个或多个数据帧的帧头。
其中,所述根据所述通道的标识信息获取所述接入网终端设备的 IP地址、所 述电力服务器的 IP地址以及所述通道在所述接入网终端设备上对应的端口的标 识信息具体可以包括:
查询所述接入设备上保存的配置信息, 所述配置信息保存有所述通道的标 识信息与所述接入网终端设备的 IP地址、 所述电力服务器的 IP地址、 所述端口的 标识信息的对应关系。
进一步的, 本实施例中的将所述多个电力终端的标识信息以及所述多个电 力终端的数据信息封装到一个或多个数据帧中可以具体包括:
将所述多个电力终端的标识信息以及所述多个电力终端的数据信息分成多 个实体封装到所述一个或多个数据帧的净荷中, 每个实体可以包括一个电力终 端的标识信息和对应的数据信息。
进一步的, 本实施例中的将所述多个电力终端的标识信息以及所述多个电 力终端的数据信息封装到一个或多个数据帧中可以具体包括:
才艮据所述多个电力终端的标识信息生成多个用于标识电力终端的 Tag;
将所述多个 Tag和所述多个电力终端的数据信息组成多个实体封装到所述 一个或多个数据帧的净荷中, 每个实体包含一个 Tag以及对应电力终端的数据信 息。
其中, 每个 Tag可以包含一个电力终端的标识信息、 所述接入网终端设备上 连接该电力终端的端口的标识信息、 以及所述接入网终端设备的设备标识信息。
其中, 才艮据所述多个电力终端的标识信息生成多个用于标识电力终端的 Tag 可以具体包括:
获取接收电力终端的数据信息的端口号, 利用获取的端口号查询端口号与 电力终端的标识信息的对应关系, 从而获取多个电力终端的标识信息;
利用所述获取的多个电力终端的标识信息、 所述接入网终端设备上对应的 端口号、 以及所述接入网终端设备的设备标识信息生成多个用于标识电力终端 的 Tag。
进一步的, 所述获取接收电力终端的数据信息的端口号, 利用获取的端口 号查询串口号与电力终端的标识信息的对应关系之前还可以包括:
接收电力终端的第一帧数据信息, 获取所述第一帧数据信息中携带的电力 终端的标识信息以及所述接入网终端设备上接收所述第一帧数据信息的端口的 标识信息, 在所述接入网终端设备上保存所述第一帧数据信息中携带的电力终 端的标识信息以及所述接入网终端设备上接收所述第一帧数据信息的端口的标 识信息的对应关系。
根据本发明的实施例的一种接入网终端设备 (700 ), 包括:
一个或多个用户侧端口 (70), 用于连接多个电力终端 (82);
接收转换器(72), 用于通过所述一个或多个用户侧端口接收所述多个电力 终端 (82) 的数据信息, 所述用户侧端口为串口;
处理器 (74), 连接所述接收转换器 ( 72 ), 用于获取所述多个电力终端的 标识信息, 将所述多个电力终端的标识信息以及所述多个电力终端的数据信息 封装到一个或多个数据帧中;
电力服务器端口 (76), —端连接所述处理器 (74), 另一端连接电力服务 器(84), 所述电力服务器端口 (76)与所述电力服务器(84)之间设置有一条 通道(85), 所述通道(85)对应到所述一个或多个用户侧端口, 所述电力服务 器端口 (76)用于将所述一个或多个数据帧通过所述通道(85)发送给电力服 务器( 84 )。
进一步的, 所述数据帧是以太网格式的数据帧, 所述处理器 (74)可以具 体用于将所述多个电力终端 (82) 的标识信息以及所述多个电力终端 (82) 的 数据信息分成多个实体封装到所述一个或多个数据帧的净荷中, 每个实体包括 一个电力终端的标识信息和对应的数据信息。
进一步的, 所述处理器还可以具体用于根据所述多个电力终端 (82) 的标 识信息生成多个用于标识电力终端的 Tag; 将所述多个 Tag和所述多个电力终端 的数据信息组成多个实体封装到所述一个或多个以太网帧的净荷中, 每个实体 包含一个 Tag以及对应电力终端的数据信息。
进一步的, 所述接收转换器 (72)还用于接收电力终端 (82) 的第一帧数 据信息。
进一步的, 所述接入网终端设备(700 )还包括一个存储器 (78), 所述处 理器 (74)还用于获取所述第一帧数据信息中携带的电力终端的标识信息以及 所述接入网终端设备上接收所述第一帧数据信息的端口号, 在所述存储器(78) 中保存所述第一帧数据信息中携带的电力终端 (82) 的标识信息以及所述接入 网终端设备(700 )上接收所述第一帧数据信息的端口号的对应关系。 进一步的, 所述处理器 (74)还可以用于获取接收电力终端 (82) 的数据 信息的端口的标识信息, 利用获取的端口的标识信息查询端口的标识信息与电 力终端的标识信息的对应关系, 从而获取多个电力终端 (82) 的标识信息。 根据本发明实施的一种电力网控制***(800), 包括多个电力终端 (82)、 接入网终端设备 (80) 以及电力服务器(84), 所述多个电力终端 (82)通过所 述接入网终端设备(80)上的一个或多个端口连接所述电力服务器(84);
所述接入网终端设备 (80), 用于通过所述一个或多个端口接收所述多个电 力终端 (82) 的数据信息; 获取所述多个电力终端 (82) 的标识信息, 将所述 多个电力终端 (82) 的标识信息以及所述多个电力终端 (82) 的数据信息封装 到一个或多个数据帧中; 以及将所述一个或多个数据帧通过所述接入网终端设 备和所述电力服务器( 84 )之间的一个通道( 85 )发送给所述电力服务器( 85 )。
进一步的, 所述接入网终端设备 (80)具体用于将所述多个电力终端 (82) 的标识信息以及所述多个电力终端 (82) 的数据信息分成多个实体封装到所述 一个或多个数据帧的净荷中, 每个实体包括一个电力终端的标识信息和对应的 数据信息。
进一步的, 所述接入网终端设备 (80)具体用于:
才艮据所述多个电力终端( 82 )的标识信息生成多个用于标识电力终端的 Tag; 将所述多个 Tag和所述多个电力终端 (82)的数据信息组成多个实体封装到 所述一个或多个数据帧的净荷中, 每个实体包含一个 Tag以及对应电力终端的数 据信息。
进一步的, 所述接入网终端设备(80)还用于:
接收所述电力服务器 (84) 的下行报文, 所述下行报文的净荷中包含一个 或多个实体, 每个实体包括一个电力终端的标识信息;
将所述下行报文向接入网终端设备 (80)上的多个端口广播。
进一步的, 所述接入网终端设备(80)还用于:
接收所述电力服务器 (84) 的下行报文, 所述下行报文的净荷中包含一个 或多个实体, 每个实体包含一个用于标识电力终端的 Tag; 根据所述下行报文中的多个 Tag, 将所述下行报文发送给对应的端口。 本发明实施例提供的方法、 设备和***, 可以实现串口连接和 TCP/UDP链 接的 N: 1虚连接对,在传输电力终端的数据信息时,只需要建立一个 TCP/UDP 连接就行了, 可以节省 IP资源, 而且可以解决目前一个 ONU只能使用一个串 口的问题。 附图说明
述背景技术和实施例时所使用的附图作简单的介绍。 显而易见地, 下面附图中 描述的仅仅是本发明的一部分实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动的前提下, 还可以根据这些附图和描述得到其他的附图或实施例, 而本发明旨在涵盖所有这些衍生的附图或实施例。
图 1为用无源光网络作配电网数据釆集和控制的智能电网***示意图; 图 2为本发明实施例提供的电力网控制***的简化架构图;
图 3为本发明实施例一提供的数据处理方法的流程图;
图 4为本发明实施例二提供的数据处理方法的流程图;
图 5a和 5b为本发明实施例二提供的以太网帧结构示意图;
图 6为本发明实施例三提供的数据处理方法的流程图;
图 7a和 7b为本发明实施例三提供的以太网帧结构示意图; 以及
图 8为本发明实施例四提供的接入网终端设备的结构示意图。 具体实施方式
下面将结合附图, 对本发明实施例中的技术方案进行清楚、 完整地描述。 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基 于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
图 2为本发明实施例所基于的电力网控制***的一种简化的架构图。 在图 2 的电力网控制*** 800中, 多个电力终端 82 (即前面提到的釆集器)可以通过接 入网终端设备 80连接到电力服务器 84, 这里的电力终端 82可以是 DTU或 RTU等, 每个电力终端 82与配电网中一个或多个数据产生节点(如电力用户的电能表等) 连接并从中获取数据。接入网终端设备 80可以是,但不限于, ONU、 ONT( Optical Network Terminal, 光网络终端)、 MxU ( Multiple x Unit, 多用户设备)等。 进 一步的,接入网终端设备 80可以通过接入设备(图中未显示 H。OLT( Optical Line Terminal, 光线路终端)、 DSLAM ( Digital Subscriber Line Access Multiplexer, 数字用户线接入复用器 )或者 MSAN ( Multiservice Access Node, 多业务接入节 点)等设备连接到电力服务器 84。
接入网终端设备 80上可以有一个或多个端口 (可以是串口)。 所述一个或多 个端口分别用于连接所述多个电力终端 82。 具体的, 当接入网终端设备 80上的 端口是基于 RS485协议时,多个电力终端 82可以通过接入网终端设备 80上的一个 端口连接到电力服务器 84。 当接入网终端设备 80上的端口^^于 RS232时, 多个 电力终端 82可以分别通过接入网终端设备 80上的多个端口连接到电力服务器 84, 每个端口连接一个电力终端 82。
在图 2的电力网控制***中, 接入网终端设备 80可以将电力终端 82上报的数 据信息上传到电力服务器 84。 电力终端 82上报的数据信息可以是, 但不限于, 电能表度数信息等。
在现有技术中, 电力服务器 84需要把电力终端 82和接入网终端设备 80上的 串口号的对应关系管理起来。 接入网终端设备 80上有多少个串口, 接入网终端 设备 80和电力服务器 84之间就需要建立多少个 TCP/UDP连接, 这样会导致 IP资 源的浪费, 而且对于只支持建立一个 TCP/UDP连接的电力服务器而言, 这样会 导致接入网终端设备 80上只能使用一个端口。 实施例一
针对上述问题, 本发明的实施例提供了一种电力网控制***中的数据传输 方法。 如图 3所示, 该方法包括以下步骤:
步骤 200, 接入网终端设备通过一个或多个端口接收多个电力终端的数据信 息。 当多个电力终端连接到接入网终端设备上的一个端口时, 则接入网终端设 备通过该端口接收多个电力终端上报的数据信息; 当多个电力终端连接到接入 网终端设备上的多个端口时, 接入网终端设备通过多个端口接收多个电力终端 上报的数据信息。 步骤 205 , 接入网终端设备获取多个电力终端的标识信息, 将获取的多个电 力终端的标识信息以及多个电力终端上报的数据信息封装到一个或多个数据 帧, 比如以太网 (Ethernet ) 帧, 中, 每个数据帧中可以封装有多个电力终端的 数据信息。
本发明实施例中, 一个电力终端的标识信息可以是该电力终端的 SN ( Serial
Number, 序列号), 也可以是其他用来标识电力终端的信息, 如电力终端的设备 标识、 MAC ( Media Access Control, 媒体访问控制)地址等。
在本发明的实施例中, 参见图 2, 接入网终端设备 80和电力服务器 84之间设 置有一个用于上传电力终端的数据信息的通道 85 , 该通道可以是基于 TCP/UDP 协议的一个虚连接, 多个电力终端上报的数据信息可以使用一个共用通道 85上 传到电力服务器 84 , 形成 N: 1的虚连接架构。 接入网终端设备 80和电力服务器 84之间的通道 85可以是由人工预先配置好, 也可以是由接入网终端设备 80上电 后和电力服务器 84协商建立。 如何配置通道 85以及接入网终端设备 80如何和电 力服务器 84协商建立该通道, 本领域普通技术人员都应知悉, 在此不再阐述。
接入网终端设备获取多个电力终端的标识信息以及多个电力终端上报的数 据信息, 获取电力终端标识信息的方式有多种, 例如可以是从电力终端的上报 消息中获取; 也可以是通过获取接收电力终端的上报消息的端口标识, 从端口 标识和电力终端的标识信息的对应关系中获取电力终端的标识信息。
接入网终端设备获取电力终端的上报数据信息的方式有多种, 例如可以是 在收到电力服务器的指令后, 通知电力终端上报数据信息, 也可以是事先设置 电力终端, 使之按照设定的时间自动上报数据信息, 还可以是在电力终端出现 故障或者电力终端和电能表之间的链路出现故障时, 上报当前收集的电能表的 数据或状态信息, 以便于电力服务器得到电能表的正确数据或故障信息。
接入网终端设备将获取的多个电力终端的标识信息以及多个电力终端上报 的数据信息封装到一个或多个数据帧中。
由于能在现有的通信网络中传输的数据帧一般具备特定的格式, 因此为了 不改变现有数据帧的结构, 可以是将多个电力终端的标识信息以及对应的多个 电力终端的数据信息封装到数据帧的净荷中, 比如将多个电力终端的标识信息 以及对应的多个电力的终端数据信息封装到一个或多个以太网帧的净荷中, 每 个以太网帧的净荷中可携带多个电力终端的标识信息以及对应的多个电力终端 的数据信息。
在将获取的多个电力终端的标识信息以及多个电力终端上报的数据信息封 装到一个或多个数据帧中之前, 接入网终端设备还需要提供数据帧的帧头信息 , 具体可以包括:
根据前述的与电力服务器之间通道的标识信息, 接入网终端设备获取本身 的 IP地址、电力服务器的 IP地址以及此多个端口共享的通道在接入网终端设备上 对应的端口的端口的标识信息。 其中, 接入网终端设备的 IP地址、 电力服务器的 IP地址以及所述端口的标识信息可以用于构成数据帧的帧头。
具体的, 接入网终端设备可以从本地保存的配置信息中获取上述构成帧头 所需的信息。 其中, 本地保存的配置信息中保存有通道的标识信息与接入网终 端设备的 IP地址、 电力服务器的 IP地址、 以及端口的标识信息的对应关系。
其中, 通道的标识信息可以是通道的 ID ( Identifier, 标识符)或者其它可以 唯一标识一条通道的信息等; 端口的标识信息可以是端口号和端口在接入网终 端设备上的框位 /槽位号中的一个或多个。
接入网终端设备将获取的多个电力终端的标识信息以及多个电力终端的数 据信息与上述帧头组成一个或多个数据帧, 多个电力终端的标识信息以及多个 电力终端的数据信息可以封装到该一个或多个数据帧的净荷中。 步骤 210 , 接入网终端设备将一个或多个数据帧通过接入网终端设备和电力 服务器之间的一个通道发送给电力服务器。
在本实施例中, 接入网终端设备上的多个端口对应一个通道, 比如对应一 个 TCP/UDP虚连接, 接入网终端设备通过该 TCP/UDP虚连接将电力终端的数据 信息发送给电力服务器。 本实施例提供的数据处理方法, 通过将多个电力终端的标识信息和数据信 息封装成一个或多个数据帧, 将数据帧通过一个通道发送给电力服务器, 可以 实现接入网终端设备上端口与 TCP/UDP虚连接的 N: 1场景的应用。 由于可以只 使用一个 IP地址(即接入网终端设备的 IP地址 ) , 因此可以节省 IP资源, 同时, 可以解决现有技术中电力服务器不支持建立多个 TCP/UDP虚连接的问题。 以下将具体针对有帧格式场景和无帧格式场景对本发明的实施例进行详细 描述。
实施例二
本实施例将针对有帧格式对上述电力网控制***中的数据传输方法进行详 细的描述。
有帧格式是指接入网终端设备会向上行方向 (即电力服务器方向)发送完 整格式的数据帧, 帧的格式比较固定。 基于有帧格式, 本实施所提供的数据传 输方法如图 4所示, 包括:
步骤 300 , 接入网终端设备通过一个或多个端口接收多个电力终端的数据信 息, 获取多个电力终端的标识信息。
电力终端的标识信息可以是电力终端的 SN、 电力终端的设备标识、 或电力 终端的 MAC地址等。 本实施例中, 以 SN作为举例。
对于多个电力终端分别连接到接入网终端设备上的多个端口、 每个端口连 接一个电力终端的情况, 每个电力终端向接入网终端设备发送一个上报消息, 上报消息包括电力终端自己的 SN和数据信息, 接入网终端设备通过多个端口接 收多个电力终端的上报消息; 对于多个电力终端连接到接入网终端设备上的一 个端口的情况, 每个电力终端向接入网终端设备发送一个上报消息, 上报消息 包括电力终端自己的 SN和数据信息, 接入网终端设备通过一个端口接收多个电 力终端的上报消息。
步骤 305 , 接入网终端设备将多个电力终端的标识信息以及多个电力终端的 数据信息分成多个实体, 封装到一个或多个数据帧的净荷中, 每个实体包括一 个电力终端的标识信息和对应的数据信息。 数据帧可以是以太网格式的数据帧。
在本步骤中, 接入网终端设备将多个电力终端的标识信息以及相应的多个 电力终端的数据信息分成多个实体封装到一个或多个数据帧的净荷中。 每个实 体可以包括一个电力终端的标识信息和对应的数据信息, 实体中还可以包括实 体起始标识( BEG )、实体终止标识( END )、控制码( C )、 CRC ( cyclic redundancy check, 循环冗余校验)码、 以及指示数据信息长度的数据域长度(L )等。
图 5a所示为包含一个实体的数据帧结构。 如果是将多个电力终端的标识信 息以及多个电力终端的数据信息分成多个实体封装到多个数据帧的净荷中, 则 可以是将每个电力终端的标识信息以及对应的数据信息封装成一个如图 5a所示 的数据帧。 或者, 也可以是将两个或以上电力终端的标识信息和对应的数据信 息封装到一个数据帧的净荷中, 如果釆用这种方式, 则在每一个数据帧的净荷 中至少包括两个实体, 封装之后的数据帧的数量少于电力终端的数量。 如果将 多个电力终端的标识信息以及多个电力终端的数据信息分成多个实体封装到一 个数据帧的净荷中, 则可以在一个数据帧的净荷中包含多个上面描述的实体, 如图 5b所示。
接入网终端设备还需要获取数据帧帧头信息, 如何获取帧头信息在上面实 施例已经描述, 在此不再阐述。
步骤 310 , 接入网终端设备将所述一个或多个数据帧通过接入网终端设备和 电力服务器之间的通道发送给所述电力服务器。
参考图 2, 接入网终端设备 80根据数据帧的帧头信息将一个或多个数据帧通 过接入网终端设备 80和电力服务器 84之间的通道 85发送给电力服务器 84, 通道 85可以是 TCP/UDP虚连接, 接入网终端设备 80和电力服务器 84之间也可以有多 个 TCP/UDP虚连接, 接入网终端设备 80可以从这个 TCP/UDP虚连接中选择一个 与多个串口对应, 从而利用选择的这个 TCP/UDP虚连接将多个电力终端的数据 信息上报给电力服务器 84。 具体如何根据数据帧的帧头信息发送数据帧, 本领 域普通技术人员都应知悉。
本实施例通过将电力终端的 SN和数据信息封装到数据帧的净荷中, 电力服 何格式的数据帧都可以用于实现本发明, 而且很显然本发明的范围不限于具体 的数据帧的格式, 但是如果使用通用的以太网格式的数据帧, 此数据帧可以通 过现有的 IP承载网传输, 不影响现有***的性能, 且具有艮好的通用性。 本实施例所提供的方法还可以包括:
步骤 315, 接入网终端设备接收从电力服务器到电力终端的下行报文, 所述 下行 4艮文的净荷中包含一个或多个实体, 每个实体可包括一个或多个电力终端 的标识信息。
本实施例中, 下行 4艮文也可以釆用如图 5a所示的帧结构, 每个下行 4艮文包 含一个实体, 也可以釆用如图 5b所示的帧结构, 净荷中包含多个实体, 每个实 体包括一个电力终端的标识信息。
步骤 320 , 接入网终端设备将下行报文向多个端口广播。
接入网终端设备收到下行报文后, 可以将该下行报文向多个端口广播, 电 力终端收到下行报文后, 由于电力终端上会保存有电力服务器的 IP地址, 因此电 力终端可以根据下行报文中的电力服务器的 IP地址识别该下行报文是否是发给 自己的, 如果不是发送给自己的则丟弃该下行报文; 如果是发送给自己的则对 下行报文进行处理。
本实施例提供的数据传输方法, 通过将多个电力终端的数据信息封装到一 个或多个数据帧中, 通过一个通道发送给电力服务器, 可以实现接入网终端设 备上端口与 TCP/UDP虚连接的 N: 1场景的应用, 由于只需要使用一个 IP地址, 因此可以节省 IP资源, 同时,可以解决现有技术中不支持使用只支持使用一个串 口的接入网终端设备的问题。 实施例三 无帧格式是指接入网终端设备按照装帧时间和装帧长度组成数据帧, 发送 字节码流。 数据帧可以是以太网格式的数据帧, 数据帧的数据域不一定是一个 完整的格式。 基于无帧格式, 本实施所提供的数据传输方法如图 6所示, 包括: 步骤 500 , 接入网终端设备通过一个或多个端口接收多个电力终端的数据信 息, 获取多个电力终端的数据信息。
电力终端的标识信息可以是电力终端的 SN、 电力终端的设备标识、 或电力 终端的 MAC地址等。 本实施例中, 以 SN作为举例。
对于无帧格式,电力终端上报的第一帧数据信息会携带电力终端自己的 SN, 接入网终端设备在接收到电力终端的第一帧数据时, 保存电力终端的 SN和接收 该电力终端的第一帧数据信息的端口的标识信息的对应关系, 由于电力终端上 报的后续数据信息一般不会携带电力终端自己的 SN, 在接入网终端设备收到该 电力终端的后续数据信息时, 可以根据接收数据信息的端口的端口标识从该对 应关系获取电力终端的 SN。 其中, 端口的标识信息可以是端口号、 端口在接入 网终端设备上的框位 /槽位号中一个或多个。
也可以预先在接入网终端设备上配置电力终端的 SN和端口的标识信息的对 应关系, 收到电力终端的数据信息后, 根据接收数据信息的端口的端口标识从 这个对应关系获取电力终端的 SN。
步骤 505 , 接入网终端设备根据多个电力终端的标识信息生成多个用于标识 电力终端的 Tag (标记)。
接入网终端设备生成的 Tag可以包括电力终端的 SN以及接入网终端设备上 连接该电力终端的端口的标识信息, 还可以包括接入网终端设备的设备标识等。 其中, 接入网终端设备的设备标识可以是接入网终端设备的 ID、 接入网终端设 备的桥 MAC地址等可以标识接入网终端设备的信息中的一个或多个。
接入网终端设备可以生成多个用于标识电力终端的 Tag , 每个 Tag包含一个 电力终端的 SN、 和接入网终端设备上连接该电力终端的端口的标识信息, 还可 以包括接入网终端设备的设备标识信息。
步骤 510 , 接入网终端设备将生成的多个 Tag和多个电力终端的数据信息组 成多个实体封装到一个或多个数据帧的净荷中, 每个实体可以包含一个 Tag以及 对应电力终端的数据信息。
接入网终端设备将多个 Tag和对应的数据信息组成多个实体封装到一个或 多个数据帧的净荷中, 图 7a示出了一个数据帧的净荷中包含一个实体的情况。
如果是将多个 Tag和对应的数据信息组成多个实体封装到多个数据帧的净 荷中, 则生成多个如图 7a所示的数据帧, 该数据帧的净荷中包含该电力终端的 Tag和数据信息; 也可以是在一个数据帧中包含至少两个电力终端的 Tag和数据 信息, 釆用这种方式, 数据帧的数量少于电力终端的数量。 如果是将多个 Tag和 对应的数据信息组成多个实体封装到一个数据帧的净荷中, 则该数据帧的结构 可以如图 7b所示, 净荷中有多个这样的实体, 实体中的 Data域用于保存 Tag对应 的数据信息。
步骤 515 , 接入网终端设备将所述一个或多个数据帧通过所述接入网终端设 备和所述电力服务器之间的一个通道发送给所述电力服务器。
参见图 2 , 接入网终端设备 80根据数据帧的帧头信息将数据帧通过接入网终 端设备 80和电力服务器 84之间的通道 85发送给电力服务器 84, 具体如何根据数 据帧的帧头信息发送数据帧, 本领域普通技术人员都应知悉。
本实施例通过将电力终端的 SN和数据信息封装到数据帧的净荷中, 电力服 用的是通用的以太网格式的数据帧, 因此可以通过现有的 IP承载网传输,不影响 现有***的性能, 具有艮好的通用性。
同时, 由于现有设备不支持无帧格式的 N: 1的虚连接, 釆用本实施例所提 供的方法, 可以使得在不升级现有 IP承载网设备的前提下, 支持无帧格式的 N: 1的虚连接。
本实施例提供的数据处理方法还可以包括:
步骤 520, 接入网终端设备接收所述电力服务器的下行报文, 根据所述下行 文中的一个或多个 Tag, 将所述下行 4艮文发送给对应的端口。
接入网终端设备接收的下行报文的净荷中可以包含一个或多个实体, 每个 实体包含一个用于标识电力终端的 Tag , 接入网终端设备提取 Tag中的电力设备 的 SN, 根据保存的 SN与端口的对应关系, 将下行报文转发到对应的电力终端。
本实施例提供的数据传输方法, 通过将多个电力终端的数据信息封装成一 个数据帧, 通过一个通道发送给电力服务器, 可以实现接入网终端设备上端口 与电力终端虚连接的 N: 1场景的应用, 由于只需要使用一个 IP地址, 因此可以 节省 IP资源, 同时, 对于只支持建立一个 TCP/UDP连接的电力服务器而言, 使 用接入网终端设备上的多个端口可以同时与多个电力终端建立通信, 而不限于 只与一个电力终端建立通信。 实施例四
一种用于实现电力网控制***的数据传输及控制的接入网终端设备如图 8 所示。 作为一个应用实例, 该接入网终端设备可以是 ONT、 ONU或者 MxU设备 等。 接入网终端设备 700 (对应图 2中的接入网终端设备 82 ) 包括:
一个或多个用户侧端口 70, 用于连接多个电力终端 82。
用户侧端口 70可以是串口, 如果用户侧端口 70是基于 RS485协议的, 可以只 用一个这样的用户侧端口连接多个电力终端 82;如果用户侧端口 70是基于 RS232 协议的, 则需要多个这样的用户侧端口分别连接多个电力终端 82。
接收转换器 72 , —端与用户侧端口 70连接, 另一端与处理器 74连接, 用于 通过用户侧端口 70接收多个电力终端 82的数据信息。
接收转换器 72具体可以由 RS485驱动电路和 /或 RS232驱动电路组成,对于只 支持 RS485的接入网终端设备而言, 接收转换器 72可以只由 RS485驱动电路组 成; 对于只支持 RS232的接入网终端设备而言, 接收转换器 72可以只由 RS232驱 动电路组成。
接收转换器 72还可以用于对来自电力终端 82的基于串口格式的数据信息进 行转换, 将电信号转换成字节码流, 发送给处理器 74。
处理器 74 , 与接收转换器 72连接, 除了接收多个电力终端 82的数据信息, 还用于获取多个电力终端 82相应的标识信息, 将多个电力终端 82的标识信息以 及多个电力终端 82的数据信息封装到一个数据信号中, 数据信号可以是一种约 定的格式, 可包括一个或多个数据帧。 数据帧的格式不限, 但优选地可以是以 太网格式的数据帧。
作为一个例子, 处理器 74具体可以包括 CPU ( Central Processing Unit, 中央 处理器) 742和转发逻辑 744等电路或模块, 其中, 转发逻辑 744受到 CPU742的 管理, 可以对来自转换接收器 72的字节码流定帧, 包括将所述多个电力终端 82 的标识信息以及所述多个电力终端 82的数据信息封装到一个或多个数据帧中 等。
电力服务器端口 76 , 用于将多个电力终端 82的数据信息通过一个设定的通 道 85发送给电力服务器 84。 通道 85可以是一个直接的数据连接, 也可以是一个 通过承载网的数据连接。 这样的数据连接可以通过现有的通信技术来实现, 这 里不再阐述。 多个电力终端 82的数据信息可以是以一个或多个数据帧的形式发 送, 例如以太网数据帧。 电力服务器端口 76还可以通过通道 85从电力服务器 84 接收电力服务器发给一个或多个电力终端 82的数据或指令信息, 并传给处理器 74 , 处理器 74对该数据或指令信息进行处理并发送给相应的一个或多个电力终 端 82。
作为一个应用实例, 电力服务器端口 76可以是光模块, 通过一个上行口连 接到连接电力服务器 84的承载网接入设备, 上行口可以是三模自适应的上行口, 三模包括 GE ( Gigabit Ethernet, 千兆以太网)、 GPON ( gigabit-capable passive optical network, 千兆比特无源光网络 )、 EPON ( Ethernet passive optical network, 以太网无源光网络)等。
本实施例中, 上行口连接的接入设备可以是 OLT、 DSLAM或者 MSAN等。 网终端设备 700还可以包括存储器 78。 存储器 78可以是 ARM ( random access memory, 随机存取存储器)、 ROM ( read-only memory, 只读存储器)和闪存中 的一种或者多种。 存储器 78用存储电力终端的标识信息和数据信息, 还用于存 储使接入网终端设备 700实现数据传输及电力网控制的计算机指令。
存储器 78还可以用于存储配置信息, 包括, 但不限于: 接入网终端设备 700 的 IP地址、 电力服务器 84的 IP地址以及通道 85的标识信息等。
本实施例提供的接入网终端设备还可以包括提供电源的电源模块, 电源模 块通过电源接口连接直流电源或者交流电源。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤 是可以通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可读存 储介质中,存储介质可以包括:闪存盘、只读存储器( Read-Only Memory , ROM )、 随机存取器 ( Random Access Memory, RAM ), 磁盘或光盘等。
以上对本发明实施例所提供的数据处理方法、 设备和***进行了详细介绍, 一般技术人员, 依据本发明的思想, 在具体实施方式及应用范围上均会有改变 之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

权利要求书
1、 一种电力网控制***中的数据处理方法, 其特征在于, 所述电力网控制 ***包括接入网终端设备、 多个电力终端和电力服务器, 所述多个电力终端在 一端分别与配电网的多个数据产生节点或数据输出装置连接, 在另一端分别与 所述接入网终端设备上的一个或多个串口相连, 所述接入网终端设备与所述电 力服务器相连, 所述一个或多个串口与所述接入网终端设备和所述电力服务器 之间的一个通道对应, 所述方法包括:
所述接入网终端设备通过所述一个或多个串口接收所述多个电力终端的数 据信息;
所述接入网终端设备获取所述多个电力终端的标识信息, 将所述多个电力 终端的标识信息以及所述多个电力终端的数据信息封装到一个或多个数据帧 中;
所述接入网终端设备将所述一个或多个数据帧通过所述通道发送给所述电 力服务器。
2、 根据权利要求 1所述的方法, 其特征在于, 所述将所述多个电力终端的 标识信息以及所述多个电力终端的数据信息封装到一个或多个数据帧中之前还 包括:
根据所述通道的标识信息获取所述接入网终端设备的 IP地址、所述电力服务 器的 IP地址以及所述通道在所述接入网终端设备上对应的端口的标识信息,所述 接入网终端设备的 IP地址、所述电力服务器的 IP地址以及所述端口的标识信息用 于构成所述以数据帧的帧头。
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述通道的标识信 息获取所述接入网终端设备的 IP地址、所述电力服务器的 IP地址以及所述通道在 所述接入网终端设备上对应的端口的标识信息具体包括:
查询所述接入网终端设备上保存的配置信息, 所述配置信息保存有所述通 道的标识信息与所述接入网终端设备的 IP地址、 所述电力服务器的 IP地址、 所述 端口的标识信息的对应关系。
4、 根据权利要求 1所述的方法, 其特征在于, 将所述多个电力终端的标识 信息以及所述多个电力终端的数据信息封装到一个或多个数据帧中具体包括: 将所述多个电力终端的标识信息以及所述多个电力终端的数据信息分成多 个实体封装到所述一个或多个数据帧的净荷中, 每个实体包括一个电力终端的 标识信息和对应的数据信息。
5、 根据权利要求 1所述的方法, 其特征在于, 所述将所述多个电力终端的 标识信息以及所述多个电力终端的数据信息封装到一个或多个数据帧中具体包 括:
才艮据所述多个电力终端的标识信息生成多个用于标识电力终端的 Tag; 将所述多个 Tag和所述多个电力终端的数据信息组成多个实体封装到所述 一个或多个数据帧的净荷中, 每个实体包含一个 Tag以及对应电力终端的数据信 息。
6、 根据权利要求 5所述的方法, 其特征在于, 每个 Tag包含一个电力终端的 标识信息、 所述接入网终端设备上连接该电力终端的端口的标识信息、 以及所 述接入网终端设备的设备标识信息。
7、 根据权利要求 6所述的方法, 其特征在于, 所述根据所述多个电力终端 的标识信息生成多个用于标识电力终端的 Tag具体包括:
获取接收电力终端的数据信息的端口号, 利用获取的端口号查询端口号与 电力终端的标识信息的对应关系, 从而获取多个电力终端的标识信息;
利用所述获取的多个电力终端的标识信息、 所述接入网终端设备上对应的 端口号、 以及所述接入网终端设备的设备标识信息生成多个用于标识电力终端 的 Tag。
8、 根据权利要求 7所述的方法, 其特征在于, 所述获取接收电力终端的数 据信息的端口号, 利用获取的端口号查询串口号与电力终端的标识信息的对应 关系之前还包括:
接收电力终端的第一帧数据信息, 获取所述第一帧数据信息中携带的电力 终端的标识信息以及所述接入网终端设备上接收所述第一帧数据信息的端口的 标识信息, 在所述接入网终端设备上保存所述第一帧数据信息中携带的电力终 端的标识信息以及所述接入网终端设备上接收所述第一帧数据信息的端口的标 识信息的对应关系。
9、根据权利要求 1-8任意一项所述的方法, 其特征在于, 所述电力终端的标 识信息为电力终端的序列号、 设备标识或者媒体访问控制地址, 所述通道基于 传输控制协议 /用户数据报文协议。
10、 一种接入网终端设备(700 ), 其特征在于, 包括:
一个或多个用户侧端口 (70), 用于连接多个电力终端 (82);
接收转换器(72), 用于通过所述一个或多个用户侧端口接收所述多个电力 终端 (82) 的数据信息, 所述用户侧端口为串口;
处理器 (74), 连接所述接收转换器 ( 72 ), 用于获取所述多个电力终端的 标识信息, 将所述多个电力终端的标识信息以及所述多个电力终端的数据信息 封装到一个或多个数据帧中;
电力服务器端口 (76), —端连接所述处理器 (74), 另一端连接电力服务 器(84), 所述电力服务器端口 (76)与所述电力服务器(84)之间设置有一条 通道(85), 所述通道(85)对应到所述一个或多个用户侧端口, 所述电力服务 器端口 (76)用于将所述一个或多个数据帧通过所述通道(85)发送给电力服 务器( 84 )。
11、 根据权利要求 10所述的接入网终端设备, 其特征在于, 所述数据帧是 以太网格式的数据帧, 所述处理器 (74)具体用于将所述多个电力终端 (82) 的标识信息以及所述多个电力终端 (82) 的数据信息分成多个实体封装到所述 一个或多个数据帧的净荷中, 每个实体包括一个电力终端的标识信息和对应的 数据信息。
12、 根据权利要求 10所述的接入网终端设备, 其特征在于, 所述处理器还 具体用于根据所述多个电力终端 (82) 的标识信息生成多个用于标识电力终端 的 Tag; 将所述多个 Tag和所述多个电力终端的数据信息组成多个实体封装到所 述一个或多个以太网帧的净荷中, 每个实体包含一个 Tag以及对应电力终端的数 据信息。
13、 根据权利要求 10或 12所述的接入网终端设备, 其特征在于,
接收转换器(72)还用于接收电力终端 (82) 的第一帧数据信息。
14、 根据权利要求 13所述的接入网终端设备, 其特征在于,
所述接入网终端设备(700 )还包括一个存储器 (78), 所述处理器 (74) 还用于获取所述第一帧数据信息中携带的电力终端的标识信息以及所述接入网 终端设备上接收所述第一帧数据信息的端口的标识信息, 在所述存储器 (78) 中保存所述第一帧数据信息中携带的电力终端 (82) 的标识信息以及所述接入 网终端设备(700 )上接收所述第一帧数据信息的端口的标识信息的对应关系。
15、 根据权利要求 13所述的接入网终端设备, 其特征在于,
所述处理器 (74)还用于获取接收电力终端 (82) 的数据信息的端口的标 识信息, 利用获取的端口的标识信息查询端口的标识信息与电力终端的标识信 息的对应关系, 从而获取多个电力终端 (82) 的标识信息。
16、 根据权利要求 10-14任意一项所述的接入网终端设备, 其特征在于, 所 述接入网终端设备为光网络终端 ONT、 光网络单元 ONU或者多住户 MxU设备。
17、 一种电力网控制***(800 ), 其特征在于, 包括多个电力终端 (82)、 接入网终端设备 (80) 以及电力服务器(84), 所述多个电力终端 (82)通过所 述接入网终端设备(80)上的一个或多个端口连接所述电力服务器(84);
所述接入网终端设备 (80), 用于通过所述一个或多个端口接收所述多个电 力终端 (82) 的数据信息; 获取所述多个电力终端 (82) 的标识信息, 将所述 多个电力终端 (82) 的标识信息以及所述多个电力终端 (82) 的数据信息封装 到一个或多个数据帧中; 以及将所述一个或多个数据帧通过所述接入网终端设 备和所述电力服务器( 84 )之间的一个通道( 85 )发送给所述电力服务器( 85 )。
18、 根据权利要求 17所述的电力网控制***, 其特征在于, 所述接入网终 端设备(80)具体用于将所述多个电力终端 (82) 的标识信息以及所述多个电 力终端(82) 的数据信息分成多个实体封装到所述一个或多个数据帧的净荷中, 每个实体包括一个电力终端的标识信息和对应的数据信息。
19、 根据权利要求 17所述的电力网控制***, 其特征在于, 所述接入网终 端设备 (80)具体用于:
才艮据所述多个电力终端( 82 )的标识信息生成多个用于标识电力终端的 Tag; 将所述多个 Tag和所述多个电力终端 (82)的数据信息组成多个实体封装到 所述一个或多个数据帧的净荷中, 每个实体包含一个 Tag以及对应电力终端的数 据信息。
20、 根据权利要求 17或 18所述的电力网控制***, 其特征在于, 所述接入 网终端设备 (80)还用于:
接收所述电力服务器 (84) 的下行报文, 所述下行报文的净荷中包含一个 或多个实体, 每个实体包括一个电力终端的标识信息;
将所述下行报文向接入网终端设备 (80)上的多个端口广播。
21、 根据权利要求 17或 19所述的电力网控制***, 其特征在于, 所述接入 网终端设备 (80)还用于:
接收所述电力服务器 (84) 的下行报文, 所述下行报文的净荷中包含一个 或多个实体, 每个实体包含一个用于标识电力终端的 Tag;
根据所述下行报文中的多个 Tag, 将所述下行报文发送给对应的端口。
PCT/CN2012/087845 2012-12-28 2012-12-28 电力网控制***中的数据传输及控制 WO2014101109A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280018043.1A CN104067570A (zh) 2012-12-28 2012-12-28 电力网控制***中的数据传输及控制
PCT/CN2012/087845 WO2014101109A1 (zh) 2012-12-28 2012-12-28 电力网控制***中的数据传输及控制

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087845 WO2014101109A1 (zh) 2012-12-28 2012-12-28 电力网控制***中的数据传输及控制

Publications (1)

Publication Number Publication Date
WO2014101109A1 true WO2014101109A1 (zh) 2014-07-03

Family

ID=51019739

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087845 WO2014101109A1 (zh) 2012-12-28 2012-12-28 电力网控制***中的数据传输及控制

Country Status (2)

Country Link
CN (1) CN104067570A (zh)
WO (1) WO2014101109A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684261A (zh) * 2018-12-28 2019-04-26 西南铝业(集团)有限责任公司 一种数据传输***
WO2022252320A1 (zh) * 2021-05-31 2022-12-08 广东电网有限责任公司珠海供电局 电网监控***前置调度服务的低时延寻址方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060018328A1 (en) * 2004-07-23 2006-01-26 Comcast Cable Holdings, Llc Method and system for powerline networking
CN102625971A (zh) * 2009-08-24 2012-08-01 捷通国际有限公司 无线电力分配和控制***
CN102741898A (zh) * 2012-02-27 2012-10-17 华为终端有限公司 一种电力网关及电力网关的通信方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100440885C (zh) * 2003-07-11 2008-12-03 华为技术有限公司 支持同一物理终端实现多种业务的方法
CN100490451C (zh) * 2004-08-18 2009-05-20 华为技术有限公司 一种终端发送和接收业务数据的方法
CN101599998A (zh) * 2009-07-24 2009-12-09 东北电网有限公司 一种远动数据专用通道传输方法
CN102117537B (zh) * 2009-12-31 2013-11-06 深圳先进技术研究院 抄表用网关和抄表***以及抄表方法
CN102270383A (zh) * 2011-08-10 2011-12-07 李蓉 远程智能抄表***

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060018328A1 (en) * 2004-07-23 2006-01-26 Comcast Cable Holdings, Llc Method and system for powerline networking
CN102625971A (zh) * 2009-08-24 2012-08-01 捷通国际有限公司 无线电力分配和控制***
CN102741898A (zh) * 2012-02-27 2012-10-17 华为终端有限公司 一种电力网关及电力网关的通信方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684261A (zh) * 2018-12-28 2019-04-26 西南铝业(集团)有限责任公司 一种数据传输***
WO2022252320A1 (zh) * 2021-05-31 2022-12-08 广东电网有限责任公司珠海供电局 电网监控***前置调度服务的低时延寻址方法

Also Published As

Publication number Publication date
CN104067570A (zh) 2014-09-24

Similar Documents

Publication Publication Date Title
Sauter et al. End-to-end communication architecture for smart grids
CN109347861B (zh) 一种实时动态监测***通信方法
CN103415001A (zh) 报文转发装置、***及方法
CN104125518A (zh) 一种利用无源光网络实现变电站内数据报文传输的方法
CN106302166B (zh) 一种数据传输方法和装置
CN113055296B (zh) 一种数据处理方法、装置、***以及终端设备
CN106911362A (zh) 基于高性能载波控制技术的三相表宽带载波通信模块
WO2007062606A1 (fr) Procede et systeme d'interconnexion du reseau d'acces sans fil a large bande avec le reseau a large bande d'acces optique
CN106301838B (zh) 一种基于snmp的传输网统一网络管理***
US8933816B2 (en) Systems and methods for communication with a smart power meter over optical fiber
CN106506306B (zh) 一种数据报文传输的方法和装置
WO2014101109A1 (zh) 电力网控制***中的数据传输及控制
CN107517210B (zh) 一种多接口协议自适应转换的配电网无线通信装置
CN202713353U (zh) 一种分组传送网设备
CN106301839A (zh) 一种面向传输网的统一网络管理接口适配器
CN109120063A (zh) 一种即插即用传感器监测方法及其***和采集单元
CN116633988A (zh) 一种多通信信道采控分离网关***
CN116600330A (zh) 一种基于netconf协议的hub分级管理拓扑的方法和装置
CN216699614U (zh) 基于ip化无线通讯的配变分接头温度控制装置
CN103138829A (zh) 一种用于电力远程抄表用的光节点
CN110266577A (zh) 一种隧道建立方法和视联网***
CN106789172B (zh) 一种配电网网络通信***
CN115360677A (zh) 一种配电网差动保护***及配电网
CN106961290A (zh) 基于高性能载波控制技术的i型集中器宽带载波通信模块
CN108882255B (zh) 一种承载家用lte室分***的无源光网络pon***

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12890852

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12890852

Country of ref document: EP

Kind code of ref document: A1