CN116800788A - Energy storage system data transmission method and device, electronic equipment and storage medium - Google Patents
Energy storage system data transmission method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116800788A CN116800788A CN202310728240.2A CN202310728240A CN116800788A CN 116800788 A CN116800788 A CN 116800788A CN 202310728240 A CN202310728240 A CN 202310728240A CN 116800788 A CN116800788 A CN 116800788A
- Authority
- CN
- China
- Prior art keywords
- transmission
- data
- data transmission
- energy storage
- storage system
- 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.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 667
- 238000004146 energy storage Methods 0.000 title claims abstract description 152
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000004891 communication Methods 0.000 claims description 70
- 230000004044 response Effects 0.000 claims description 51
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 5
- 230000005856 abnormality Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000010248 power generation Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to the technical field of data transmission and discloses a data transmission method, a device, electronic equipment and a storage medium of an energy storage system.
Description
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a method and apparatus for data transmission of an energy storage system, an electronic device, and a storage medium.
Background
The photovoltaic energy storage and charging integrated machine is an integrated charging station integrating photovoltaic energy storage and charging stations, and the photovoltaic energy storage and charging integrated machine comprises a new energy automobile charging station, an energy storage box, a photovoltaic power generation device, an intelligent management system and the like, wherein solar energy is converted into electric energy through the photovoltaic power generation device, the electric quantity is stored in the energy storage box, the electric quantity is supplied to the new energy automobile charging station by the energy storage box to be used through a phototrophic pile, and therefore coordination and support of new energy, energy storage and intelligent charging can be achieved.
In the related art, most of the modes of communication between the optical storage and charging integrated machine and the cloud end are only one in the implementation scene. Under the abnormal communication scene, important information cannot be uploaded or downloaded to the cloud end, so that necessary remote operation on the optical storage and charging integrated machine cannot be performed under the abnormal equipment scene or the abnormal environment scene, and more serious economic and safety loss can be caused. Therefore, the protection technology in the related art is to ensure the stability of the communication link as much as possible in a single communication scenario, but the problem of insufficient data transmission reliability still exists.
Disclosure of Invention
The invention provides a data transmission method, a device, electronic equipment and a storage medium of an energy storage system, which aim to solve the technical problems that the data transmission of an optical storage and charge integrated machine in the related art is ensured to be as stable as possible in a single communication scene, but the reliability of the data transmission is insufficient.
The embodiment of the invention provides a data transmission method of an energy storage system, which comprises the following steps: acquiring data transmission parameters of at least two physical layer data transmission links in data to be transmitted and an energy storage system, wherein the data transmission parameters comprise network transmission response speed, network packet loss rate, network transmission speed and overrun cost, and the communication modes of the at least two physical layer data transmission links are different; calculating the transmission coefficient of each physical layer data transmission link according to the network transmission response rate, the network packet loss rate, the network transmission speed and the overrun cost; prioritizing physical layer data transmission links based on the transmission coefficients; and selecting one or more physical layer data transmission links as target transmission links according to the priority ordering order, and controlling an energy storage system to transmit the data to be transmitted through the target transmission links.
In an embodiment of the present invention, after the energy storage system is controlled to transmit the data to be transmitted through the target transmission link, the method further includes: in the transmission process, acquiring new data transmission parameters of at least two physical layer data transmission links in the energy storage system; re-calculating new transmission coefficients of each physical layer data transmission link, and re-sequencing priorities and selecting new target transmission links; and if the new target transmission link is different from the target transmission link, controlling the energy storage system to switch the new target transmission link to transmit the data to be transmitted.
In an embodiment of the present invention, calculating a transmission coefficient of each physical layer data transmission link according to the network transmission response rate, the network packet loss rate, the network transmission speed and the overrun cost includes: acquiring a preset network transmission response weight, a preset network packet loss weight, a preset network transmission speed weight and a preset cost weight of each physical layer data transmission link; and calculating the transmission coefficient of the physical layer data transmission link according to the network transmission response rate, the preset network transmission response weight, the network transmission packet loss rate, the preset network transmission packet loss weight, the network transmission speed, the preset network transmission speed weight, the overrun cost and the preset cost weight of the physical layer data transmission link to obtain the transmission coefficient of all the physical layer data transmission links.
In an embodiment of the present invention, the transmission coefficient is determined in the following manner:
Kx=(Tx.1*Wx.1+Tx.2*Wx.2+Tx.3*Wx.3+Tx.4*Wx.4)/(Wx.1+Wx.2+Wx.3+Wx.4);
wherein Kx is a transmission coefficient of a physical layer data transmission link x, tx.1 is a network transmission response rate, wx.1 is a preset network transmission response weight, tx.2 is a network packet loss rate, wx.2 is a preset network packet loss weight, tx.3 is a network transmission speed, wx.3 is a preset network transmission speed weight, tx.4 is an overrun cost, and Wx.4 is a preset cost weight.
In an embodiment of the present invention, obtaining a preset network transmission response weight, a preset network packet loss weight, a preset network transmission speed weight, and a preset cost weight of each physical layer data transmission link includes: acquiring the data importance level of the data to be transmitted; and matching preset network transmission response weights, preset network packet loss weights, preset network transmission speed weights and preset cost weights of each physical layer data transmission link corresponding to the data to be transmitted according to the data importance level.
In an embodiment of the present invention, selecting one or more physical layer data transmission links as a target transmission link in order of priority ordering includes: acquiring the data importance level of the data to be transmitted; and if the data importance level is greater than the preset importance level, taking the physical layer data transmission link with the front N of the priority order as a target transmission link, wherein N is greater than or equal to 2.
In an embodiment of the present invention, if the target transmission link is one, controlling the energy storage system to transmit the data to be transmitted through the target transmission link includes: acquiring a data transmission state of the data to be transmitted; if the data transmission state is transmission failure, determining a physical layer data transmission link with a priority ordering sequence of one bit behind the target transmission link as a current transmission link, and controlling an energy storage system to switch from the target transmission link to the current transmission link to transmit the data to be transmitted until a preset stop condition is reached, wherein the preset stop condition comprises at least one of the following conditions, the data to be transmitted is successfully transmitted, and all physical layer data transmission links transmit the data to be transmitted.
In an embodiment of the present invention, after the energy storage system is controlled to transmit the data to be transmitted through the target transmission link, the method further includes: if at least one first data transmission link to be selected exists, in the transmission process, the energy storage system is controlled to sequentially establish communication connection based on at least one data transmission link to be selected according to the cost sequence, wherein the first data transmission link to be selected is a physical layer data transmission link with the overrun cost smaller than the overrun cost of the target transmission link; each time the communication connection is successfully established, acquiring new data transmission parameters of a current transmission link, and determining new transmission coefficients, wherein the current transmission link is a first data transmission link to be selected corresponding to the current communication connection; and if the new transmission coefficient is smaller than the transmission coefficient of the target transmission link, controlling the energy storage system to switch to the current transmission link to continue transmitting the data to be transmitted, and stopping the energy storage system to sequentially establish communication connection with the data transmission link to be selected, which is not yet established with communication connection according to the cost sequence.
In an embodiment of the present invention, after the energy storage system is controlled to transmit the data to be transmitted through the target transmission link, the method further includes: if the overrun cost of the target transmission link is greater than the minimum extremum, controlling the energy storage system to establish communication connection based on a second data transmission link to be selected, wherein the second data transmission link to be selected is the minimum physical layer data transmission link with the overrun cost, and the minimum extremum is the minimum value of the overrun cost of each physical layer data transmission link; and if the communication connection is established successfully, controlling the energy storage system to switch to the second data transmission link to be selected so as to continuously transmit the data to be transmitted.
In an embodiment of the present invention, if the minimum extremum is smaller than a preset minimum value, controlling the energy storage system to establish communication connection based on a second data transmission link to be selected at a first time interval; and if the minimum extreme value is greater than or equal to the preset minimum value, controlling the energy storage system to establish communication connection based on a second data transmission link to be selected at a second time interval, wherein the second time interval is greater than the first time interval.
In an embodiment of the present invention, after the energy storage system is controlled to transmit the data to be transmitted through the target transmission link, the method further includes: if the target transmission link is one, re-acquiring the secondary selection data transmission parameters of the secondary selection data transmission link in the energy storage system in the transmission process, wherein the secondary selection data transmission link is a physical layer data transmission link with priority order one bit behind the target transmission link; and re-calculating the secondary selection transmission coefficient of the secondary selection data transmission link, and if the secondary selection transmission coefficient is smaller than the transmission coefficient of the target transmission link, controlling the energy storage system to switch to the secondary selection data transmission link to continuously transmit the data to be transmitted.
The embodiment of the invention also provides a data transmission device of the energy storage system, which comprises: the system comprises an acquisition module, a data transmission module and a data transmission module, wherein the acquisition module is used for acquiring data to be transmitted and data transmission parameters of at least two physical layer data transmission links in an energy storage system, the data transmission parameters comprise network transmission response speed, network packet loss rate, network transmission speed and overrun cost, and the communication modes of the at least two physical layer data transmission links are different; the determining module is used for calculating the transmission coefficient of each physical layer data transmission link according to the network transmission response speed, the network packet loss rate, the network transmission speed and the overrun expense; the sorting module is used for sorting the priority of the physical layer data transmission links based on the transmission coefficients; and the control module is used for selecting one or more physical layer data transmission links as target transmission links according to the priority ordering order and controlling the energy storage system to transmit the data to be transmitted through the target transmission links.
The embodiment of the invention also provides electronic equipment, which comprises one or more processors; storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement a method as in any of the embodiments above.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method according to any of the embodiments above.
In the scheme realized by the data transmission method, the device, the electronic equipment and the storage medium of the energy storage system, the method collects data transmission parameters of at least two physical layer data transmission links in the energy storage system configured with at least two communication modes, calculates the transmission system, performs priority ordering, selects one or more physical layer data transmission links as target transmission links to transmit data to be transmitted based on the priority ordering, and provides a selection mode of the physical layer data transmission links by configuring multiple communication modes in the energy storage system, so that the stability of the communication links can be further ensured, and the reliability of data transmission is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram of an exemplary system architecture in which embodiments of the present application may be applied;
fig. 2 is a schematic flow chart of a data transmission method of an energy storage system according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a specific data transmission method of an energy storage system according to an embodiment of the present application;
fig. 4 is a schematic flow chart of another specific data transmission method of the energy storage system according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of a data transmission device of an energy storage system according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an electronic device according to an embodiment of the application;
fig. 7 is a schematic diagram of another structure of an electronic device according to an embodiment of the application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that, in the description of the embodiments of the present application, the terms "first," "second," and the like are used for distinguishing between the descriptions and not necessarily for indicating or implying a relative importance, or alternatively, for indicating or implying a sequential order.
The embodiment of the application provides a data transmission method, a device, electronic equipment and a storage medium of an energy storage system, wherein the method and the device are based on the same conception, and because the principle of solving problems by the method and the device is similar, the implementation of the device and the method can be mutually referred, and the repeated parts are not repeated.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a diagram of an exemplary system architecture to which the present application may be applied, and a system architecture to which the data transmission method of an energy storage system provided in an embodiment of the present application may be applied is shown in fig. 1, where the system architecture includes an energy storage device 110, a network 120, and a data receiving end 130. The data receiving end 130 is at least one of a terminal device and a server, where the terminal device may be various electronic devices that have a display screen and support web browsing, such as a smart phone, a tablet computer, a desktop computer, etc., and the server may be a server that provides various services, such as a background server that provides support for a page displayed on the terminal device or a data processing server that provides a data processing function for data uploaded by the optical storage and charging all-in-one machine. The network 120 is used as a medium to provide a communication link between the energy storage device 110 and the data receiving end 130. The network 120 may include one or more connection types of subnetworks (i.e., first subnetwork, second subnetwork … …, nth subnetwork in the figures), such as wired, wireless communication links, or fiber optic cables, etc., wherein the network supports at least 3G/4G/5G, etc., mobile network connections. The energy storage equipment can be an energy storage system such as an optical storage and charging integrated machine, the energy storage equipment comprises a first physical layer data transmission link and a second physical layer data transmission link … … Nth physical layer data transmission link, and the physical layer data transmission links in the energy storage equipment are in one-to-one correspondence with the communication modes of the sub-networks in the network. And a link switching device is also arranged in the energy storage equipment so as to facilitate the switching requirement of the subsequent physical layer data transmission link.
It should be noted that, the method for transmitting data of the energy storage system provided by the embodiment of the application is generally executed by the energy storage system. The energy storage system comprises, but is not limited to, an optical storage and charging integrated machine and the like.
It should be understood that the number of energy storage devices, data receiving ends in fig. 1 is merely illustrative. Any number of energy storage devices, networks, and data receiving ends may be provided, as desired for implementation.
Referring to fig. 2, fig. 2 is a schematic flow chart of a data transmission method of an energy storage system according to an embodiment of the application, which includes the following steps:
step S210, data transmission parameters of at least two physical layer data transmission links in the data to be transmitted and the energy storage system are obtained.
The data transmission parameters comprise network transmission response speed, network packet loss rate, network transmission speed and overrun cost, and the communication modes of at least two physical layer data transmission links are different.
The method can be used in an energy storage system provided with at least two physical layer data transmission links, the communication modes of the at least two physical layer data transmission links in the energy storage system are different, and if the energy storage system is only provided with the two physical layer data transmission links, the communication modes of the two physical layer data transmission links are different, wherein the communication modes include at least two of wire, wireless, 4G and the like. The manner of traffic may also be required to be different for each physical layer data transfer link in the energy storage system.
The data to be transmitted is data generated based on equipment operation instructions, state data and abnormal data in the energy storage system, the data to be transmitted can be split into a plurality of sub-data packets to be transmitted, and the sub-data packets to be transmitted can be transmitted through a physical layer data transmission link respectively. At this time, the energy storage system may monitor the data transmission parameters of the physical layer data transmission link to be selected, and further select one or more of the physical layer data transmission links as a target transmission link, and transmit the data to be transmitted to the cloud (i.e., the data receiving end in fig. 1) through the target transmission link.
The data to be transmitted can also be data which needs to be issued to the energy storage system by the cloud, and similarly, the data to be transmitted can be split into a plurality of sub-data packets to be transmitted, and the sub-data packets to be transmitted can be transmitted respectively through a physical layer data transmission link. At this time, once the energy storage system receives the instruction issued by the data or the energy storage system is in a state of being able to receive the data, the energy storage system may monitor the data transmission parameters of the physical layer data transmission link to be selected therein, so as to select one or more of the physical layer data transmission links as a target transmission link, and transmit the data to be transmitted to the local (i.e., the energy storage device in fig. 1) through the target transmission link.
That is, the data to be transmitted may be data that needs to be sent to the energy storage system, and/or data that needs to be uploaded to the cloud end by the energy storage system.
The overrun fee may be determined by charging criteria corresponding to different physical layer data transmission links, including but not limited to the cost per data transmission unit (Mbyte) and the like. For example, for a mobile network, there may be a certain tariff package, if the current mobile network flow still belongs to the tariff package, the overrun may be marked as 0 or an amount set by a person skilled in the art, but if the current mobile network flow already belongs to the tariff package, the overrun may be determined according to the tariff standard of the tariff outside the mobile network package, and for a wireless network such as WiFi, the overrun may be set as 0 or an amount set by a person skilled in the art.
The network transmission response rate may be determined by replying from the sender request to the receiver to the sender, for example, the sender request may be sent to the receiver (such as the data receiver or the energy storage device in fig. 1) in advance through the sender (such as the energy storage device or the data receiver in fig. 1), and the receiver may feedback a feedback message to the sender based on the received sender request, so as to determine the network transmission response rate according to the time a of the sender request sent by the sender and the receiving time B of the feedback message received by the sender.
For example, the transmitting end (such as the energy storage device or the data receiving end in fig. 1) sends data to be transmitted to the receiving end (such as the data receiving end or the energy storage device in fig. 1) through the transmitting end (such as the energy storage device or the data receiving end in fig. 1), the receiving end feeds back a data receiving feedback message to the transmitting end based on the received data to be transmitted, and further determines the network packet loss rate according to the sending number of the data to be transmitted sent by the transmitting end and the receiving number of the data receiving feedback message received by the transmitting end.
The network transmission response rate, the network packet loss rate, and the network transmission speed may also be collected in a manner known to those skilled in the art.
Step S220, calculating the transmission coefficient of each physical layer data transmission link according to the network transmission response rate, the network packet loss rate, the network transmission speed and the overrun cost.
Because the counting mode of the network transmission response speed, the network transmission packet loss rate, the network transmission speed and the overrun expense in each physical layer data transmission link is realized based on the same counting logic, the data transmission capacity and the data transmission expense of each physical layer data transmission link can be evaluated in the four dimensions. For example, the four parameters may be summed to obtain the transmission system.
In an embodiment, since parameters of different dimensions may affect overall data transmission to different extents, or the current requirement for transmission efficiency is very high, but the requirement for cost is not very strict, a corresponding weight may be set for each parameter to adjust the extent of influence of each factor, and at this time, the transmission coefficient of each physical layer data transmission link is calculated according to the network transmission response rate, the network packet loss rate, the network transmission speed and the overrun cost, including: acquiring a preset network transmission response weight, a preset network packet loss weight, a preset network transmission speed weight and a preset cost weight of each physical layer data transmission link; and calculating the transmission coefficient of the physical layer data transmission link according to the network transmission response rate, the preset network transmission response weight, the network transmission packet loss rate, the preset network transmission packet loss weight, the network transmission speed, the preset network transmission speed weight, the overrun cost and the preset cost weight of the physical layer data transmission link to obtain the transmission coefficient of all the physical layer data transmission links.
In this embodiment, the transmission coefficient is determined in the following manner:
kx= (tx.1 x wx.1+tx.2 x wx.2+tx.3 x wx.3+tx.4 x wx.4)/(wx.1+wx.2+wx.3+wx.4) formula (1);
wherein Kx is a transmission coefficient of a physical layer data transmission link x, tx.1 is a network transmission response rate, wx.1 is a preset network transmission response weight, tx.2 is a network packet loss rate, wx.2 is a preset network packet loss weight, tx.3 is a network transmission speed, wx.3 is a preset network transmission speed weight, tx.4 is an overrun cost, and Wx.4 is a preset cost weight.
In this embodiment, obtaining a preset network transmission response weight, a preset network packet loss weight, a preset network transmission speed weight, and a preset cost weight of each physical layer data transmission link includes: acquiring a data importance level of data to be transmitted; and matching preset network transmission response weights, preset network packet loss weights, preset network transmission speed weights and preset cost weights of each physical layer data transmission link corresponding to the data to be transmitted according to the data importance level. In other words, the weights of the parameters are not constant, and different weight combinations can be configured according to the current importance level of the data to be transmitted, and the data can be selected as required. Therefore, the flexibility of the data transmission method can be further improved, and the requirements of users can be met more.
Step S230, prioritizing the physical layer data transmission links based on the transmission coefficients.
For example, the transmission coefficient size may be used as a priority ranking criterion, where the smaller the transmission coefficient, the higher the priority. Of course, the priority ranking may be ranked by a transmission coefficient and a preset priority of each physical layer data transmission link, and the preset priority may be further ranked based on a sequence of the preset priorities if there are at least two physical layer data transmission links with equal transmission coefficients. If the preset priority is not set, the physical layer data transmission links with the same transmission coefficient can be set to the same priority.
Step S240, selecting one or more physical layer data transmission links as target transmission links according to the order of priority order, and controlling the energy storage system to transmit the data to be transmitted through the target transmission links.
In an embodiment, selecting one or more physical layer data transmission links as the target transmission link in the prioritized order includes: acquiring a data importance level of data to be transmitted; and if the data importance level is greater than the preset importance level, taking the physical layer data transmission link of N before the priority order as a target transmission link, wherein N is greater than or equal to 2. The data importance level of the data to be transmitted may be preset based on the data source (which module generates the data), the data type (alarm data, device status data, device operation instructions, etc.) of the data to be transmitted, and the like. For the data to be transmitted with higher data importance level, a plurality of physical layer data transmission links can be selected for redundant transmission, so that the data to be transmitted can be successfully transmitted, and the network failure fault tolerance rate is increased. The data to be transmitted with the data importance level being greater than the preset importance level comprises, but is not limited to, fire alarm, equipment abnormality alarm, environment abnormality alarm, equipment operation instructions and the like. By adopting different numbers of target transmission links and selection criteria for different data importance levels, important data can be ensured not to be lost.
In an embodiment, after the energy storage system is controlled to transmit the data to be transmitted through the target transmission link, the method further includes: in the transmission process, acquiring new data transmission parameters of at least two physical layer data transmission links in an energy storage system; re-calculating new transmission coefficients of each physical layer data transmission link, and re-sequencing priorities and selecting new target transmission links; and if the new target transmission link is different from the target transmission link, controlling the energy storage system to switch the new target transmission link to transmit the data to be transmitted.
In other words, during a data transmission process of a piece of data to be transmitted, the target transmission link is not unchanged, and the current new target transmission link is determined according to the determination logic of the previous target transmission link again by monitoring the change condition of the data transmission parameter of each physical layer data transmission link in real time during the data transmission process, so that a possible condition is whether all new target transmission links or the previous target transmission links need not to be switched, or the original data transmission mode is maintained, but at least one of the target transmission links may be changed, for example, the original target transmission links are a 4G network and a wired network, and the new target transmission links are the wired network and WiFi, and the original 4G network needs to be replaced by the WiFi at this time, so that the link switching is performed. That is, the original target transmission link is compared with the new target transmission link, different physical layer data transmission links in the original target transmission link are used as the links to be switched, different physical layer data transmission links in the new target transmission link are used as the target switching links, and the target switching links are used for replacing the links to be switched.
In this embodiment, if the data to be transmitted is split into multiple sub-data to be transmitted, the timing of the link switching may be that after the link to be switched completes the transmission of the sub-data to be transmitted currently being transmitted, the target switching link performs the subsequent transmission of the sub-data to be transmitted.
In this embodiment, if there is only one data packet in the data to be transmitted, the transmission degree may be determined according to the transmission degree of the data packet, and the ratio of the size of the transmitted data to the size of the data packet is compared with a preset ratio to evaluate whether a handover link is necessary.
In this example, if there are multiple target transmission links, each target transmission link may transmit data to be transmitted separately, and perform redundant transmission, or a part of the target transmission links may transmit data to be transmitted separately, and another part (at least two) of the target transmission links jointly transmit data to be transmitted separately. For example, the data to be transmitted is split into a data packet a, a data packet B and a data packet C, the target transmission links are a link a, a link B and a link C, based on the preset transmission label of the data to be transmitted, at most two links are required to be completely transmitted, at this time, the link a with the highest priority can be selected to transmit the data packet a, the data packet B and the data packet C, the link B with the highest priority can be selected to transmit the data packet a and the data packet B, and the link C with the lowest priority can be selected to transmit the data packet C. As to how the receiving end performs the packetization after the data unpacking, this can be achieved in a manner known to those skilled in the art.
The number of target transmission links may be preset based on a data tag represented by at least one of a data type, a data source, and a data importance level of data to be transmitted. When there are multiple target transmission links, the data transmission mode of each target transmission link may be preset by a data tag represented by at least one of the data type, the data source and the data importance level of the data to be transmitted.
In this embodiment, if the target transmission link is one, the control energy storage system transmits the data to be transmitted through the target transmission link, including: acquiring a data transmission state of data to be transmitted; if the data transmission state is transmission failure, determining a physical layer data transmission link with a priority ordering sequence of one bit behind a target transmission link as a current transmission link, controlling the energy storage system to switch from the target transmission link to the current transmission link to transmit data to be transmitted until a preset stop condition is reached, wherein the preset stop condition comprises at least one of the following conditions, the data to be transmitted is successfully transmitted, and all physical layer data transmission links transmit the data to be transmitted.
Sometimes, there may be an unknown problem in a certain target transmission link, resulting in failure of transmission of data to be transmitted, where one or more new target transmission links (one or more physical layer data transmission links with priorities ordered after the original target transmission link) may be reselected for replacement, and switching of the transmission links is performed to ensure that the data to be transmitted is transmitted as successfully as possible. If each physical layer data transmission link attempts to transmit data and fails, stopping the process, and feeding back the message of data transmission failure to the preset terminal. Of course, if the new target transmission link determined according to the original target transmission link determination rule and the current new data transmission parameter is changed, the new target transmission link may be directly used as the current transmission link. Otherwise, if the new target transmission link determined according to the original target transmission link determining rule and the current new data transmission parameter is not changed, one or more physical layer data transmission links after the priority ordering can be selected as the current transmission link, and the number of the current transmission links can be consistent or inconsistent with the number of the previous target transmission links.
In an embodiment of the present invention, after the energy storage system is controlled to transmit the data to be transmitted through the target transmission link, the method further includes: if at least one first data transmission link to be selected exists, in the transmission process, the energy storage system is controlled to sequentially establish communication connection based on the at least one data transmission link to be selected according to the cost sequence, wherein the first data transmission link to be selected is a physical layer data transmission link with the overrun cost smaller than that of the target transmission link; each time the communication connection is established successfully, new data transmission parameters of a current transmission link are obtained, new transmission coefficients are determined, and the current transmission link is a first data transmission link to be selected corresponding to the current communication connection; if the new transmission coefficient is smaller than the transmission coefficient of the target transmission link, the energy storage system is controlled to be switched to the current transmission link to continue transmitting the data to be transmitted, and the energy storage system is stopped to sequentially establish communication connection with the data transmission links to be selected, which are not yet established with communication connection according to the cost sequence. That is, the cost of the target transmission link that may be currently selected is not the most economical, for commercial data transmission, the data amount may be relatively large, if the cost is relatively high, at this time, the physical layer data transmission links with the cost lower than the cost of the target transmission link can be found out by combing the cost of the target transmission links, the first data transmission links are ordered according to the cost, then the communication connection is attempted to be established based on the first data transmission links and the communication connection objects such as the cloud end (the communication connection is parallel to the communication connection of the current target transmission link and is not switched at this time), each time the establishment of the communication connection is successful, new data transmission parameters of the first data transmission link at this time are newly acquired once, new transmission coefficients of the first data transmission link at this time are recalculated based on the new data transmission parameters, the new transmission coefficients are compared with the transmission coefficients of the target transmission link, if the new transmission coefficients are smaller than the transmission coefficients of the target transmission link, the first data transmission link is further controlled to be switched to be the preferred data transmission link, and the first data transmission link can be continuously transmitted. This allows the cost of data transmission to be saved as much as possible.
In an embodiment of the present invention, after the energy storage system is controlled to transmit the data to be transmitted through the target transmission link, the method further includes: if the overrun cost of the target transmission link is greater than the minimum extremum, the energy storage system is controlled to establish communication connection based on a second to-be-selected data transmission link, wherein the second to-be-selected data transmission link is the minimum physical layer data transmission link of the overrun cost, and the minimum extremum is the minimum value of the overrun cost of each physical layer data transmission link; if the communication connection is established successfully, the energy storage system is controlled to switch to the second data transmission link to be selected to continue transmitting the data to be transmitted (continue transmitting the partial data which is not transmitted yet). If the overrun cost of the target transmission link is greater than the minimum extremum, it means that the target transmission link is not the link with the lowest cost, at this time, the link with the lower cost is often abnormal, and the connection is not caused, so the energy storage system can be controlled to establish a communication connection (parallel to the communication connection of the current target transmission link and not switched at this time) based on the second candidate data transmission link, and once the connection is successful, the energy storage system is switched to a new communication connection for data transmission, so that the cost is saved as much as possible.
In an embodiment of the present invention, if the minimum extremum is smaller than the preset minimum value, the energy storage system is controlled to establish communication connection based on the second data transmission link to be selected at the first time interval; and if the minimum extreme value is greater than or equal to the preset minimum value, controlling the energy storage system to establish communication connection based on the second data transmission link to be selected at intervals of a second time interval, wherein the second time interval is greater than the first time interval. If the minimum extremum is greater than or equal to the preset minimum value, at this time, all links may need additional cost, so that the switching of the links is relatively less urgent, and the connection attempt can be performed at a longer interval, but if the minimum extremum is less than the preset minimum value, a free or low-cost transmission link exists, and the connection attempt can be performed at a shorter interval, so that the cost of data transmission is reduced as soon as possible.
In an embodiment of the present invention, after the energy storage system is controlled to transmit the data to be transmitted through the target transmission link, the method further includes: if the target transmission link is one, re-acquiring the secondary selection data transmission parameters of the secondary selection data transmission link in the energy storage system in the transmission process, wherein the secondary selection data transmission link is a physical layer data transmission link with priority order one bit behind the target transmission link; and re-calculating the secondary selection transmission coefficient of the secondary selection data transmission link, and if the secondary selection transmission coefficient is smaller than the transmission coefficient of the target transmission link, controlling the energy storage system to switch to the secondary selection data transmission link to continue transmitting the data to be transmitted. In other words, the transmission coefficients of all the physical layer data transmission links do not need to be monitored and recalculated, so that more calculation force is likely to be consumed, whether the transmission coefficients of the physical layer data transmission links ranked at the back have larger change can be only seen, once the transmission coefficients of the physical layer data transmission links are smaller than the originally calculated transmission coefficients of the target transmission links, the physical layer data transmission links can be switched, on one hand, the calculation force is saved, and on the other hand, the possibility that the currently used physical layer data transmission links are optimal is further improved. In order to ensure the stability of the communication link as much as possible, under the communication scene, the physical layer communication link is switched by adopting a plurality of communication modes, thereby ensuring that important information is reported to the cloud in time. Wherein, the important information includes, but is not limited to, fire alarm, equipment abnormality alarm, environment abnormality alarm, equipment operation instruction, etc. Taking an energy storage system as a complete machine device as an example, the complete machine device adopts three networking interconnection modes, and the network failure fault tolerance rate is increased. The whole machine adopts a network checking strategy, and selects an optimal link for network interconnection. Under a special necessary scene, the important data is uploaded by simultaneously enabling three networking modes, so that the data is ensured not to be lost. Referring to fig. 3, fig. 3 is a specific flow chart of a data transmission method of an energy storage system according to an embodiment of the present invention, as shown in fig. 3, in a normal service flow, in which in a time T, a communication manner 1 is a wired network, a communication manner 2 is a wireless network, a communication manner 3 is a mobile network, for example, a network transmission response rate T1.1 of the wired network is calculated, a weight value is set to W1.1, a network packet loss rate T1.2 of the wired network is calculated, a weight value is set to W1.2, a network transmission rate T1.3 of the wired network is calculated, a weight value is set to W1.3, an overrun fee T1.4 of the wired network is calculated, a weight value is set to W1.4, a network transmission response rate T2.1 of the wireless network is calculated, a weight value is set to W2.1, a network packet loss rate T2.2 of the wireless network is calculated, and a weight value is set to W2.2, calculating a network transmission speed T2.3 of the wireless network, setting a weight value of the network transmission speed T2.3 as W2.3, calculating an overrun cost T2.4 of the wireless network, setting a weight value of the network transmission speed T2.4 as W2.4, calculating a network transmission response speed T3.1 of the mobile network, setting a weight value of the network transmission speed T3.1 as W3.1, calculating a network packet loss rate T3.2 of the mobile network, setting a weight value of the network transmission speed T3.3 of the mobile network as W3.2, calculating an overrun cost T3.4 of the mobile network as W3.4, calculating a network weighted average value of three kinds of communication in the initial operation of the equipment to obtain transmission coefficients K1, K2 and K3, wherein a specific calculation mode can refer to x in the formula (1) as values 1, 2 and 3 respectively, selecting a minimum Kx value link as a default link, and continuously calculating Kx value in a service flow, and switching the links when the Kx value is larger than the minimum Kx value of other links. And setting a highest allowable usage weight value. Meanwhile, after each link weight is determined for the first time and the main link has been selected, comparing the link corresponding to the lower value of the cost weight (overrun cost) with the main link overrun cost weight (overrun cost) of the main link being used according to the network overrun cost weight (overrun cost), performing link switching attempt, and recalculated the link selection weight (transmission coefficient), for example, the wired network overrun cost weight is 0, the wireless network overrun cost weight is 1, the mobile network overrun cost weight is 2, when the main link is 4G network and the network can be connected normally, the second link is opened at regular time to try the wired network in sequence, the wireless network is switched to the wired network if the first attempt of the wired network succeeds and the link weight is lower than the mobile network weight.
Still further, it is assumed that when the primary link is a wireless network and can be normally connected to the internet, the second link is enabled to continuously try the wired network because the wired overrun cost is 0, and (if the wired network overrun cost is not zero and is lower than the wireless network, the wired network is periodically tried), and the mobile network overrun cost weight is high (overrun cost) for the wireless network and the wired network, so that the mobile network will not be tried to be connected.
In an embodiment, the highest allowable usage weight value (weight extremum) for each parameter and/or the weight sum value for all parameters may be preset.
Referring to fig. 4, fig. 4 is a schematic flow chart of another specific method for transmitting data in the energy storage system according to the embodiment of the present invention, as shown in fig. 4, in a necessary scenario (where the data importance level is greater than the preset importance level), data needs to be stably transmitted to the cloud end, if the physical layer data transmission link of the energy storage system is wired, wireless, and 4G, the data is uploaded sequentially through the wired, wireless, and 4G until the data is successfully uploaded. Namely, the data to be transmitted with the data importance level larger than the preset importance level is regarded as important uploading data, the important uploading data line is uploaded through a wire, if the uploading is successful, the process is ended, if the uploading is failed, the wireless uploading is ended, if the uploading is successful, the process is ended through 4G uploading, if the uploading is failed, the process is ended, if the uploading is successful, the process can be ended or the first step is returned again, and the circulation of the steps is carried out through the wire uploading again. To prevent unnecessary loops, a limit on the number of loops may be set, and if the limit is exceeded, the overall flow is stopped. It should be noted that this embodiment is only an example, and the selection order of the specific links may be selected by those skilled in the art as needed.
Aiming at the problem that in the integrated machine, in order to ensure the stability of a communication link as much as possible in a single communication scene when uploading and downloading important information, but under the condition of the means, such as the situation that a physical link layer is damaged and the loss of a link is unavoidable, the method provided by the embodiment of the invention further ensures the stability of the communication link and improves the reliability of data transmission by collecting data transmission parameters of at least two physical layer data transmission links in an energy storage system configured with at least two communication modes, calculating the transmission system, performing priority ordering, selecting one or more physical layer data transmission links as a target transmission link based on the priority order, and transmitting the data to be transmitted by configuring multiple communication modes in the energy storage system.
In the data transmission process, the transmission system of each physical layer data transmission link is continuously updated, the priority ordering is refreshed, the target transmission link is adjusted based on the change of the priority order, and the target transmission link is switched, so that the data transmission is always kept through more excellent links in the data transmission process, the data transmission speed and efficiency can be improved, the resource waste is reduced, and the reliability of the data transmission is further improved.
Through configuring the corresponding weight for the data transmission parameters, the preference of the current link selection can be adjusted by adjusting the weight, for example, the stability and the speed of retransmission can be improved, the weight of the network transmission response speed, the network packet loss rate and the network transmission speed can be set larger, the weight of the overrun fee can be set larger, or the balance of the fee and the stable transmission can be taken, so that the overall target transmission link selection is more diversified, the requirements of users are met, and the customer experience is improved.
The data to be transmitted is important, that is, the data importance level is greater than the preset importance level, at least two links can be selected or all physical layer data transmission links can be adopted for redundant transmission, so that the reliability of data transmission is further ensured.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
In an embodiment, an energy storage system data transmission device is provided, where the energy storage system data transmission device corresponds to the energy storage system data transmission method in the above embodiment one by one. Fig. 5 is a schematic structural diagram of a data transmission device of an energy storage system according to an embodiment of the present invention. As shown in fig. 5, the energy storage system data transmission device 500 includes an acquisition module 510, a determination module 520, a sorting module 530, and a control module 540. The functional modules are described in detail as follows: the acquiring module 510 is configured to acquire data transmission parameters of at least two physical layer data transmission links in the data to be transmitted and the energy storage system, where the data transmission parameters include a network transmission response rate, a network packet loss rate, a network transmission speed, and an overrun cost, and communication modes of the at least two physical layer data transmission links are different; a determining module 520, configured to calculate a transmission coefficient of each physical layer data transmission link according to the network transmission response rate, the network packet loss rate, the network transmission speed, and the overrun cost; a sorting module 530, configured to prioritize the physical layer data transmission links based on the transmission coefficients; the control module 540 is configured to select one or more physical layer data transmission links as a target transmission link according to the order of priority, and control the energy storage system to transmit data to be transmitted through the target transmission link.
In an embodiment, the control module is further configured to: in the transmission process, acquiring new data transmission parameters of at least two physical layer data transmission links in the energy storage system; re-calculating new transmission coefficients of each physical layer data transmission link, and re-sequencing priorities and selecting new target transmission links; and if the new target transmission link is different from the target transmission link, controlling the energy storage system to switch the new target transmission link to transmit the data to be transmitted.
In an embodiment, the determination module is further configured to: acquiring a preset network transmission response weight, a preset network packet loss weight, a preset network transmission speed weight and a preset cost weight of each physical layer data transmission link; and calculating the transmission coefficient of the physical layer data transmission link according to the network transmission response rate, the preset network transmission response weight, the network transmission packet loss rate, the preset network transmission packet loss weight, the network transmission speed, the preset network transmission speed weight, the overrun cost and the preset cost weight of the physical layer data transmission link to obtain the transmission coefficient of all the physical layer data transmission links.
In an embodiment, the control module is further configured to: acquiring a data importance level of data to be transmitted; and if the data importance level is greater than the preset importance level, taking the physical layer data transmission link of N before the priority order as a target transmission link, wherein N is greater than or equal to 2.
In an embodiment, the control module is further configured to: if the target transmission link is one, acquiring a data transmission state of data to be transmitted; if the data transmission state is transmission failure, determining a physical layer data transmission link with a priority ordering sequence of one bit behind a target transmission link as a current transmission link, controlling the energy storage system to switch from the target transmission link to the current transmission link to transmit data to be transmitted until a preset stop condition is reached, wherein the preset stop condition comprises at least one of the following conditions, the data to be transmitted is successfully transmitted, and all physical layer data transmission links transmit the data to be transmitted.
The specific limitation and beneficial effects of the data transmission device of the energy storage system can be referred to as limitation of the data transmission method of the energy storage system, and are not repeated herein. The modules in the data transmission device of the energy storage system can be realized in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or independent of a processor in the electronic device, or may be stored in software in a memory in the electronic device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, an electronic device is provided, which may be a server, and an internal structure thereof may be as shown in fig. 6. The electronic device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes non-volatile and/or volatile storage media and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the electronic device is used for communicating with an external client through a network connection. The computer program, when executed by a processor, performs functions or steps of a server side of a method for data transmission of an energy storage system.
In one embodiment, an electronic device is provided, which may be a client, and the internal structure of which may be as shown in fig. 7. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the electronic device is used for communicating with an external server through a network connection. The computer program is executed by a processor to perform functions or steps of a client side of a method for data transmission of an energy storage system.
In one embodiment, an electronic device is provided that includes one or more processors; storage means for storing one or more programs which when executed by one or more processors cause the electronic device to implement a method as in any of the embodiments above.
In one embodiment, an electronic device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring data transmission parameters of at least two physical layer data transmission links in the data to be transmitted and the energy storage system, wherein the data transmission parameters comprise network transmission response speed, network packet loss rate, network transmission speed and overrun cost, and the communication modes of the at least two physical layer data transmission links are different;
calculating the transmission coefficient of each physical layer data transmission link according to the network transmission response rate, the network packet loss rate, the network transmission speed and the overrun cost;
prioritizing physical layer data transmission links based on the transmission coefficients;
and selecting one or more physical layer data transmission links as target transmission links according to the priority ordering order, and controlling the energy storage system to transmit the data to be transmitted through the target transmission links.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor of a computer, causes the computer to perform the method of any of the embodiments described above.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring data transmission parameters of at least two physical layer data transmission links in the data to be transmitted and the energy storage system, wherein the data transmission parameters comprise network transmission response speed, network packet loss rate, network transmission speed and overrun cost, and the communication modes of the at least two physical layer data transmission links are different;
calculating the transmission coefficient of each physical layer data transmission link according to the network transmission response rate, the network packet loss rate, the network transmission speed and the overrun cost;
prioritizing physical layer data transmission links based on the transmission coefficients;
and selecting one or more physical layer data transmission links as target transmission links according to the priority ordering order, and controlling the energy storage system to transmit the data to be transmitted through the target transmission links.
It should be noted that, the functions or steps that can be implemented by the computer readable storage medium or the electronic device may correspond to the descriptions of the server side and the client side in the foregoing method embodiments, and are not described herein one by one for avoiding repetition.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.
Claims (14)
1. A method for data transmission in an energy storage system, the method comprising:
acquiring data transmission parameters of at least two physical layer data transmission links in data to be transmitted and an energy storage system, wherein the data transmission parameters comprise network transmission response speed, network packet loss rate, network transmission speed and overrun cost, and the communication modes of the at least two physical layer data transmission links are different;
Calculating the transmission coefficient of each physical layer data transmission link according to the network transmission response rate, the network packet loss rate, the network transmission speed and the overrun cost;
prioritizing physical layer data transmission links based on the transmission coefficients;
and selecting one or more physical layer data transmission links as target transmission links according to the priority ordering order, and controlling an energy storage system to transmit the data to be transmitted through the target transmission links.
2. The method for transmitting data in an energy storage system according to claim 1, wherein after controlling the energy storage system to transmit the data to be transmitted through the target transmission link, the method further comprises:
in the transmission process, acquiring new data transmission parameters of at least two physical layer data transmission links in the energy storage system;
re-calculating new transmission coefficients of each physical layer data transmission link, and re-sequencing priorities and selecting new target transmission links;
and if the new target transmission link is different from the target transmission link, controlling the energy storage system to switch the new target transmission link to transmit the data to be transmitted.
3. The method of claim 1, wherein calculating the transmission coefficient of each physical layer data transmission link according to the network transmission response rate, the network packet loss rate, the network transmission speed, and the overrun cost comprises:
acquiring a preset network transmission response weight, a preset network packet loss weight, a preset network transmission speed weight and a preset cost weight of each physical layer data transmission link;
and calculating the transmission coefficient of the physical layer data transmission link according to the network transmission response rate, the preset network transmission response weight, the network transmission packet loss rate, the preset network transmission packet loss weight, the network transmission speed, the preset network transmission speed weight, the overrun cost and the preset cost weight of the physical layer data transmission link to obtain the transmission coefficient of all the physical layer data transmission links.
4. The method for transmitting data in an energy storage system according to claim 3, wherein the transmission coefficient is determined by:
Kx=(Tx.1*Wx.1+Tx.2*Wx.2+Tx.3*Wx.3+Tx.4*Wx.4)/(Wx.1+Wx.2+Wx.3+Wx.4);
wherein Kx is a transmission coefficient of a physical layer data transmission link x, tx.1 is a network transmission response rate, wx.1 is a preset network transmission response weight, tx.2 is a network packet loss rate, wx.2 is a preset network packet loss weight, tx.3 is a network transmission speed, wx.3 is a preset network transmission speed weight, tx.4 is an overrun cost, and Wx.4 is a preset cost weight.
5. The method for data transmission in an energy storage system according to claim 3, wherein obtaining a preset network transmission response weight, a preset network packet loss weight, a preset network transmission speed weight, and a preset cost weight for each physical layer data transmission link comprises:
acquiring the data importance level of the data to be transmitted;
and matching preset network transmission response weights, preset network packet loss weights, preset network transmission speed weights and preset cost weights of each physical layer data transmission link corresponding to the data to be transmitted according to the data importance level.
6. The method for transmitting data in an energy storage system according to claim 1, wherein after controlling the energy storage system to transmit the data to be transmitted through the target transmission link, the method further comprises:
if at least one first data transmission link to be selected exists, in the transmission process, the energy storage system is controlled to sequentially establish communication connection based on at least one data transmission link to be selected according to the cost sequence, wherein the first data transmission link to be selected is a physical layer data transmission link with the overrun cost smaller than the overrun cost of the target transmission link;
Each time the communication connection is successfully established, acquiring new data transmission parameters of a current transmission link, and determining new transmission coefficients, wherein the current transmission link is a first data transmission link to be selected corresponding to the current communication connection;
and if the new transmission coefficient is smaller than the transmission coefficient of the target transmission link, controlling the energy storage system to switch to the current transmission link to continue transmitting the data to be transmitted, and stopping the energy storage system to sequentially establish communication connection with the data transmission link to be selected, which is not yet established with communication connection according to the cost sequence.
7. The method for transmitting data in an energy storage system according to claim 1, wherein after controlling the energy storage system to transmit the data to be transmitted through the target transmission link, the method further comprises:
if the overrun cost of the target transmission link is greater than the minimum extremum, controlling the energy storage system to establish communication connection based on a second data transmission link to be selected, wherein the second data transmission link to be selected is the minimum physical layer data transmission link with the overrun cost, and the minimum extremum is the minimum value of the overrun cost of each physical layer data transmission link;
And if the communication connection is established successfully, controlling the energy storage system to switch to the second data transmission link to be selected so as to continuously transmit the data to be transmitted.
8. The method of claim 7, wherein if the minimum extremum is less than a preset minimum value, controlling the energy storage system to establish a communication connection based on a second candidate data transmission link at a first time interval;
and if the minimum extreme value is greater than or equal to the preset minimum value, controlling the energy storage system to establish communication connection based on a second data transmission link to be selected at a second time interval, wherein the second time interval is greater than the first time interval.
9. The method for transmitting data in an energy storage system according to claim 1, wherein after controlling the energy storage system to transmit the data to be transmitted through the target transmission link, the method further comprises:
if the target transmission link is one, re-acquiring the secondary selection data transmission parameters of the secondary selection data transmission link in the energy storage system in the transmission process, wherein the secondary selection data transmission link is a physical layer data transmission link with priority order one bit behind the target transmission link;
And re-calculating the secondary selection transmission coefficient of the secondary selection data transmission link, and if the secondary selection transmission coefficient is smaller than the transmission coefficient of the target transmission link, controlling the energy storage system to switch to the secondary selection data transmission link to continuously transmit the data to be transmitted.
10. The method for data transmission in an energy storage system according to any one of claims 1 to 8, wherein selecting one or more physical layer data transmission links as the target transmission links in the order of priority ordering comprises:
acquiring the data importance level of the data to be transmitted;
and if the data importance level is greater than the preset importance level, taking the physical layer data transmission link with the front N of the priority order as a target transmission link, wherein N is greater than or equal to 2.
11. The method for transmitting data in an energy storage system according to any one of claims 1 to 9, wherein if the target transmission link is one, controlling the energy storage system to transmit the data to be transmitted through the target transmission link includes:
acquiring a data transmission state of the data to be transmitted;
if the data transmission state is transmission failure, determining a physical layer data transmission link with a priority ordering sequence of one bit behind the target transmission link as a current transmission link, and controlling an energy storage system to switch from the target transmission link to the current transmission link to transmit the data to be transmitted until a preset stop condition is reached, wherein the preset stop condition comprises at least one of the following conditions, the data to be transmitted is successfully transmitted, and all physical layer data transmission links transmit the data to be transmitted.
12. An energy storage system data transmission device, the device comprising:
the system comprises an acquisition module, a data transmission module and a data transmission module, wherein the acquisition module is used for acquiring data to be transmitted and data transmission parameters of at least two physical layer data transmission links in an energy storage system, the data transmission parameters comprise network transmission response speed, network packet loss rate, network transmission speed and overrun cost, and the communication modes of the at least two physical layer data transmission links are different;
the determining module is used for calculating the transmission coefficient of each physical layer data transmission link according to the network transmission response speed, the network packet loss rate, the network transmission speed and the overrun expense;
the sorting module is used for sorting the priority of the physical layer data transmission links based on the transmission coefficients;
and the control module is used for selecting one or more physical layer data transmission links as target transmission links according to the priority ordering order and controlling the energy storage system to transmit the data to be transmitted through the target transmission links.
13. An electronic device, the electronic device comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the electronic device to implement the method of any of claims 1-11.
14. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310728240.2A CN116800788A (en) | 2023-06-19 | 2023-06-19 | Energy storage system data transmission method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310728240.2A CN116800788A (en) | 2023-06-19 | 2023-06-19 | Energy storage system data transmission method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116800788A true CN116800788A (en) | 2023-09-22 |
Family
ID=88035588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310728240.2A Pending CN116800788A (en) | 2023-06-19 | 2023-06-19 | Energy storage system data transmission method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116800788A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116991337A (en) * | 2023-09-27 | 2023-11-03 | 深圳市凌壹科技有限公司 | Cloud storage method and device for educational resources of remote educational system |
CN117460017A (en) * | 2023-10-11 | 2024-01-26 | 北京讯腾智慧科技股份有限公司 | Beidou reference station data transmission and detection system |
CN117478707A (en) * | 2023-12-27 | 2024-01-30 | 天津数智物联科技有限公司 | Multi-target energy management data transmission method |
-
2023
- 2023-06-19 CN CN202310728240.2A patent/CN116800788A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116991337A (en) * | 2023-09-27 | 2023-11-03 | 深圳市凌壹科技有限公司 | Cloud storage method and device for educational resources of remote educational system |
CN116991337B (en) * | 2023-09-27 | 2023-12-26 | 深圳市凌壹科技有限公司 | Cloud storage method and device for educational resources of remote educational system |
CN117460017A (en) * | 2023-10-11 | 2024-01-26 | 北京讯腾智慧科技股份有限公司 | Beidou reference station data transmission and detection system |
CN117478707A (en) * | 2023-12-27 | 2024-01-30 | 天津数智物联科技有限公司 | Multi-target energy management data transmission method |
CN117478707B (en) * | 2023-12-27 | 2024-05-07 | 天津数智物联科技有限公司 | Multi-target energy management data transmission method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116800788A (en) | Energy storage system data transmission method and device, electronic equipment and storage medium | |
US10531481B2 (en) | Uplink channel transmission method, UE, and base station | |
CN101715228A (en) | Wireless communication system, management server, wireless terminal, and network selection method | |
CN116614895A (en) | Method, device, equipment and storage medium for sending uplink transmission | |
US8488585B2 (en) | Mobile station and method of reconnection process | |
CN105451197A (en) | Method and device of sending communication information | |
CN103947124A (en) | Controlling data synchronization and backup services | |
WO2015106450A1 (en) | Load balancing among wireless access points | |
US7561883B2 (en) | System and method for management of the resources of a broadband mobile network having prolonged fixed accesses by wireless local area network access terminals | |
CN115460659B (en) | Wireless communication data analysis system for bandwidth adjustment | |
CN109587806A (en) | A kind of scheduling request sending method and terminal device | |
CN115174026B (en) | Method and device for allocating number of beacon time slots and computer equipment | |
CN108156086B (en) | Policy rule issuing method and device | |
CN109121219A (en) | Sending method and device, storage medium, the terminal of scheduling request | |
US10581248B2 (en) | Methods and apparatuses for a microgrid network | |
CN113258679A (en) | Power grid monitoring system channel distribution method based on server instance capacity reduction | |
WO2022188967A1 (en) | Data buffer based connection reconfiguration control | |
CN109246656B (en) | Method, network device and computer readable medium for device-to-device communication | |
CN114338499B (en) | Data transmission method, device and electronic equipment | |
CN117041260B (en) | Control processing method and system | |
CN113766515B (en) | Cell shared frequency band allocation method and device | |
CN115314945B (en) | Service processing method, device, server and storage medium | |
CN111867105B (en) | Action distribution method and device of backscattering terminal and electronic equipment | |
CN116528401B (en) | Communication method, core network element, user equipment and communication system | |
EP4203410A1 (en) | User device, server, method, apparatus and computer readable medium for network communication |
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 |