CN115051992B - Equipment polling method, device, electronic equipment and storage medium - Google Patents

Equipment polling method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115051992B
CN115051992B CN202210975949.8A CN202210975949A CN115051992B CN 115051992 B CN115051992 B CN 115051992B CN 202210975949 A CN202210975949 A CN 202210975949A CN 115051992 B CN115051992 B CN 115051992B
Authority
CN
China
Prior art keywords
polling
dtu
equipment
data
address
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.)
Active
Application number
CN202210975949.8A
Other languages
Chinese (zh)
Other versions
CN115051992A (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.)
Wuhan Easylinkin Technology Co ltd
Original Assignee
Wuhan Easylinkin 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 Wuhan Easylinkin Technology Co ltd filed Critical Wuhan Easylinkin Technology Co ltd
Priority to CN202210975949.8A priority Critical patent/CN115051992B/en
Publication of CN115051992A publication Critical patent/CN115051992A/en
Application granted granted Critical
Publication of CN115051992B publication Critical patent/CN115051992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems

Abstract

The embodiment of the application discloses a device polling method, a device, electronic equipment and a storage medium. The polling method comprises the following steps: acquiring equipment information of first equipment; wherein the device information at least includes: the device address of the first device is a device connected with a data conversion unit (DTU), and the DTU is connected with the Internet of things platform; determining a polling instruction according to the equipment information and the service requirement; wherein the polling instruction comprises: a device address of a second device to be polled; according to the equipment address contained in the polling instruction, sending a query request to at least one second equipment through the DTU; and receiving data returned by the second equipment based on the query request. Therefore, the polling instruction is configured through the platform of the Internet of things, the configured polling instruction is sent to the DTU to be executed, and data of each device can be acquired through DTU polling when the DTU is connected with a plurality of devices.

Description

Equipment polling method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of information technologies, and in particular, to a device polling method and apparatus, an electronic device, and a storage medium.
Background
In the prior art, for some conventional devices, such as RS485 or RS232 interface devices, in order to access an internet of things platform, a Data Transfer Unit (DTU) needs to be introduced, data collected by the devices is transmitted to a gateway through technologies such as LoRa/NB-IOT/4G, and then transmitted to the internet of things platform through a 4G or ethernet mode.
However, in a manner of acquiring device data through the DTU, polling instructions are usually configured directly in the DTU, and under the condition that the number of devices connected to the DTU is large, the number of polling instructions configured in the DTU is greatly increased, and even exceeds the number of polling instructions configured by the DTU itself, so that the DTU cannot normally complete device data acquisition.
Disclosure of Invention
In view of the above, embodiments of the present application are intended to provide a device polling method, an apparatus, an electronic device, and a storage medium.
The technical scheme of the application is realized as follows:
in a first aspect, an embodiment of the present application provides an apparatus polling method, which is applied to an internet of things platform, and the apparatus polling method includes:
acquiring equipment information of first equipment; wherein the device information at least comprises: the device address of the first device is a device connected with a data conversion unit (DTU), and the DTU is connected with the Internet of things platform;
determining a polling instruction according to the equipment information and the service requirement; wherein the polling instruction comprises: a device address of a second device to be polled;
according to the equipment address contained in the polling instruction, sending a query request to at least one second equipment through the DTU;
and receiving data returned by the second equipment based on the query request.
Based on the above scheme, the polling instruction further includes: a device parameter; the device parameter is used for indicating data which needs to be acquired by the DTU.
Based on the above scheme, the device parameter includes at least one of:
a function name;
function identification;
a register address;
the number of registers.
Based on the above scheme, the method further comprises:
acquiring association information between the first equipment and the DTU according to registration information of the first equipment on the Internet of things platform;
and determining the equipment address of the first equipment according to the associated information.
Based on the above scheme, the method further comprises:
determining the polling instruction executed after a preset time after the current time according to the service requirement;
setting a triggering condition of the polling instruction executed after the preset time according to the preset time; wherein the polling instruction further comprises: condition information of the trigger condition.
Based on the above scheme, the device information further includes at least one of the following:
a device type;
numbering equipment;
a device name;
the device status.
In a second aspect, an embodiment of the present application provides another device polling method, which is applied to a data transfer unit DTU, where the DTU is connected to an internet of things platform, and the device polling method includes:
receiving a polling instruction from the Internet of things platform, wherein the polling instruction comprises: polling the equipment address of first equipment, wherein the first equipment is connected with the DTU;
sending a query request to at least one first device according to the device address contained in the polling instruction;
receiving data returned by the first device based on the query request;
and forwarding the data returned by the first equipment to the Internet of things platform.
Based on the above scheme, the polling instruction further includes: a device parameter; the device parameter is used for indicating data which needs to be acquired by the DTU.
Based on the above scheme, the device parameter includes at least one of:
a function name;
a function identifier;
a register address;
the number of registers.
Based on the above scheme, the receiving a polling instruction from the internet of things platform includes:
receiving the polling instruction which is from the Internet of things platform and executed after a preset time after the current time; wherein the polling instruction further comprises: condition information for indicating a trigger condition of the polling instruction.
In a third aspect, an embodiment of the present application provides an apparatus for polling a device, where the apparatus for polling a device includes:
the first acquisition module is used for acquiring the equipment information of the first equipment; wherein the device information at least includes: the device address of the first device is a device connected with a data conversion unit (DTU), and the DTU is connected with the Internet of things platform;
the first determining module is used for determining a polling instruction according to the equipment information and the service requirement; wherein the polling instruction comprises: the device address of the second device to be polled;
a sending module, configured to send, according to the device address included in the polling instruction, a query request to at least one second device through the DTU;
and the receiving module is used for receiving data returned by the second equipment based on the query request.
In a fourth aspect, an embodiment of the present application provides another device polling apparatus, where the device polling apparatus includes:
the first receiving module is used for receiving a polling instruction from an internet of things platform, wherein the polling instruction comprises: the equipment address of the first equipment to be polled at this time, wherein the first equipment is equipment connected with the DTU;
a sending module, configured to send a query request to at least one first device according to a device address included in the polling instruction;
the second receiving module is used for receiving data returned by the first equipment based on the query request;
and the forwarding module is used for forwarding the data returned by the first equipment to the Internet of things platform.
In a fifth aspect, an embodiment of the present application provides an electronic device, including:
a memory storing computer readable instructions;
and the processor is connected with the memory and used for realizing the method provided by the technical scheme of the first aspect and/or the second aspect by executing the computer-executable instructions stored on the memory.
In a sixth aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium stores computer-executable instructions, and after the computer-executable instructions are executed, the method provided by the technical solution of the first aspect and/or the second aspect can be implemented.
According to the equipment polling method, the equipment polling device, the electronic equipment and the storage medium, the equipment information of the equipment can be obtained, the polling instruction is determined according to the equipment information and the service requirement, so that the data to be obtained can be determined according to the service requirement, the equipment for collecting the data to be obtained is determined according to the equipment information, the configuration of the polling instruction is completed on the platform of the Internet of things, the configuration of the polling instruction in the DTU is not needed, the problem that when the DTU is connected with a plurality of equipment at the same time, the number of the polling instructions needing to be configured in the DTU exceeds the number of the polling instructions supporting configuration of the DTU is solved, and the equipment to be polled by the DTU can be increased by completing the configuration of the polling instructions on the platform of the Internet of things. The polling instruction includes a device address, so that the DTU can accurately acquire required data from a device uniquely corresponding to the device address. And sending a query request to at least one second device through the DTU according to the device address contained in the polling command, and receiving data returned by the second device based on the query request, so that the DTU can still accurately acquire data required by the service demand from a plurality of devices according to the configured polling command under the condition of simultaneously connecting the plurality of devices.
Drawings
Fig. 1 is a schematic flowchart of a device polling method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another device polling method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an RS485/RS232 device in the related art that is accessed to an internet of things platform through a DTU according to the embodiment of the present application;
FIG. 4 is a diagram illustrating a relationship between factory-produced DTUs and the number of polling commands supported by the factory-produced DTUs according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a relationship between a device type of an RS485 device and a number of polling instructions to be configured in the related art according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a plurality of RS485/RS232 devices in the related art that access to an internet of things platform through a single DTU according to an embodiment of the present application;
fig. 7 is a schematic diagram of a structure in which multiple RS485/RS232 devices access an internet of things platform through a single DTU and a relationship between data flow directions among the devices according to the embodiment of the present application;
fig. 8 is a schematic diagram of functions of a service function developed in the PaaS layer and parameters included in the service function according to an embodiment of the present disclosure;
FIG. 9 is a diagram illustrating a function of editing a service function according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating a relationship between a DTU and device addresses of devices according to an embodiment of the present disclosure;
fig. 11 is a schematic diagram illustrating parameters of an editing service function according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a device polling apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of another device polling apparatus according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
So that the manner in which the features and advantages of the present application can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
As shown in fig. 1, an embodiment of the present application provides an apparatus polling method, which is applied to an internet of things platform, and the apparatus polling method includes:
step S110: acquiring equipment information of first equipment; wherein the device information at least includes: the device address of the first device is a device connected with a data conversion unit (DTU), and the DTU is connected with the Internet of things platform;
step S120: determining a polling instruction according to the equipment information and the service requirement; wherein the polling instruction comprises: a device address of a second device to be polled;
step S130: according to the equipment address contained in the polling instruction, sending a query request to at least one second equipment through the DTU;
step S140: and receiving data returned by the second equipment based on the query request.
The internet of things Platform can be an integrated Platform integrating capabilities of equipment management, data security communication, message subscription and the like, and is used for enabling enterprises, developers and/or users to use the internet of things more easily.
The DTU (Data Transfer unit) may be a wireless terminal device for converting serial Data into IP (Internet Protocol) Data or converting IP Data into serial Data and transmitting the serial Data through a wireless communication network. In this application embodiment, the DTU is configured to convert wired data collected by the first device into wireless data and transmit the wireless data to the internet of things platform.
The first equipment is connected with the DTU and is used for acquiring data and sending the data to the DTU. Specifically, the first device may be an RS485 or RS232 device. Illustratively, the first device may be an RS485 temperature and humidity sensor, and is configured to acquire environmental data such as temperature data and/or humidity data of an environment near the device.
The device information may be information used for indicating information related to the device itself, and used for distinguishing different devices and determining the purpose of each device by the internet of things platform, so that the internet of things platform can determine data required to be acquired from each device according to the device information.
The device address is used to distinguish between different devices. Specifically, in the embodiment of the application, the device address is represented by hexadecimal numbers, the device address range is 01 to FF, and 256 device addresses can be supported at most. Illustratively, two devices are the same type of device, such as RS485 temperature and humidity sensors, and the uniqueness of the device address is utilized, that is, one device address corresponds to one unique device, so that the two devices can be easily distinguished, and the internet of things platform can determine to acquire required data from the corresponding device.
The service requirement is used for indicating data which needs to be acquired by the user. Specifically, the first device may be configured to collect data of a certain area, and a user needs to obtain the data collected by the first device, so as to perform a corresponding operation according to the collected data. For example, the first device is an RS485 weather station sensor, and is used to collect various weather data of the area where the device is located, for example, at this time, the user can monitor weather conditions in real time through the weather data acquired by the RS485 weather station sensor, and then know the weather conditions of the area where the device is located. Therefore, when the data collected by the equipment is abnormal, the data can be timely found and correspondingly processed.
The polling instruction comprises equipment information of the equipment to be polled and instruction information for acquiring data, and the polling instruction is used for the DTU to perform polling operation on the equipment to be polled so as to acquire the required data.
The second device to be polled may be a device that needs to be polled, and the second device is one of the foregoing first devices. In the embodiment of the application, considering that all the first devices connected with the DTU do not need to be polled, the second device to be polled is determined according to the service requirement, a polling instruction is configured, and then the second device to be polled is sent to the DTU for execution, so that polling operation on the second device to be polled is realized. In this way, unnecessary operations can be reduced while acquiring required data, thereby improving polling efficiency.
The query request may be request information including device information of a device to be polled, and is used to obtain data collected by the device to be polled. In the embodiment of the present application, it is considered that since the RS485 and/or RS232 devices generally transmit data through the modbus protocol, the query request can be determined and sent according to the request format of the modbus protocol. Specifically, the query request may be composed of a device address, a function code, a register address, a register number, and a checksum. Therefore, data transmission between the DTU and the first equipment can be facilitated through the unified communication protocol, and the efficiency of data transmission is improved.
In this application embodiment, can confirm that the data transmission that needs to acquire through DTU with equipment acquisition to thing networking platform according to equipment information, so, can transmit the thing networking platform after the data conversion function through DTU carries out the conversion with equipment acquisition, solved the problem that equipment inserts thing networking platform. The method comprises the steps of obtaining equipment information of first equipment, and determining a polling instruction according to the equipment information and service requirements, so that data needing to be obtained can be determined according to the service requirements, and corresponding equipment can be determined according to the equipment information. The polling instruction is configured through the platform of the internet of things, so that the required data can be accurately acquired from the equipment to be polled according to the configured polling instruction under the condition that the DTU is simultaneously connected with a plurality of pieces of equipment, and one DTU is simultaneously connected with the plurality of pieces of equipment to acquire the data, so that the cost is saved.
In an embodiment of the present application, the polling instruction further includes: a device parameter; the device parameter is used for indicating data which needs to be acquired by the DTU.
The device parameters may be working parameters of the device during operation, and are used to indicate functions performed by the device and data collected during operation of the device.
In an embodiment of the present application, the device parameter includes at least one of:
a function name;
a function identifier;
a register address;
the number of registers.
The function name may be a name of a function performed by the device. In the embodiment of the present application, the functions include, but are not limited to, querying, starting, closing or switching the working state, and the like. Specifically, switching the operating state may refer to switching the device from a first operating state to a second operating state to accommodate different operating environments.
The function identifier may be an identifier of a function performed by the device. In the embodiment of the application, the function identifier is represented by hexadecimal numbers. Different function identifications correspond to different functions. Specifically, the function identifier 03 corresponds to a query function, which indicates that the current device queries the acquired data.
The register address may be an address of a register in the device. The registers of the device are used for storing the acquired data, different registers store different data, and different register addresses mark different registers, so that the corresponding data can be determined according to the register addresses. Therefore, in the embodiment of the present application, the data to be acquired is indicated by the register address, which is convenient for the device to acquire the data stored in the corresponding register according to the register address.
In the embodiment of the present application, the register address is related to the number of data queries, i.e., polling instructions. Specifically, when the register addresses of the registers to be queried are continuous, the device can directly and continuously read a plurality of required data at one time, so that the query efficiency is improved, and the query of the plurality of data can be completed only by one polling instruction.
In another embodiment, when the register addresses of the registers to be queried are not consecutive, the device needs to read the required data multiple times in order to read only the data to be queried, and therefore multiple polling instructions are required to complete querying of multiple data.
In still another embodiment, even when the register addresses of the registers to be queried are consecutive, because the data to be queried is too much and may exceed the number of the registers that can be read by the device at one time, a plurality of polling instructions are still required to complete the query of the plurality of data.
The number of registers may be the number of registers in the device. The larger the number of registers, the more data the device can collect, and therefore the larger the number of polling instructions that may be required to obtain the required data from the device with the larger number of registers.
In an embodiment of the present application, the method further includes:
acquiring association information between the first equipment and the DTU according to registration information of the first equipment on the Internet of things platform;
and determining the equipment address of the first equipment according to the associated information.
The registration information may be information registered by the first device when the internet of things platform performs registration. Specifically, the registration information includes, but is not limited to, a device number, a device name, a device model, a device address, a device activation code, a registration time, and/or a number of connected DTUs, etc.
The association information is used for indicating a connection relationship between the first device and the DTU. Specifically, the association information includes, but is not limited to, the number of the DTU and the device address of each device connected to the DTU.
In the embodiment of the application, the device address of the device and the serial number of the DTU connected with the device can be directly acquired through the registration information of the first device, so that the configuration of the polling instruction is facilitated, and the device address and other related information do not need to be acquired from the DTU.
In an embodiment of the present application, the method further includes:
determining the polling instruction executed after a preset time after the current time according to the service requirement;
according to the preset time, setting a triggering condition of the polling instruction executed after the preset time; wherein the polling instruction further comprises: condition information of the trigger condition.
In the embodiment of the application, considering that some data need to be acquired in a specific time period, in order to ensure the accuracy and the efficiency of acquiring the data, a certain preset time after the current time may be determined to execute the polling instruction according to service requirements, for example, a time period in which the data needs to be acquired.
The trigger conditions include, but are not limited to: trigger type, trigger action, DTU model performed, device address and/or delay time, etc. In this embodiment of the present application, the trigger type may be a timing trigger, that is, a trigger is triggered at regular intervals. The trigger action may be an operation that the device needs to perform, such as a query operation. The executed DTU model may be a model of the DTU executing the polling instruction. The device address may be a device address of a device where the data to be acquired is located. The delay time may be a time interval between the time when the set trigger condition is satisfied and the time when the polling instruction starts to be executed.
And the condition information of the trigger condition is used for indicating the trigger condition of the polling instruction.
In the embodiment of the application, the polling instruction to be executed is configured in advance, and the condition information of the trigger condition is configured in the polling instruction, so that the DTU can execute and acquire the required data after the preset time after the current time according to the polling instruction and the condition information. Thus, different types of service requirements can be met.
In this embodiment, the device information further includes at least one of:
a device type;
numbering equipment;
a device name;
the device status.
The type of equipment may be the type and model of equipment, and the model may be composed of numbers and letters, such as AHW-123-IUJ.
The device number may be the number of the device, and the number may be composed of numbers, such as 11324531.
The device name may be the name of the device, such as an RS485 carbon monoxide detector.
The device state may be an operating state of the device or an operating state during operation. In particular, for indicating the on-off state of the device, i.e. whether the device is in an on-state or an off-state. The device state may also be used to indicate whether the operation is in a first state or a second state, where the first state and the second state are different operation states.
As shown in fig. 2, an embodiment of the present application provides another device polling method, which is applied to a data conversion unit DTU, where the DTU is connected to an internet of things platform, and the device polling method includes:
step S210: receiving a polling instruction from the Internet of things platform, wherein the polling instruction comprises: polling the equipment address of first equipment, wherein the first equipment is connected with the DTU;
step S220: sending a query request to at least one first device according to the device address contained in the polling instruction;
step S230: receiving data returned by the first device based on the query request;
step S240: and forwarding the data returned by the first equipment to the Internet of things platform.
The internet of things Platform can be an integrated Platform integrating capabilities of equipment management, data security communication, message subscription and the like, and is used for enabling enterprises, developers and/or users to use the internet of things more easily.
The DTU (Data Transfer unit) may be a wireless terminal device for converting serial Data into IP (Internet Protocol) Data or converting IP Data into serial Data and transmitting the serial Data through a wireless communication network. In this application embodiment, the DTU is configured to convert wired data collected by the first device into wireless data and transmit the wireless data to the internet of things platform.
The first equipment is connected with the DTU and is used for acquiring data and sending the data to the DTU. Specifically, the first device may be an RS485 or RS232 device. Illustratively, the first device may be an RS485 temperature and humidity sensor, and is configured to acquire temperature data and humidity data of an environment near the device.
The device information may be information used for indicating information related to the device itself, and used for distinguishing different devices and determining the purpose of each device by the internet of things platform, so that the internet of things platform can determine data required to be acquired from each device according to the device information.
The device address is used to distinguish different devices. Specifically, in the embodiment of the application, the device address is represented by hexadecimal numbers, the device address range is 01 to FF, and 256 device addresses can be supported at most. Illustratively, two devices are the same type of device, such as RS485 temperature and humidity sensors, and the uniqueness of the device address is utilized, that is, one device address corresponds to one unique device, so that the two devices can be easily distinguished, and the internet of things platform can determine to acquire required data from the corresponding device.
The polling instruction comprises equipment information of the first equipment and instruction information for acquiring data, and is used for polling the first equipment through the DTU so as to acquire the required data.
The query request may be request information including device information of the first device, and is used to obtain data acquired by the device to be polled. In the embodiment of the present application, it is considered that since the RS485 and/or RS232 devices generally transmit data through the modbus protocol, the query request can be determined and sent according to the request format of the modbus protocol. Specifically, the query request may be composed of a device address, a function code, a register address, a register number, and a checksum. Therefore, data transmission between the DTU and the first equipment can be facilitated through the unified communication protocol, and the efficiency of data transmission is improved.
In this embodiment of the application, a polling instruction from the internet of things platform can be received, and thus, the device address of the first device can be acquired by receiving the polling instruction. And sending an inquiry request to at least one first device according to the device address contained in the polling instruction, so that the inquiry request can be sent to the corresponding first device according to the device address contained in the polling instruction to acquire the required data. And receiving data returned by the first equipment based on the query request, and forwarding the data returned by the first equipment to the Internet of things platform. Therefore, the data acquired by the equipment can be transmitted to the Internet of things platform after being converted through the data conversion function of the DTU, and the problem that the equipment is accessed to the Internet of things platform is solved.
In addition, the device polling method provided in the embodiment of the application can still accurately acquire required data from the device to be polled according to the configured polling instruction under the condition that the DTU is simultaneously connected with a plurality of devices, thereby solving the problem that the polling instruction configured by the DTU is limited. And a plurality of devices are connected through one DTU to acquire data, so that the cost is saved.
In an embodiment of the present application, the polling instruction further includes: a device parameter; the device parameter is used for indicating data which needs to be acquired by the DTU.
The device parameters may be working parameters of the device during operation, and are used to indicate functions performed by the device and data collected during operation of the device.
In an embodiment of the present application, the device parameter includes at least one of:
a function name;
a function identifier;
a register address;
the number of registers.
The function name may be a name of a function performed by the device. In the embodiment of the present application, the functions include, but are not limited to, querying, starting, closing or switching the working state, etc. Specifically, switching the operating state may refer to the device switching from a first operating state to a second operating state to accommodate different operating environments.
The function identification may be an identification of a function performed by the device. In the embodiment of the application, the function identifier is represented by hexadecimal numbers. Different function identifications correspond to different functions. Specifically, the function identifier 03 corresponds to a query function, which indicates that the current device queries the acquired data.
The register address may be an address of a register in the device. The registers of the device are used for storing the acquired data, different registers store different data, and different register addresses mark different registers, so that the corresponding data can be determined according to the register addresses. Therefore, in the embodiment of the present application, the data to be acquired is indicated by the register address, which is convenient for the device to acquire the data stored in the corresponding register according to the register address.
In the embodiment of the present application, the register address is related to the number of data queries, i.e., polling instructions. Specifically, when the register addresses of the registers to be queried are continuous, the device can directly and continuously read a plurality of required data at one time, so that the query efficiency is improved, and the query of the plurality of data can be completed only by one polling instruction.
In another embodiment, when the register addresses of the registers to be queried are not consecutive, the device needs to read the required data multiple times in order to read only the data to be queried, and therefore multiple polling instructions are required to complete querying of the data.
In another embodiment, even when the register addresses of the registers to be queried are consecutive, because the data to be queried is too much, which may exceed the number of the registers that can be read by the device at one time, a plurality of polling commands are still required to complete the query of the plurality of data.
The number of registers may be the number of registers in the device. The larger the number of registers, the more data the device can collect, and therefore the larger the number of polling instructions that may be required to obtain the required data from the device with the larger number of registers.
In an embodiment of the application, the receiving a polling instruction from the internet of things platform includes:
receiving the polling instruction which is from the Internet of things platform and executed after a preset time after the current time; wherein the polling instruction further comprises: condition information for indicating a trigger condition of the polling instruction.
In the embodiment of the application, considering that some data need to be acquired in a specific time period, in order to ensure the accuracy and the efficiency of acquiring the data, a certain preset time after the current time may be determined to execute the polling instruction according to service requirements, for example, a time period in which the data needs to be acquired.
The trigger conditions include, but are not limited to: trigger type, trigger action, DTU model performed, device address and/or delay time, etc. In this embodiment of the present application, the trigger type may be a timing trigger, that is, a trigger is triggered at regular intervals. The trigger action may be an operation that the device needs to perform, such as a query operation. The executed DTU model may be a model of the DTU executing the polling instruction. The device address may be a device address of a device where the data to be acquired is located. The delay time may be a time interval between the time when the set trigger condition is satisfied and the time when the polling instruction starts to be executed.
And the condition information of the trigger condition is used for indicating the trigger condition of the polling instruction.
In the embodiment of the application, the polling instruction to be executed is configured by the platform of the internet of things, and the polling instruction can be executed and required data can be acquired after the preset time after the current time according to the condition information of the trigger condition included in the polling instruction. Thus, different types of service requirements can be met.
As shown in fig. 3, a schematic structural diagram that an RS485/RS232 device in the related art provided in the embodiment of the present application accesses an internet of things platform through a DTU is shown. As shown in fig. 3, for some conventional devices, such as RS485 and RS232 interface devices, to access the platform of the internet of things, a data converter DTU needs to be connected in between, and data acquired by the devices is transmitted to a gateway through technologies such as LoRa/NB-IOT/4G, and then transmitted to the platform of the internet of things through 4G or ethernet. In this way, when acquiring device data, a polling instruction is usually configured in the DTU, and the data of the device is acquired by regularly querying through a modbus protocol.
Since RS485/RS232 devices typically transmit data via the modbus protocol, which is a request/response protocol. Its request and response formats are:
request format frame (16-ary):
the device address, the function code, the register address, the register number and the check are formed.
Answer (16 system):
the device address, function code, data length and data.
Theoretically, the slave device address is 01-FF, can support 1-255 and can support 256 device addresses. In actual use, the DTU has a loading capacity and can support 32 devices or more in general.
While the number of polling commands supported by the DTUs produced by each manufacturer is different. Fig. 4 is a schematic diagram illustrating a relationship between a factory-produced DTU and the number of polling commands supported by the factory-produced DTU in the related art according to the embodiment of the present application. As can be seen from fig. 4, the number of polling commands supported by DTUs manufactured by different manufacturers is different. Generally, the greater the number of polling instructions supported by the DTU, the higher the cost of production.
When a DTU is connected with a device, the number of the instructions polled in the DTU is related to the number of parameters of the device, more parameters mean more registers, and less parameters mean less registers. Fig. 5 is a schematic diagram illustrating a relationship between a device type of an RS485 device and a number of polling commands that need to be configured in the related art according to an embodiment of the present application. As can be seen from fig. 5, when a single device with different RS485 interfaces is connected to a DTU, the number of polling commands configured by the DTU is basically within 8.
In practical application, considering the problem of cost saving, in some scenarios where devices are concentrated, one DTU is often used to connect multiple RS485/RS232 devices at the same time. As shown in fig. 6, a schematic structural diagram that a plurality of RS485/RS232 devices in the related art access an internet of things platform through a single DTU is provided in the embodiment of the present application. As can be seen from fig. 6, if one DTU needs to connect multiple devices and complete the acquisition of data of each device, the number of polling commands configured in the DTU is multiplied, and even exceeds the maximum polling number supported by the DTU device itself, so that the device data collection cannot be completed normally. For example, if a DTU itself supports 8 polling numbers and 4 polling commands need to be configured for one meter and one DTU, then at most two meters can be provided for one DTU. In practical items, a power distribution cabinet can have 6 to 10 electric meters, and data transmission needs to be connected through a DTU.
Therefore, the embodiment of the application provides a method for polling an internet of things platform. As shown in fig. 7, a structure that multiple RS485/RS232 devices access an internet of things platform through a single DTU and a relationship diagram of data flow between the devices are provided in the embodiment of the present application. The polling instructions of all devices connected with the DTU are configured through the Internet of things platform, so that the problem of polling and acquiring data of each device is solved from the Internet of things platform in a scene that one DTU simultaneously carries a plurality of RS485/RS232 devices. The RS485/RS232 device is one of the first devices.
The first solution is as follows: the method is realized in a PaaS layer:
1) The data flow trend of the design framework and the polling instruction of the internet of things platform is shown in fig. 6: the Internet of things platform sends a query request based on a modbus protocol through the DTU, and receives data returned by the RS485/RS232 equipment based on the query request through the DTU.
2) The design of downlink polling in the PaaS layer is as follows:
2.1 coding rules for Downlink Polling Instructions
When the device is polled in a downlink mode, the device _ address device address is a variable;
03: is the query function code;
0005: is the register start address;
0003: the number of the query registers;
and then calculating a checksum, namely assembling a modbus downlink polling instruction according to the device address. For example, a device address of 01, then the downstream instruction is:
{"payload":"010300050003000c","payloadType":1,"fport":1,"ack":1,"confirmed":1}。
the following is an example of lorawan (wireless transmission standard) downlink, and other protocols, payload (load, referred to as the aforementioned device) is a constant, but the difference is that result is different.
function polling(data) {
var a = data.device_address + "03" + "0005" + "0003" ;
var payload = a + checksum(a);
var result = {
payload: payload ,
payloadType:1,
fport:1,
ack:1,
confirmed:1
};
return result;
}
// checksum 16
function checksum(data, n) {
var hex_list = new Array();
var temp = 0;
var k = 0;
for (var i = 0; i < data.length; i = i + 2) {
data_tmp = parseInt(data.substr(i, 2), 16);
hex_list.push(data_tmp);
// XOR sum
// temp ^=hex_list[k];
// cumulative sum
temp += hex_list[k];
// temp =temp ^ hex_list[k];
k++;
}
mod_str = temp.toString(16);
len = mod_str.length;
if (n == undefined) {
n = 4;
}
If the length of the check bits is not sufficient, 0 is complemented,
while (len < n) {
mod_str = "0" + mod_str;
len++;
}
return mod_str;
}
2.2 there are several instructions to poll, several corresponding service functions are encoded.
For example, when a certain meter and DTU are set and developed with the device address 1:
instruction 1: read phase voltage, line voltage, current: 01 03 00 00 12 C5 C7;
instruction 2: reading active power: 01 03 00 12 00 08 E4 09;
instruction 3: reading apparent power, power factor: 01 03 00 22 00C E5 C5;
and 4, an instruction: reading frequency and electric energy: 01 03 00 2E 00 0E A4.
Fig. 8 is a schematic diagram illustrating functions of a service function developed in the PaaS layer and parameters included in the service function according to an embodiment of the present disclosure. As can be seen from fig. 8, the services for developing 4 downlink query commands on the PaaS layer include (1) reading phase voltage, line voltage, and current, (2) reading active power, (3) reading apparent power and power factor, and (4) reading frequency and power.
This completes the implementation of a device and a DTU that requires 4 polling instructions to be configured.
2.2 implement multiple devices and a DTU configuration polling command.
1) Treating the address as an identification of the device;
2) Each downstream service may poll all devices connected below the DTU according to the address.
One meter and one DTU would need to configure 4 commands. If there are one DTU and 5 meters, then 20 instructions need to be configured. The configuration of the instructions can be implemented in the manner described above.
2.3 presentation mode and effect of PaaS layer:
fig. 9 is a schematic diagram illustrating a function of editing a service function according to an embodiment of the present application. As can be seen from fig. 9, by setting a window of the downstream service (i.e., the polling instruction), the slave function name, the function identification, the response type of the downstream service, and whether auto-polling is set, as well as the time of polling and the address of polling can be edited. The polling address is a variable parameter and is the key of setting.
Fig. 10 is a schematic diagram illustrating a relationship between a DTU and device addresses of devices according to an embodiment of the present application. This figure is a graph of the relationship indicated by the parameter personlizeParameters. The parameter is a link between the DTU and each device connected with the DTU, namely a one-to-one correspondence table between the DTU and each device address.
Fig. 11 is a schematic diagram of parameters of an editing service function according to an embodiment of the present application.
Parameter name: is the device address.
Parameter identification: device _ address.
The data type is as follows: by definition, in the embodiment of the present application, a string is defined.
Default values are as follows: is critical to be able to poll multiple devices. If the default value is filled to 01, only the device with address 1 will be polled. The polling value needs to fill in personlizeparameters. As is clear from fig. 10 and the explanation of fig. 10. The parameter includes the device addresses of all devices connected to the DTU, so that the completion of the parameter with the polling value enables polling of all devices connected to the DTU.
The association relation between the DTU and each device connected with the DTU is bound when the DTU is registered on the platform, and the registration information on the platform after the DTU is registered comprises the model, name and number of the DTU, and information such as product type, creation time, device expiration time, device state, device activation code and the like.
In one embodiment, information such as a device number, a device model, a device state, update time and the like of a device connected with the DTU can be added or deleted through the internet of things platform.
In another embodiment, a communication address and a device name of a device connected with the DTU may also be set through the internet of things platform, and the communication address set for each device is different.
The second solution is as follows: the method is realized at a SaaS layer:
1) The PaaS layer design is the same as that of the scheme 1, and the only difference is that when the variable of the address parameter is set, the default value is set to be 01, or other unique addresses can be set, and the others are not changed.
2) The software as a service (SaaS) layer can be realized by a rule engine:
2.1 setting a timing task at first;
2.2 selecting DTU model and serial number, selecting one service of downlink polling;
2.3 configure the set address.
The following is the presentation mode of SaaS:
(1) Setting a triggering condition:
the triggering type is as follows: selecting timing trigger;
timing expression: it is the set timing, e.g., trigger every 1 hour.
(2) Setting an execution action:
the action type is as follows: downlink service;
the model is as follows: is the model of the DTU;
delay time: setting the time within 10 seconds;
selecting a service: is the specific service function;
setting an address: 01;
equipment: is the number of the DTU.
As shown in fig. 12, a device polling apparatus provided in an embodiment of the present application includes:
a first obtaining module 110, configured to obtain device information of a first device; wherein the device information at least includes: the device address of the first device is a device connected with a data conversion unit (DTU), and the DTU is connected with the Internet of things platform;
a first determining module 120, configured to determine a polling instruction according to the device information and the service requirement; wherein the polling instruction comprises: the equipment address of the second equipment to be polled at this time;
a sending module 130, configured to send, according to the device address included in the polling instruction, a query request to at least one second device through the DTU;
a receiving module 140, configured to receive data returned by the second device based on the query request.
In some embodiments, the first obtaining module 110, the first determining module 120, the sending module 130, and the receiving module 140 may be all program modules, and the program modules, after being executed by a processor, can implement the functions of the above modules.
In other embodiments, the first obtaining module 110, the first determining module 120, the sending module 130, and the receiving module 140 may be a hardware-software module; the soft and hard combining module includes but is not limited to: various programmable arrays; the field programmable array includes, but is not limited to: field programmable arrays and/or complex programmable arrays.
In still other embodiments, the first obtaining module 110, the first determining module 120, the sending module 130, and the receiving module 140 may all be pure hardware modules; the pure hardware modules include, but are not limited to: an application specific integrated circuit.
In some embodiments, the polling instructions further comprise: a device parameter; the device parameter is used for indicating data which needs to be acquired by the DTU.
In some embodiments, the device parameter comprises at least one of:
a function name;
a function identifier;
a register address;
the number of registers.
In some embodiments, the apparatus further comprises:
the second obtaining module is used for obtaining the association information between the first equipment and the DTU according to the registration information of the first equipment on the Internet of things platform;
and the second determining module is used for determining the equipment address of the first equipment according to the associated information.
In some embodiments, the apparatus further comprises:
a third determining module, configured to determine, according to the service requirement, the polling instruction executed after a preset time after the current time;
the setting module is used for setting a triggering condition of the polling instruction executed after the preset time according to the preset time; wherein the polling instruction further comprises: condition information of the trigger condition.
In some embodiments, the device information further includes at least one of:
a device type;
numbering equipment;
a device name;
the device status.
As shown in fig. 13, another device polling apparatus provided in this embodiment of the present application includes:
a first receiving module 210, configured to receive a polling instruction from an internet of things platform, where the polling instruction includes: the equipment address of the first equipment to be polled at this time, wherein the first equipment is equipment connected with the DTU;
a sending module 220, configured to send, according to the device address included in the polling instruction, a query request to at least one of the first devices;
a second receiving module 230, configured to receive data returned by the first device based on the query request;
a forwarding module 240, configured to forward the data returned by the first device to the internet of things platform.
In some embodiments, the first receiving module 210, the sending module 220, the second receiving module 230, and the forwarding module 240 may be all program modules, and the program modules can implement the functions of the above modules after being executed by a processor.
In other embodiments, the first receiving module 210, the sending module 220, the second receiving module 230, and the forwarding module 240 may be all hardware and software combined modules; the soft and hard combining module includes but is not limited to: various programmable arrays; the field programmable array includes, but is not limited to: field programmable arrays and/or complex programmable arrays.
In still other embodiments, the first receiving module 210, the sending module 220, the second receiving module 230, and the forwarding module 240 may all be pure hardware modules; the pure hardware modules include, but are not limited to: an application specific integrated circuit.
In some embodiments, the polling instructions further comprise: a device parameter; the device parameter is used for indicating data which needs to be acquired by the DTU.
In some embodiments, the device parameter comprises at least one of:
a function name;
function identification;
a register address;
the number of registers.
In some embodiments, the first receiving module 210 is further configured to receive the polling instruction, which is executed after a preset time after the current time, from the internet of things platform; wherein the polling instruction further comprises: condition information for indicating a trigger condition of the polling instruction.
As shown in fig. 14, an embodiment of the present application provides an electronic device, including:
a memory for storing computer readable instructions;
and the processor is connected with the memory and used for realizing the method provided by any of the foregoing embodiments by executing the computer readable instructions, for example, the method shown in fig. 1 and/or fig. 2 can be executed.
The memory can be various types of memories, such as random access memory, read only memory, flash memory, and the like. The memory may be used for information storage, e.g., storing computer-executable instructions, etc. The computer-executable instructions may be various program instructions, such as object program instructions and/or source program instructions, and the like.
The processor may be various types of processors, such as a central processing unit, a microprocessor, a digital signal processor, a programmable array, a digital signal processor, an application specific integrated circuit, or an image processor, among others. The processor may be connected to the memory via a bus. The bus may be an integrated circuit bus or the like.
As shown in fig. 14, the electronic device may further include a network interface, which may be used for interacting with a peer device through a network.
Embodiments of the present application further provide a computer storage medium, where the computer storage medium stores computer-executable instructions, and after the computer-executable instructions are executed, the method provided by any of the foregoing embodiments can be implemented, for example, the method shown in fig. 1 and/or fig. 2 can be executed.
The computer storage medium provided by the embodiment comprises: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or in other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing module, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A device polling method is applied to an Internet of things platform and comprises the following steps:
acquiring equipment information of first equipment; wherein the device information at least comprises: the device address of the first device is a device connected with a data conversion unit (DTU), and the DTU is connected with the Internet of things platform;
determining a polling instruction according to the equipment information and the service requirement; wherein the polling instruction comprises: a device address and a plurality of register addresses of a second device to be polled; the plurality of register addresses are distributed consecutively, and the number of polling instructions is determined based on the register addresses;
according to the equipment address contained in the polling instruction, sending a query request to at least one second equipment through the DTU;
and receiving data returned by the second equipment based on the query request.
2. The method of claim 1, wherein the polling instruction further comprises: a device parameter; the device parameter is used to indicate data that the DTU needs to acquire.
3. The method of claim 2, wherein the device parameter comprises at least one of:
a function name;
function identification;
the number of registers.
4. The method of claim 1, further comprising:
acquiring association information between the first equipment and the DTU according to registration information of the first equipment on the Internet of things platform;
and determining the equipment address of the first equipment according to the associated information.
5. The method of claim 1, further comprising:
determining the polling instruction executed after a preset time after the current time according to the service requirement;
setting a triggering condition of the polling instruction executed after the preset time according to the preset time; wherein the polling instruction further comprises: condition information of the trigger condition.
6. The method of claim 1, wherein the device information further comprises at least one of:
a device type;
numbering equipment;
a device name;
the device status.
7. The equipment polling method is applied to a data conversion unit (DTU), wherein the DTU is connected with an Internet of things platform, and comprises the following steps:
receiving a polling instruction from the Internet of things platform, wherein the polling instruction comprises: a device address and a plurality of register addresses of a first device to be polled, wherein the register addresses are distributed continuously, and the first device is a device connected with the DTU; the number of polling instructions is determined based on the register address;
sending a query request to at least one first device according to the device address contained in the polling instruction;
receiving data returned by the first device based on the query request;
and forwarding the data returned by the first equipment to the Internet of things platform.
8. The method of claim 7, wherein the polling instructions further comprise: a device parameter; the device parameter is used for indicating data which needs to be acquired by the DTU.
9. The method of claim 8, wherein the device parameter comprises at least one of:
a function name;
function identification;
the number of registers.
10. The method of claim 7, wherein receiving the polling instruction from the internet of things platform comprises:
receiving the polling instruction which is from the Internet of things platform and executed after a preset time after the current time; wherein the polling instruction further comprises: condition information indicating a trigger condition of the polling instruction.
11. An apparatus polling device, comprising:
the first acquisition module is used for acquiring the equipment information of the first equipment; wherein the device information at least includes: the device address of the first device is a device connected with a data conversion unit (DTU), and the DTU is connected with the Internet of things platform;
the first determining module is used for determining a polling instruction according to the equipment information and the service requirement; wherein the polling instruction comprises: the device address and the register addresses of the second device to be polled at this time; the plurality of register addresses are distributed consecutively, and the number of polling instructions is determined based on the register addresses;
a sending module, configured to send, according to the device address included in the polling instruction, a query request to the at least one second device through the DTU;
and the receiving module is used for receiving the data returned by the second equipment based on the query request.
12. An apparatus polling device, comprising:
the first receiving module is used for receiving a polling instruction from an internet of things platform, wherein the polling instruction comprises: the method comprises the steps that the device address and a plurality of register addresses of a first device to be polled at this time are distributed continuously, and the first device is a device connected with a DTU; the number of polling instructions is determined based on the register address;
a sending module, configured to send a query request to at least one first device according to a device address included in the polling instruction;
the second receiving module is used for receiving data returned by the first equipment based on the query request;
and the forwarding module is used for forwarding the data returned by the first equipment to the Internet of things platform.
13. An electronic device, comprising:
a memory storing computer readable instructions;
a processor coupled to the memory for enabling the method of any of claims 1-6 or 7-10 to be performed by executing the computer readable instructions.
14. A computer storage medium having stored thereon computer-executable instructions; the computer executable instructions, when executed by a processor, are capable of implementing the method of any one of claims 1 to 6 or 7 to 10.
CN202210975949.8A 2022-08-15 2022-08-15 Equipment polling method, device, electronic equipment and storage medium Active CN115051992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210975949.8A CN115051992B (en) 2022-08-15 2022-08-15 Equipment polling method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210975949.8A CN115051992B (en) 2022-08-15 2022-08-15 Equipment polling method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115051992A CN115051992A (en) 2022-09-13
CN115051992B true CN115051992B (en) 2022-11-18

Family

ID=83166674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210975949.8A Active CN115051992B (en) 2022-08-15 2022-08-15 Equipment polling method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115051992B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3832733B2 (en) * 2002-01-17 2006-10-11 シャープ株式会社 Polling device and communication device
JP3451440B2 (en) * 2002-01-18 2003-09-29 富士通株式会社 Polling communication system and polling control method
US8224929B2 (en) * 2009-05-25 2012-07-17 Kissinger Matthew R Mobile device polling for media content selection and presentation control
CN106231004A (en) * 2016-08-05 2016-12-14 浪潮(北京)电子信息产业有限公司 The collocation method of the computer node IP address of a kind of cloud data center and system
CN106597901B (en) * 2016-12-22 2019-03-29 广州邦讯信息系统有限公司 Distributed Integration managing power consumption and analysis method and system based on cloud service
CN109495572A (en) * 2018-11-22 2019-03-19 深圳市信锐网科技术有限公司 A kind of Internet of things system and its network communication method, device and storage medium
CN110780630A (en) * 2019-11-25 2020-02-11 广州邦讯信息系统有限公司 Protocol library docking execution system suitable for Internet of things and working method
CN112769873B (en) * 2021-04-07 2021-07-27 武汉慧联无限科技有限公司 Data processing method and device, Internet of things platform and storage medium
CN114785659A (en) * 2022-06-20 2022-07-22 武汉慧联无限科技有限公司 Instruction configuration method and device, electronic equipment and computer-readable storage medium

Also Published As

Publication number Publication date
CN115051992A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
Priyantha et al. Tiny web services: design and implementation of interoperable and evolvable sensor networks
US8138934B2 (en) System and method for false alert filtering of event messages within a network
US20110314163A1 (en) Wireless communication network for smart appliances
US20090135836A1 (en) Collector device and system utilizing standardized utility metering protocol
CN109548019B (en) Network distribution method and system
CN108063775B (en) Communication protocol compatible method, device and system
CA2705094A1 (en) System and method for false alert filtering of event messages within a network
CN110831050B (en) Sensor node control method and system
KR20220113664A (en) Internet of Things Terminal Operating Methods
CN115051992B (en) Equipment polling method, device, electronic equipment and storage medium
US10440551B2 (en) Technique for determining the presence of a peripheral device in a service area of a local network
JP6420428B1 (en) Wireless device
US11516561B2 (en) Method for reading fluid meters
JP4428099B2 (en) Relay master device and remote monitoring system
US11456944B1 (en) Managing outage reporting using last gasps
CN110545309A (en) Internet of things terminal eUICC card management method, device and system
US11592316B2 (en) Method for reading meters for fluids
CN113965904A (en) Device registration method, device and storage medium
CN116319712B (en) Wireless upgrading method and device for slave nodes of power equipment body area network
CN114157725B (en) Method, device, server, electronic equipment and storage medium for equipment linkage
JP2005073055A (en) Network adapter and household electrical appliance connectable to network adapter
CN1207842A (en) Method and apparatus for providing roaming instructions to data communication receivers
CN117527868A (en) Control system and method for communication between intelligent fusion terminal and intelligent electric power instrument
CN113873353A (en) Electric quantity statistical processing method, intelligent module, server and data processing system
CN114297306A (en) Data synchronization method and device, electronic equipment and storage medium

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Equipment polling method, device, electronic device, and storage medium

Granted publication date: 20221118

Pledgee: CITIC Bank Limited by Share Ltd. Wuhan branch

Pledgor: WUHAN EASYLINKIN TECHNOLOGY CO.,LTD

Registration number: Y2024980000365

PE01 Entry into force of the registration of the contract for pledge of patent right