Disclosure of Invention
The embodiment of the invention provides a cable data detection method and device based on distributed nodes, solves the problems of poor flexibility and high equipment power consumption when detecting cable equipment in the prior art, optimizes a cable detection mechanism, saves the equipment power consumption and prolongs the detection available time.
In a first aspect, an embodiment of the present invention provides a cable data detection method based on distributed nodes, where the method includes:
acquiring pre-recorded cable areas of different areas, and determining cable parameter monitoring nodes contained in the cable areas;
determining a wake-up period, a data acquisition parameter and a data reporting period of the cable parameter monitoring node according to the type of the cable parameter monitoring node, the fault information of the cable segment area and the environmental parameter of the external environment of the cable segment area;
and controlling the cable parameter monitoring node to acquire the determined data acquisition parameters after the cable parameter monitoring node is awakened in the awakening period, and controlling the cable parameter monitoring node to report the data in the determined data reporting period.
Optionally, before acquiring pre-recorded cable areas of different segments and determining a cable parameter monitoring node included in the cable area, the method further includes:
and carrying out zone division on the wiring cable to obtain cable zones of different zones, wherein the different cable zones correspond to different cable types.
Optionally, the determining, according to the type of the cable parameter monitoring node, the fault information of the cable segment and the environmental parameter of the external environment of the cable segment, a wake-up period, a data acquisition parameter, and a data reporting period of the cable parameter monitoring node includes:
determining a wake-up period and a data reporting period of the cable parameter monitoring node according to the fault information of the cable segment area;
and determining the data acquisition parameters of the cable parameter monitoring nodes according to the types of the cable parameter monitoring nodes and the environmental parameters of the external environment of the cable zone.
Optionally, the determining the wake-up period and the data reporting period of the cable parameter monitoring node according to the fault information of the cable segment includes:
and determining the awakening period of the cable parameter monitoring node according to the fault grade in the fault information of the cable segment area, and determining the data reporting period of the cable parameter monitoring node according to the fault time in the fault information of the cable segment area.
Optionally, the determining the data acquisition parameters of the cable parameter monitoring node according to the type of the cable parameter monitoring node and the environmental parameters of the external environment of the cable segment area includes:
determining the priority of acquisition parameters according to the type of the cable parameter monitoring node;
and determining the data acquisition parameters of the cable parameter monitoring nodes according to the acquisition parameter priority and the environmental parameters of the external environment of the cable zone.
Optionally, the determining the priority of the acquisition parameter according to the type of the cable parameter monitoring node includes:
determining the corresponding acquisition parameter type according to the type of the cable parameter monitoring node;
and setting the priority of the determined acquisition parameter types of the cable parameter monitoring nodes to be high in all acquisition parameter type sets.
Optionally, the determining the data acquisition parameters of the cable parameter monitoring node according to the acquisition parameter priority and the environmental parameters of the external environment of the cable segment area includes:
acquiring environmental parameters of the external environment of the cable zone, and adjusting the priority of the acquisition parameters based on the environmental parameters;
and determining the data acquisition parameters of the cable parameter monitoring node according to the adjusted acquisition parameter priority.
In a second aspect, an embodiment of the present invention further provides a device for detecting cable data based on distributed nodes, where the device includes:
the node determining module is used for acquiring pre-recorded cable areas of different areas and determining cable parameter monitoring nodes contained in the cable areas;
the control parameter determining module is used for determining a wake-up period, a data acquisition parameter and a data reporting period of the cable parameter monitoring node according to the type of the cable parameter monitoring node, the fault information of the cable segment area and the environmental parameter of the external environment of the cable segment area;
and the node control module is used for controlling the cable parameter monitoring node to acquire the determined data acquisition parameters after the cable parameter monitoring node is awakened in the awakening period and controlling the cable parameter monitoring node to report the data in the data reporting period at the determined position.
In a third aspect, an embodiment of the present invention further provides a device for detecting cable data based on distributed nodes, where the device includes:
one or more processors;
a storage device 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 method for cable data detection based on distributed nodes according to the embodiment of the present invention.
In a fourth aspect, the present invention further provides a storage medium storing computer-executable instructions, which when executed by a computer processor, are configured to perform the distributed node-based cable data detection method according to the present invention.
In the embodiment of the invention, cable parameter monitoring nodes contained in cable areas are determined by acquiring the pre-recorded cable areas of different areas; determining a wake-up period, a data acquisition parameter and a data reporting period of the cable parameter monitoring node according to the type of the cable parameter monitoring node, the fault information of the cable segment area and the environmental parameter of the external environment of the cable segment area; and controlling the cable parameter monitoring node to acquire the determined data acquisition parameters after the cable parameter monitoring node is awakened in the awakening period, and controlling the cable parameter monitoring node to report the data in the determined data reporting period. According to the scheme, the problems that in the prior art, when the cable equipment is detected, the flexibility is poor and the equipment power consumption is high are solved, a cable detection mechanism is optimized, the equipment power consumption is saved, and the length of available detection time is prolonged.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Fig. 1 is a flowchart of a method for detecting cable data based on distributed nodes according to an embodiment of the present invention, which can be executed by a cable system master control platform integrated by a server, and specifically includes the following steps:
step S101, obtaining pre-recorded cable areas of different areas, and determining cable parameter monitoring nodes contained in the cable areas.
In one embodiment, the area in which the cable is routed is zoned to create a plurality of different zoned cable areas. Specifically, the zoning may be based on the geographic location of the cabling. Preferably, the cable runs of the cable runs are divided, i.e. the different types of cables run in different runs as different tiles. Illustratively, the cable segment areas are divided for different power supply types and different cable purposes respectively.
A plurality of cable parameter monitoring nodes are preset in the cable line in the scheme so as to realize monitoring of cable parameters. Preferably, the cable parameter monitoring nodes are arranged at intervals in the cable connector and the cable, so that the accuracy of information acquisition of the cable parameter monitoring nodes is ensured. Specifically, the cable parameter monitoring node can be a small internet of things device with a communication function, preferably, the internet of things device integrates sensors of a plurality of different types simultaneously to acquire different parameters respectively.
In one embodiment, before acquiring pre-recorded cable areas of different sections and determining cable parameter monitoring nodes contained in the cable areas, the method further includes: and carrying out zone division on the wiring cable to obtain cable zones of different zones, wherein the different cable zones correspond to different cable types. Among the cable types, the cable type may be a power cable, a control cable, a compensation cable, a shield cable, a high temperature cable, a computer cable, a signal cable, a coaxial cable, a fire resistant cable, a marine cable, a mining cable, an aluminum alloy cable, etc.
Step S102, determining a wake-up period, a data acquisition parameter and a data reporting period of the cable parameter monitoring node according to the type of the cable parameter monitoring node, the fault information of the cable segment area and the environmental parameter of the external environment of the cable segment area.
In one embodiment, the type of the cable parameter monitoring node is determined based on the cable type. Optionally, the cable types include a power cable, a control cable, a compensation cable, a shielding cable, a high-temperature cable, a computer cable, a signal cable, a coaxial cable, a fire-resistant cable, a marine cable, a mining cable, an aluminum alloy cable, and the like, that is, different cable types correspond to different types of cable parameter monitoring nodes. Wherein the fault information characterizes information about the occurred fault. The environmental parameters of the external environment characterize the relevant information of the environment outside the cable segment area.
Specifically, fig. 2 is a flowchart of a method for determining a wake-up period, a data acquisition parameter, and a data reporting period of a cable parameter monitoring node according to an embodiment of the present invention, which provides a specific method for determining a wake-up period, a data acquisition parameter, and a data reporting period of a cable parameter monitoring node according to a type of the cable parameter monitoring node, fault information of a cable segment, and an environment parameter of an environment outside the cable segment. The method comprises the following steps:
and S1021, determining the awakening period and the data reporting period of the cable parameter monitoring node according to the fault information of the cable segment.
The cable parameter monitoring node is provided with a wake-up period and a data reporting period in order to save energy consumption, data acquisition is carried out in the wake-up period, and the acquired data is reported in the data reporting period. In one embodiment, the wake-up period and the data reporting period of the cable parameter monitoring node are determined according to the fault information of the cable segment. Specifically, fig. 3 is a flowchart for determining an awake period and a data reporting period of a cable parameter monitoring node according to an embodiment of the present invention, and as shown in fig. 3, the flowchart includes:
step S10211, determining the wake-up period of the cable parameter monitoring node according to the fault level in the fault information of the cable segment area.
In one embodiment, the fault information includes a fault level. Illustratively, five fault levels with different levels are set, and the fault levels correspond to different wake-up periods from high to low respectively. Wherein the wake-up period comprises a wake-up frequency and a wake-up duration. Illustratively, in units of days, the wake-up period corresponding to the highest level of fault level is wake-up 5 times per day, and the duration is 5 minutes; the awakening period corresponding to the fault level of the second level is awakened 3 times every day, and the duration time is 3 minutes; the awakening period corresponding to the fault level of the third level is awakened 3 times every day, and the duration time is 1 minute; the awakening period corresponding to the fault level of the fourth level is awakened for 2 times every day, and the duration time is 1 minute; the wake-up period corresponding to the fault level of the fifth level is 1 time per day, and the duration time is 1 minute.
Step S10212, determining the data reporting period of the cable parameter monitoring node according to the fault time in the fault information of the cable segment area.
The data reporting period represents a time period for the cable parameter monitoring node to report data, for example, a fixed time point every day is taken as a reporting time point, and the data reporting period is taken as a period for periodic reporting. In an embodiment, the failure time determines a data reporting period of the cable parameter monitoring node, and preferably, data reporting is performed with preset time (e.g. 30 minutes, 1 hour, and 2 hours) before the failure time point as a reporting period time point.
Step S1022, determining a data acquisition parameter of the cable parameter monitoring node according to the type of the cable parameter monitoring node and the environmental parameter of the external environment of the cable segment.
The method comprises the following steps of determining different data acquisition parameters according to different types of cable parameter monitoring nodes and environment parameters of the external environment of a cable area. In an embodiment, fig. 4 is a flowchart for determining data acquisition parameters according to an embodiment of the present invention, which specifically includes:
and step S10221, determining the priority of acquisition parameters according to the type of the cable parameter monitoring node.
In one embodiment, determining acquisition parameter priorities based on the type of the cable parameter monitoring node comprises: and determining corresponding acquisition parameter types according to the types of the cable parameter monitoring nodes, and setting the priority of the determined acquisition parameter types of the cable parameter monitoring nodes to be high in all acquisition parameter type sets.
Optionally, the types of the different cable parameter monitoring nodes correspond to different important parameters to be acquired, and some important parameters are temperature, some current and some deformation. In the scheme, the acquisition parameter priority is determined based on the types of different cable parameter monitoring nodes. Optionally, the priority for the temperature parameter of the power cable is high, and the priority for the deformation parameter of the signal cable is high.
Step S10222, determining data acquisition parameters of the cable parameter monitoring node according to the acquisition parameter priority and the environmental parameters of the external environment of the cable segment area.
In one embodiment, the determining the data acquisition parameters of the cable parameter monitoring node according to the acquisition parameter priority and the environmental parameters of the environment outside the cable segment area includes: acquiring environmental parameters of the external environment of the cable zone, and adjusting the priority of the acquisition parameters based on the environmental parameters; and determining the data acquisition parameters of the cable parameter monitoring node according to the adjusted acquisition parameter priority.
Optionally, after the priority of the acquisition parameter is determined, the data acquisition parameter of the cable parameter monitoring node is further determined according to the environmental parameter of the external environment of the cable segment area. Specifically, taking the example that the acquisition parameters include temperature and deformation, when the external environment temperature changes greatly or reaches a certain temperature value, the determined data acquisition parameters are temperature parameters. When the external environment is a weather with large change, such as thunderstorm weather and strong wind weather, the data acquisition parameters are deformation. Preferably, only one of the data acquisition parameters is flexibly determined through a multi-stage strategy to control the node to acquire and report the data acquisition parameter so as to intelligently and adaptively monitor the operation condition of the cable.
Step S103, controlling the cable parameter monitoring node to perform the collection of the determined data acquisition parameters after the cable parameter monitoring node is awakened in the awakening period, and controlling the cable parameter monitoring node to perform the data reporting in the data reporting period of the determined position.
After the wake-up period and the data acquisition parameters are respectively determined based on the steps, the node is controlled to acquire the data acquisition parameters when the wake-up period comes, and data is reported in the determined reporting period.
In an embodiment, the system platform or the main control node may send the determined wake-up period, data reporting period, and collected data parameters to the cable parameter monitoring nodes in each control area, and after receiving the relevant instruction, the cable parameter monitoring nodes perform corresponding work according to the wake-up period, the data reporting period, and the collected data parameters specified by the instruction.
According to the scheme, the cable parameter monitoring nodes contained in the cable areas are determined by acquiring the pre-recorded cable areas of different areas; determining a wake-up period, a data acquisition parameter and a data reporting period of the cable parameter monitoring node according to the type of the cable parameter monitoring node, the fault information of the cable segment area and the environmental parameter of the external environment of the cable segment area; and controlling the cable parameter monitoring node to acquire the determined data acquisition parameters after the cable parameter monitoring node is awakened in the awakening period, and controlling the cable parameter monitoring node to report the data in the determined data reporting period. According to the scheme, the problems that in the prior art, when the cable equipment is detected, the flexibility is poor and the equipment power consumption is high are solved, a cable detection mechanism is optimized, the equipment power consumption is saved, and the length of available detection time is prolonged.
Fig. 5 is a block diagram of a cable data detection apparatus based on distributed nodes according to an embodiment of the present invention, where the apparatus is configured to execute the cable data detection method based on distributed nodes according to the foregoing embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 5, the apparatus specifically includes: anode determination module 101, a controlparameter determination module 102, and anode control module 103, wherein,
thenode determining module 101 is configured to acquire pre-recorded cable areas of different areas, and determine a cable parameter monitoring node included in the cable area;
a controlparameter determining module 102, configured to determine, according to the type of the cable parameter monitoring node, the fault information of the cable segment, and an environmental parameter of an external environment of the cable segment, a wake-up period, a data acquisition parameter, and a data reporting period of the cable parameter monitoring node;
and thenode control module 103 is configured to control the cable parameter monitoring node to perform data collection of the determined data collection parameter after the cable parameter monitoring node is awakened in the awakening period, and control the cable parameter monitoring node to perform data reporting in the data reporting period at the determined position.
According to the scheme, the cable parameter monitoring nodes contained in the cable areas are determined by acquiring the pre-recorded cable areas of different areas; determining a wake-up period, a data acquisition parameter and a data reporting period of the cable parameter monitoring node according to the type of the cable parameter monitoring node, the fault information of the cable segment area and the environmental parameter of the external environment of the cable segment area; and controlling the cable parameter monitoring node to acquire the determined data acquisition parameters after the cable parameter monitoring node is awakened in the awakening period, and controlling the cable parameter monitoring node to report the data in the determined data reporting period. According to the scheme, the problems that in the prior art, when the cable equipment is detected, the flexibility is poor and the equipment power consumption is high are solved, a cable detection mechanism is optimized, the equipment power consumption is saved, and the length of available detection time is prolonged. The specific functions executed by each module are as follows:
in a possible embodiment, before acquiring pre-recorded cable areas of different tiles and determining cable parameter monitoring nodes contained in the cable areas, the method further includes:
and carrying out zone division on the wiring cable to obtain cable zones of different zones, wherein the different cable zones correspond to different cable types.
In a possible embodiment, the determining, according to the type of the cable parameter monitoring node, the fault information of the cable segment, and the environmental parameter of the environment outside the cable segment, a wake-up period, a data acquisition parameter, and a data reporting period of the cable parameter monitoring node includes:
determining a wake-up period and a data reporting period of the cable parameter monitoring node according to the fault information of the cable segment area;
and determining the data acquisition parameters of the cable parameter monitoring nodes according to the types of the cable parameter monitoring nodes and the environmental parameters of the external environment of the cable zone.
In a possible embodiment, the determining the wake-up period and the data reporting period of the cable parameter monitoring node according to the fault information of the cable segment includes:
and determining the awakening period of the cable parameter monitoring node according to the fault grade in the fault information of the cable segment area, and determining the data reporting period of the cable parameter monitoring node according to the fault time in the fault information of the cable segment area.
In one possible embodiment, the determining the data acquisition parameters of the cable parameter monitoring node according to the type of the cable parameter monitoring node and the environmental parameters of the environment outside the cable segment area includes:
determining the priority of acquisition parameters according to the type of the cable parameter monitoring node;
and determining the data acquisition parameters of the cable parameter monitoring nodes according to the acquisition parameter priority and the environmental parameters of the external environment of the cable zone.
In one possible embodiment, the determining the acquisition parameter priority according to the type of the cable parameter monitoring node includes:
determining the corresponding acquisition parameter type according to the type of the cable parameter monitoring node;
and setting the priority of the determined acquisition parameter types of the cable parameter monitoring nodes to be high in all acquisition parameter type sets.
In one possible embodiment, the determining the data acquisition parameters of the cable parameter monitoring node according to the acquisition parameter priority and the environmental parameters of the environment outside the cable segment area includes:
acquiring environmental parameters of the external environment of the cable zone, and adjusting the priority of the acquisition parameters based on the environmental parameters;
and determining the data acquisition parameters of the cable parameter monitoring node according to the adjusted acquisition parameter priority.
Fig. 6 is a schematic structural diagram of a distributed node-based cable data detection apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus includes aprocessor 201, amemory 202, aninput device 203, and anoutput device 204; the number of theprocessors 201 in the device may be one or more, and oneprocessor 201 is taken as an example in fig. 6; theprocessor 201, thememory 202, theinput device 203 and theoutput device 204 in the apparatus may be connected by a bus or other means, for example in fig. 6. Thememory 202 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the distributed node-based cable data detection method in the embodiment of the present invention. Theprocessor 201 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in thememory 202, that is, implements the above-described distributed node-based cable data detection method. Theinput device 203 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the apparatus. Theoutput device 204 may include a display device such as a display screen.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a distributed node-based cable data detection method, the method including:
acquiring pre-recorded cable areas of different areas, and determining cable parameter monitoring nodes contained in the cable areas;
determining a wake-up period, a data acquisition parameter and a data reporting period of the cable parameter monitoring node according to the type of the cable parameter monitoring node, the fault information of the cable segment area and the environmental parameter of the external environment of the cable segment area;
and controlling the cable parameter monitoring node to acquire the determined data acquisition parameters after the cable parameter monitoring node is awakened in the awakening period, and controlling the cable parameter monitoring node to report the data in the determined data reporting period.
Optionally, before acquiring pre-recorded cable areas of different segments and determining a cable parameter monitoring node included in the cable area, the method further includes:
and carrying out zone division on the wiring cable to obtain cable zones of different zones, wherein the different cable zones correspond to different cable types.
Optionally, the determining, according to the type of the cable parameter monitoring node, the fault information of the cable segment and the environmental parameter of the external environment of the cable segment, a wake-up period, a data acquisition parameter, and a data reporting period of the cable parameter monitoring node includes:
determining a wake-up period and a data reporting period of the cable parameter monitoring node according to the fault information of the cable segment area;
and determining the data acquisition parameters of the cable parameter monitoring nodes according to the types of the cable parameter monitoring nodes and the environmental parameters of the external environment of the cable zone.
Optionally, the determining the wake-up period and the data reporting period of the cable parameter monitoring node according to the fault information of the cable segment includes:
and determining the awakening period of the cable parameter monitoring node according to the fault grade in the fault information of the cable segment area, and determining the data reporting period of the cable parameter monitoring node according to the fault time in the fault information of the cable segment area.
Optionally, the determining the data acquisition parameters of the cable parameter monitoring node according to the type of the cable parameter monitoring node and the environmental parameters of the external environment of the cable segment area includes:
determining the priority of acquisition parameters according to the type of the cable parameter monitoring node;
and determining the data acquisition parameters of the cable parameter monitoring nodes according to the acquisition parameter priority and the environmental parameters of the external environment of the cable zone.
Optionally, the determining the priority of the acquisition parameter according to the type of the cable parameter monitoring node includes:
determining the corresponding acquisition parameter type according to the type of the cable parameter monitoring node;
and setting the priority of the determined acquisition parameter types of the cable parameter monitoring nodes to be high in all acquisition parameter type sets.
Optionally, the determining the data acquisition parameters of the cable parameter monitoring node according to the acquisition parameter priority and the environmental parameters of the external environment of the cable segment area includes:
acquiring environmental parameters of the external environment of the cable zone, and adjusting the priority of the acquisition parameters based on the environmental parameters;
and determining the data acquisition parameters of the cable parameter monitoring node according to the adjusted acquisition parameter priority.
It should be noted that, in the embodiment of the cable data detection apparatus based on distributed nodes, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
It should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will appreciate that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.