[go: up one dir, main page]

CN114338262B - Energy cabin communication methods, systems and electronic equipment - Google Patents

Energy cabin communication methods, systems and electronic equipment Download PDF

Info

Publication number
CN114338262B
CN114338262B CN202111421192.XA CN202111421192A CN114338262B CN 114338262 B CN114338262 B CN 114338262B CN 202111421192 A CN202111421192 A CN 202111421192A CN 114338262 B CN114338262 B CN 114338262B
Authority
CN
China
Prior art keywords
communication
external connection
energy cabin
connection system
message
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.)
Active
Application number
CN202111421192.XA
Other languages
Chinese (zh)
Other versions
CN114338262A (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.)
State Grid Information and Telecommunication Group Co Ltd
Beijing Guodiantong Network Technology Co Ltd
State Grid Xiongan Fintech Group Co Ltd
Original Assignee
State Grid Information and Telecommunication Group Co Ltd
Beijing Guodiantong Network Technology Co Ltd
State Grid Xiongan Fintech Group 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 State Grid Information and Telecommunication Group Co Ltd, Beijing Guodiantong Network Technology Co Ltd, State Grid Xiongan Fintech Group Co Ltd filed Critical State Grid Information and Telecommunication Group Co Ltd
Priority to CN202111421192.XA priority Critical patent/CN114338262B/en
Publication of CN114338262A publication Critical patent/CN114338262A/en
Application granted granted Critical
Publication of CN114338262B publication Critical patent/CN114338262B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides an energy cabin communication method, an energy cabin communication system and electronic equipment, wherein the method comprises the following steps: the communication bus module receives source communication protocol data sent by a source external connection system; extracting application data from source communication protocol data, and forming a general message according to a custom protocol; embedding the general message into a data segment of target communication protocol data, and forwarding the general message to a target external connection system; the universal message comprises the application data, a start symbol and an end symbol, wherein the start symbol is used for the target external connection system to start reading the universal message, and the end symbol is used for the target external connection system to stop reading the universal message. The energy cabin communication method, the system and the electronic equipment can be flexibly connected into an external connection system, shield communication differentiation of the bottom layer, realize interconnection and intercommunication among different communication protocols, improve the working efficiency of the energy cabin and reduce the operation and maintenance difficulty and cost.

Description

能源舱通信方法、系统及电子设备Energy cabin communication methods, systems and electronic equipment

技术领域Technical field

本申请涉及能源舱通信技术领域,尤其涉及一种能源舱通信方法、系统及电子设备。This application relates to the field of energy cabin communication technology, and in particular to an energy cabin communication method, system and electronic equipment.

背景技术Background technique

能源舱是一种面向园区冷、热、电、气等多种能源需求的轻量化组合式供能设备,能源舱内的控制中心可以对不同的能源舱子系统集中控制提高工作效率,现有的能源舱子系统与控制中心之间是点对点独立连接的,各种能源舱子系统通信接口形式不同,通信协议也不相同,控制中心难以支持所有通信方式,系统接入需要开发调试,不同通信协议需要互相映射,运行维护难度高;另外这种点对点连接模式也不能实现各能源舱子系统之间的跨网融合,制约了能源舱信息流动。The energy cabin is a lightweight combined energy supply equipment for the park's various energy needs such as cooling, heating, electricity, and gas. The control center in the energy cabin can centrally control different energy cabin subsystems to improve work efficiency. Currently, The energy cabin subsystem and the control center are independently connected point-to-point. The communication interface forms of various energy cabin subsystems are different, and the communication protocols are also different. It is difficult for the control center to support all communication methods. System access requires development and debugging. Different communications The protocols need to be mapped to each other, making operation and maintenance difficult; in addition, this point-to-point connection mode cannot achieve cross-network integration between energy cabin subsystems, restricting the flow of energy cabin information.

发明内容Contents of the invention

有鉴于此,本申请的目的在于提出一种能源舱通信方法、系统及电子设备用以解决上述技术问题。In view of this, the purpose of this application is to propose an energy cabin communication method, system and electronic equipment to solve the above technical problems.

本申请的第一方面,提供了一种能源舱通信方法,应用于能源舱通信系统,所述能源舱通信系统包括:通信总线模块和并联到所述通信总线模块的多个外连系统;所述能源舱通信方法包括:所述通信总线模块接收源外连系统发出的源通信协议数据;从源通信协议数据中提取应用数据,按照自定义协议形成通用报文;将所述通用报文嵌入到目标通信协议数据的数据段中,并转发至目标外连系统;其中,所述通用报文包括所述应用数据、起始符和结束符,所述起始符用于所述目标外连系统开始读取所述通用报文,所述结束符用于所述目标外连系统停止读取所述通用报文。The first aspect of this application provides an energy cabin communication method, which is applied to an energy cabin communication system. The energy cabin communication system includes: a communication bus module and multiple external connection systems connected in parallel to the communication bus module; The energy cabin communication method includes: the communication bus module receives source communication protocol data sent by the source external connection system; extracts application data from the source communication protocol data and forms a universal message according to a custom protocol; and embeds the universal message into the data segment of the target communication protocol data and forwarded to the target external connection system; wherein the general message includes the application data, a start symbol and an end symbol, and the start symbol is used for the target external connection The system starts to read the general message, and the terminator is used for the target external connection system to stop reading the general message.

进一步地,嵌有所述通用报文的所述数据段长度小于最大限制长度。Further, the length of the data segment embedded in the general message is less than the maximum limit length.

进一步地,所述通用报文还包括长度域、控制域、源地址和目标地址,所述控制域用于标识所述源通信协议的类型,所述长度域用于统计所述应用数据的长度。Further, the general message also includes a length field, a control field, a source address and a destination address. The control field is used to identify the type of the source communication protocol. The length field is used to count the length of the application data. .

进一步地,所述能源舱通信方法还包括:根据每个所述外连系统的地址动态建立路由表。Further, the energy cabin communication method also includes: dynamically establishing a routing table according to the address of each external connection system.

进一步地,所述外连系统包括控制中心,所述路由表储存在所述控制中心。Further, the external connection system includes a control center, and the routing table is stored in the control center.

进一步地,所述能源舱通信方法还包括:对所述外连系统进行描述建立相应的虚拟数字模型。Further, the energy cabin communication method also includes: describing the external connection system and establishing a corresponding virtual digital model.

本申请的第二方面,提供了一种能源舱通信系统,包括通信总线模块和并联到所述通信总线模块的多个外连系统;其中,所述通信总线模块被配置为接收外连系统发出的源通信协议数据;从源通信协议数据中提取应用数据,按照自定义协议形成通用报文;将所述通用报文嵌入到目标通信协议数据的数据段中,并转发至目标外连系统;其中,所述通用报文包括所述应用数据、起始符和结束符,所述起始符用于所述目标外连系统开始读取所述通用报文,所述结束符用于所述目标外连系统停止读取所述通用报文;所述外连系统被配置为发出所述源通信协议数据和接收嵌有所述通用报文的目标通信协议数据。A second aspect of the application provides an energy cabin communication system, including a communication bus module and multiple external connection systems connected in parallel to the communication bus module; wherein the communication bus module is configured to receive signals from the external connection system. source communication protocol data; extract application data from the source communication protocol data, form a universal message according to the custom protocol; embed the universal message into the data segment of the target communication protocol data, and forward it to the target external connection system; Wherein, the general message includes the application data, a start character and an end character, the start character is used for the target external connection system to start reading the general message, and the end character is used for the The target external connection system stops reading the universal message; the external connection system is configured to send the source communication protocol data and receive the target communication protocol data embedded in the universal message.

进一步地,所述外连系统包括第一能源舱子系统和控制中心,所述第一能源舱子系统包括并离网控制系统、风力发电控制系统、光伏发电控制系统、汽车充放电控制系统、储能控制系统、主要负荷控制系统、蓄冷蓄热控制系统和环境检测控制系统。Further, the external connection system includes a first energy cabin subsystem and a control center. The first energy cabin subsystem includes a grid-connected and off-grid control system, a wind power generation control system, a photovoltaic power generation control system, and a vehicle charge and discharge control system. Energy storage control system, main load control system, cold and heat storage control system and environmental detection control system.

进一步地,所述通信总线模块上设有通信接口,所述通信接口包括RS485接口、CAN接口和以太网接口。Further, the communication bus module is provided with a communication interface, and the communication interface includes an RS485 interface, a CAN interface and an Ethernet interface.

本申请的第三方面,提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如上第一方面所述的方法。A third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that when the processor executes the program, the above is implemented The method described in the first aspect.

从上面所述可以看出,本申请提供了一种能源舱通信方法、系统及电子设备,通过将不同外连系统统一接入通信总线模块,通信总线模块进行数据转发,打破传统单一通信方式,实现系统集中通信;通过对源通信协议数据进行提取,按照自定义协议形成通用报文,通用报文中的应用数据可以被不同外连系统直接利用,不需要进行通信协议间的转化,打破了不同通信协议间信息传输壁垒;该能源舱通信方法、系统及电子设备,可以灵活接入外连系统,屏蔽底层通信差异化,实现了不同通信协议间互联互通,提高了能源舱工作效率,降低运行维护难度和成本。As can be seen from the above, this application provides an energy cabin communication method, system and electronic equipment. By uniformly connecting different external connection systems to the communication bus module, the communication bus module forwards data, breaking the traditional single communication method. Realize centralized communication of the system; by extracting the source communication protocol data, a universal message is formed according to the custom protocol. The application data in the universal message can be directly used by different external connection systems without the need for conversion between communication protocols, breaking the Information transmission barriers between different communication protocols; the energy cabin communication method, system and electronic equipment can be flexibly connected to the external connection system, shield the underlying communication differentiation, realize interconnection and interoperability between different communication protocols, improve the energy cabin work efficiency, and reduce Difficulty and cost of operation and maintenance.

附图说明Description of the drawings

为了更清楚地说明本申请或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in this application or related technologies, the drawings needed to be used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings in the following description are only for the purposes of this application. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.

图1为本申请实施例的一种能源舱通信方法的流程示意图;Figure 1 is a schematic flow chart of an energy cabin communication method according to an embodiment of the present application;

图2为本申请实施例的一种能源舱通信系统的结构示意图;Figure 2 is a schematic structural diagram of an energy cabin communication system according to an embodiment of the present application;

图3为本申请实施例的另一种能源舱通信系统的结构示意图;Figure 3 is a schematic structural diagram of another energy cabin communication system according to the embodiment of the present application;

图4为本申请实施例的电子设备结构示意图。Figure 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本申请进一步详细说明。In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

需要说明的是,除非另外定义,本申请实施例使用的技术术语或者科学术语应当为本申请所属领域内具有一般技能的人士所理解的通常意义。本申请实施例中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of this application should have the usual meanings understood by those with ordinary skills in the field to which this application belongs. The "first", "second" and similar words used in the embodiments of this application do not indicate any order, quantity or importance, but are only used to distinguish different components. Words such as "include" or "comprising" mean that the elements or things appearing before the word include the elements or things listed after the word and their equivalents, without excluding other elements or things. Words such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right", etc. are only used to express relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

能源舱是一种面向园区冷、热、电、气等多种能源需求的轻量化组合式供能设备,主要由舱外分布式发电系统、电动汽车充放电系统、储能系统、变配电系统等子系统的主体设备及舱内对应子系统的管控部分构成,此外能源舱也支持内置储能、储热、电制冷/热、小型燃气发电机等设备,可以实现多种能源柔性互联互补与智慧控制,是区域综合能源灵活供给、高效利用的代表性组合供能设备。The energy cabin is a lightweight combined energy supply equipment for the park's various energy needs such as cooling, heating, electricity, and gas. It is mainly composed of an outdoor distributed power generation system, an electric vehicle charging and discharging system, an energy storage system, and a power transformation and distribution system. It is composed of the main equipment of the system and other subsystems and the management and control parts of the corresponding subsystems in the cabin. In addition, the energy cabin also supports built-in energy storage, heat storage, electric refrigeration/heating, small gas generators and other equipment, which can realize flexible interconnection and complementation of multiple energy sources. With intelligent control, it is a representative combination energy supply equipment for flexible supply and efficient utilization of regional comprehensive energy.

能源舱内的控制中心可以对不同的能源舱子系统集中控制提高工作效率,现有的各种能源舱子系统普遍采用独立设计,与控制中心的通信采用点对点方式,这种辐射式互联结构的通信方式,虽然便于管理,但当前不同能源舱子系统采用的通信方式不统一,控制中心难以支持所有通信方式,导致控制中心需要设计多种通信接口,接入时也伴随大量的调试工作,不同通信协议需要互相映射,运行维护成本高、难度大。The control center in the energy cabin can centrally control different energy cabin subsystems to improve work efficiency. Various existing energy cabin subsystems generally adopt independent designs, and communicate with the control center in a point-to-point manner. This radial interconnection structure Although communication methods are easy to manage, the current communication methods used by different energy cabin subsystems are not unified, and it is difficult for the control center to support all communication methods. As a result, the control center needs to design multiple communication interfaces, and access is also accompanied by a lot of debugging work. Different Communication protocols need to be mapped to each other, which makes operation and maintenance costly and difficult.

例如小型园区综合能源主要采用RS485线或以太网进行系统间信息通信,但RS485线和以太网并无法满足所有分布式能源系统的信息交互,例如汽车充放电系统采用的CAN总线方式通信。For example, small park integrated energy mainly uses RS485 lines or Ethernet for inter-system information communication. However, RS485 lines and Ethernet cannot meet the information interaction of all distributed energy systems, such as the CAN bus communication used by automobile charging and discharging systems.

此外,各类能源分属于不同的能源舱子系统,在网络侧实现数据的互联互通困难,各子系统间通信方式不统一,通信协议没有标准化,导致各个子系统之间的数据无法共享,不能实现各能源舱子系统之间的跨网融合,制约了能源舱信息流动。In addition, various types of energy belong to different energy cabin subsystems. It is difficult to realize data interconnection on the network side. The communication methods between various subsystems are not unified and the communication protocols are not standardized. As a result, data between various subsystems cannot be shared and cannot be shared. Achieving cross-network integration between various energy cabin subsystems restricts the flow of energy cabin information.

在实现本申请的过程中发现,可以考虑采用总线拓扑结构将多种通信方式一体化,各能源舱子系统自适应通信接口集中通信,对于不同的通信协议数据提取通用报文解决通信协议没有标准化的问题,打通链路层实现平行通信。In the process of implementing this application, it was found that bus topology can be considered to integrate multiple communication methods, and each energy cabin subsystem adaptive communication interface centralized communication. There is no standardization of communication protocols for different communication protocols to extract common messages. To solve the problem, open up the link layer to achieve parallel communication.

以下,通过具体的实施例并结合图1-4来详细说明本申请的技术方案。Below, the technical solution of the present application will be described in detail through specific embodiments and in conjunction with Figures 1-4.

本申请的一些实施例中提供了一种能源舱通信方法,如图1所示,应用于能源舱通信系统,所述能源舱通信系统包括:通信总线模块和并联到所述通信总线模块的多个外连系统;所述能源舱通信方法包括以下步骤:Some embodiments of the present application provide an energy cabin communication method, as shown in Figure 1, applied to an energy cabin communication system. The energy cabin communication system includes: a communication bus module and multiple devices connected in parallel to the communication bus module. An external connection system; the energy cabin communication method includes the following steps:

S1、所述通信总线模块接收源外连系统发出的源通信协议数据。S1. The communication bus module receives the source communication protocol data sent by the source external connection system.

外连系统包括能源舱的控制中心和第一能源舱子系统,源外连系统发出数据信息,经由通信总线模块转发至目标外连系统,例如由第一能源舱子系统向控制中心传送数据信息、由控制中心向第一能源舱子系统传送数据信息或者第一能源舱子系统之间传送数据信息。The external connection system includes the control center of the energy cabin and the first energy cabin subsystem. The source external connection system sends data information and forwards it to the target external connection system through the communication bus module. For example, the first energy cabin subsystem transmits data information to the control center. , the control center transmits data information to the first energy cabin subsystem or transmits data information between the first energy cabin subsystems.

S2、从源通信协议数据中提取应用数据,按照自定义协议形成通用报文。S2. Extract application data from the source communication protocol data and form a general message according to the custom protocol.

对不同的外连系统,通信协议可能不同,可以从源通信协议数据中提取出有效信息,有效信息即所述应用数据,再将应用数据按照自定义协议形成不同通信协议都可以识别利用的通用报文,通过形成通用报文保证了不同通信协议之间的平行通信。For different external connection systems, the communication protocols may be different. Valid information can be extracted from the source communication protocol data. The valid information is the application data, and then the application data is formed according to the custom protocol to form a universal system that can be identified and utilized by different communication protocols. Messages ensure parallel communication between different communication protocols by forming universal messages.

自定义协议即预设格式,结构如表1所示,形成的通用报文包括起始符、长度域、控制域、源地址、目标地址、应用数据和结束符。The custom protocol is a preset format, and the structure is shown in Table 1. The formed universal message includes a start symbol, length field, control field, source address, destination address, application data and terminator.

表1 自定义协议结构表Table 1 Customized protocol structure table

起始符的长度为1个字节,默认设置为01010101,起始符用于目标外连系统开始读取通用报文。The length of the start character is 1 byte, and the default setting is 01010101. The start character is used by the target external system to start reading general messages.

长度域的长度为2个字节,用于统计应用数据的长度。The length field is 2 bytes and is used to count the length of application data.

应用数据是源通信协议数据中需要传输的有效信息,长度为可变长度。Application data is the valid information that needs to be transmitted in the source communication protocol data, and the length is variable.

结束符的长度为1个字节,默认设置为10101011,结束符用于目标外连系统停止读取通用报文。The length of the terminator is 1 byte, and the default setting is 10101011. The terminator is used by the target external connection system to stop reading general messages.

控制域用于标识所述源通信协议的类型,长度为2个字节,控制域结构如表2所示。The control field is used to identify the type of the source communication protocol. The length is 2 bytes. The structure of the control field is shown in Table 2.

表2 控制域结构表Table 2 Control domain structure table

在一些实施例中,通用报文还可以包括附加信息,用于标识应用数据流转过程,所述附加信息结构如表3所示。In some embodiments, the general message may also include additional information used to identify the application data transfer process. The structure of the additional information is shown in Table 3.

表3附件信息结构表Table 3 Attachment information structure table

S3、将所述通用报文嵌入到目标通信协议数据的数据段中,并转发至目标外连系统。S3. Embed the general message into the data segment of the target communication protocol data, and forward it to the target external connection system.

将通用报文嵌入到目标通信协议数据中,不会对底层目标通信协议造成破坏,目标通信协议数据作为外层包裹通用报文转发给目标外连系统,可以被目标外连系统接收。Embedding the universal message into the target communication protocol data will not cause damage to the underlying target communication protocol. The target communication protocol data is forwarded to the target external connection system as an outer package universal message and can be received by the target external connection system.

嵌有所述通用报文的所述数据段长度小于数据段的最大限制长度,避免数据传输失败。The length of the data segment embedded in the general message is less than the maximum limit length of the data segment to avoid data transmission failure.

目标外连系统识别起始符后进行通用报文读取,可以直接利用通用报文中的应用数据,不需要再进行通信协议的转换,完成不同外连系统间的数据传递。After the target external connection system recognizes the start character and reads the universal message, the application data in the universal message can be directly used without the need for conversion of communication protocols to complete data transfer between different external connection systems.

该能源舱通信方法通过将不同外连系统统一接入通信总线模块,通信总线模块进行数据转发,打破传统单一通信方式,实现系统集中通信;通过对源通信协议数据进行提取,按照自定义协议形成通用报文,通用报文中的传输信息可以被不同外连系统直接利用,不需要进行通信协议间的转化,打破了不同通信协议间信息传输壁垒;因为底层通信协议、接口差别很大,通过该能源舱通信方法,可以屏蔽底层通信的差异化,外连系统连接通信总线模块可以即插即用,更加灵活,不需要再进行调试和协议转换,实现了不同通信协议间互联互通,提高了能源舱工作效率,降低运行维护难度和成本。This energy cabin communication method breaks the traditional single communication method by uniformly connecting different external systems to the communication bus module, and the communication bus module forwards data, breaking the traditional single communication method and realizing centralized communication of the system; by extracting the source communication protocol data, it is formed according to the custom protocol Universal messages. The transmission information in universal messages can be directly used by different external systems without the need for conversion between communication protocols, breaking the information transmission barriers between different communication protocols; because the underlying communication protocols and interfaces are very different, through This energy cabin communication method can shield the differentiation of underlying communications. The external system connection communication bus module can be plug-and-play, more flexible, and does not require debugging and protocol conversion. It realizes interconnection and interoperability between different communication protocols and improves efficiency. The energy cabin works more efficiently and reduces the difficulty and cost of operation and maintenance.

S4、根据每个所述外连系统的地址动态建立路由表。S4. Dynamically establish a routing table according to the address of each externally connected system.

路由表储存在所述控制中心,通过比对路由表和通用协议中的源地址,可以明确应用数据的来源,因为外连系统与通信总线模块连接的位置并不是固定的,所以需要动态建立路由表,而第一能源舱子系统可以读取控制中心的路由表,获得其他外连系统的地址。The routing table is stored in the control center. By comparing the routing table with the source address in the general protocol, the source of the application data can be clarified. Because the connection location between the external system and the communication bus module is not fixed, routing needs to be established dynamically. table, and the first energy cabin subsystem can read the routing table of the control center and obtain the addresses of other external systems.

在一些实施例中,能源舱通信系统还包括和控制中心无线连接的第二能源舱子系统,无线连接方式包括Wi-Fi通信、ZigBee通信、LoRa通信、蓝牙通信、4G通信和5G通信中的一种或者多种。In some embodiments, the energy cabin communication system also includes a second energy cabin subsystem that is wirelessly connected to the control center. The wireless connection method includes Wi-Fi communication, ZigBee communication, LoRa communication, Bluetooth communication, 4G communication and 5G communication. One or more.

路由表中也包含第二能源舱子系统的地址,当第二能源舱子系统与接入通信总线模块的第一能源舱子系统之间相互传输信息时,需要读取路由表获取目标地址,以控制中心作为通信节点,将源通信协议在控制中心进行协议转换并转发到目标地址,实现信息传递,保障各外连系统在通信方面的高覆盖率和可靠性。The routing table also contains the address of the second energy cabin subsystem. When the second energy cabin subsystem and the first energy cabin subsystem connected to the communication bus module transmit information to each other, the routing table needs to be read to obtain the target address. With the control center as the communication node, the source communication protocol is converted in the control center and forwarded to the target address to realize information transmission and ensure high communication coverage and reliability of each external connection system.

S5、对所述外连系统进行描述建立相应的虚拟数字模型。S5. Describe the external connection system and establish a corresponding virtual digital model.

采用“数字孪生”技术,在控制中心对各个能源舱子系统进行代理,所述虚拟数字模型与所述外连系统的状态保持一致,通过接收来自能源舱子系统的应用数据而实时演化,形成标准化、模块化、智能化的集成模型,实现实时监控各能源舱子系统的能源流和信息流流向。Using "digital twin" technology, each energy cabin subsystem is represented in the control center. The virtual digital model is consistent with the state of the external system and evolves in real time by receiving application data from the energy cabin subsystem to form The standardized, modular and intelligent integrated model enables real-time monitoring of the energy flow and information flow of each energy cabin subsystem.

步骤S1至S4是在通信层解决不同通信协议间信息传输的问题,但有些能源舱子系统的通信协议是不可更改的,步骤S5通过在应用层建立虚拟数字模型,在控制中心上可以将不可更改协议的和可更改协议的能源舱子系统显示为统一的抽象协议数据;当第一能源舱子系统向不可更改协议的第三能源舱子系统传输信息时,需要先孪生出抽象协议数据,在通过控制中心配置转换成第三能源舱子系统可接收的通信协议,实现信息传递。Steps S1 to S4 are to solve the problem of information transmission between different communication protocols at the communication layer. However, the communication protocols of some energy cabin subsystems cannot be changed. Step S5 establishes a virtual digital model at the application layer, and the unchangeable communication protocols can be transferred to the control center on the control center. The energy cabin subsystems that change the protocol and the protocol that can be changed are displayed as unified abstract protocol data; when the first energy cabin subsystem transmits information to the third energy cabin subsystem that cannot change the protocol, the abstract protocol data needs to be twinned first, After being configured by the control center, it is converted into a communication protocol that can be received by the third energy cabin subsystem to realize information transmission.

该能源舱通信方法,打破不同通信协议间信息传输壁垒,实现各外连系统间跨网融合,互联互通,实现了不同通信方式之间信息共享,提高了能源舱工作效率,降低运行维护难度和成本。This energy cabin communication method breaks the information transmission barriers between different communication protocols, realizes cross-network integration and interconnection between external systems, realizes information sharing between different communication methods, improves the efficiency of the energy cabin, and reduces the difficulty and difficulty of operation and maintenance. cost.

需要说明的是,本实施例的方法可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本申请实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成所述的方法。It should be noted that the method in this embodiment can be applied in a distributed scenario and is completed by multiple devices cooperating with each other. In this distributed scenario, one of the multiple devices can only execute one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete all the steps. method described.

需要说明的是,上述对本申请的一些实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于上述实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。It should be noted that some embodiments of the present application have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the above-described embodiments and still achieve the desired results. Additionally, the processes depicted in the figures do not necessarily require the specific order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain implementations.

基于同一发明构思,与上述任意实施例方法相对应的,本申请还提供了一种能源舱通信系统,如图2所示,包括通信总线模块和并联到所述通信总线模块的多个外连系统;其中,所述通信总线模块被配置为接收外连系统发出的源通信协议数据;从源通信协议数据中提取应用数据,按照自定义协议形成通用报文;将所述通用报文嵌入到目标通信协议数据的数据段中,并转发至目标外连系统;其中,所述通用报文包括所述应用数据、起始符和结束符,所述起始符用于所述目标外连系统开始读取所述通用报文,所述结束符用于所述目标外连系统停止读取所述通用报文;所述外连系统被配置为发出所述源通信协议数据和接收嵌有所述通用报文的目标通信协议数据。Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides an energy cabin communication system, as shown in Figure 2, including a communication bus module and multiple external connections connected in parallel to the communication bus module. System; wherein, the communication bus module is configured to receive source communication protocol data sent by the external system; extract application data from the source communication protocol data, and form a universal message according to a custom protocol; embed the universal message into in the data segment of the target communication protocol data and forwarded to the target external connection system; wherein the general message includes the application data, a start symbol and an end symbol, and the start symbol is used for the target external connection system Start reading the general message, and the terminator is used by the target external connection system to stop reading the general message; the external connection system is configured to send out the source communication protocol data and receive embedded data. Describes the target communication protocol data of the general message.

通过将不同外连系统统一接入通信总线模块,打破传统单一通信方式,实现系统集中平行通信,不同外连系统自适应通信接口,提高传递效率;也解决了能源舱现场连线复杂、工作效率低、占地面积大的问题;设置通信总线模块还可以保证对新增设备系统、新增接口类型接入的适配性,适应各种通信方式,降低运行维护成本,支持不同设备系统灵活组合、协同运行。By uniformly connecting different external connection systems to the communication bus module, the traditional single communication method is broken, and the centralized parallel communication of the system is realized. Different external connection systems adapt the communication interface to improve the transmission efficiency; it also solves the complex on-site connection of the energy cabin and the work efficiency. Low cost and large floor space; setting up a communication bus module can also ensure the adaptability to new equipment systems and new interface types, adapt to various communication methods, reduce operation and maintenance costs, and support flexible combination of different equipment systems , collaborative operation.

为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本申请时可以把各模块的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various modules and described separately. Of course, when implementing this application, the functions of each module can be implemented in the same or multiple software and/or hardware.

上述实施例的装置用于实现前述任一实施例中相应的能源舱通信系统,并且具有相应的方法实施例的有益效果,在此不再赘述。The devices of the above embodiments are used to implement the corresponding energy cabin communication system in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be described again here.

在一些实施例中,如图3所示,所述外连系统包括第一能源舱子系统和控制中心,所述第一能源舱子系统包括并离网控制系统、风力发电控制系统、光伏发电控制系统、汽车充放电控制系统、储能控制系统、主要负荷控制系统、蓄冷蓄热控制系统和环境检测控制系统。In some embodiments, as shown in Figure 3, the external connection system includes a first energy cabin subsystem and a control center. The first energy cabin subsystem includes a grid-connection and off-grid control system, a wind power generation control system, and a photovoltaic power generation system. Control system, vehicle charge and discharge control system, energy storage control system, main load control system, cold storage and heat storage control system and environmental detection control system.

传统的点对点通信只能实现控制中心和能源舱子系统间交互传递信息,例如能源舱子系统向控制中心发出能源监测信息,控制中心可以向能源舱子系统发出控制指令,如果不同能源舱子系统间需要传递信息,需要经过控制中心转发。Traditional point-to-point communication can only realize the interactive transmission of information between the control center and the energy cabin subsystem. For example, the energy cabin subsystem sends energy monitoring information to the control center, and the control center can issue control instructions to the energy cabin subsystem. If different energy cabin subsystems Information needs to be transmitted between channels and needs to be forwarded through the control center.

通过设置通信总线模块和自定义协议,各个第一能源舱子系统之间可以直接交互传递信息,例如风力发电系统向光伏发电系统传输第一电能信息,光伏发电系统向风力发电系统传输第二电能信息,支持风力发电和光伏发电的协同运行,总体实现外连系统间互联互通。By setting up a communication bus module and a custom protocol, each first energy cabin subsystem can directly transmit information interactively. For example, the wind power generation system transmits the first electric energy information to the photovoltaic power generation system, and the photovoltaic power generation system transmits the second electric energy to the wind power generation system. information, supporting the coordinated operation of wind power generation and photovoltaic power generation, and overall realizing interconnection between external systems.

并离网控制系统是通过并离网控制器利用分布式控制技术对接入能源舱的各分布式电源进行运行模式的统一控制,保持能源舱能源输出一致性。The grid-connected and off-grid control system uses distributed control technology to uniformly control the operating modes of each distributed power supply connected to the energy cabin through the grid-connected and off-grid controller to maintain the consistency of the energy output of the energy cabin.

风力发电控制系统与能源舱外风力发电机配合使用,能够将风机输出的直流电进行整流、逆变、汇流后接入交流母线。The wind power generation control system is used in conjunction with the energy external wind turbine to rectify, invert and merge the DC power output from the wind turbine and then connect it to the AC bus.

光伏发电控制系统可以控制光伏发电系统启停、电压调节、反孤岛保护、电能质量调整等,是并网系统能量转换的核心部件。The photovoltaic power generation control system can control the start and stop of the photovoltaic power generation system, voltage regulation, anti-islanding protection, power quality adjustment, etc. It is the core component of energy conversion in the grid-connected system.

汽车充放电控制系统是电动汽车与电网能量交互的控制开关,具有支持功率双向流动特性,内置的电力电子模块能够实现电动汽车负荷与配电网两侧之间高频隔离和电压变换。The vehicle charge and discharge control system is a control switch for the energy interaction between electric vehicles and the power grid. It has the characteristics of supporting two-way power flow. The built-in power electronic module can realize high-frequency isolation and voltage conversion between the electric vehicle load and both sides of the distribution network.

储能控制系统内置DC/DC变换模块和直流断路器等,可控制直流微网与储能单元进行大功率电能交互。The energy storage control system has built-in DC/DC conversion modules and DC circuit breakers, which can control the interaction of high-power electric energy between the DC microgrid and the energy storage unit.

主要负荷控制系统能够通过负荷监控或用电管理等手段,一方面实现园区重要负荷无感知不间断供电,另一方面完成削峰填谷需求响应,实现节能降耗、降本增效。The main load control system can use load monitoring or power management to achieve uninterrupted power supply to important loads in the park without being aware of it. On the other hand, it can complete peak load shaving and valley filling demand response to achieve energy saving, consumption reduction, cost reduction and efficiency improvement.

蓄冷蓄热控制系统通过对制冷机组、电锅炉、蓄冷蓄热装置、换热装置、水泵、管路调节阀等设备进行控制,调整蓄冷蓄热与供冷供热的运行工况,利用峰谷电价差,在最经济的情况下给末端供冷或供热。The cold storage and heat storage control system controls the refrigeration units, electric boilers, cold and heat storage devices, heat exchange devices, water pumps, pipeline regulating valves and other equipment to adjust the operating conditions of cold and heat storage and cooling and heating, and take advantage of peaks and valleys. The electricity price difference provides cooling or heating to the terminal under the most economical circumstances.

在一些实施例中,所述通信总线模块设有所述通信总线模块上设有通信接口,通信接口用于与所述第一能源子系统连接,所述通信接口包括RS485接口、CAN接口、Modbus-Bus接口和以太网接口。In some embodiments, the communication bus module is provided with a communication interface. The communication interface is used to connect with the first energy subsystem. The communication interface includes an RS485 interface, a CAN interface, and a Modbus interface. -Bus interface and Ethernet interface.

一般情况下,光伏发电控制系统采用RS485接口与通信总线模块连接,功能上支持读写;风力发电控制系统采用RS485接口与通信总线模块连接,功能上仅支持可读;汽车充放电控制系统采用太网接口或CAN接口与通信总线模块连接,功能上支持读写;储能控制系统采用以太网接口及光纤接口与通信总线模块连接,功能上支持读写;主要负荷控制系统采用以太网接口和RS485接口线与通信总线模块连接,功能上支持读写。Generally speaking, the photovoltaic power generation control system uses the RS485 interface to connect to the communication bus module, which supports reading and writing functions; the wind power generation control system uses the RS485 interface to connect to the communication bus module, and the function only supports readability; the automobile charging and discharging control system uses too The network interface or CAN interface is connected to the communication bus module and functionally supports reading and writing; the energy storage control system uses an Ethernet interface and an optical fiber interface to connect to the communication bus module and functionally supports reading and writing; the main load control system uses an Ethernet interface and RS485 The interface line is connected to the communication bus module and functionally supports reading and writing.

基于同一发明构思,与上述任意实施例方法相对应的,本申请还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上任意一实施例所述的能源舱通信方法。Based on the same inventive concept, corresponding to any of the above embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor When the program is executed, the energy cabin communication method described in any of the above embodiments is implemented.

图4示出了本实施例所提供的一种更为具体的电子设备硬件结构示意图, 该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线 1050。其特征在于处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。Figure 4 shows a more specific hardware structure diagram of an electronic device provided by this embodiment. The device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040 and a bus 1050. It is characterized in that the processor 1010, the memory 1020, the input/output interface 1030 and the communication interface 1040 realize communication connections between each other within the device through the bus 1050.

处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The processor 1010 can be implemented by a general CPU (Central Processing Unit, central processing unit), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute related program to implement the technical solutions provided by the embodiments of this specification.

存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random AccessMemory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store operating systems and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and called and executed by the processor 1010 .

输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其特征在于输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 1030 is used to connect the input/output module to realize information input and output. The input/output/module can be configured in the device as a component (not shown in the figure), or can be externally connected to the device to provide corresponding functions. It is characterized in that input devices can include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices can include displays, speakers, vibrators, indicator lights, etc.

通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其特征在于通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式 (例如移动网络、Wi-Fi、蓝牙等)实现通信。The communication interface 1040 is used to connect a communication module (not shown in the figure) to realize communication interaction between this device and other devices. It is characterized in that the communication module can communicate through wired means (such as USB, network cable, etc.) or wirelessly (such as mobile network, Wi-Fi, Bluetooth, etc.).

总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。Bus 1050 includes a path that carries information between various components of the device (eg, processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).

需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that although the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, during specific implementation, the device may also include necessary components for normal operation. Other components. In addition, those skilled in the art can understand that the above-mentioned device may only include components necessary to implement the embodiments of this specification, and does not necessarily include all components shown in the drawings.

上述实施例的电子设备用于实现前述任一实施例中相应的能源舱通信方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The electronic devices of the above embodiments are used to implement the corresponding energy cabin communication method in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be described again here.

基于同一发明构思,与上述任意实施例方法相对应的,本申请还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上任一实施例所述的能源舱通信方法。Based on the same inventive concept, corresponding to any of the above embodiment methods, the present application also provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions use To make the computer execute the energy cabin communication method as described in any of the above embodiments.

本实施例的计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The computer-readable media in this embodiment include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information may be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium can be used to store information that can be accessed by a computing device.

上述实施例的存储介质存储的计算机指令用于使所述计算机执行如上任一实施例所述的能源舱通信方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the energy cabin communication method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be described again here.

所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本申请的范围(包括权利要求)被限于这些例子;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。Those of ordinary skill in the art should understand that the discussion of any above embodiments is only illustrative, and is not intended to imply that the scope of the present application (including the claims) is limited to these examples; under the spirit of the present application, the above embodiments or Technical features in different embodiments can also be combined, steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

另外,为简化说明和讨论,并且为了不会使本申请实施例难以理解,在所提供的附图中可以示出或可以不示出与集成电路(IC)芯片和其它部件的公知的电源/接地连接。此外,可以以框图的形式示出装置,以便避免使本申请实施例难以理解,并且这也考虑了以下事实,即关于这些框图装置的实施方式的细节是高度取决于将要实施本申请实施例的平台的(即,这些细节应当完全处于本领域技术人员的理解范围内)。在阐述了具体细节(例如,电路)以描述本申请的示例性实施例的情况下,对本领域技术人员来说显而易见的是,可以在没有这些具体细节的情况下或者这些具体细节有变化的情况下实施本申请实施例。因此,这些描述应被认为是说明性的而不是限制性的。Additionally, to simplify illustration and discussion, and so as not to obscure the embodiments of the present application, well-known power supplies/components with integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Ground connection. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the embodiments of the present application, and this also takes into account the fact that details regarding the implementation of these block diagram devices are highly dependent on the implementation of the embodiments of the present application. platform (i.e., these details should be well within the understanding of those skilled in the art). Where specific details (eg, circuitry) are set forth to describe the exemplary embodiments of the present application, it will be apparent to one skilled in the art that construction may be accomplished without these specific details or with changes in these specific details. The embodiments of this application are implemented below. Accordingly, these descriptions should be considered illustrative rather than restrictive.

尽管已经结合了本申请的具体实施例对本申请进行了描述,但是根据前面的描述,这些实施例的很多替换、修改和变型对本领域普通技术人员来说将是显而易见的。例如,其它存储器架构(例如,动态RAM(DRAM))可以使用所讨论的实施例。Although the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications and variations of these embodiments will be apparent to those of ordinary skill in the art from the foregoing description. For example, other memory architectures (eg, dynamic RAM (DRAM)) may use the discussed embodiments.

本申请实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本申请实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本申请的保护范围之内。The present embodiments are intended to embrace all such alternatives, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of this application shall be included in the protection scope of this application.

Claims (8)

1.一种能源舱通信方法,其特征在于,应用于能源舱通信系统,所述能源舱通信系统包括:通信总线模块和并联到所述通信总线模块的多个外连系统;所述能源舱通信方法包括:1. An energy cabin communication method, characterized in that it is applied to an energy cabin communication system. The energy cabin communication system includes: a communication bus module and multiple external connection systems connected in parallel to the communication bus module; the energy cabin Communication methods include: 所述通信总线模块接收源外连系统发出的源通信协议数据;The communication bus module receives the source communication protocol data sent by the source external connection system; 从源通信协议数据中提取应用数据,按照自定义协议形成通用报文;Extract application data from source communication protocol data and form general messages according to custom protocols; 将所述通用报文嵌入到目标通信协议数据的数据段中,并转发至目标外连系统;Embed the general message into the data segment of the target communication protocol data and forward it to the target external connection system; 其中,所述通用报文包括所述应用数据、起始符和结束符,所述起始符用于所述目标外连系统开始读取所述通用报文,所述结束符用于所述目标外连系统停止读取所述通用报文;嵌有所述通用报文的所述数据段长度小于最大限制长度;所述通用报文还包括长度域、控制域、源地址和目标地址,所述控制域用于标识所述源通信协议的类型,所述长度域用于统计所述应用数据的长度;所述通用报文还包括附加信息,所述附加信息包括附加信息数量、中间源地址、中间目标地址,用于标识所述应用数据的流转过程。Wherein, the general message includes the application data, a start character and an end character, the start character is used for the target external connection system to start reading the general message, and the end character is used for the The target external connection system stops reading the universal message; the length of the data segment embedded in the universal message is less than the maximum limit length; the universal message also includes a length field, a control field, a source address and a destination address, The control field is used to identify the type of the source communication protocol, and the length field is used to count the length of the application data; the general message also includes additional information, and the additional information includes the number of additional information, intermediate sources Address and intermediate target address are used to identify the flow process of the application data. 2.根据权利要求1所述的方法,其特征在于,还包括:根据每个所述外连系统的地址动态建立路由表。2. The method according to claim 1, further comprising: dynamically establishing a routing table according to the address of each externally connected system. 3.根据权利要求2所述的方法,其特征在于,所述外连系统包括控制中心,所述路由表储存在所述控制中心。3. The method according to claim 2, wherein the external connection system includes a control center, and the routing table is stored in the control center. 4.根据权利要求1所述的方法,其特征在于,还包括:对所述外连系统进行描述建立相应的虚拟数字模型。4. The method according to claim 1, further comprising: describing the external connection system and establishing a corresponding virtual digital model. 5.一种能源舱通信系统,其特征在于,包括:通信总线模块和并联到所述通信总线模块的多个外连系统;5. An energy cabin communication system, characterized by comprising: a communication bus module and multiple external connection systems connected in parallel to the communication bus module; 其中,所述通信总线模块被配置为接收外连系统发出的源通信协议数据;从源通信协议数据中提取应用数据,按照自定义协议形成通用报文;将所述通用报文嵌入到目标通信协议数据的数据段中,并转发至目标外连系统;其中,所述通用报文包括所述应用数据、起始符和结束符,所述起始符用于所述目标外连系统开始读取所述通用报文,所述结束符用于所述目标外连系统停止读取所述通用报文;嵌有所述通用报文的所述数据段长度小于最大限制长度;所述通用报文还包括长度域、控制域、源地址和目标地址,所述控制域用于标识所述源通信协议的类型,所述长度域用于统计所述应用数据的长度;所述通用报文还包括附加信息,所述附加信息包括附加信息数量、中间源地址、中间目标地址,用于标识所述应用数据的流转过程;Wherein, the communication bus module is configured to receive source communication protocol data sent by the external connection system; extract application data from the source communication protocol data and form a universal message according to a custom protocol; embed the universal message into the target communication in the data segment of the protocol data and forwarded to the target external connection system; wherein the general message includes the application data, a start symbol and an end symbol, and the start symbol is used for the target external connection system to start reading Get the universal message, and the terminator is used for the target external connection system to stop reading the universal message; the length of the data segment embedded in the universal message is less than the maximum limit length; the universal message The message also includes a length field, a control field, a source address and a destination address. The control field is used to identify the type of the source communication protocol. The length field is used to count the length of the application data; the general message also Include additional information, the additional information including the amount of additional information, an intermediate source address, and an intermediate target address, used to identify the flow process of the application data; 所述外连系统被配置为发出所述源通信协议数据和接收嵌有所述通用报文的目标通信协议数据。The external connection system is configured to send out the source communication protocol data and receive target communication protocol data embedded in the universal message. 6.根据权利要求5所述的系统,其特征在于,所述外连系统包括第一能源舱子系统和控制中心,所述第一能源舱子系统包括并离网控制系统、风力发电控制系统、光伏发电控制系统、汽车充放电控制系统、储能控制系统、主要负荷控制系统、蓄冷蓄热控制系统和环境检测控制系统。6. The system according to claim 5, characterized in that the external connection system includes a first energy cabin subsystem and a control center, and the first energy cabin subsystem includes a grid-connected and off-grid control system and a wind power generation control system. , Photovoltaic power generation control system, automobile charge and discharge control system, energy storage control system, main load control system, cold and heat storage control system and environmental detection control system. 7.根据权利要求5所述的系统,其特征在于,所述通信总线模块上设有通信接口,所述通信接口包括RS485接口、CAN接口和以太网接口。7. The system according to claim 5, characterized in that the communication bus module is provided with a communication interface, and the communication interface includes an RS485 interface, a CAN interface and an Ethernet interface. 8.一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至4任意一项所述的方法。8. An electronic device, including a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that when the processor executes the program, any one of claims 1 to 4 is implemented. method described in the item.
CN202111421192.XA 2021-11-26 2021-11-26 Energy cabin communication methods, systems and electronic equipment Active CN114338262B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111421192.XA CN114338262B (en) 2021-11-26 2021-11-26 Energy cabin communication methods, systems and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111421192.XA CN114338262B (en) 2021-11-26 2021-11-26 Energy cabin communication methods, systems and electronic equipment

Publications (2)

Publication Number Publication Date
CN114338262A CN114338262A (en) 2022-04-12
CN114338262B true CN114338262B (en) 2024-02-20

Family

ID=81047670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111421192.XA Active CN114338262B (en) 2021-11-26 2021-11-26 Energy cabin communication methods, systems and electronic equipment

Country Status (1)

Country Link
CN (1) CN114338262B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7116679B1 (en) * 1999-02-23 2006-10-03 Alcatel Multi-service network switch with a generic forwarding interface
CN102480462A (en) * 2010-11-23 2012-05-30 中国电信股份有限公司 Universal protocol adapting method and device
CN106254381A (en) * 2016-09-12 2016-12-21 全球能源互联网研究院 Protocol analysis method, device and comprise the Layer2 switching system of protocol analysis device
CN108833394A (en) * 2018-06-07 2018-11-16 中国人民解放军63889部队 The protocol conversion algorithm of data collection system
CN109788004A (en) * 2017-11-10 2019-05-21 厦门雅迅网络股份有限公司 The analytic method and system of automatic adaptation new-energy automobile national standard custom protocol
WO2019227891A1 (en) * 2018-05-31 2019-12-05 杭州海康威视数字技术股份有限公司 Method and apparatus for implementing communication between nodes, and electronic device
CN111404833A (en) * 2020-02-28 2020-07-10 华为技术有限公司 Data stream type recognition model updating method and related equipment
CN113676444A (en) * 2021-06-23 2021-11-19 重庆斯欧智能科技研究院有限公司 Heterogeneous protocol adaptation method for industrial Internet

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9430429B2 (en) * 2012-05-07 2016-08-30 Bristol, Inc. Methods and apparatus to identify a communication protocol being used in a process control system
KR102360168B1 (en) * 2017-11-01 2022-02-09 현대자동차주식회사 Apparatus and method for converting protocol with type of data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7116679B1 (en) * 1999-02-23 2006-10-03 Alcatel Multi-service network switch with a generic forwarding interface
CN102480462A (en) * 2010-11-23 2012-05-30 中国电信股份有限公司 Universal protocol adapting method and device
CN106254381A (en) * 2016-09-12 2016-12-21 全球能源互联网研究院 Protocol analysis method, device and comprise the Layer2 switching system of protocol analysis device
CN109788004A (en) * 2017-11-10 2019-05-21 厦门雅迅网络股份有限公司 The analytic method and system of automatic adaptation new-energy automobile national standard custom protocol
WO2019227891A1 (en) * 2018-05-31 2019-12-05 杭州海康威视数字技术股份有限公司 Method and apparatus for implementing communication between nodes, and electronic device
CN108833394A (en) * 2018-06-07 2018-11-16 中国人民解放军63889部队 The protocol conversion algorithm of data collection system
CN111404833A (en) * 2020-02-28 2020-07-10 华为技术有限公司 Data stream type recognition model updating method and related equipment
CN113676444A (en) * 2021-06-23 2021-11-19 重庆斯欧智能科技研究院有限公司 Heterogeneous protocol adaptation method for industrial Internet

Also Published As

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

Similar Documents

Publication Publication Date Title
CN103812724A (en) Communication management device for transformer substation online monitoring system
CN111147365A (en) Modularization thing networking gateway equipment
JP6247346B2 (en) PLC system
CN207069581U (en) A kind of electric energy router based on electronic power switch device
CN111327116A (en) A microgrid energy storage control system, method, and intelligent terminal
CN209201095U (en) A kind of accessing wirelessly access device
CN103576633A (en) Method and system for conducting power supply control on intelligent home systems in community micro grid
CN106200389A (en) A kind of intelligent electric energy meter based on embedded system
CN114338262B (en) Energy cabin communication methods, systems and electronic equipment
CN205240980U (en) Small -size elevator remote monitering system and failure alarm system
CN111222304B (en) Graph-model export conversion method based on distribution network automation
CN117728416A (en) Micro-grid group control system, method, computing device, and storage medium
CN207377780U (en) A kind of control system of water pump
CN206099356U (en) A smart grid power control device and system
CN116192598A (en) An energy storage battery management system
CN108281983A (en) Photovoltaic DC-to-AC converter monitoring control system and method based on power management bus
CN115981227A (en) Intrinsic safety explosion-proof remote redundant IO substation device
CN108932827A (en) Data concentrator
CN210201493U (en) New energy power station power generation unit measurement and control device
CN107769211A (en) A kind of twin voltage grade alternating current-direct current mixes distribution system
JP3228982U (en) Power saving power supply system
CN221862498U (en) Fire-storage combined frequency modulation control device
CN207283269U (en) A kind of DC grid communication system
CN207067773U (en) Electric-control system PLC slave station digital quantity output devices in a kind of wind power generating set
CN112510828A (en) Independent module design method for communication between centralized DTU external standby protection device and power distribution master station

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