技术领域technical field
本申请实施例涉及电缆监控技术领域,尤其涉及一种动态唤醒采集节点的智能电缆监测方法及系统。The embodiments of the present application relate to the technical field of cable monitoring, and in particular to an intelligent cable monitoring method and system for dynamically waking up collection nodes.
背景技术Background technique
有线通信的畅通和电力的输送都是依赖于电缆的传输,一旦线路发生障碍,就会造成通信和电力的中断,如不能及时查出故障并迅速予以排除,就会造成很大的经济损失,因而,在电缆设有多个采集节点来对电缆各个位置的运行数据进行实时上报是很有必要的。The smoothness of wired communication and the transmission of power depend on the transmission of cables. Once the line is blocked, it will cause interruption of communication and power. If the fault cannot be detected in time and quickly eliminated, it will cause great economic losses. Therefore, it is necessary to set up multiple collection nodes on the cable to report the operation data of each position of the cable in real time.
现有技术中,目前的电缆信息采集节点,大多采用固定的唤醒周期或者一直处于采集上报状态,造成大量无用的数据上传,同时节点能耗增加。In the prior art, most of the current cable information collection nodes adopt a fixed wake-up cycle or are always in the collection and reporting state, resulting in a large amount of useless data uploading, and at the same time the energy consumption of the nodes increases.
发明内容Contents of the invention
本发明实施例提供了一种动态唤醒采集节点的智能电缆监测方法及系统,解决了现有技术中采用固定的唤醒周期或者一直处于采集上报状态,造成大量无用的数据上传,同时节点能耗增加的问题,在保证电缆监测的稳定性的情况下,降低了节点功耗,节省了传输带宽,降低了分析数据的数量。The embodiment of the present invention provides a smart cable monitoring method and system for dynamically waking up collection nodes, which solves the problem of using a fixed wakeup cycle in the prior art or being in the collection and reporting state all the time, causing a large amount of useless data to be uploaded, and at the same time, the energy consumption of the nodes is increased. In the case of ensuring the stability of cable monitoring, the power consumption of nodes is reduced, the transmission bandwidth is saved, and the amount of analysis data is reduced.
第一方面,本发明实施例提供了一种动态唤醒采集节点的智能电缆监测方法,包括:In the first aspect, an embodiment of the present invention provides an intelligent cable monitoring method for dynamically waking up a collection node, including:
在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;根据所述信息数据的变化趋势和数据值确定唤醒调整信息;基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。When it is detected that the wake-up cycle adjustment event is triggered, obtain the information data reported by the collection node at the first wake-up time, the first wake-up time includes multiple wake-up time points; determine according to the change trend and data value of the information data wake-up adjustment information; adjusting the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time; controlling the collection node to report information data at the second wake-up time.
可选的,所述根据所述信息数据的变化趋势和数据值确定唤醒调整信息,包括:Optionally, the determining the wake-up adjustment information according to the change trend and data value of the information data includes:
根据所述信息数据的变化趋势确定第一调整比例;determining a first adjustment ratio according to a change trend of the information data;
基于所述数据值对所述第一调整比例进行调整得到第二调整比例,将所述第二调整比例确定为唤醒调整信息。Adjusting the first adjustment ratio based on the data value to obtain a second adjustment ratio, and determining the second adjustment ratio as wake-up adjustment information.
可选的,所述根据所述信息数据的变化趋势确定第一调整比例,包括:Optionally, the determining the first adjustment ratio according to the variation trend of the information data includes:
在确定出所述信息数据的变化趋势为上升的情况下,将第一预设值确定为第一调整比例,所述第一预设值大于0且小于1;When it is determined that the change trend of the information data is rising, a first preset value is determined as a first adjustment ratio, and the first preset value is greater than 0 and less than 1;
在确定出所述信息数据的变化趋势为下降的情况下,将第二预设值确定为第一调整比例,所述第二预设值大于1。When it is determined that the change trend of the information data is downward, a second preset value is determined as the first adjustment ratio, and the second preset value is greater than 1.
可选的,所述基于所述数据值对所述第一调整比例进行调整得到第二调整比例,包括:Optionally, the adjusting the first adjustment ratio based on the data value to obtain a second adjustment ratio includes:
根据所述数据值与对应的报警阈值的关系,对所述第一调整比例进行调整得到第二调整比例。According to the relationship between the data value and the corresponding alarm threshold, the first adjustment ratio is adjusted to obtain a second adjustment ratio.
可选的,所述根据所述数据值与对应的报警阈值的关系,对所述第一调整比例进行调整得到第二调整比例,包括:Optionally, the adjusting the first adjustment ratio to obtain the second adjustment ratio according to the relationship between the data value and the corresponding alarm threshold includes:
在所述数据值与对应的报警阈值的差值小于预设差值阈值的情况下,将所述第一调整比例乘以第三预设值得到第二调整比例,所述第三预设值大于0小于1;When the difference between the data value and the corresponding alarm threshold is less than a preset difference threshold, multiply the first adjustment ratio by a third preset value to obtain a second adjustment ratio, and the third preset value Greater than 0 and less than 1;
在所述数据值与对应的报警阈值的差值不小于所述预设差值阈值的情况下,将所述第一调整比例乘以第四预设值得到第二调整比例,所述第四预设值大于所述第三预设值且小于1。In the case that the difference between the data value and the corresponding alarm threshold is not less than the preset difference threshold, the first adjustment ratio is multiplied by a fourth preset value to obtain a second adjustment ratio, and the fourth The preset value is greater than the third preset value and less than 1.
可选的,所述基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间,包括:Optionally, the adjusting the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time includes:
在所述唤醒调整信息为第二调整比例的情况下,根据所述第二调整比例等比例的调整所述第一唤醒时间中唤醒时间点的间隔得到第二唤醒时间。In a case where the wake-up adjustment information is a second adjustment ratio, the second wake-up time is obtained by adjusting an interval of wake-up time points in the first wake-up time in equal proportions according to the second adjustment ratio.
可选的,所述唤醒周期调整事件的触发方式包括定期触发或管理员手动触发。Optionally, the triggering manner of the wake-up period adjustment event includes periodic triggering or manual triggering by an administrator.
第二方面,本发明实施例还提供了一种动态唤醒采集节点的智能电缆监测系统,包括:In the second aspect, the embodiment of the present invention also provides an intelligent cable monitoring system for dynamically waking up collection nodes, including:
信息数据获取模块,用于在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;The information data acquisition module is used to acquire the information data reported by the acquisition node at the first wake-up time when it is detected that the wake-up cycle adjustment event is triggered, and the first wake-up time includes multiple wake-up time points;
唤醒调整信息确定模块,用于根据所述信息数据的变化趋势和数据值确定唤醒调整信息;A wake-up adjustment information determination module, configured to determine the wake-up adjustment information according to the change trend and data value of the information data;
第一唤醒时间调整模块,用于基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;A first wake-up time adjustment module, configured to adjust the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time;
信息数据上报模块,用于控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。The information data reporting module is configured to control the collection node to report information data at the second wake-up time.
第三方面,本发明实施例还提供了一种动态唤醒采集节点的智能电缆监测设备,该设备包括:In the third aspect, the embodiment of the present invention also provides an intelligent cable monitoring device for dynamically waking up the collection node, the device comprising:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序,storage means for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明实施例所述的动态唤醒采集节点的智能电缆监测方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the smart cable monitoring method for dynamically waking up the collection node in the embodiment of the present invention.
第四方面,本发明实施例还提供了一种存储计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行本发明实施例所述的动态唤醒采集节点的智能电缆监测方法。In the fourth aspect, the embodiment of the present invention also provides a storage medium storing computer-executable instructions, and the computer-executable instructions are used to perform the dynamic wake-up acquisition node described in the embodiment of the present invention when executed by a computer processor. Smart cable monitoring approach.
本发明实施例中,在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;根据所述信息数据的变化趋势和数据值确定唤醒调整信息;基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。本方案通过确定唤醒调整信息对第一唤醒时间进行调整得到第二调整信息,在第二唤醒时间进行信息数据上报,在保证电缆监测的稳定性的情况下,降低了节点功耗,节省了传输带宽,降低了分析数据的数量。In the embodiment of the present invention, when it is detected that the wake-up cycle adjustment event is triggered, the information data reported by the collection node at the first wake-up time is acquired, and the first wake-up time includes multiple wake-up time points; according to the information data Determine wake-up adjustment information based on the change trend and data value; adjust the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time; control the collection node to report information data at the second wake-up time. This solution adjusts the first wake-up time by determining the wake-up adjustment information to obtain the second adjustment information, and reports the information data at the second wake-up time, which reduces node power consumption and saves transmission while ensuring the stability of cable monitoring. bandwidth, reducing the amount of data analyzed.
附图说明Description of drawings
图1为本发明实施例提供的一种动态唤醒采集节点的智能电缆监测方法的流程图;Fig. 1 is a flow chart of a smart cable monitoring method for dynamically waking up a collection node provided by an embodiment of the present invention;
图2为本发明实施例提供的一种确定唤醒调整信息方法的流程图;FIG. 2 is a flowchart of a method for determining wake-up adjustment information provided by an embodiment of the present invention;
图3为本发明实施例提供的一种确定第二唤醒时间方法的流程图;FIG. 3 is a flowchart of a method for determining a second wake-up time provided by an embodiment of the present invention;
图4为本发明实施例提供的一种动态唤醒采集节点的智能电缆监测系统的模块结构框图;4 is a block diagram of a module structure of an intelligent cable monitoring system that dynamically wakes up a collection node provided by an embodiment of the present invention;
图5为本发明实施例提供的一种动态唤醒采集节点的智能电缆监测设备的结构示意图。Fig. 5 is a schematic structural diagram of a smart cable monitoring device for dynamically waking up collection nodes provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明实施例作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明实施例,而非对本发明实施例的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明实施例相关的部分而非全部结构。The embodiments of the present invention will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the embodiments of the present invention.
图1为本发明实施例提供的一种动态唤醒采集节点的智能电缆监测方法的流程图,如图1所示,具体包括:Fig. 1 is a flow chart of a smart cable monitoring method for dynamically waking up a collection node provided by an embodiment of the present invention, as shown in Fig. 1 , specifically including:
步骤S101、在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;Step S101, when it is detected that the wake-up cycle adjustment event is triggered, acquire the information data reported by the collection node at the first wake-up time, and the first wake-up time includes multiple wake-up time points;
其中,唤醒周期调整事件的触发方式可以包括定期触发或管理员手动触发;第一唤醒时间可以是原始设置的信息数据上报时间,包括多个唤醒时间点。系统实时检测到唤醒周期调整事件被触发时,执行信息数据获取指令,获取采集节点在第一唤醒时间下上报的信息数据,第一唤醒时间包括多个唤醒时间点。在一个实例中,系统内设置的第一唤醒时间为1小时,时间间隔为10分钟,管理员手动触发了唤醒周期调整事件,系统获取在0分、10分、20分、30分、40分、50分、60分的唤醒时间点上报的信息数据。Wherein, the triggering mode of the wake-up cycle adjustment event may include periodic triggering or manual triggering by the administrator; the first wake-up time may be the originally set information data reporting time, including multiple wake-up time points. When the system detects that the wake-up period adjustment event is triggered in real time, it executes an information data acquisition instruction to acquire the information data reported by the collection node at the first wake-up time, and the first wake-up time includes multiple wake-up time points. In one example, the first wake-up time set in the system is 1 hour, and the time interval is 10 minutes. The administrator manually triggers the wake-up cycle adjustment event. , 50 minutes, 60 minutes wake-up time point reported information data.
步骤S102、根据所述信息数据的变化趋势和数据值确定唤醒调整信息;Step S102, determining wake-up adjustment information according to the change trend and data value of the information data;
其中,信息数据可以包括温度、拉力、压力、风力、湿度等,信息数据的变化趋势可以分为上升和下降两种趋势;数据值可以是信息数据的数值;唤醒调整信息可以是对第一唤醒时间进行调整时依据的调整信息。系统获取到采集节点在第一唤醒时间下上报的信息数据后,根据信息数据的变化趋势确定第一调整比例,基于所述数据值对所述第一调整比例进行调整得到第二调整比例,将所述第二调整比例确定为唤醒调整信息。在一个实例中,信息数据的变化趋势分为上升和下降两种趋势,在确定出信息数据的变化趋势为上升的情况下,在系统中查询信息数据的变化趋势为上升的情况下设置的对应的数值,将此数值确定为第一调整比例;在确定出信息数据的变化趋势为下降的情况下,在系统中查询信息数据的变化趋势为下降的情况下设置的对应的数值,将此数值确定为第一调整比例。根据数据值与对应的报警阈值的关系,对第一调整比例进行调整得到第二调整比例。Among them, the information data can include temperature, tension, pressure, wind force, humidity, etc., and the change trend of the information data can be divided into two kinds of trends: rising and falling; the data value can be the numerical value of the information data; the wake-up adjustment information can be the first wake-up The adjustment information based on when the time is adjusted. After the system acquires the information data reported by the collection node at the first wake-up time, it determines the first adjustment ratio according to the change trend of the information data, adjusts the first adjustment ratio based on the data value to obtain the second adjustment ratio, and sets The second adjustment ratio is determined as wake-up adjustment information. In one example, the changing trend of the information data is divided into two types: rising and falling. When it is determined that the changing trend of the information data is rising, the system queries the information data when the changing trend is rising. The numerical value is determined as the first adjustment ratio; when it is determined that the change trend of the information data is declining, the corresponding numerical value set in the case of querying the information data in the system is downward, and this value is Determined as the first adjustment ratio. According to the relationship between the data value and the corresponding alarm threshold, the first adjustment ratio is adjusted to obtain the second adjustment ratio.
步骤S103、基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;Step S103, adjusting the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time;
其中,唤醒调整信息可以为基于数据值对第一调整比例进行调整得到的第二调整比例。系统在得到的唤醒调整信息为第二调整比例的情况下,根据第二调整比例等比例的调整第一唤醒时间中唤醒时间点的间隔得到第二唤醒时间,具体的说是将第二调整比例乘以第一唤醒时间的时间间隔,得到第二唤醒时间的时间间隔,根据第二唤醒时间的时间间隔确定第二唤醒时间的时间点。在一个实例中,第一唤醒时间为1小时,第一唤醒时间的时间间隔为10分钟,第一唤醒时间的时间点为0分、10分、20分、30分、40分、50分、60分,得到的第二调整比例为0.8*0.5=0.4,调整后的时间间隔为0.4*10=4分钟,第二唤醒时间的时间点为0分、4分、8分、12分、16分...60分。Wherein, the wake-up adjustment information may be a second adjustment ratio obtained by adjusting the first adjustment ratio based on the data value. When the obtained wake-up adjustment information is the second adjustment ratio, the system adjusts the interval between the wake-up time points in the first wake-up time in equal proportions according to the second adjustment ratio to obtain the second wake-up time, specifically, the second adjustment ratio The time interval of the second wake-up time is obtained by multiplying the time interval of the first wake-up time, and the time point of the second wake-up time is determined according to the time interval of the second wake-up time. In one example, the first wake-up time is 1 hour, the time interval of the first wake-up time is 10 minutes, and the time points of the first wake-up time are 0 minutes, 10 minutes, 20 minutes, 30 minutes, 40 minutes, 50 minutes, 60 minutes, the obtained second adjustment ratio is 0.8*0.5=0.4, the adjusted time interval is 0.4*10=4 minutes, and the time points of the second wake-up time are 0 minutes, 4 minutes, 8 minutes, 12 minutes, 16 minutes Points... 60 points.
步骤S104、控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。Step S104, controlling the collection node to report information data at the second wake-up time.
其中,基于唤醒调整信息对第一唤醒时间进行调整得到第二唤醒时间后,系统会收到信息数据上报指令,控制所有采集节点,在第二唤醒时间的时间点对采集的信息数据进行上报。在一个实例中,基于唤醒调整信息对第一唤醒时间进行调整得到的第二唤醒时间为1小时,第二唤醒时间间隔为10分钟,第二唤醒时间的时间点为0分、10分、20分、30分、40分、50分、60分,系统控制所有采集节点,在0分、10分、20分、30分、40分、50分、60分对采集的信息数据进行上报。Wherein, after the first wake-up time is adjusted based on the wake-up adjustment information to obtain the second wake-up time, the system will receive an information data reporting instruction, control all collection nodes, and report the collected information data at the time point of the second wake-up time. In an example, the second wake-up time obtained by adjusting the first wake-up time based on the wake-up adjustment information is 1 hour, the second wake-up time interval is 10 minutes, and the time points of the second wake-up time are 0 minutes, 10 minutes, 20 minutes Minutes, 30 minutes, 40 minutes, 50 minutes, 60 minutes, the system controls all collection nodes, and reports the collected information data at 0 minutes, 10 minutes, 20 minutes, 30 minutes, 40 minutes, 50 minutes, and 60 minutes.
由上述可知,在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;根据所述信息数据的变化趋势和数据值确定唤醒调整信息;基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。本方案通过确定唤醒调整信息对第一唤醒时间进行调整得到第二调整信息,在第二唤醒时间进行信息数据上报,在保证电缆监测的稳定性的情况下,降低了节点功耗,节省了传输带宽,降低了分析数据的数量。It can be seen from the above that when it is detected that the wake-up cycle adjustment event is triggered, the information data reported by the collection node at the first wake-up time is obtained, and the first wake-up time includes multiple wake-up time points; according to the change trend of the information data and the data value to determine wake-up adjustment information; adjust the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time; control the collection node to report information data at the second wake-up time. This solution adjusts the first wake-up time by determining the wake-up adjustment information to obtain the second adjustment information, and reports the information data at the second wake-up time, which reduces node power consumption and saves transmission while ensuring the stability of cable monitoring. bandwidth, reducing the amount of data analyzed.
图2为本发明实施例提供的一种确定唤醒调整信息方法的流程图,如图2所示,具体包括:Fig. 2 is a flowchart of a method for determining wake-up adjustment information provided by an embodiment of the present invention, as shown in Fig. 2 , specifically including:
步骤S201、在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;Step S201, when it is detected that the wake-up cycle adjustment event is triggered, acquire the information data reported by the collection node at the first wake-up time, and the first wake-up time includes multiple wake-up time points;
步骤S202、根据所述信息数据的变化趋势确定第一调整比例,基于所述数据值对所述第一调整比例进行调整得到第二调整比例,将所述第二调整比例确定为唤醒调整信息;Step S202. Determine a first adjustment ratio according to the change trend of the information data, adjust the first adjustment ratio based on the data value to obtain a second adjustment ratio, and determine the second adjustment ratio as wake-up adjustment information;
其中,第一调整比例可以为信息数据的变化趋势在不同情况下对应的预设值确定的,第二调整比例可以为根据数据值与对应的报警阈值的关系,对第一调整比例进行调整得到的。当获取的第一唤醒时间下上报的信息数据的变化趋势为上升的情况时,将第一预设值确定为第一调整比例,第一预设值大于0且小于1;当获取的第一唤醒时间下上报的信息数据的变化趋势为下降的情况时,将第二预设值确定为第一调整比例,第二预设值大于1。根据数据值与对应的报警阈值的关系,对第一调整比例进行调整得到第二调整比例。报警阈值可以为系统内设置的触发报警提示的阈值。在数据值与对应的报警阈值的差值小于预设差值阈值的情况下,将第一调整比例乘以第三预设值得到第二调整比例,第三预设值大于0小于1;在数据值与对应的报警阈值的差值不小于预设差值阈值的情况下,将第一调整比例乘以第四预设值得到第二调整比例,第四预设值大于第三预设值且小于1,其中,预设差值阈值为系统内设置的作为判断标准的差值阈值。在一个实例中,系统内设置的第一预设值为0.8,第二预设值为1.2,第三预设值为0.5,第四预设值为0.7,预设差值阈值为60,获取的第一唤醒时间下上报的信息数据的变化趋势为上升的情况,将第一预设值确定为第一调整比例,数据值与对应的报警阈值的差值为20,数据值与对应的报警阈值的差值小于预设差值阈值,将第一调整比例乘以第三预设值得到第二调整比例,即第二调整比例等于0.8*0.5=0.4;在另一个实例中,系统内设置的第一预设值为0.8,第二预设值为1.2,第三预设值为0.5,第四预设值为0.7,预设差值阈值为60,获取的第一唤醒时间下上报的信息数据的变化趋势为下降的情况,将第二预设值确定为第一调整比例,数据值与对应的报警阈值的差值为85,预设差值阈值为60,数据值与对应的报警阈值的差值大于预设差值阈值,将第一调整比例乘以第四预设值得到第二调整比例,第二调整比例为1.2*0.7=0.84。Wherein, the first adjustment ratio can be determined by the preset value corresponding to the change trend of the information data in different situations, and the second adjustment ratio can be obtained by adjusting the first adjustment ratio according to the relationship between the data value and the corresponding alarm threshold. of. When the change trend of the information data reported under the acquired first wake-up time is rising, the first preset value is determined as the first adjustment ratio, and the first preset value is greater than 0 and less than 1; when the acquired first When the change trend of the information data reported under the wake-up time is decreasing, the second preset value is determined as the first adjustment ratio, and the second preset value is greater than 1. According to the relationship between the data value and the corresponding alarm threshold, the first adjustment ratio is adjusted to obtain the second adjustment ratio. The alarm threshold may be a threshold set in the system to trigger an alarm prompt. When the difference between the data value and the corresponding alarm threshold is less than the preset difference threshold, the first adjustment ratio is multiplied by the third preset value to obtain the second adjustment ratio, and the third preset value is greater than 0 and less than 1; When the difference between the data value and the corresponding alarm threshold is not less than the preset difference threshold, multiply the first adjustment ratio by the fourth preset value to obtain the second adjustment ratio, and the fourth preset value is greater than the third preset value and less than 1, wherein the preset difference threshold is the difference threshold set in the system as a judgment standard. In one example, the first preset value set in the system is 0.8, the second preset value is 1.2, the third preset value is 0.5, the fourth preset value is 0.7, and the preset difference threshold is 60. If the change trend of the information data reported under the first wake-up time is rising, the first preset value is determined as the first adjustment ratio, the difference between the data value and the corresponding alarm threshold is 20, and the data value and the corresponding alarm threshold The threshold difference is less than the preset difference threshold, and the first adjustment ratio is multiplied by the third preset value to obtain the second adjustment ratio, that is, the second adjustment ratio is equal to 0.8*0.5=0.4; in another example, the system sets The first preset value is 0.8, the second preset value is 1.2, the third preset value is 0.5, the fourth preset value is 0.7, the preset difference threshold is 60, and the obtained first wake-up time is reported If the change trend of the information data is downward, the second preset value is determined as the first adjustment ratio, the difference between the data value and the corresponding alarm threshold is 85, the preset difference threshold is 60, and the data value and the corresponding alarm threshold The threshold difference is greater than the preset difference threshold, and the second adjustment ratio is obtained by multiplying the first adjustment ratio by the fourth preset value, and the second adjustment ratio is 1.2*0.7=0.84.
步骤S203、基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;Step S203, adjusting the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time;
步骤S204、控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。Step S204, controlling the collection node to report information data at the second wake-up time.
由上述可知,在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;根据所述信息数据的变化趋势和数据值确定唤醒调整信息;基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。本方案通过确定唤醒调整信息对第一唤醒时间进行调整得到第二调整信息,在第二唤醒时间进行信息数据上报,在保证电缆监测的稳定性的情况下,降低了节点功耗,节省了传输带宽,降低了分析数据的数量。It can be seen from the above that when it is detected that the wake-up cycle adjustment event is triggered, the information data reported by the collection node at the first wake-up time is obtained, and the first wake-up time includes multiple wake-up time points; according to the change trend of the information data and the data value to determine wake-up adjustment information; adjust the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time; control the collection node to report information data at the second wake-up time. This solution adjusts the first wake-up time by determining the wake-up adjustment information to obtain the second adjustment information, and reports the information data at the second wake-up time, which reduces node power consumption and saves transmission while ensuring the stability of cable monitoring. bandwidth, reducing the amount of data analyzed.
图3为本发明实施例提供的一种确定第二唤醒时间方法的流程图,如图3所示,具体包括:Fig. 3 is a flow chart of a method for determining the second wake-up time provided by an embodiment of the present invention, as shown in Fig. 3 , specifically including:
步骤S301、在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;Step S301, when it is detected that the wake-up cycle adjustment event is triggered, acquire the information data reported by the collection node at the first wake-up time, and the first wake-up time includes multiple wake-up time points;
步骤S302、根据所述信息数据的变化趋势和数据值确定唤醒调整信息;Step S302, determining wake-up adjustment information according to the change trend and data value of the information data;
步骤S303、在所述唤醒调整信息为第二调整比例的情况下,根据所述第二调整比例等比例的调整所述第一唤醒时间中唤醒时间点的间隔得到第二唤醒时间;Step S303, if the wake-up adjustment information is a second adjustment ratio, adjust the interval of the wake-up time points in the first wake-up time in equal proportions according to the second adjustment ratio to obtain a second wake-up time;
其中,根据第二调整比例等比例的调整第一唤醒时间中唤醒时间点的间隔可以是将第一唤醒时间的时间间隔乘以第二调整比例,将调整后的唤醒时间间隔作为第二唤醒时间间隔,根据第二唤醒时间间隔调整第一唤醒时间的时间点确定出第二唤醒时间的时间点。系统根据信息数据的变化趋势和数据值确定出的唤醒调整信息为第二调整比例时,将第一唤醒时间的时间间隔乘以第二调整比例,将调整后的唤醒时间间隔作为第二唤醒时间间隔,根据第二唤醒时间间隔调整第一唤醒时间的时间点确定出第二唤醒时间的时间点。在一个实例中,确定出的唤醒调整信息为第二调整比例,第一唤醒时间为2小时,第一唤醒时间的时间间隔为20分钟,第一唤醒时间的时间点为0分、20分、40分、60分、80分、100分、120分,得到的第二调整比例为0.8*0.5=0.4,将第一唤醒时间的时间间隔乘以第二调整比例,调整后的时间间隔为0.4*20=8分钟,即第二唤醒时间间隔为8分钟,根据第二唤醒时间间隔调整第一唤醒时间的时间点,第二唤醒时间的时间点为0分、8分、16分、24分、32分...120分。Wherein, adjusting the interval of the wake-up time points in the first wake-up time in proportion to the second adjustment ratio may be to multiply the time interval of the first wake-up time by the second adjustment ratio, and use the adjusted wake-up time interval as the second wake-up time The time point of the second wake-up time is determined by adjusting the time point of the first wake-up time according to the second wake-up time interval. When the wake-up adjustment information determined by the system according to the change trend of the information data and the data value is the second adjustment ratio, the time interval of the first wake-up time is multiplied by the second adjustment ratio, and the adjusted wake-up time interval is used as the second wake-up time The time point of the second wake-up time is determined by adjusting the time point of the first wake-up time according to the second wake-up time interval. In an example, the determined wake-up adjustment information is the second adjustment ratio, the first wake-up time is 2 hours, the time interval of the first wake-up time is 20 minutes, and the time points of the first wake-up time are 0 minutes, 20 minutes, 40 minutes, 60 minutes, 80 minutes, 100 minutes, 120 minutes, the second adjustment ratio obtained is 0.8*0.5=0.4, multiply the time interval of the first wake-up time by the second adjustment ratio, and the adjusted time interval is 0.4 *20=8 minutes, that is, the second wake-up time interval is 8 minutes, adjust the time point of the first wake-up time according to the second wake-up time interval, and the time points of the second wake-up time are 0 minutes, 8 minutes, 16 minutes, 24 minutes , 32 points...120 points.
步骤S304、控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。Step S304, controlling the collection node to report information data at the second wake-up time.
由上述可知,在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;根据所述信息数据的变化趋势和数据值确定唤醒调整信息;基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。本方案通过确定唤醒调整信息对第一唤醒时间进行调整得到第二调整信息,在第二唤醒时间进行信息数据上报,在保证电缆监测的稳定性的情况下,降低了节点功耗,节省了传输带宽,降低了分析数据的数量。It can be seen from the above that when it is detected that the wake-up cycle adjustment event is triggered, the information data reported by the collection node at the first wake-up time is obtained, and the first wake-up time includes multiple wake-up time points; according to the change trend of the information data and the data value to determine wake-up adjustment information; adjust the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time; control the collection node to report information data at the second wake-up time. This solution adjusts the first wake-up time by determining the wake-up adjustment information to obtain the second adjustment information, and reports the information data at the second wake-up time, which reduces node power consumption and saves transmission while ensuring the stability of cable monitoring. bandwidth, reducing the amount of data analyzed.
图4为本发明实施例提供的一种动态唤醒采集节点的智能电缆监测系统的模块结构框图,该智能电缆用于执行上述实施例提供的动态唤醒采集节点的智能电缆监测方法,具备执行方法相应的功能模块和有益效果。如图4所示,该装置具体包括:FIG. 4 is a block diagram of a module structure of a smart cable monitoring system for dynamically waking up collection nodes provided by an embodiment of the present invention. The smart cable is used to execute the smart cable monitoring method for dynamically waking up collection nodes provided in the above embodiment, and has corresponding implementation methods. functional modules and beneficial effects. As shown in Figure 4, the device specifically includes:
信息数据获取模块101,用于在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;The information data acquisition module 101 is configured to acquire the information data reported by the collection node at the first wake-up time when it is detected that the wake-up cycle adjustment event is triggered, and the first wake-up time includes multiple wake-up time points;
唤醒调整信息确定模块102,用于根据所述信息数据的变化趋势和数据值确定唤醒调整信息;A wake-up adjustment information determination module 102, configured to determine wake-up adjustment information according to the change trend and data value of the information data;
第一唤醒时间调整模块103,用于基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;A first wake-up time adjustment module 103, configured to adjust the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time;
信息数据上报模块104,用于控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。The information data reporting module 104 is configured to control the collection node to report information data at the second wake-up time.
由上述方案可知,在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;根据所述信息数据的变化趋势和数据值确定唤醒调整信息;基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。本方案通过确定唤醒调整信息对第一唤醒时间进行调整得到第二调整信息,在第二唤醒时间进行信息数据上报,在保证电缆监测的稳定性的情况下,降低了节点功耗,节省了传输带宽,降低了分析数据的数量。It can be seen from the above scheme that when it is detected that the wake-up period adjustment event is triggered, the information data reported by the collection node at the first wake-up time is obtained, and the first wake-up time includes multiple wake-up time points; according to the change of the information data Determine wake-up adjustment information based on trends and data values; adjust the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time; control the collection node to report information data at the second wake-up time. This solution adjusts the first wake-up time by determining the wake-up adjustment information to obtain the second adjustment information, and reports the information data at the second wake-up time, which reduces node power consumption and saves transmission while ensuring the stability of cable monitoring. bandwidth, reducing the amount of data analyzed.
在一个可能的实施例中,所述信息数据获取模块101,具体用于:In a possible embodiment, the information data acquisition module 101 is specifically used for:
所述唤醒周期调整事件的触发方式包括定期触发或管理员手动触发;The triggering mode of the wake-up cycle adjustment event includes periodic triggering or manual triggering by an administrator;
在一个可能的实施例中,所述唤醒调整信息确定模块102,具体用于:In a possible embodiment, the wake-up adjustment information determination module 102 is specifically configured to:
根据所述信息数据的变化趋势确定第一调整比例;determining a first adjustment ratio according to a change trend of the information data;
基于所述数据值对所述第一调整比例进行调整得到第二调整比例,将所述第二调整比例确定为唤醒调整信息;adjusting the first adjustment ratio based on the data value to obtain a second adjustment ratio, and determining the second adjustment ratio as wake-up adjustment information;
在一个可能的实施例中,所述唤醒调整信息确定模块102,还用于:In a possible embodiment, the wake-up adjustment information determining module 102 is further configured to:
在确定出所述信息数据的变化趋势为上升的情况下,将第一预设值确定为第一调整比例,所述第一预设值大于0且小于1;When it is determined that the change trend of the information data is rising, a first preset value is determined as a first adjustment ratio, and the first preset value is greater than 0 and less than 1;
在确定出所述信息数据的变化趋势为下降的情况下,将第二预设值确定为第一调整比例,所述第二预设值大于1;When it is determined that the change trend of the information data is downward, the second preset value is determined as the first adjustment ratio, and the second preset value is greater than 1;
在一个可能的实施例中,所述唤醒调整信息确定模块102,还用于:In a possible embodiment, the wake-up adjustment information determining module 102 is further configured to:
根据所述数据值与对应的报警阈值的关系,对所述第一调整比例进行调整得到第二调整比例;adjusting the first adjustment ratio to obtain a second adjustment ratio according to the relationship between the data value and the corresponding alarm threshold;
在一个可能的实施例中,所述唤醒调整信息确定模块102,还用于:In a possible embodiment, the wake-up adjustment information determining module 102 is further configured to:
在所述数据值与对应的报警阈值的差值小于预设差值阈值的情况下,将所述第一调整比例乘以第三预设值得到第二调整比例,所述第三预设值大于0小于1;When the difference between the data value and the corresponding alarm threshold is less than a preset difference threshold, multiply the first adjustment ratio by a third preset value to obtain a second adjustment ratio, and the third preset value Greater than 0 and less than 1;
在所述数据值与对应的报警阈值的差值不小于所述预设差值阈值的情况下,将所述第一调整比例乘以第四预设值得到第二调整比例,所述第四预设值大于所述第三预设值且小于1;In the case that the difference between the data value and the corresponding alarm threshold is not less than the preset difference threshold, the first adjustment ratio is multiplied by a fourth preset value to obtain a second adjustment ratio, and the fourth The preset value is greater than the third preset value and less than 1;
在一个可能的实施例中,所述第一唤醒时间调整模块103,还用于:In a possible embodiment, the first wake-up time adjustment module 103 is further configured to:
在所述唤醒调整信息为第二调整比例的情况下,根据所述第二调整比例等比例的调整所述第一唤醒时间中唤醒时间点的间隔得到第二唤醒时间。In a case where the wake-up adjustment information is a second adjustment ratio, the second wake-up time is obtained by adjusting an interval of wake-up time points in the first wake-up time in equal proportions according to the second adjustment ratio.
图5为本发明实施例提供的一种动态唤醒采集节点的智能电缆监测设备的结构示意图,如图5所示,该设备包括处理器201、存储器202、输入装置203和输出装置204;设备中处理器201的数量可以是一个或多个,图5中以一个处理器201为例;设备中的处理器201、存储器202、输入装置203和输出装置204可以通过总线或其他方式连接,图5中以通过总线连接为例。存储器202作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的动态唤醒采集节点的智能电缆监测方法对应的程序指令/模块。处理器201通过运行存储在存储器202中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的动态唤醒采集节点的智能电缆监测方法。输入装置203可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置204可包括显示屏等显示设备。Fig. 5 is a schematic structural diagram of an intelligent cable monitoring device that dynamically wakes up a collection node provided by an embodiment of the present invention. As shown in Fig. 5, the device includes a processor 201, a memory 202, an input device 203, and an output device 204; The number of processors 201 can be one or more, and one processor 201 is taken as an example in FIG. Take connection via bus as an example. As a computer-readable storage medium, the memory 202 can be used to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the smart cable monitoring method for dynamically waking up collection nodes in the embodiment of the present invention. The processor 201 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 202, that is, realizes the above-mentioned intelligent cable monitoring method of dynamically waking up the collection node. The input device 203 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the device. The output device 204 may include a display device such as a display screen.
本发明实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种动态唤醒采集节点的智能电缆监测方法,该方法包括:The embodiment of the present invention also provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute a method for dynamically waking up a collection node for intelligent cable monitoring when executed by a computer processor. The method includes:
在检测到唤醒周期调整事件被触发时,获取采集节点在第一唤醒时间下上报的信息数据,所述第一唤醒时间包括多个唤醒时间点;根据所述信息数据的变化趋势和数据值确定唤醒调整信息;基于所述唤醒调整信息对所述第一唤醒时间进行调整得到第二唤醒时间;控制所述采集节点,在所述第二唤醒时间进行信息数据的上报。When it is detected that the wake-up cycle adjustment event is triggered, obtain the information data reported by the collection node at the first wake-up time, the first wake-up time includes multiple wake-up time points; determine according to the change trend and data value of the information data wake-up adjustment information; adjusting the first wake-up time based on the wake-up adjustment information to obtain a second wake-up time; controlling the collection node to report information data at the second wake-up time.
值得注意的是,上述动态唤醒采集节点的智能电缆监测方法装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明实施例的保护范围。It is worth noting that, in the above-mentioned embodiment of the intelligent cable monitoring method device for dynamically waking up the collection node, the included units and modules are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding function; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the embodiments of the present invention.
注意,上述仅为本发明实施例的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明实施例不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明实施例的保护范围。因此,虽然通过以上实施例对本发明实施例进行了较为详细的说明,但是本发明实施例不仅仅限于以上实施例,在不脱离本发明实施例构思的情况下,还可以包括更多其他等效实施例,而本发明实施例的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments and technical principles used in the embodiments of the present invention. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described here, and those skilled in the art can make various obvious changes, readjustments and substitutions without departing from the protection scope of the embodiments of the present invention . Therefore, although the embodiments of the present invention have been described in detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalents without departing from the concept of the embodiments of the present invention. embodiment, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310462027.1ACN116566435B (en) | 2023-04-26 | 2023-04-26 | Intelligent cable monitoring method and system for dynamically waking up acquisition nodes |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310462027.1ACN116566435B (en) | 2023-04-26 | 2023-04-26 | Intelligent cable monitoring method and system for dynamically waking up acquisition nodes |
| Publication Number | Publication Date |
|---|---|
| CN116566435Atrue CN116566435A (en) | 2023-08-08 |
| CN116566435B CN116566435B (en) | 2025-09-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310462027.1AActiveCN116566435B (en) | 2023-04-26 | 2023-04-26 | Intelligent cable monitoring method and system for dynamically waking up acquisition nodes |
| Country | Link |
|---|---|
| CN (1) | CN116566435B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117640828A (en)* | 2023-12-05 | 2024-03-01 | 大连即时智能科技有限公司 | Man-machine ratio adjusting method and system |
| CN118432273A (en)* | 2024-04-25 | 2024-08-02 | 广州南网科研技术有限责任公司 | Cable positioning system based on Internet of things identification |
| CN117640828B (en)* | 2023-12-05 | 2025-10-10 | 大连即时智能科技有限公司 | Human-machine ratio adjustment method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114034968A (en)* | 2021-10-20 | 2022-02-11 | 广州番禺电缆集团有限公司 | Cable data detection method and device based on distributed nodes |
| CN115361246A (en)* | 2022-07-04 | 2022-11-18 | 广州番禺电缆集团有限公司 | Cable node awakening device based on historical fault data |
| US20230068136A1 (en)* | 2021-08-27 | 2023-03-02 | Arlo Technologies, Inc. | Electronic Monitoring System Implementing Coordinated Waking of Wireless Battery-Powered Monitoring Devices |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20230068136A1 (en)* | 2021-08-27 | 2023-03-02 | Arlo Technologies, Inc. | Electronic Monitoring System Implementing Coordinated Waking of Wireless Battery-Powered Monitoring Devices |
| CN114034968A (en)* | 2021-10-20 | 2022-02-11 | 广州番禺电缆集团有限公司 | Cable data detection method and device based on distributed nodes |
| CN115361246A (en)* | 2022-07-04 | 2022-11-18 | 广州番禺电缆集团有限公司 | Cable node awakening device based on historical fault data |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117640828A (en)* | 2023-12-05 | 2024-03-01 | 大连即时智能科技有限公司 | Man-machine ratio adjusting method and system |
| CN117640828B (en)* | 2023-12-05 | 2025-10-10 | 大连即时智能科技有限公司 | Human-machine ratio adjustment method and system |
| CN118432273A (en)* | 2024-04-25 | 2024-08-02 | 广州南网科研技术有限责任公司 | Cable positioning system based on Internet of things identification |
| Publication number | Publication date |
|---|---|
| CN116566435B (en) | 2025-09-23 |
| Publication | Publication Date | Title |
|---|---|---|
| CN114034968B (en) | Cable data detection method and device based on distributed nodes | |
| CN112367384B (en) | Kafka cluster-based dynamic speed limiting method and device and computer equipment | |
| CN108628890A (en) | A kind of data export method and system | |
| CN116566435A (en) | Intelligent cable monitoring method and system for dynamically waking up acquisition node | |
| CN115361246B (en) | Cable node wake-up device based on historical fault data | |
| CN104320285A (en) | Website running status monitoring method and device | |
| CN114048228B (en) | Updating method, device, equipment and storage medium for state storage | |
| CN115278397A (en) | Low-power-consumption cable device for starting associated sensor to report based on reported data | |
| CN105760280A (en) | Power consumption monitoring system and method | |
| CN113986000A (en) | Server power-on method, system, device and medium | |
| CN115347661A (en) | Dormancy control method and control terminal of UPS system | |
| CN114639068A (en) | Intelligent cable with multi-sensor trigger mode for monitoring | |
| CN114866878B (en) | Intelligent cable control device with dynamic reporting of parameter data | |
| CN117743127B (en) | Power consumption data analysis method and system of notebook computer | |
| CN114413441A (en) | Key control method, key control device, computer equipment, storage medium and program product | |
| CN116938613B (en) | Dormancy method of monitoring sensor based on nonlinear information age and electronic equipment | |
| CN118071069A (en) | Energy data analysis method and system based on environment real-time data | |
| CN114500286B (en) | Self-adaptive peripheral scheduling method for Internet of things, computer equipment and storage medium | |
| CN118209815A (en) | Cable monitoring system and method for dynamically adjusting monitoring node | |
| CN113794537B (en) | Sensor network in power Internet of Things and its adaptive dynamic sampling method and device | |
| CN112799848B (en) | A control method and device | |
| CN112486683B (en) | Processor control method, control device, and computer-readable storage medium | |
| CN109302723A (en) | An Internet-based multi-node real-time radio monitoring and control system and control method | |
| CN118091239B (en) | A method and device for detecting current harmonic signals of low-power optical fiber current transformer | |
| CN114666680A (en) | Multi-sensor dynamic periodic polling and reporting data smart cable |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |