CN117857655A - Control method, device, terminal and medium of intelligent Internet of things terminal of cable channel - Google Patents

Control method, device, terminal and medium of intelligent Internet of things terminal of cable channel Download PDF

Info

Publication number
CN117857655A
CN117857655A CN202410263946.0A CN202410263946A CN117857655A CN 117857655 A CN117857655 A CN 117857655A CN 202410263946 A CN202410263946 A CN 202410263946A CN 117857655 A CN117857655 A CN 117857655A
Authority
CN
China
Prior art keywords
data
target
host
available
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410263946.0A
Other languages
Chinese (zh)
Other versions
CN117857655B (en
Inventor
肖俊平
肖高林
张丹阳
夏阳
舒蔚蔚
胡超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anyi County Power Supply Branch State Grid Jiangxi Electric Power Co ltd
Nanchang Honggutan Power Supply Branch State Grid Jiangxi Electric Power Co ltd
State Grid Jiangxi Electric Power Co ltd Nanchang County Power Supply Branch
Zhuhai Gene Cosmos Electric Technology Co ltd
Original Assignee
Anyi County Power Supply Branch State Grid Jiangxi Electric Power Co ltd
Nanchang Honggutan Power Supply Branch State Grid Jiangxi Electric Power Co ltd
State Grid Jiangxi Electric Power Co ltd Nanchang County Power Supply Branch
Zhuhai Gene Cosmos Electric Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anyi County Power Supply Branch State Grid Jiangxi Electric Power Co ltd, Nanchang Honggutan Power Supply Branch State Grid Jiangxi Electric Power Co ltd, State Grid Jiangxi Electric Power Co ltd Nanchang County Power Supply Branch, Zhuhai Gene Cosmos Electric Technology Co ltd filed Critical Anyi County Power Supply Branch State Grid Jiangxi Electric Power Co ltd
Priority to CN202410263946.0A priority Critical patent/CN117857655B/en
Publication of CN117857655A publication Critical patent/CN117857655A/en
Application granted granted Critical
Publication of CN117857655B publication Critical patent/CN117857655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a control method, a device, a terminal and a medium of an intelligent Internet of things terminal of a cable channel, wherein the method comprises the following steps: the intelligent Internet of things terminal is provided with a plurality of available host interfaces and available sensing interfaces, an available host protocol is preset for each available host interface, an available private protocol is preset for each available sensing interface, a data conversion relation between the available host protocol and each available private protocol is preset and loaded, after sensing data are acquired, the sensing data are converted into standard data based on the target conversion relation, and the standard data are reported to a target control host. According to the technical scheme of the embodiment, the matching of the preset conversion relation is realized through the interface, the expansion compatibility of the system is improved, the unification of the data protocol is completed in the data acquisition process, the data processing efficiency is higher, only one control host is required to be configured for standard data application, the data sharing performance is better, and the reliability and the stability of the monitoring system are improved.

Description

Control method, device, terminal and medium of intelligent Internet of things terminal of cable channel
Technical Field
The invention relates to the technical field of data processing of electric power terminals, in particular to a control method, a device, a terminal and a medium of an intelligent Internet of things terminal of a cable channel.
Background
With the rapid development of power industry and urban construction, more and more power transmission and distribution networks are gradually replaced by power cable tunnels, and due to the fact that the operation environment of the cable tunnels is complex, the change of the tunnel environment can bring about certain adverse effects on the safe and reliable operation of the power cables, and power transmission is interrupted in severe cases. Therefore, the comprehensive monitoring system for the omnibearing power cable tunnel is ensured to be safe, reliable and stable in development, and has important significance for ensuring safe and healthy operation of a power transmission network, fault monitoring and ensuring normal operation of urban production.
In the cable tunnel online monitoring system, the intelligent internet of things terminal of the cable channel plays a role in supporting the up and down of the system, and is the core of the whole system. The intelligent internet of things terminal of the cable channel is connected with various environment sensors arranged in the cable channel, data of the environment sensors are collected and then reported to the control host, and the control host processes related data. However, the technical standards, proprietary protocols and communication interfaces of different environmental sensors may be different, in the prior art, the intelligent internet of things terminal of the cable channel is only used as an edge gateway to perform data transfer, and all data processing is completed by a control host, so that one control host needs to be set for each data protocol, or one control host is provided with a plurality of data protocols to convert the sensing data into standard data conforming to the power protocol in turn, the efficiency of data processing is lower, the sharing property of the data of a plurality of control hosts is poor, and the stability, reliability and expansion compatibility of the monitoring system are also affected.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides a control method, a device, a terminal and a medium of an intelligent Internet of things terminal of a cable channel, which can improve the data processing efficiency, the data sharing property and the stability, the reliability and the expansion compatibility of a monitoring system.
In a first aspect, an embodiment of the present invention provides a control method for a smart internet of things terminal of a cable channel, which is applied to a smart internet of things terminal, where the smart internet of things terminal includes a plurality of available host interfaces and a plurality of available sensor interfaces, the available host interfaces are used for connecting with available control hosts, the available sensor interfaces are used for connecting with environment sensors, the number of the environment sensors is a plurality of and all are set in the cable channel, and the control method for the smart internet of things terminal of the cable channel includes:
determining the available host interfaces in a communication state as target host interfaces, and determining a target host protocol from preset available host protocols based on the target host interfaces, wherein the available host protocols are power protocols of the available control hosts, each available host interface is pre-associated with the available host protocol of the corresponding available control host, and the number of the target host interfaces is one;
Determining the available sensing interface connected with the environment sensor as an activated sensing interface, and determining a target private protocol from preset available private protocols based on the activated sensing interface, wherein the available private protocols are private data protocols of the environment sensor, each available sensing interface is pre-associated with the private data protocols of the connected environment sensor, and the number of the activated sensing interfaces is at least one;
acquiring a preset protocol mapping table, wherein the protocol mapping table records a data conversion relation between the available host protocol and each available private protocol;
based on the target host protocol and the target private protocol, acquiring a target conversion relation from the protocol mapping table, and binding the target conversion relation to the corresponding activation sensing interface;
acquiring sensing data of each environmental sensor through the activation sensing interface, and converting the sensing data into standard data based on the target conversion relation;
reporting all the standard data to a target control host through the target host interface, wherein the target control host is the available control host connected with the target host interface;
When the communication is detected to be disconnected by the target host interface, and communication is established with the corresponding available control host through the other available host interface, the available host interface for newly establishing communication is determined to be a new target host interface;
determining a new target host protocol based on the new target host interface, acquiring a new target conversion relation from the protocol mapping table based on the new target host protocol and the target private protocol, and binding the new target conversion relation to the corresponding activation sensing interface;
and when the sensing data is acquired, converting the sensing data into new standard data based on the new target conversion relation.
According to some embodiments of the invention, before the reporting of all the standard data to the target control host via the target host interface, the method further comprises:
acquiring a device identifier of the environment sensor corresponding to the activation sensing interface, wherein the device identifier is used for uniquely indicating the sensor type of the environment sensor, is preset in the intelligent internet of things terminal and is associated with the corresponding available sensing interface, and takes effect after the activation sensing interface is accessed to the environment sensor and communication is established;
Determining a data identifier of the sensing data, wherein the data identifier is used for indicating a data type of the sensing data, and the data type comprises sensing information and switching value;
and associating the device identifier and the data identifier to the corresponding standard data.
According to some embodiments of the invention, the number of the environmental sensors is plural, and the reporting all the standard data to the target control host through the target host interface includes:
adding a plurality of said standard data of the same device identity to the same device data set;
dividing a plurality of said standard data into at least one sensing data packet within the same said device data set based on the same principle of said data identification;
and reporting all the equipment data sets to the target control host through the target host interface.
According to some embodiments of the invention, the converting the sensor data into standard data based on the target conversion relation includes:
when acquiring an acquisition strategy issued by the target control host, determining target data identifiers of the activated sensing interfaces by analyzing the acquisition strategy, wherein the target data identifiers are the data identifiers of target strategy data;
Screening the target strategy data from the sensing data based on the target data identification;
and converting the target strategy data into the standard data based on the target conversion relation.
According to some embodiments of the invention, the collection policy further includes a collection event, the collection event is recorded with an event duration and a plurality of associated environmental sensors, and the reporting all the standard data to a target control host through the target host interface includes:
based on a plurality of environmental sensors recorded by the acquisition event, storing the standard data corresponding to the corresponding activation sensing interface into an event data set;
and when the data acquisition time length of the event data set meets the event time length, reporting the event data set to the target control host through the target host interface.
According to some embodiments of the invention, after the converting the sensor data into standard data based on the target conversion relation, the method further comprises:
acquiring a threshold comparison table pre-associated with the target host interface, wherein the threshold comparison table is recorded with alarm thresholds corresponding to the environment sensors;
And when the standard data exceeds an alarm threshold value, sending alarm information to the target control host through the target host interface.
In a second aspect, an embodiment of the present invention provides a control device for a smart internet of things terminal of a cable channel, including at least one control processor and a memory for communication connection with the at least one control processor; the memory stores instructions executable by the at least one control processor to enable the at least one control processor to perform the method of controlling the intelligent internet of things terminal of the cable channel as described in the first aspect.
In a third aspect, an embodiment of the present invention provides a smart internet of things terminal for a cable tunnel, including a control device for a smart internet of things terminal for a cable tunnel according to the second aspect.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium storing computer executable instructions for executing the control method of the intelligent internet of things terminal of the cable tunnel according to the first aspect.
The control method of the intelligent Internet of things terminal of the cable channel has the following beneficial effects: determining an available host interface in a communication state as a target host interface, and determining a target host protocol from preset available host protocols based on the target host interface, wherein the available host protocol is a power protocol of an available control host, each available host interface is pre-associated with the available host protocol of the corresponding available control host, and the number of the target host interfaces is one; determining available sensing interfaces connected with the environment sensor as activated sensing interfaces, and determining a target private protocol from preset available private protocols based on the activated sensing interfaces, wherein the available private protocols are private data protocols of the environment sensor, each available sensing interface is pre-associated with the private data protocol of the connected environment sensor, and the number of the activated sensing interfaces is at least one; acquiring a preset protocol mapping table, wherein the protocol mapping table is loaded with a data conversion relation between an available host protocol and each available private protocol; based on a target host protocol and a target private protocol, acquiring a target conversion relation from a protocol mapping table, and binding the target conversion relation to a corresponding activation sensing interface; acquiring sensing data of each environmental sensor through activating a sensing interface, and converting the sensing data into standard data based on a target conversion relation; reporting all standard data to a target control host through a target host interface, wherein the target control host is an available control host connected with the target host interface, and when the fact that the target host interface is disconnected from communication is detected, communication is established with the corresponding available control host through another available host interface, and the available host interface for newly establishing communication is determined to be a new target host interface; determining a new target host protocol based on the new target host interface, acquiring a new target conversion relation from the protocol mapping table based on the new target host protocol and the target private protocol, and binding the new target conversion relation to the corresponding activation sensing interface; and when the sensing data is acquired, converting the sensing data into new standard data based on the new target conversion relation. According to the technical scheme provided by the embodiment of the invention, the conversion relations between each power protocol and the sensor private protocol can be preset at the intelligent Internet of things terminal, the matching of the conversion relations is realized through the interfaces, the expansion compatibility of the system is effectively improved, the protocols are unified in the acquisition process through the intelligent Internet of things terminal, the data processing efficiency is higher, only one control host is required to be configured for standard data application, the data sharing performance is better, and the reliability and the stability of the monitoring system are improved.
Drawings
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the present invention;
fig. 2 is a flowchart of a control method of a smart internet of things terminal of a cable channel according to another embodiment of the present invention;
FIG. 3 is a complete flowchart of a control method of a smart Internet of things terminal of a cable channel according to another embodiment of the present invention;
fig. 4 is a block diagram of a control device of a smart internet of things terminal of a cable channel according to another embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, it should be understood that references to orientation descriptions such as upper, lower, front, rear, left, right, etc. are based on the orientation or positional relationship shown in the drawings, are merely for convenience of description of the present invention and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention.
In the description of the present invention, a number means one or more, a number means two or more, and greater than, less than, exceeding, etc. are understood to not include the present number, and above, below, within, etc. are understood to include the present number. The description of the first and second is for the purpose of distinguishing between technical features only and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present invention can be reasonably determined by a person skilled in the art in combination with the specific contents of the technical scheme.
The embodiment of the invention provides a control method, a device, a terminal and a medium of an intelligent Internet of things terminal of a cable channel, wherein the control method of the intelligent Internet of things terminal of the cable channel comprises the following steps: determining an available host interface in a communication state as a target host interface, and determining a target host protocol from preset available host protocols based on the target host interface, wherein the available host protocol is a power protocol of an available control host, each available host interface is pre-associated with the available host protocol of the corresponding available control host, and the number of the target host interfaces is one; determining available sensing interfaces connected with the environment sensor as activated sensing interfaces, and determining a target private protocol from preset available private protocols based on the activated sensing interfaces, wherein the available private protocols are private data protocols of the environment sensor, each available sensing interface is pre-associated with the private data protocol of the connected environment sensor, and the number of the activated sensing interfaces is at least one; acquiring a preset protocol mapping table, wherein the protocol mapping table is loaded with a data conversion relation between an available host protocol and each available private protocol; based on a target host protocol and a target private protocol, acquiring a target conversion relation from a protocol mapping table, and binding the target conversion relation to a corresponding activation sensing interface; acquiring sensing data of each environmental sensor through activating a sensing interface, and converting the sensing data into standard data based on a target conversion relation; and reporting all the standard data to a target control host through a target host interface, wherein the target control host is an available control host connected with the target host interface. According to the technical scheme provided by the embodiment of the invention, the conversion relations between each power protocol and the sensor private protocol can be preset at the intelligent Internet of things terminal, the matching of the conversion relations is realized through the interfaces, the expansion compatibility of the system is effectively improved, the protocols are unified in the acquisition process through the intelligent Internet of things terminal, the data processing efficiency is higher, only one control host is required to be configured for standard data application, the data sharing performance is better, and the reliability and the stability of the monitoring system are improved.
First, an implementation environment of the present invention is described as an example, and the present example is not limited to a specific device structure, but a specific implementation environment in which the technical solution of the present invention may be implemented, and referring to fig. 1, fig. 1 is a schematic diagram of an implementation environment of an embodiment of the present invention. The implementation scenario of the embodiment of the invention comprises a smart internet of things terminal 20, an environment sensor 11 and an available control host 30, wherein the smart internet of things terminal 20 comprises a plurality of available host interfaces 22 and available sensor interfaces 21, the number of the environment sensors 11 can be one or more and are arranged in a cable channel 10, the environment sensor 11 is connected with the available sensor interfaces 21 through data lines, and the available control host 30 is connected with the available host interfaces 22 in a wired manner.
It should be noted that, one environment sensor 11 is connected to one available sensing interface 21, and one available control host 30 is connected to one available host interface 22, so as to ensure accuracy of the subsequent matching protocol.
The control method according to the embodiment of the present invention will be further described based on the implementation environment shown in fig. 1.
Referring to fig. 2, fig. 2 is a flowchart of a control method of a smart internet of things terminal of a cable channel according to an embodiment of the present invention, where the control method of the smart internet of things terminal of the cable channel includes, but is not limited to, the following steps:
S21, determining an available host interface in a communication state as a target host interface, and determining a target host protocol from preset available host protocols based on the target host interface, wherein the available host protocol is a power protocol of an available control host, each available host interface is pre-associated with the available host protocol of the corresponding available control host, and the number of the target host interfaces is one;
s22, determining available sensing interfaces connected with the environment sensor as activated sensing interfaces, and determining a target private protocol from preset available private protocols based on the activated sensing interfaces, wherein the available private protocol is a private data protocol of the environment sensor, each available sensing interface is pre-associated with the private data protocol of the connected environment sensor, and the number of the activated sensing interfaces is at least one;
s23, acquiring a preset protocol mapping table, wherein the protocol mapping table is recorded with a data conversion relation between an available host protocol and each available private protocol;
s24, acquiring a target conversion relation from a protocol mapping table based on a target host protocol and a target private protocol, and binding the target conversion relation to a corresponding activation sensing interface;
S25, acquiring sensing data of each environmental sensor through activating a sensing interface, and converting the sensing data into standard data based on a target conversion relation;
s26, reporting all standard data to a target control host through a target host interface, wherein the target control host is an available control host connected with the target host interface;
s27, when the fact that the target host interface is disconnected in communication is detected, communication is established with a corresponding available control host through another available host interface, and the newly established communication available host interface is determined to be a new target host interface;
s28, determining a new target host protocol based on the new target host interface, acquiring a new target conversion relation from a protocol mapping table based on the new target host protocol and a target private protocol, and binding the new target conversion relation to a corresponding activation sensing interface;
and S29, when the sensing data is acquired, converting the sensing data into new standard data based on the new target conversion relation.
It should be noted that, referring to fig. 1, the intelligent internet of things terminal may be connected to a plurality of available control hosts, for example, the control host a shown in fig. 1 is a main control host, the control host B is a standby control host, or, for example, the control host a shown in fig. 1 is a control host disposed at the power distribution station a, the control host B is a control host disposed at the power distribution station B, and the control authority of the power distribution station a is higher than that of the power distribution station B.
It should be noted that, the number of available host interfaces and available sensor interfaces may be arbitrary, the number of available host interfaces may be greater than the number of available control hosts, the number of available sensor interfaces may be greater than the number of environment sensors, each available control host is ensured to have a corresponding available host interface, each environment sensor is ensured to have a corresponding available sensor interface, and the available host interfaces and the available control hosts in this embodiment are in a unique corresponding relationship, and the available sensor interfaces and the environment sensors are also in a unique corresponding relationship, that is, there is no available host interface shared by a plurality of available control hosts, or the same available sensor interface is shared by a plurality of environment sensors, so as to avoid error occurrence of protocol mapping.
It should be noted that, the available sensing interface and the available host interface may be a USB interface, a switching value output interface, a switching value signal input interface, an RS232 interface, an RS485 interface, etc., and the specific interface type is not limited in this embodiment.
It should be noted that, the environmental sensor may be a common sensor in a cable channel such as a common smoke sensor, a temperature sensor, a water immersion sensor, etc., and the specific type of the sensor is not limited in this embodiment.
It should be noted that, in this embodiment, the available control host and the environmental sensor may be plugged into the corresponding interfaces, and since the intelligent internet of things terminal only communicates with one control host at a time, the embodiment does not use whether to plug into the interface as the determination of the target host interface, but uses whether to be in the communication state as the determination of the target host interface, for example, the available host interface a is connected to the available control host a, the available host interface B is connected to the available control host B, and in the case that the intelligent internet of things terminal communicates with the available control host a, there is data interaction between the available host interface a and the available host interface a is the target host interface in the communication state, and the available control host a is the target control host.
It should be noted that different power operators, power distribution stations, or power systems may use different power protocols, and in the case of different power protocols, the data collected by the sensors need to be arranged in different data formats, so the data under the different power protocols cannot be commonly used. Based on this, in this embodiment, the power protocol corresponding to each available control host is preset in the intelligent internet of things terminal as an available host protocol, and the available control hosts are connected, and in this embodiment, the available host protocol is bound with the available host interfaces, so long as the target host interface in the communication state is determined, the available host protocol corresponding to the target host interface can be determined as the target host protocol, so as to ensure that all collected sensing data are converted into data of the correct power protocol.
It should be noted that, because the environmental sensors are disposed in the cable channels, installation and maintenance are relatively inconvenient, so each environmental sensor is connected to the intelligent internet of things terminal, but not every available sensing interface is connected to an environmental sensor, and in this embodiment, the available sensing interface connected to the environmental sensor is determined as an active sensing interface.
It should be noted that, each environmental sensor may come from different manufacturers, so each environmental sensor may have a private protocol, in this embodiment, the smart internet of things terminal presets the available private protocol of each environmental sensor, and the private protocol and the power protocol are both in a data arrangement format, so under the condition that the protocols are known, a person skilled in the art can determine the data conversion relationship between the available private protocol and the available host protocol, based on this embodiment, a protocol mapping table is preset in the smart internet of things terminal, the data conversion relationship between each available host protocol and each available private protocol is exhausted in the protocol mapping table, and under the condition that the target host interface and the active sensor interface are determined, the interface is used as an index value to obtain the target conversion relationship from the protocol mapping table, and is bound to the corresponding active sensor interface, so that the smart internet of things terminal uses the active sensor interface as a screening basis of data, and all the sensor data obtained by the active sensor interface are converted into standard data in the target conversion relationship, thereby ensuring that the obtained standard data meets the target host protocol.
Illustratively, as shown in fig. 1, taking the cable channel 10 provided with 4 environmental sensors 11 as an example, the environmental sensors a, B, C and D are respectively provided with a plurality of available sensor interfaces 21, wherein the environmental sensors a are connected to the activation sensor interface a, the environmental sensors B are connected to the activation sensor interface B, the environmental sensors C are connected to the activation sensor interface C, the environmental sensors D are connected to the activation sensor interface D, the control host a is connected to the host interface a, and the control host B is connected to the host interface B. The active sensing interface A is pre-associated with the private protocol A, the active sensing interface B is pre-associated with the private protocol B, the active sensing interface C is pre-associated with the private protocol C, the active sensing interface D is pre-associated with the private protocol D, the host interface A can be used for pre-associating with the host protocol A, and the host interface B can be used for pre-associating with the host protocol B. The protocol mapping table preset in the intelligent internet of things terminal 20 is [ (host protocol a, private protocol a), (host protocol a, private protocol B), (host protocol a, private protocol C), (host protocol a, private protocol D) ], [ (host protocol B, private protocol a), (host protocol B, private protocol B), (host protocol B, private protocol C), (host protocol B, private protocol D) ]. Taking the control host a as a target control host, determining the host protocol a as a target host protocol from the protocol mapping table, and determining each private protocol as a target private protocol, so that the obtained target conversion relationship is [ (host protocol a, private protocol a), (host protocol a, private protocol B), (host protocol a, private protocol C), (host protocol a, private protocol D) ], when the sensing data of the environmental sensor a is obtained, converting the sensing data into the standard data a based on the (host protocol a, private protocol a) as the target conversion relationship, when the sensing data of the environmental sensor B is obtained, converting the sensing data into the standard data B based on the (host protocol a, private protocol B) as the target conversion relationship, and the environmental sensor C and the environmental sensor D are similar, and the detailed description is omitted.
According to the technical scheme, the mapping relation between the private protocol and the host protocol of each environment sensor is preset in the intelligent Internet of things terminal, after the connected target host interface and the connected active sensing interface are determined, the intelligent Internet of things terminal is bound to the corresponding active sensing interface after determining the target conversion relation, and under the condition that the sensing data is acquired, the intelligent Internet of things terminal directly performs data conversion according to the target conversion relation bound by the active sensing interface of the acquired data, so that the data uploaded to the target control host is ensured to be standard data conforming to the target host protocol, the target control host can directly apply the data, and the data processing efficiency is improved; under the condition that the environment sensor needs to be expanded, the environment sensor is only required to be connected to a corresponding available sensing interface, and a private protocol is preset in the intelligent Internet of things terminal and is related to the available sensing interface, so that expansion compatibility is improved; the standard data of the embodiment is acquired and applied by a target control host, so that the sharing property of the data is improved.
It should be noted that, under the circumstance that the target control host needs to be switched, the old target control host will disconnect the communication with the intelligent internet of things terminal, so that the old target host interface is disconnected, and because the target conversion relationship is determined based on the target host interface, the embodiment can stop data processing until the new target control host is accessed, and avoid the occurrence of errors in data reporting.
It should be noted that, after the new available control host is accessed, the intelligent internet of things terminal can detect that the new available host interface has data interaction, that is, establishes new communication, so as to determine the new available host interface as a new target host interface, and because the interface has a change, it is necessary to reacquire the target host protocol corresponding to the new target host interface, and take the new target host protocol as the new target host protocol, and acquire the new target conversion relationship from the protocol mapping table to perform subsequent standard data conversion.
For example, referring to the description of the above embodiment, in the case that the target conversion relationship acquired based on the old target host interface is [ (host protocol a, private protocol a), (host protocol a, private protocol B), (host protocol a, private protocol C), (host protocol a, private protocol D) ] and the new target control host is control host B, then host interface B is a new target host interface, and the host protocol associated in advance with host interface B is host protocol B, so that the new target conversion relationship is [ (host protocol B, private protocol a), (host protocol B, private protocol B), (host protocol B, private protocol C), (host protocol B, private protocol D) ] acquired from the protocol mapping table, and the subsequent conversion principle is not repeated here.
In addition, in an embodiment, referring to fig. 3, before performing step S26 of the embodiment shown in fig. 2, the following steps are included, but not limited to:
s31, acquiring a device identifier of an environment sensor corresponding to an activated sensing interface, wherein the device identifier is used for uniquely indicating the sensor type of the environment sensor, is preset in the intelligent Internet of things terminal and is associated with a corresponding available sensing interface, and is effective after the activated sensing interface is accessed to the environment sensor and communication is established;
s32, determining a data identifier of the sensing data, wherein the data identifier is used for indicating the data type of the sensing data, and the data type comprises sensing information and switching value;
s33, associating the device identifier and the data identifier with corresponding standard data.
It should be noted that, after the environmental sensor is connected to the available sensing interface, the device type of the environmental sensor is known, so that the device identifier can be set in the intelligent internet of things terminal and bound with the corresponding available sensing interface, so that it is ensured that the correct device identifier can be obtained based on the available sensing interface.
It should be noted that, the device identifier is used to indicate the type of the environmental sensor, for example, a plurality of smoke sensors are disposed in the cable channel, and the device identifiers of the same type are the same, for example, may be "smoke sensing", and the device identifier corresponding to each corresponding available sensing interface is "smoke sensing". The type of the environmental sensor can be indicated through the equipment identifier, so that the subsequent data classification processing based on the equipment identifier is facilitated.
It should be noted that, in this embodiment, the device identifier is bound by the available sensing interface, and the available sensing interface may disconnect from the environmental sensor, or a plurality of available sensing interfaces may be preset to connect to a certain type of environmental sensor, but the environmental sensor is not yet installed to the cable channel, so that the device identifier in this embodiment is regenerated after the sensing interface is activated to access the environmental sensor and establish communication, so that the device identifier is ensured to be obtained again in the working state of the environmental sensor, and the device identifier that does not carry data is avoided from being obtained during the subsequent data classification processing.
It should be noted that, the data type of the sensing data may be sensing information and a switching value, the switching value may represent a working state of the device, the sensing information is data specifically collected by the environmental sensor, and the description is not repeated in the following.
It should be noted that, the standard data is obtained by converting the sensing data, so that the device identifier and the data identifier can be associated with the corresponding standard data, so that the target control device can identify the device type and the data type.
In addition, in an embodiment, the number of the environmental sensors is plural, and referring to fig. 3, step S26 of the embodiment shown in fig. 2 further includes, but is not limited to, the following steps:
S41, adding a plurality of standard data with the same equipment identification into the same equipment data set;
s42, dividing a plurality of standard data into at least one sensing data group based on the principle that data identification is the same in the same equipment data set;
s43, reporting all the device data sets to the target control host through the target host interface.
The plurality of environmental sensors may be different types of environmental sensors, for example, the plurality of environmental sensors may be a smoke sensor, a temperature sensor, a humidity sensor, or the like, or may be at least two environmental sensors of the same type, for example, at least two smoke sensors, at least two temperature sensors, or the like, among the plurality of environmental sensors. Based on this, in order to classify data, a basis is provided for facilitating the establishment of data by the target control host, and in this embodiment, a plurality of standard data with the same device identifier are stored in a device data set, for example, one device data set stores standard data acquired and converted by all smoke sensors, and another device data set stores standard data acquired and converted by all temperature sensors.
It should be noted that, based on the description of the above embodiment, the data types of the sensing data may be a switching value and sensing information, where the switching value is generally used to determine the working state of the environmental sensor, and the sensing information is an actual sensing parameter, and belongs to actual data for monitoring and determining the cable system, so in this embodiment, data grouping is performed in the same device data set based on the data identifier, for example, in the device data set storing all the standard data of the smoke sensor, the data is further divided into the standard data of the switching value of the smoke sensor and the standard data of the sensing information of the smoke sensor, and the data classification is performed by using the device identifier and the data identifier, where the target control host can directly perform data screening on all the device data sets, so as to improve the efficiency of data processing.
In addition, referring to fig. 3, in an embodiment, step S25 of the embodiment shown in fig. 2 further includes, but is not limited to, the following steps:
s51, when acquisition strategies issued by a target control host are acquired, determining target data identifiers of all the activated sensing interfaces through analyzing the acquisition strategies, wherein the target data identifiers are data identifiers of target strategy data;
s52, screening target strategy data from the sensing data based on the target data identification;
and S53, converting the target strategy data into standard data based on the target conversion relation.
It should be noted that, the intelligent internet of things terminal can acquire the acquisition strategy issued by the target control host to perform specific data acquisition, and based on the description, the embodiment uses the data identifier and the device identifier as the basis of data screening, so that the acquisition strategy can include each target data identifier, and after the intelligent internet of things terminal acquires the sensing data, the intelligent internet of things terminal screens out the data required by the acquisition strategy based on the target data identifier, thereby reducing the data quantity of the standard data and improving the data acquisition efficiency.
When the switching value of each environmental sensor needs to be analyzed, a target data identifier is generated according to the data type of the switching value, after the target data identifier is issued to the intelligent internet of things terminal, the intelligent internet of things terminal screens the switching value data from the sensing data uploaded by the activated sensing interface as target strategy data, and then the target strategy data are converted into standard data for uploading.
Additionally, in one embodiment, the acquisition strategy further includes an acquisition event that records the event duration and a plurality of associated environmental sensors, and referring to FIG. 3, step S26 of the embodiment shown in FIG. 2 further includes, but is not limited to, the steps of:
s61, based on a plurality of environment sensors recorded by the acquisition event, storing standard data corresponding to the corresponding activation sensing interfaces into an event data set;
s62, reporting the event data set to the target control host through the target host interface when the data acquisition time length of the event data set meets the event time length.
It should be noted that, in addition to collecting data of a specific data type, the embodiment can also set event duration and associated environmental sensors in a collection event by using a binding relation between an available sensing interface and the environmental sensors, so that data of the sensing interface is partially activated within a certain duration to be packed into an event data set, data screening is directly completed by using the interface, pre-processing of the data is realized by the intelligent internet of things terminal, a target control host is not required to acquire standard data, then data sources are judged based on data characteristics, and data processing efficiency is effectively improved.
It should be noted that, the associated environmental sensors may be different device types, for example, the acquisition event is that data acquisition is performed on all environmental sensors in a certain acquisition area in the cable channel for a period of time to determine an operating state of the device in the acquisition area, on this basis, since the setting area of the environmental sensor is known, only a corresponding activation sensing interface is required to be specified in the acquisition event, and the event time is set, after the intelligent internet of things terminal acquires the acquisition event, the intelligent internet of things terminal stores converted standard data corresponding to the corresponding activation sensing interface in the same set, that is, the same event data set, and the environmental sensor periodically continuously acquires data, so that the same environmental sensor may acquire a plurality of sensing data in the event time, the obtained standard data can be continuously written into the corresponding event data set, and after the data acquisition time satisfies the event time, the event data set is uploaded to the target control host, so as to improve the data processing efficiency.
In addition, in an embodiment, referring to fig. 3, after performing step S25 of the embodiment shown in fig. 2, the following steps are included, but not limited to:
S71, acquiring a threshold comparison table pre-associated with a target host interface, wherein the threshold comparison table is used for indicating alarm thresholds corresponding to all environment sensors;
and S72, when the standard data exceeds the alarm threshold, sending alarm information to the target control host through the target host interface.
It should be noted that, the intelligent internet of things terminal has a certain data storage capability, so that before the intelligent internet of things terminal operates, each available control host can issue a threshold comparison table and bind to a corresponding available host interface, after determining the target control host, the threshold comparison table corresponding to the target host interface is obtained, the corresponding alarm threshold is applied to carry out alarm judgment, and the judgment is traversed after waiting for standard data to be transmitted to the target control host, so that the alarm efficiency can be effectively improved.
Fig. 4 is a block diagram of a control device of a smart internet of things terminal for a cable channel according to an embodiment of the present invention. The invention also provides a control device of the intelligent internet of things terminal of the cable channel, which comprises:
the processor 401 may be implemented by a general purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. for executing related programs to implement the technical solutions provided in the embodiments of the present application;
The Memory 402 may be implemented in the form of a Read Only Memory (ROM), a static storage device, a dynamic storage device, or a random access Memory (Random Access Memory, RAM). The memory 402 may store an operating system and other application programs, and when the technical solution provided in the embodiments of the present application is implemented by software or firmware, relevant program codes are stored in the memory 402, and the processor 401 invokes a control method of the intelligent internet of things terminal that executes the cable channel in the embodiments of the present application;
an input/output interface 403 for implementing information input and output;
the communication interface 404 is configured to implement communication interaction between the device and other devices, and may implement communication in a wired manner (e.g. USB, network cable, etc.), or may implement communication in a wireless manner (e.g. mobile network, WIFI, bluetooth, etc.);
a bus 405 for transferring information between the various components of the device (e.g., processor 401, memory 402, input/output interface 403, and communication interface 404);
wherein the processor 401, the memory 402, the input/output interface 403 and the communication interface 404 are in communication connection with each other inside the device via a bus 405.
The embodiment of the application also provides a smart internet of things terminal of the cable channel, which comprises the control device of the smart internet of things terminal of the cable channel.
The embodiment of the application also provides a storage medium, which is a computer readable storage medium, and the storage medium stores a computer program, and the computer program realizes the control method of the intelligent internet of things terminal of the cable channel when being executed by a processor.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The apparatus embodiments described above are merely illustrative, in which the elements illustrated as separate components may or may not be physically separate, implemented to reside in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and may include any information delivery media.
While the preferred embodiment of the present invention has been described in detail, the present invention is not limited to the above embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit and scope of the present invention, and these equivalent modifications or substitutions are included in the scope of the present invention as defined in the appended claims.

Claims (9)

1. The utility model provides a control method of wisdom thing allies oneself with terminal of cable passageway, its characterized in that is applied to wisdom thing allies oneself with terminal, wisdom thing allies oneself with terminal includes a plurality of available host interfaces and a plurality of available sensing interface, available host interfaces is used for connecting available control host, available sensing interface is used for connecting environmental sensor, the quantity of environmental sensor is a plurality of and all sets up in the cable passageway, the control method of wisdom thing allies oneself with terminal of cable passageway includes:
determining the available host interfaces in a communication state as target host interfaces, and determining a target host protocol from preset available host protocols based on the target host interfaces, wherein the available host protocols are power protocols of the available control hosts, each available host interface is pre-associated with the available host protocol of the corresponding available control host, and the number of the target host interfaces is one;
Determining the available sensing interface connected with the environment sensor as an activated sensing interface, and determining a target private protocol from preset available private protocols based on the activated sensing interface, wherein the available private protocols are private data protocols of the environment sensor, each available sensing interface is pre-associated with the private data protocols of the connected environment sensor, and the number of the activated sensing interfaces is at least one;
acquiring a preset protocol mapping table, wherein the protocol mapping table records a data conversion relation between the available host protocol and each available private protocol;
based on the target host protocol and the target private protocol, acquiring a target conversion relation from the protocol mapping table, and binding the target conversion relation to the corresponding activation sensing interface;
acquiring sensing data of each environmental sensor through the activation sensing interface, and converting the sensing data into standard data based on the target conversion relation;
reporting all the standard data to a target control host through the target host interface, wherein the target control host is the available control host connected with the target host interface;
When the communication is detected to be disconnected by the target host interface, and communication is established with the corresponding available control host through the other available host interface, the available host interface for newly establishing communication is determined to be a new target host interface;
determining a new target host protocol based on the new target host interface, acquiring a new target conversion relation from the protocol mapping table based on the new target host protocol and the target private protocol, and binding the new target conversion relation to the corresponding activation sensing interface;
and when the sensing data is acquired, converting the sensing data into new standard data based on the new target conversion relation.
2. The method for controlling a smart internet of things terminal of a cable tunnel according to claim 1, wherein before said reporting all of said standard data to a target control host through said target host interface, said method further comprises:
acquiring a device identifier of the environment sensor corresponding to the activation sensing interface, wherein the device identifier is used for uniquely indicating the sensor type of the environment sensor, is preset in the intelligent internet of things terminal and is associated with the corresponding available sensing interface, and takes effect after the activation sensing interface is accessed to the environment sensor and communication is established;
Determining a data identifier of the sensing data, wherein the data identifier is used for indicating a data type of the sensing data, and the data type comprises sensing information and switching value;
and associating the device identifier and the data identifier to the corresponding standard data.
3. The method for controlling intelligent internet of things terminals of a cable tunnel according to claim 2, wherein the number of the environmental sensors is plural, and the reporting all the standard data to the target control host through the target host interface includes:
adding a plurality of said standard data of the same device identity to the same device data set;
dividing a plurality of said standard data into at least one sensing data packet within the same said device data set based on the same principle of said data identification;
and reporting all the equipment data sets to the target control host through the target host interface.
4. The control method of the intelligent internet of things terminal of the cable channel according to claim 2, wherein the converting the sensing data into standard data based on the target conversion relation includes:
when acquiring an acquisition strategy issued by the target control host, determining target data identifiers of the activated sensing interfaces by analyzing the acquisition strategy, wherein the target data identifiers are the data identifiers of target strategy data;
Screening the target strategy data from the sensing data based on the target data identification;
and converting the target strategy data into the standard data based on the target conversion relation.
5. The method according to claim 4, wherein the collection policy further includes a collection event, the collection event is recorded with an event duration and a plurality of associated environmental sensors, and the reporting all of the standard data to a target control host through the target host interface includes:
based on a plurality of environmental sensors recorded by the acquisition event, storing the standard data corresponding to the corresponding activation sensing interface into an event data set;
and when the data acquisition time length of the event data set meets the event time length, reporting the event data set to the target control host through the target host interface.
6. The control method of a smart internet of things terminal for a cable channel according to claim 1, wherein after said converting the sensing data into standard data based on the target conversion relationship, the method further comprises:
Acquiring a threshold comparison table pre-associated with the target host interface, wherein the threshold comparison table is recorded with alarm thresholds corresponding to the environment sensors;
and when the standard data exceeds an alarm threshold value, sending alarm information to the target control host through the target host interface.
7. A control device of a smart internet of things terminal of a cable channel, comprising at least one control processor and a memory for communication connection with the at least one control processor; the memory stores instructions executable by the at least one control processor to enable the at least one control processor to perform the control method of the intelligent internet of things terminal of the cable channel as claimed in any one of claims 1 to 6.
8. A smart internet of things terminal for a cable tunnel, comprising the control device for a smart internet of things terminal for a cable tunnel according to claim 7.
9. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the control method of the intelligent internet of things terminal of the cable channel according to any one of claims 1 to 6.
CN202410263946.0A 2024-03-08 2024-03-08 Control method, device, terminal and medium of intelligent Internet of things terminal of cable channel Active CN117857655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410263946.0A CN117857655B (en) 2024-03-08 2024-03-08 Control method, device, terminal and medium of intelligent Internet of things terminal of cable channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410263946.0A CN117857655B (en) 2024-03-08 2024-03-08 Control method, device, terminal and medium of intelligent Internet of things terminal of cable channel

Publications (2)

Publication Number Publication Date
CN117857655A true CN117857655A (en) 2024-04-09
CN117857655B CN117857655B (en) 2024-05-24

Family

ID=90530653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410263946.0A Active CN117857655B (en) 2024-03-08 2024-03-08 Control method, device, terminal and medium of intelligent Internet of things terminal of cable channel

Country Status (1)

Country Link
CN (1) CN117857655B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035625A (en) * 2014-07-01 2014-09-10 江苏惠通集团有限责任公司 Communication method between hand-held device and host
CN111835825A (en) * 2020-06-09 2020-10-27 国网山西省电力公司信息通信分公司 Method suitable for transmitting messages between two intelligent Internet of things system communication parties
CN115225406A (en) * 2022-07-29 2022-10-21 中通服和信科技有限公司 Security protection linkage information sharing system in wisdom garden
CN116846987A (en) * 2023-09-01 2023-10-03 山东省信息技术产业发展研究院(中国赛宝(山东)实验室) Interactive interface generation method and system of industrial Internet
CN117474217A (en) * 2022-07-19 2024-01-30 河南华东工控技术有限公司 Intelligent factory unmanned machine room power and environment centralized monitoring system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035625A (en) * 2014-07-01 2014-09-10 江苏惠通集团有限责任公司 Communication method between hand-held device and host
CN111835825A (en) * 2020-06-09 2020-10-27 国网山西省电力公司信息通信分公司 Method suitable for transmitting messages between two intelligent Internet of things system communication parties
CN117474217A (en) * 2022-07-19 2024-01-30 河南华东工控技术有限公司 Intelligent factory unmanned machine room power and environment centralized monitoring system
CN115225406A (en) * 2022-07-29 2022-10-21 中通服和信科技有限公司 Security protection linkage information sharing system in wisdom garden
CN116846987A (en) * 2023-09-01 2023-10-03 山东省信息技术产业发展研究院(中国赛宝(山东)实验室) Interactive interface generation method and system of industrial Internet

Also Published As

Publication number Publication date
CN117857655B (en) 2024-05-24

Similar Documents

Publication Publication Date Title
CN104168148A (en) Multi-interface data collecting device and method
CN108490358B (en) Battery remote monitoring system and method
CN113437998B (en) Operation and maintenance debugging method and system, nonvolatile storage medium and processor
CN108390699B (en) Cloud communication system based on power line carrier technology and communication method and device
CN110784456B (en) Automatic identification method and communication method for communication protocol
CN113993002A (en) Cable monitoring data reporting method and device
CN113965821A (en) Digital district multi-source heterogeneous communication routing system and method
CN117857655B (en) Control method, device, terminal and medium of intelligent Internet of things terminal of cable channel
CN104483564B (en) Automatic power-measuring terminal fault data recording equipment and recording method
CN105451301A (en) Wearable device gateway networking method and gateway management platform
CN103297298A (en) Network storm real-time rapid detecting method used for intelligent substation
CN210781189U (en) Hardware equipment for collecting load identification data of user electric meter
CN116760732A (en) Power distribution terminal data communication monitoring method and device and related equipment
CN204631168U (en) A kind of industrial current transformer remote diagnosis and maintenance system
CN108898201B (en) Information association system and method for solar assembly
CN207216409U (en) Remote monitoring system based on BDS/GPS
CN115801828A (en) Intelligent substation secondary data analysis system based on platform and terminal
CN105206028A (en) Information acquisition device and system based on internet of things
CN109951309B (en) Electric energy cloud acquisition system network node maintenance method and device
KR102130520B1 (en) Method And Apparatus for Relaying Measuring Information
CN101252481A (en) Data acquisition method of network environment automatic monitoring
CN116389942A (en) General data acquisition device for engineering monitoring sensor
CN113285859B (en) Two-bus system, control method and device, sensor and access method
CN117254987B (en) Communication method, communication device, and storage medium
CN115483761B (en) Electric energy centralized collection metering system, method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant