A cable data transmission method and device, collector and storage medium
By dynamically selecting a data acquisition device with good signal as a proxy node in the cable monitoring system and optimizing the data transmission path using fiber optic and mobile communication networks, the problem of excessive server power consumption is solved, and efficient and low-cost cable data transmission is achieved.
Patent Information
- Application Number
- CN202310871555.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2043-07-17
AI Technical Summary
As the number of cables increases, the number of connections between sensors and servers also increases, leading to excessive server power consumption. Existing technologies struggle to effectively reduce server power consumption when monitoring cables.
By selecting proxy nodes from multiple groups of data collectors deployed in the cable, connecting the data collectors within the group using optical fiber, and connecting to the server via a mobile communication network, the system dynamically selects data collectors with good signal quality as proxy nodes, reducing the number of direct connections to the server and optimizing the data transmission path.
It effectively reduces server power consumption, lowers the transmission latency of status data, improves the overall efficiency of the collector in transmitting status data, and reduces deployment costs.
Smart Images

Figure CN116806040B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electric power, and in particular to a cable data transmission method and device, a collector and a storage medium. BACKGROUND
[0002] With the development of science and technology, the use of different types of power users gradually diversified and popularized, and the demand for electricity also increased. As the main power tool for power transmission in the power grid, the safety and stability of the cable play an important role in the normal operation of the power grid.
[0003] In order to monitor the cable, sensors are currently deployed on the cable to collect data from the cable and transmit it back to the cloud server. As the number of cables increases, the number of sensors also increases, and the number of connections between sensors and servers also increases, resulting in excessive power consumption of the server. SUMMARY
[0004] The present application provides a cable data transmission method, device, collector and storage medium to solve the problem of how to reduce the power consumption of the server when monitoring the cable.
[0005] According to an aspect of the present application, a cable data transmission method is provided. A plurality of groups of collectors are deployed on the cable. The collectors in each group are connected by optical fiber. The method is applied to the collectors and includes:
[0006] Selecting one of the collectors in the group as a proxy node;
[0007] Collecting state data from the cable;
[0008] If the current collector is the proxy node, calculate the time delay of transmitting the state data between the collectors in the group and the server;
[0009] According to the time delay, receive the state data collected by other collectors in the group from the cable through optical fiber;
[0010] According to the time delay, transmit the state data to the server through a mobile communication network.
[0011] Optionally, the method of selecting one of the collectors in the group as a proxy node includes:
[0012] If the current collector is updated to a candidate node, detect the signal quality of the mobile communication network, and the candidate node is initially the collector located in the middle of the current group;
[0013] If the signal quality meets the preset transmission condition, the current collector is set as a proxy node;
[0014] If the signal quality meets the non-preset transmission condition, other collectors adjacent to the current collector in geographical position are searched in the current group;
[0015] The current collector is canceled as a candidate node, and other collectors are informed to update as candidate nodes;
[0016] If all the collectors in the current group are not set as proxy nodes, the current group is merged with adjacent other groups.
[0017] Optionally, the time delay of transmitting the state data between the collectors in the group and the server includes:
[0018] The data amount of the state data collected by a single collector is calculated;
[0019] The first transmission time of transmitting the state data between all the collectors in the group and the proxy node through optical fiber is calculated according to the data amount;
[0020] The second transmission time of transmitting the state data between the proxy node and the server through a mobile communication network is calculated according to the data amount;
[0021] The first transmission time and the second transmission time are added to obtain the time delay of transmitting the state data between the collectors in the group and the server.
[0022] Optionally, the first transmission time is:
[0023]
[0024] The second transmission time is:
[0025]
[0026] Wherein, t1 is the first transmission time, t2 is the second transmission time, m is the number of collectors in the group, D is the data amount, v1 is the transmission speed of optical fiber, v2 is the transmission speed of the mobile communication network, t c is a time compensation coefficient.
[0027] Optionally, the state data is transmitted to the server through the mobile communication network according to the time delay, including:
[0028] A time threshold is set for the time delay;
[0029] determining a data transmission time period;
[0030] during the data transmission time period, setting the antenna of the agent node as a transmitting end and setting the antenna of the server as a receiving end;
[0031] within the time threshold, transmitting the state data to the receiving end via a mobile communication network using the transmitting end for information decoding.
[0032] Optionally, the transmitting the state data to the server via a mobile communication network according to the time delay further comprises:
[0033] during a time period other than the data transmission time period, inquiring the type of the state data;
[0034] if the type is not a circulating current signal, setting the antenna of the agent node as a receiving end and setting the antenna of the server as a transmitting end;
[0035] using the receiving end to receive an energy signal transmitted by the transmitting end for energy collection and charging the battery.
[0036] Optionally, the transmitting the state data to the server via a mobile communication network according to the time delay further comprises:
[0037] if the type is a circulating current signal, stopping charging the battery;
[0038] switching the antenna of the agent node from the receiving end to the transmitting end and switching the antenna of the server from the transmitting end to the receiving end;
[0039] within the time threshold, transmitting the circulating current signal to the receiving end via a mobile communication network using the transmitting end for information decoding.
[0040] According to another aspect of the present application, a cable data transmission device is provided, which deploys a plurality of groups of collectors in a cable, the collectors in each group are connected via optical fibers, and the device is applied to the collectors and comprises:
[0041] an agent node selection module for selecting one of the collectors in the group as an agent node;
[0042] a state data collection module for collecting state data of the cable;
[0043] a time delay calculation module for calculating a time delay for transmitting the state data between the collector and a server in the group if the collector is currently the agent node;
[0044] The state data local receiving module is configured to receive state data collected by other collectors in the group from the cable through an optical fiber according to the time delay;
[0045] The state data local transmitting module is configured to transmit the state data to the server through a mobile communication network according to the time delay.
[0046] Optionally, the proxy node selection module is further configured to:
[0047] If the current collector is updated to a candidate node, detecting a signal quality of a mobile communication network, the candidate node being initially the collector located in the middle in the current group;
[0048] If the signal quality meets a preset transmission condition, setting the current collector as a proxy node;
[0049] If the signal quality meets a non-preset transmission condition, searching for other collectors adjacent to the current collector in a geographical position in the current group;
[0050] canceling the current collector as the candidate node, and notifying other collectors to update to the candidate node;
[0051] If all the collectors in the current group are not set as the proxy node, merging the current group with other groups adjacent to the current group.
[0052] Optionally, the time delay calculation module is further configured to:
[0053] calculating a data amount of the state data collected by a single collector;
[0054] calculating a first transmission time of the state data transmitted between all the collectors in the group and the proxy node through an optical fiber according to the data amount;
[0055] calculating a second transmission time of the state data transmitted between the proxy node and the server through a mobile communication network according to the data amount;
[0056] adding the first transmission time and the second transmission time to obtain a time delay of the state data transmitted between the collectors in the group and the server.
[0057] Optionally, the first transmission time is:
[0058]
[0059] the second transmission time is:
[0060]
[0061] wherein t1 is the first transmission time, t2 is the second transmission time, m is the number of the collectors within the group, D is the data volume, v1 is the transmission speed of the optical fiber, v2 is the transmission speed of the mobile communication network, t c is a time compensation coefficient.
[0062] Optionally, the state data local transmission module is further configured to:
[0063] set a time threshold for the time delay;
[0064] determine a data transmission time period;
[0065] set the antenna of the agent node as a transmitting end and set the antenna of the server as a receiving end within the data transmission time period;
[0066] within the time threshold, transmit the state data from the transmitting end to the receiving end through the mobile communication network for information decoding.
[0067] Optionally, the state data local transmission module is further configured to:
[0068] query the type of the state data within a time period other than the data transmission time period;
[0069] if the type is not a ring current signal, set the antenna of the agent node as a receiving end and set the antenna of the server as a transmitting end;
[0070] receive the energy signal transmitted from the transmitting end by the receiving end for energy collection and charging of the battery.
[0071] Optionally, the state data local transmission module is further configured to:
[0072] if the type is a ring current signal, stop charging the battery;
[0073] switch the antenna of the agent node from the receiving end to the transmitting end and switch the antenna of the server from the transmitting end to the receiving end;
[0074] within the time threshold, transmit the ring current signal from the transmitting end to the receiving end through the mobile communication network for information decoding.
[0075] According to another aspect of the present application, a collector is provided, comprising:
[0076] at least one processor; and
[0077] a memory in communication connection with the at least one processor; wherein
[0078] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the cable data transmission method according to any one of the embodiments of the present application.
[0079] According to another aspect of the present application, there is provided a computer readable storage medium storing a computer program for enabling a processor to implement the cable data transmission method according to any one of the embodiments of the present application when executed by the processor.
[0080] In the embodiment, one of the collectors in a group is selected as an agent node; cable state data is collected; if the current collector is the agent node, a time delay of transmission of the state data between the collector and the server in the group is calculated; according to the time delay, state data collected by other collectors in the group is received through an optical fiber; and according to the time delay, the state data is transmitted to the server through a mobile communication network. Selecting one agent node in a group to connect with the server can effectively reduce the number of connections and the power consumption of the server. The time delay of a group is evaluated to control the transmission of the state data, reduce the actual transmission time delay of the state data as much as possible, and improve the overall efficiency of the collectors in a group in transmitting the state data.
[0081] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0082] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.
[0083] Figure 1 is a flow chart of a cable data transmission method according to the first embodiment of the present application;
[0084] Figure 2 is a deployment schematic diagram of a collector according to the first embodiment of the present application;
[0085] Figure 3 is a structural schematic diagram of a cable data transmission device according to the second embodiment of the present application;
[0086] Figure 4 is a structural schematic diagram of a collector according to the third embodiment of the present application. DETAILED DESCRIPTION
[0087] In order to better understand the technical scheme of the present application, the technical scheme in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts should fall within the scope of the present application.
[0088] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to only those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to the process, method, product, or device.
[0089] Embodiment one
[0090] Figure 1 A flowchart of a cable data transmission method is provided for the first embodiment of the present application. The method can be performed by a cable data transmission device, which can be realized in the form of hardware and / or software, and can be configured in a collector. As shown in Figure 1 , the method comprises:
[0091] Step 101: Select one of the collectors in the group as a proxy node.
[0092] In this embodiment, as shown in Figure 2 , a plurality of groups of collectors 202 can be deployed according to the geographical position of the cable 200, wherein the collectors have a plurality of sensors inside, and different sensors can be used to collect different state data of the cable.
[0093] For example, the collector is configured with a power frequency sensor, a partial discharge sensor, a traveling wave sensor, and a circulating current sensor. The power frequency sensor can be used to collect the power frequency current signal of the cable, the partial discharge sensor can be used to collect the partial discharge signal of the cable, the traveling wave sensor can be used to collect the traveling wave signal of the cable, and the circulating current sensor can be used to collect the circulating current signal of the cable, etc.
[0094] The collector 202 can be integrally installed in an outdoor cabinet, and is provided with a battery (such as a lithium battery) to provide power for the collector and ensure normal operation of the collector.
[0095] In some designs, the collector is provided with a solar panel to charge the battery.
[0096] As shown in Figure 2 For a group, one collector 202 can be referred to as a monitoring node. If all monitoring nodes are directly connected to the server 201 in the cloud, and the number of monitoring nodes is too large, it will cause the power consumption of the server 201 in the cloud to be too large.
[0097] Therefore, the embodiment can group the monitoring nodes, that is, divide the monitoring nodes into multiple groups. All collectors 202 in the same group belong to the same region in terms of geographical location. The collectors 202 in each group are connected through optical fibers. In a group, one of the collectors 202 is selected as a proxy node. The proxy node is connected to the server 201 in the cloud through a mobile communication network (such as 4G, 5G, etc.). The non-proxy nodes in the group are not connected to the server 201 in the cloud.
[0098] In the same group, a mobile communication module can be provided in some collectors. The mobile communication module is used to provide the communication function of the mobile communication network. One of the collectors is selected as a proxy node. Since the cost of the mobile communication network is higher than the cost of the optical fiber, the overall cost of deploying the collector can be effectively reduced.
[0099] Of course, in addition to providing the mobile communication module in some collectors, the mobile communication module can also be provided in all collectors. The embodiment does not limit this.
[0100] In actual application, the collector may fail, and the quality of the mobile communication network is affected by weather, geographical environment, etc. Therefore, in the same group, one of the collectors can be dynamically selected as a proxy node to improve the efficiency of transmitting the state data of the cable.
[0101] In dynamic selection, each collector in the current group can be traversed.
[0102] If the current collector is updated to a candidate node, the signal quality (such as speed, delay, packet loss rate, etc.) of the current mobile communication network is detected in response to the candidate node. The candidate node is initially the collector located in the middle of the current group. The overall communication path between the collector located in the middle and other collectors is the shortest, which can reduce the transmission delay.
[0103] If the signal quality meets the preset transmission condition (e.g., the packet loss rate is less than a certain threshold, the time delay is less than a certain threshold, etc.), it indicates that the quality of the mobile communication network of the current candidate node is better, and the current collector is set as the proxy node, and the traversal of the collector is stopped.
[0104] If the signal quality does not meet the preset transmission condition (e.g., the packet loss rate is greater than a certain threshold, the time delay is greater than a certain threshold, etc.), it indicates that the quality of the mobile communication network of the current candidate node is poor, and it is not suitable to be set as the proxy node, then other collectors which are adjacent to the current collector in geographical position are searched in the current group, and these other collectors meet the requirements of the proxy node in hardware, that is, the direction of the traversal of the collectors in a group is from the middle to the edge.
[0105] If other collectors which are adjacent to the current collector in geographical position are found in the current group, the current collector is canceled as the candidate node, the other collectors are notified to update as the candidate node, and whether it is suitable to be set as the proxy node is judged.
[0106] If all collectors in the current group are not set as the proxy node, the current group and other groups adjacent to it are merged, that is, the current group and other groups adjacent to it in geographical position are merged into a new group, and the state data of the transmission cable is ensured to be transmitted normally.
[0107] Since the number of collectors in a single group is large, the time delay of the state data of the transmission cable in the group will increase, therefore, the merging of the group is temporary, and when a collector which meets the requirements of the proxy node is detected in the current group, the merging of the group can be canceled.
[0108] Step 102, collecting the state data of the cable.
[0109] During the operation of the collector, the state data of the cable responsible by it can be collected according to the configuration, for example, the power frequency current signal, the partial discharge signal, the traveling wave signal and the circulating current signal, etc.
[0110] In addition, the state data can carry the segment number of the cable, the identifier (e.g., ID, etc.) of the collector, the time stamp and other information.
[0111] Step 103, if the current collector is the proxy node, the time delay of the transmission of the state data between the collectors in the group and the server is calculated.
[0112] In a relatively short time range, the state data collected by the collector on the cable is relatively fixed, and the transmission path between the collector, the proxy node and the server is relatively fixed, therefore, in this case, the time delay of the transmission of the state data between the collectors in the group and the server can be estimated.
[0113] In one embodiment of the present application, step 103 can comprise the following steps:
[0114] Step 1031, calculating the data volume of the state data collected by a single collector.
[0115] Since the state data collected by all collectors on the cable are the same, under the condition that the type of the state data collected by the collector on the cable is stable, the data volume of the state data collected by a single collector can be calculated by statistical methods (such as averaging).
[0116] Step 1032, calculating the first transmission time of the state data transmitted between all collectors in the group and the proxy node through the optical fiber according to the data volume.
[0117] In this embodiment, for a given group, on the basis of the topology between the collector and the proxy node, the first transmission time of the state data transmitted between all collectors in the group and the proxy node through the optical fiber can be evaluated according to the data volume of the state data transmitted once.
[0118] Illustratively, the first transmission time is:
[0119]
[0120] Where t1 is the first transmission time, m is the number of collectors in the group, D is the data volume, v1 is the transmission speed of the optical fiber, and t c is the time compensation coefficient.
[0121] Step 1033, calculating the second transmission time of the state data transmitted between the proxy node and the server through the mobile communication network according to the data volume.
[0122] In this embodiment, for a given group, on the basis of the mobile communication network between the proxy node and the server, the second transmission time of the state data transmitted between the proxy node and the server through the mobile communication network can be evaluated according to the data volume of the state data transmitted once.
[0123] Illustratively, the second transmission time is:
[0124]
[0125] Where t2 is the second transmission time, m is the number of collectors in the group, D is the data volume, and v2 is the transmission speed of the mobile communication network.
[0126] Step 1034, adding the first transmission time and the second transmission time to obtain the time delay of the state data transmitted between the collector in the group and the server.
[0127] In the embodiment, for the same group, the transmission of the state data between the collectors in the group and the server is divided into two parts, one part is the transmission of the state data between all the collectors in the group and the proxy node through the optical fiber, and the other part is the transmission of the state data between the proxy node and the server through the mobile communication network, therefore, the sum of the first transmission time and the second transmission time is the time delay of the transmission of the state data between the collectors in the group and the server.
[0128] Therefore, the time delay is expressed as:
[0129] t = t1 + t2
[0130] Wherein, t is the time delay, t1 is the first transmission time, and t2 is the second transmission time.
[0131] Step 104, receiving the state data collected by other collectors in the group through the optical fiber according to the time delay.
[0132] In practical application, the time delay of the transmission of the state data between the collectors in the group and the server is taken as a reference for the transmission of the state data, and a corresponding threshold value can be set for the time delay, which is generally greater than the time delay and can be applied to the retransmission mechanism, alarm mechanism, etc.
[0133] If the current collector is the proxy node in the group, the state data collected by other collectors in the group except the proxy node for the cable responsible by the proxy node can be received through the optical fiber and written into the cache queue.
[0134] In addition, the time delay is taken as a reference to determine whether to trigger the retransmission mechanism, alarm mechanism, etc.
[0135] Since different types of state data are applied to different ways of cable monitoring, the transmission mode of different types of state data can be different.
[0136] For example, state data such as power frequency current signal, partial discharge signal and traveling wave signal can be used for regular monitoring of the cable, therefore, the collector can transmit these state data to the proxy node through the optical fiber at fixed intervals.
[0137] For another example, state data such as loop current signal can be used for emergency monitoring of the cable, therefore, the collector can transmit these state data to the proxy node through the optical fiber in real time when the state data is collected.
[0138] Step 105, transmitting the state data to the server through the mobile communication network according to the time delay.
[0139] If the current collector is the proxy node in the group, the state data collected by each collector on the cable can be read from the cache queue, and the state data is packaged and transmitted to the server in the cloud through the mobile communication network.
[0140] As shown in Figure 2 The server 201 in the cloud detects the cable using the state data of the cable, evaluates the state of the cable, and the user can log in to the server 201 in the cloud from the electronic equipment such as the personal computer 203 and the mobile terminal 204, and query the state of the related cable according to the user's authority.
[0141] In addition, the time delay is used as a reference to determine whether to trigger a retransmission mechanism, an alarm mechanism, etc.
[0142] In an embodiment of the present application, step 105 can include the following steps:
[0143] Step 1051, set a time threshold for the time delay.
[0144] In this embodiment, the time threshold can be generated by adding a preset time compensation value, multiplying an amplification coefficient greater than 1, etc. on the basis of the time delay.
[0145] Step 1052, determine the data transmission time period.
[0146] In this embodiment, a fixed time can be divided into a data transmission time period in each time period (such as every day), and there is another time period between the adjacent two data transmission time periods. The duration of the other time periods can be equal or not, which is not limited in this embodiment.
[0147] Step 1053, set the antenna of the proxy node as the transmitting end and the antenna of the server as the receiving end in the data transmission time period.
[0148] As shown in Figure 2 If the system time of the proxy node reaches a certain data transmission time period in each time period, the proxy node can apply the SWIPT (Simultaneous Wireless Information and Power Transfer) protocol, set its own antenna 2021 as the transmitting end, and notify the server to set its antenna as the receiving end.
[0149] Step 1054, use the transmitting end to transmit the state data to the receiving end for information decoding within the time threshold through the mobile communication network.
[0150] Generally, the agent node can start timing from the other collector transmitting the state data, and within the time threshold, the state data is transmitted to the receiving end for information decoding (ID) by the transmitting end through the mobile communication network according to the SWIPT protocol, so as to avoid triggering the retransmission mechanism, alarm mechanism and other transmission mechanisms.
[0151] In another embodiment of the application, step 105 can further include the following steps:
[0152] Step 1055, querying the type of the state data in the non-data transmission period.
[0153] If the system time of the agent node reaches the non-data transmission period, that is, the time outside all the data transmission periods, in each time period, the agent node can check the type of each state data in the cache queue according to the preset frequency.
[0154] Step 1056, if the type is not a ring signal, the antenna of the agent node is set as the receiving end, and the antenna of the server is set as the transmitting end.
[0155] As shown in FIG. Figure 2 If the type of all state data in the cache queue of the agent node is not a ring signal, the SWIPT protocol can be applied, the antenna 2021 of the agent node itself is set as the receiving end, and the server is notified to set its antenna as the transmitting end, and waits for triggering the charging operation.
[0156] Further, the agent node can detect the remaining power of the battery in real time, and if the remaining power is lower than the preset power threshold, the SWIPT protocol can be applied, the antenna of the agent node itself is set as the receiving end, and the server is notified to set its antenna as the transmitting end, so as to reduce the frequency of the charging operation.
[0157] Step 1057, using the receiving end to receive the energy signal transmitted by the transmitting end for energy harvesting and charging the battery.
[0158] According to the SWIPT protocol, the agent node can use the receiving end to receive the energy signal transmitted by the transmitting end for energy harvesting (EH) and charging the battery, so as to realize remote charging, improve the simplicity of the charging operation, and effectively reduce the maintenance cost.
[0159] In another embodiment of the application, step 105 can further include the following steps:
[0160] Step 1058, if the type is a ring signal, stop charging the battery.
[0161] If the proxy node finds that the type of the state data in the cache queue is the ring current signal, the charging of the battery can be stopped.
[0162] Step 1059, switching the antenna of the proxy node from the receiving end to the transmitting end, and switching the antenna of the server from the transmitting end to the receiving end.
[0163] As shown in Figure 2 , in general, the number of antennas 2021 of the proxy node is one, therefore, the proxy node can apply the SWIPT protocol, switch its own antenna 2021 from the receiving end to the transmitting end, and notify the server to switch its antenna from the transmitting end to the receiving end, so as to realize the switching between the transmitting end and the receiving end.
[0164] Step 1060, within the time threshold, using the transmitting end to transmit the ring current signal to the receiving end through the mobile communication network for information decoding.
[0165] In general, the proxy node can start timing from the transmission of the ring current signal by other collectors, within the time threshold, according to the SWIPT protocol, using the transmitting end to transmit the ring current signal to the receiving end through the mobile communication network for information decoding ID, avoiding timeout triggering retransmission mechanism, alarm mechanism and other transmission mechanisms.
[0166] The server receives the ring current signal, and can detect the cable in real time to avoid cable failure.
[0167] In this embodiment, one of the collectors in the group is selected as a proxy node; the state data of the cable is collected; if the current collector is the proxy node, the time delay of the transmission of the state data between the collectors in the group and the server is calculated; the state data collected by the other collectors in the group is received through the optical fiber according to the time delay; and the state data is transmitted to the server through the mobile communication network according to the time delay. Selecting one proxy node in a group to connect with the server can effectively reduce the number of connections and reduce the power consumption of the server. When evaluating the time delay of a group, the transmission of the state data is controlled, the actual time delay of the transmission of the state data is reduced as much as possible, and the overall efficiency of the collectors in a group for transmitting the state data is improved.
[0168] Embodiment two
[0169] Figure 3 A structure diagram of a cable data transmission device provided for embodiment two of the application. A plurality of groups of collectors are deployed for the cable, the collectors in each group are connected through an optical fiber, and the device is applied to the collectors, as shown in Figure 3 , the device comprises:
[0170] The agent node selection module 301 is configured to select one of the collectors as an agent node in the group.
[0171] The state data collection module 302 is configured to collect state data of the cable.
[0172] The time delay calculation module 303 is configured to calculate a time delay for transmitting the state data between the collectors and a server in the group if the current collector is the agent node.
[0173] The state data local receiving module 304 is configured to receive the state data collected by other collectors in the group through an optical fiber according to the time delay.
[0174] The state data local transmitting module 305 is configured to transmit the state data to the server through a mobile communication network according to the time delay.
[0175] In an embodiment of the present application, the agent node selection module 301 is further configured to:
[0176] If the current collector is updated as a candidate node, detecting a signal quality of a mobile communication network, the candidate node being initially the collector located in the middle in the current group;
[0177] If the signal quality meets a preset transmission condition, setting the current collector as the agent node;
[0178] If the signal quality does not meet the preset transmission condition, searching for other collectors adjacent to the current collector in geographical position in the current group;
[0179] Canceling the current collector as the candidate node, and notifying other collectors to update as the candidate node;
[0180] If all the collectors in the current group are not set as the agent node, merging the current group with other groups adjacent to the current group.
[0181] In an embodiment of the present application, the time delay calculation module 303 is further configured to:
[0182] Calculating a data amount of the state data collected by a single collector;
[0183] Calculating a first transmission time of the state data transmitted between all the collectors in the group and the agent node through an optical fiber according to the data amount;
[0184] Calculating a second transmission time of the state data transmitted between the agent node and the server through a mobile communication network according to the data amount;
[0185] adding the first transmission time and the second transmission time, obtaining a time delay of transmission of the state data between the collector and the server in the group.
[0186] In an embodiment of the present application, the first transmission time is:
[0187]
[0188] the second transmission time is:
[0189]
[0190] wherein t1 is the first transmission time, t2 is the second transmission time, m is the number of the collectors in the group, D is the data volume, v1 is the transmission speed of the optical fiber, v2 is the transmission speed of the mobile communication network, t c is a time compensation coefficient.
[0191] In an embodiment of the present application, the state data local transmission module 305 is further configured to:
[0192] set a time threshold for the time delay;
[0193] determine a data transmission time period;
[0194] in the data transmission time period, set the antenna of the agent node as a transmitting end and set the antenna of the server as a receiving end;
[0195] in the time threshold, use the transmitting end to transmit the state data to the receiving end through the mobile communication network for information decoding.
[0196] In another embodiment of the present application, the state data local transmission module 305 is further configured to:
[0197] in a non-data transmission time period, query the type of the state data;
[0198] if the type is not a ring current signal, set the antenna of the agent node as a receiving end and set the antenna of the server as a transmitting end;
[0199] use the receiving end to receive the energy signal transmitted by the transmitting end for energy collection and charging of the battery.
[0200] In still another embodiment of the present application, the state data local transmission module 305 is further configured to:
[0201] if the type is a ring current signal, stop charging the battery;
[0202] switching the antenna of the agent node from a receiving end to a transmitting end, and switching the antenna of the server from a transmitting end to a receiving end;
[0203] within the time threshold, transmitting the ring signal to the receiving end using the transmitting end through a mobile communication network for information decoding.
[0204] The cable data transmission device provided by the embodiment of the present application can execute the cable data transmission method provided by any embodiment of the present application, and has the corresponding function modules and beneficial effects of executing the cable data transmission method.
[0205] Embodiment three
[0206] Figure 4 A structural diagram of a collector 10 that can be used to implement embodiments of the present application is shown. The collector is intended to represent a variety of forms including digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The collector can also represent a variety of mobile devices, such as personal digital assistants, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the inventiveness in the present document as described and / or claimed.
[0207] As shown in Figure 4 The collector 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., connected to the at least one processor 11 in communication, where the memory stores computer programs executable by the at least one processor 11, and the processor 11 can perform various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 12 or loaded into the random access memory (RAM) 13 from the storage unit 18. In the RAM 13, various programs and data required for the operation of the collector 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0208] A plurality of components in the collector 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc., an output unit 17, such as various types of displays, speakers, etc., a storage unit 18, such as a magnetic disk, an optical disk, etc., and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the collector 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunications networks.
[0209] The processor 11 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the transmission method of cable data.
[0210] In some embodiments, the transmission method of cable data can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the collector 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded onto the RAM 13 and executed by the processor 11, one or more steps of the transmission method of cable data described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the transmission method of cable data by any other suitable means, such as by means of firmware.
[0211] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0212] Computer programs used to implement the methods of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0213] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0214] To provide for interaction with a user, the systems and techniques described here can be implemented on a collection of computers that each have a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computers. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0215] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0216] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. Servers can be cloud servers, also known as cloud computing servers or cloud hosts, which are a host product in the cloud computing service system to solve the defects of large management difficulty and weak business scalability in traditional physical hosts and VPS services.
[0217] Embodiment four
[0218] The embodiment of the application further provides a computer program product, which comprises a computer program, and the computer program implements the cable data transmission method provided in any embodiment of the application when executed by a processor.
[0219] The computer program code implementing the application can be written in one or more programming languages or combinations of languages including object oriented languages such as Java, Smalltalk, C++ or conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0220] It should be understood that the steps shown in the above various forms of flow can be reordered, added or deleted. For example, the steps described in the present application can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions of the present application can be achieved, which are not limited herein.
[0221] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method of transmitting cable data, characterized by, The method is applied to the collector, and comprises the following steps: selecting one of the collectors in the group as an agent node; collecting state data of the cable; if the collector is the agent node, calculating a time delay for transmitting the state data between the collector and a server in the group; receiving state data collected by other collectors in the group through an optical fiber according to the time delay; transmitting the state data to the server through a mobile communication network according to the time delay; the step of selecting one of the collectors in the group as an agent node comprises the following steps: if the collector is updated as a candidate node, detecting a signal quality of a mobile communication network, and the candidate node is initially the collector located in the middle in the current group; if the signal quality meets a preset transmission condition, setting the collector as the agent node; if the signal quality does not meet the preset transmission condition, searching for other collectors adjacent to the collector in a geographical position in the current group; canceling the collector as the candidate node, and notifying other collectors to update as the candidate node; if all the collectors in the current group are not set as the agent node, merging the current group with other groups adjacent to the current group.
2. The method of claim 1, wherein, the step of calculating the time delay for transmitting the state data between the collector and the server in the group comprises the following steps: calculating a data amount of the state data collected by a single collector; calculating a first transmission time for transmitting the state data between all the collectors in the group and the agent node through an optical fiber according to the data amount; calculating a second transmission time for transmitting the state data between the agent node and the server through a mobile communication network according to the data amount; adding the first transmission time and the second transmission time to obtain the time delay for transmitting the state data between the collector and the server in the group.
3. The method of claim 2, wherein: the first transmission time is: the second transmission time is: wherein, is the first transmission time, is the second transmission time, is the number of collectors within the group, is the data volume, is the transmission speed of the optical fiber, is the transmission speed of the mobile communication network, is the time compensation factor.
4. The method according to any one of claims 1-3, characterized in that, the step of transmitting the state data to the server through a mobile communication network according to the time delay comprises the following steps: setting a time threshold for the time delay; determining a data transmission time period; in the data transmission time period, setting an antenna of the agent node as a transmitting end, and setting an antenna of the server as a receiving end; in the time threshold, transmitting the state data from the transmitting end to the receiving end through a mobile communication network to decode information.
5. The method of claim 4, wherein, the step of transmitting the state data to the server through a mobile communication network according to the time delay further comprises the following steps: in a time period other than the data transmission time period, inquiring a type of the state data; if the type is not a ring current signal, setting the antenna of the agent node as the receiving end, and setting the antenna of the server as the transmitting end; using the receiving end to receive an energy signal transmitted by the transmitting end to perform energy collection and charge a battery.
6. The method of claim 5, wherein, The state data is transmitted to the server through a mobile communication network according to the time delay, and the method further comprises: if the type is a circulating current signal, stopping charging the battery; switching the antenna of the agent node from a receiving end to a transmitting end, and switching the antenna of the server from a transmitting end to a receiving end; within the time threshold, transmitting the circulating current signal to the receiving end through the mobile communication network using the transmitting end to decode information.
7. A cable data transmission apparatus controlled by the cable data transmission method according to any one of claims 1 to 6, characterized by A plurality of groups of collectors are deployed on a cable, and the collectors in each group are connected through optical fibers, and the device is applied to the collectors and comprises: an agent node selection module configured to select one of the collectors as an agent node in the group; a state data collection module configured to collect state data of the cable; a time delay calculation module configured to calculate a time delay for transmitting the state data between the collectors in the group and a server if the collector is the agent node; a local state data receiving module configured to receive state data collected by other collectors in the group from the cable through the optical fibers according to the time delay; a local state data transmitting module configured to transmit the state data to the server through a mobile communication network according to the time delay.
8. A collector characterized by, The collector comprises: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the cable data transmission method in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program for enabling the processor to execute the cable data transmission method in any one of claims 1-6 when executed.
Citation Information
Patent Citations
Simultaneous wireless information and power relay transfer method and network based on backscattering transmission
CN109640371A
5G-based power transmission line on-line monitoring system network construction method
CN114189874A
Cable on-line monitoring system of efficient communication processing mechanism
CN115884002A