CN112055062B - Data communication method, device, equipment and readable storage medium - Google Patents

Data communication method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN112055062B
CN112055062B CN202010852426.5A CN202010852426A CN112055062B CN 112055062 B CN112055062 B CN 112055062B CN 202010852426 A CN202010852426 A CN 202010852426A CN 112055062 B CN112055062 B CN 112055062B
Authority
CN
China
Prior art keywords
accessed
equipment
field set
script file
state data
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
CN202010852426.5A
Other languages
Chinese (zh)
Other versions
CN112055062A (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.)
Shenzhen Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray Technologies 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 Shenzhen Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN202010852426.5A priority Critical patent/CN112055062B/en
Publication of CN112055062A publication Critical patent/CN112055062A/en
Application granted granted Critical
Publication of CN112055062B publication Critical patent/CN112055062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • G06F9/45512Command shells
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/20Information sensed or collected by the things relating to the thing itself
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/30Information sensed or collected by the things relating to resources, e.g. consumed power
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Abstract

The embodiment of the application provides a data communication method, a device, equipment and a storage medium, wherein the method comprises the following steps: basic information and an acquisition field set of equipment to be accessed are obtained through a visual interface; the collection field set at least comprises one collection field; generating a first script file corresponding to the collection field set; generating a second script file corresponding to the basic information and the collection field set; acquiring state data of equipment to be accessed corresponding to each acquisition field in the acquisition field set; performing format conversion on the state data by using the first script file; and under the condition that the format-converted state data meets the state data requirement defined in the second script file, displaying the format-converted state data through a visual interface.

Description

Data communication method, device, equipment and readable storage medium
Technical Field
The present disclosure relates to data communication technologies, and in particular, to a data communication method, apparatus, device, and computer readable storage medium.
Background
In the related art, in order to define a device to be accessed in an internet of things platform, not only a technician with a programming foundation is required to customize related data scripts, such as a structured query language (Structured Query Language, SQL) script and a Lua script, but also a large number of fields corresponding to the device to be accessed are required to be defined, so that the definition speed of the device to be accessed is slower, and the number of the devices to be accessed defined in the platform is affected.
Disclosure of Invention
The embodiment of the application expects to provide a data communication method, a data communication device, electronic equipment and a computer storage medium.
In a first aspect, an embodiment of the present application provides a data communication method, where the method includes:
basic information and an acquisition field set of equipment to be accessed are obtained through a visual interface; the collection field set at least comprises one collection field;
generating a first script file corresponding to the collection field set;
generating a second script file corresponding to the basic information and the collection field set;
acquiring state data of equipment to be accessed corresponding to each acquisition field in the acquisition field set;
performing format conversion on the state data by using the first script file;
and under the condition that the format-converted state data meets the state data requirement defined in the second script file, displaying the format-converted state data through a visual interface.
In a second aspect, embodiments of the present application provide a data communication apparatus, the apparatus including:
the field acquisition module is used for acquiring basic information and acquisition field sets of the equipment to be accessed through the visual interface; the collection field set at least comprises one collection field;
The first script file generation module is used for generating a first script file corresponding to the collection field set;
the second script file generation module is used for generating a second script file corresponding to the basic information and the collection field set;
the state data acquisition module is used for acquiring state data of the equipment to be accessed corresponding to each acquisition field in the acquisition field set;
the format conversion module is used for carrying out format conversion on the state data by utilizing the first script file;
the display module is used for displaying the state data after format conversion through a visual interface under the condition that the state data after format conversion meets the state data requirement defined in the second script file.
In a third aspect, embodiments disclosed herein further provide an internet of things platform, including: memory and processor
The memory is used for storing executable instructions;
the processor is configured to implement any one of the data communication methods described above when executing the executable instructions stored in the memory.
In a fourth aspect, embodiments of the present application further provide a computer readable storage medium storing executable instructions for implementing the data communication method according to any one of the above when executed by a processor.
In the embodiment of the application, the basic information and the collection field set of the equipment to be accessed are obtained through the visual interface; generating a first script file corresponding to the collection field set; the second script file corresponding to the basic information and the collection field set is generated, the basic information and the collection field set of the equipment to be accessed only need to be input into a visual interface in the process of defining the equipment to be accessed, the technical requirements on operators are low, and the collection field set can be obtained by selecting a field library of a predefined number corresponding to equipment types, so that a large number of fields corresponding to the equipment to be accessed do not need to be defined, the definition speed of the equipment to be accessed is high, and the number of the equipment to be accessed defined on a platform is high.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the technical aspects of the application.
Fig. 1 is a schematic diagram of a device to be accessed that has been successfully incorporated into an internet of things platform in the related art;
FIG. 2 is a flow chart of a data communication method according to an embodiment of the present application;
FIG. 3 is a flow chart of another data communication method according to an embodiment of the present application;
FIG. 4 is a flow chart of yet another data communication method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a basic information composition structure defining a device to be accessed according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a page of a functional definition according to an embodiment of the present application;
fig. 7 is a schematic page diagram of functional definition of an acquisition field of a device to be accessed according to an embodiment of the present application;
FIG. 8A is a schematic diagram of the composition and structure of an automatically generated SQL script file according to an embodiment of the present application;
FIG. 8B is a schematic diagram of the composition and structure of an automatically generated Lua script file according to an embodiment of the present application;
fig. 9 is a schematic diagram of a composition structure of an internet of things platform according to an embodiment of the present application;
FIG. 10 is a schematic page diagram of a data parsing script according to an embodiment of the present application;
fig. 11 is a schematic diagram of a composition structure of a data communication device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an internet of things platform according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the accompanying drawings and examples. It should be understood that the examples provided herein are for the purpose of illustrating the present application only and are not intended to limit the present application. In addition, the embodiments provided below are some of the embodiments for implementing the present application, and not all of the embodiments for implementing the present application, and the technical solutions described in the embodiments of the present application may be implemented in any combination without conflict.
It should be noted that, in the embodiments of the present application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a method or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such method or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other related elements in a method or apparatus comprising the element (e.g., a step in a method or an element in an apparatus, e.g., an element may be part of a circuit, part of a processor, part of a program or software, etc.).
The term "and/or" is herein merely one association relationship describing an associated object, meaning that there may be three relationships, e.g., U and/or W, may represent: there are three cases where U alone exists, U and W together, and W alone exists. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of U, W, V, and may mean including any one or more elements selected from the group consisting of U, W and V.
In the embodiments of the present application, for convenience of understanding, the following terms will now be explained:
simple network management protocol (Simple Network Management Protocol, SNMP): is a standard protocol specifically designed for managing network nodes (servers, workstations, routers, switches, hubs, etc.) in an internetworking protocol (Internet Protocol, IP) network, belonging to an application layer protocol.
Modbus: is a serial communication protocol, becomes an industry standard for industrial communication protocols, and is now a common connection method between industrial electronic devices.
Zigbee (Zigbee): the protocol is a wireless network protocol for low-speed short-distance transmission, and the bottom layer is a media access layer and a physical layer adopting IEEE802.15.4 standard specifications. The main characteristics are low speed, low power consumption, low cost, support of a large number of network nodes, support of various network topologies, low complexity, rapidness, reliability and safety.
LoRaWAN: is a Low-Power Wide-Area Network (LPWAN) specification suitable for use with battery-powered wireless devices in regional, national or global networks.
JS object numbered musical notation (JavaScript Object Notation, JSON): is a lightweight data exchange format. It stores and presents data in a text format that is completely independent of the programming language, based on a subset of ECMAScript (script (JS) specifications formulated by the european computer manufacturers association).
Lua: is a compact scripting language. Can be widely applied. Not only as an extension script, but also as a general configuration file, replaces the file formats of extensible markup language (eXtensible Markup Language, XML), initialization file (initialization File, ini), etc., and is easier to understand and maintain.
Structured query language (Structured Query Language, SQL): is a special purpose programming language, a database query and programming language, for accessing data and querying, updating and managing relational database systems.
With the rapid development of the internet of things in recent years, the access requirement of equipment in the aspect of internet of things equipment is also more and more strong. The technical idea of the internet of things is to connect everything as required. Specifically, information sensing equipment such as various network technologies and radio frequency identification (data exchange is performed through radio to achieve information identification) technologies is used for connecting all the object terminals which can be independently identified, including people, machines and objects, according to a convention protocol and everywhere as required, and information transmission and cooperative interaction are performed, so that intelligent information sensing, identification, positioning, tracking, monitoring and management of the object terminals are achieved, and mutual communication among all the object terminals is constructed. Common device communication protocol types include: modbus, SNMP, zigbee and LoRaWAN, etc.
The abundant mass equipment data is an important bearing for the development of the business of the Internet of things, so that the access of the equipment to the Internet of things is a necessary stage of the development of the Internet of things in the early stage. In order to support the occurrence of the situation, the internet of things platform provides a rapid visual device platform definition tool, so that a large number of devices to be accessed can be rapidly defined and accessed to the Xinrui internet of things platform.
Fig. 1 is a schematic diagram of a device that has successfully been included in the internet of things platform in the related art, as shown in fig. 1, and the type of an access device that has successfully been included in the internet of things platform is referred to as a left frame 11, where:
the accessed device comprises: curtain controller, projecting apparatus, fan, liquid level equipment, temperature equipment, commercial power monitoring module, switch, generator, water gauge, illumination intensity equipment, fire monitoring equipment, air conditioner, all-in-one, socket, intelligent well lid and network video recorder (Network Video Recorder, NVR), switch, uninterrupted power source (Uninterruptible Power Supply, UPS) etc..
Basic information of an accessed device including a model number, a manufacturer, an access mode, a power supply mode, etc. can also be displayed in fig. 1, for example, referring to block 12, basic information of an access device with a device model number of 1 is shown in block 12, including model number 1, a manufacturer of certain electric company limited by an security badge, an access mode of RS485, and a power supply mode of alternating current 220V (AC 220V).
However, in the related art, the following problems generally exist in defining a device to be accessed to an internet of things platform:
problem 1: currently, the access equipment is defined to the internet of things platform, and related data scripts (such as SQL and Lua scripts) are required to be customized, so that for personnel without a certain programming basis, certain programming difficulty and technical threshold are required to be realized for realizing the access of the access equipment, and the personnel are required to be prohibitive.
Problem 2: for the research and development personnel who have mastered the programming of SQL and Lua scripts, defining a piece of equipment to be accessed requires collecting a large number of fields, for example, defining a piece of common UPS equipment, more than 70 fields requiring collection and monitoring are needed, and no alarm and fault fields are included. This definition of a large number of fields wastes a lot of time, and the access efficiency is low, which seriously affects the number of devices to be accessed to the access platform.
Based on the technical problems, the embodiment of the application provides a data communication method; the data communication method can be applied to a server platform, for example, an internet of things platform.
Fig. 2 is a flowchart of a data communication method according to an embodiment of the present application, as shown in fig. 2, the flowchart may include:
Step S201: basic information and an acquisition field set of equipment to be accessed are obtained through a visual interface; the collection of acquisition fields includes at least one acquisition field.
In one possible implementation manner, the basic information of the device to be accessed may include information of the device to be accessed and network access information of the device to be accessed, where the information of the device to be accessed includes information such as a name of the device to be accessed, a description of the device to be accessed, a manufacturer of the device to be accessed, a model of the device to be accessed, a class of the device to be accessed, a type of the device to be accessed, and a picture of the device to be accessed; the network access information of the equipment to be accessed comprises: networking means, communication protocols, data formats, and reporting means. Here, the collection field set may be a plurality of collection fields determined according to the class of the device to be accessed, for example, the collection field set for the smart meter may include collection fields of electric quantity, voltage value, current value, time, and the like; the visual Interface may be a User Interface (UI).
In one example, the basic information and collection field set of the device to be accessed are obtained through a visual interface, and the basic information and collection field set of the device to be accessed are input in the visual interface based on user operation. The implementation manner of acquiring the collection field set through the visual interface can also be that a user selects equipment types of equipment to be accessed in the visual interface, and the collection field set corresponding to the equipment to be accessed is automatically determined in a field library corresponding to the preset equipment types and the collection field set. Here, before the user selects the equipment class of the equipment to be accessed through the visual interface, a field library corresponding to various equipment classes can be preset, and after the equipment class of the equipment to be accessed is selected, the field library of the equipment to be accessed is automatically generated, wherein the lua script file is built in the field library of the equipment to be accessed. In one example, for different equipment categories, the field library may include acquisition fields with acquisition frequencies above a certain threshold corresponding to the different equipment categories.
Step S202: and generating a first script file corresponding to the collection field set.
Here, the first script file may be a lua script file. The implementation manner of generating the first script file corresponding to the collection field set may, for example, determine a data conversion manner in the first script file according to a communication protocol of the device to be accessed, and automatically generate the first script file corresponding to the collection field set through the data conversion manner.
Step S203: and generating a second script file corresponding to the basic information and the collection field set.
In one possible implementation, the second script file may be an SQL script file; the implementation manner of generating the second script file corresponding to the basic information and the collection field set may, for example, define the collection field and the basic information in the collection field set according to a communication protocol in the basic information, and automatically generate the second script file corresponding to the basic information and the collection field set.
Step S204: and acquiring state data of the equipment to be accessed corresponding to each acquisition field in the acquisition field set.
Here, the state data of the device to be accessed refers to data corresponding to an acquisition field of the current device to be accessed, where the state data of the device to be accessed may be determined according to a protocol document provided by a manufacturer of the device to be accessed, and the state data of the device to be accessed may be a digital value or a character string.
In an embodiment, the acquiring the state data of the device to be accessed corresponding to each acquisition field in the acquisition field set may be performing polling acquisition through an acquisition device or an acquisition host in a server platform, so as to acquire the state data of the device to be accessed corresponding to each acquisition field in the acquisition field set.
Step S205: and carrying out format conversion on the state data by using the first script file.
In one possible implementation manner, the format conversion of the status data by using the first script file may be that the collected status data is converted by using the first script file according to a format specified by a communication protocol of the device to be accessed, for example, the format specified by the communication protocol of the device to be input may be 16-system data, and the displayed data is required to be 10-system data, so that the 16-system data needs to be converted into 10-system data.
In another possible implementation manner, the state data is converted into a format by using the first script file, or the data value is scaled by using the first script file in a coding and decoding manner, for example, the data state is 24, the data is changed to 240 after coding, the data is amplified by 10 times, and then the data is reduced to 1/10 of the original data after decoding, and then the data is changed to 24.
Step S206: and under the condition that the format-converted state data meets the state data requirement defined in the second script file, displaying the format-converted state data through a visual interface.
In one possible implementation, the requirements of the state data defined in the second script file may include the type of data, the range of values of the data, and the units of the data.
In one example, the implementation manner of step S206 may be that whether the type, the value range and the unit of data of the state data after format conversion conform to the requirements defined in the second script file is judged, and the state data after format conversion is displayed through the visual interface only if it is determined that the state data after format conversion conforms to the requirements of the state data defined in the second script file; and under the condition that the state data after format conversion does not meet the state data requirement defined in the second script file, the state data after format conversion is not displayed through a visual interface.
In practical applications, the steps S201 to S206 may be implemented by a processor in the internet of things platform, where the processor may be at least one of an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), an FPGA, a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, and a microprocessor.
It can be seen that, in the embodiment of the present application, the basic information and the collection field set of the device to be accessed are obtained through the visual interface; generating a first script file corresponding to the collection field set; the second script file corresponding to the basic information and the collection field set is generated, the basic information and the collection field set of the equipment to be accessed only need to be input into a visual interface in the process of defining the equipment to be accessed, the technical requirements on operators are low, and the collection field set can be obtained by selecting a field library of a predefined number corresponding to equipment types, so that a large number of fields corresponding to the equipment to be accessed do not need to be defined, the definition speed of the equipment to be accessed is high, and the number of the equipment to be accessed defined on a platform is high.
Fig. 3 is a flowchart of another data communication method according to an embodiment of the present application, as shown in fig. 3, the flowchart may include:
step S301: basic information of equipment to be accessed is obtained through a visual interface; the basic information comprises equipment class and communication protocol of the equipment to be accessed.
Step S302: determining a field set corresponding to the equipment class from a specific field library, and determining the field set corresponding to the equipment class as an acquisition field set of the equipment to be accessed; the collection of acquisition fields includes at least one acquisition field.
In one example, a particular field library may include field sets corresponding to various equipment categories, and the field sets corresponding to the equipment categories may be determined in the particular field library by the equipment categories.
In a possible implementation manner, the field set corresponding to the equipment class is determined from a specific field library, the field set corresponding to the equipment class is determined as the collection field set of the equipment to be accessed, the field set corresponding to the equipment class is searched in the specific field library, and the searched field set is used as the collection field set of the equipment to be accessed.
Step S303: and generating a first script file corresponding to the collection field set according to a format conversion mode specified by the communication protocol of the equipment to be accessed.
The implementation manner of generating the first script file corresponding to the collection field set according to the format conversion manner specified by the communication protocol of the device to be accessed may be to determine the data format conversion manner in the first script file according to the communication protocol of the device to be accessed, and automatically generate the first script file corresponding to the collection field set through the data conversion manner.
Step S304: and generating a second script file corresponding to the basic information and the collection field set.
Step S305: and acquiring state data of the equipment to be accessed corresponding to each acquisition field in the acquisition field set.
Step S306: and carrying out format conversion on the state data according to a format conversion mode specified by the communication protocol of the equipment to be accessed.
The implementation manner of performing format conversion on the state data according to the format conversion manner specified by the communication protocol of the device to be accessed may, for example, be that when it is determined that the format conversion manner specified by the communication protocol of the device to be accessed is that scaling of the data value is achieved through decoding and encoding, the state data is encoded, and then the encoded state data is decoded, so as to obtain the converted state data.
Step S307: and under the condition that the format-converted state data meets the state data requirement defined in the second script file, displaying the format-converted state data through a visual interface.
It can be seen that, since the generated first script file is generated according to the format conversion mode specified in the communication protocol of the device to be accessed, the format conversion of the state data is also performed according to the format conversion mode specified in the communication protocol of the device to be accessed, so that the device to be accessed defined by the platform can be ensured to accurately display the collected state data.
Fig. 4 is a flowchart of yet another data communication method according to an embodiment of the present application, as shown in fig. 4, the flowchart may include:
step S401: basic information of equipment to be accessed is obtained through a visual interface; the basic information includes equipment items.
Step S402: determining a field set corresponding to the equipment class from a specific field library, and determining the field set corresponding to the equipment class as an acquisition field set of the equipment to be accessed; the collection field set comprises scaling factors for converting the format of the data.
Step S403: and displaying a field set corresponding to the equipment category on the visual interface.
Step S404: and acquiring modification operation of the user through the visual interface, wherein the modification operation is used for modifying the fields in the field set corresponding to the equipment class.
Here, the user's modification operation may be to add, delete, or modify one or more fields in the field set.
The implementation manner of obtaining the modification operation of the user through the visual interface may be that the user performs the modification operation on the visual interface according to the requirement, and the internet of things platform obtains the modification operation of the user.
Step S405: and determining the modified field set as an acquisition field set of the equipment to be accessed.
In a possible implementation manner, the implementation manner of determining the modified field set as the acquired field set of the device to be accessed may be modification operation of a corresponding user of the platform of the internet of things, so as to obtain the modified field set, and taking the modified field set as the field set of the device to be accessed.
Step S406: and generating a first script file corresponding to the collection field set according to the scaling multiple of the data conversion determined in the collection field set.
In one example, the scaling factor of the data conversion may be attribute information of the acquisition field entered by the user. The implementation manner of generating the first script file corresponding to the collection field set according to the scaling multiple of the data conversion determined in the collection field set may be generating the first script file corresponding to the collection field set according to the scaling multiple of the data conversion set by a user.
Step S407: and sequentially acquiring the format-converted state data corresponding to the single acquisition field in the acquisition field set.
Here, the format-converted state data may be state data collected by the collector.
In one possible implementation, to verify the collection of acquisition fields, to determine the accuracy of the state data corresponding to the collection of acquisition fields, each acquisition field in the collection of acquisition fields needs to be verified.
Step S408: and under the condition that the format-converted state data corresponding to the single acquisition field is inconsistent with the format-converted state data, adjusting the scaling multiple of the data conversion or correcting the converted state data.
In an example, when the format-converted state data corresponding to the single acquisition field is inconsistent with the format-converted state data, the scaling factor of the data conversion or the converted state data in the collection field set is adjusted to perform correction processing, which may be that an adjustment scheme is determined according to the size relationship between the format-converted state data corresponding to the single acquisition field and the format-converted state data, and the scaling factor of the data conversion is adjusted according to the adjustment scheme or the converted state data is corrected.
Step S409: and generating a second script file corresponding to the basic information and the collection field set.
Step S410: and acquiring state data of the equipment to be accessed corresponding to each acquisition field in the acquisition field set.
Step S411: and carrying out format conversion on the state data by using the first script file.
Step S412: and under the condition that the format-converted state data meets the state data requirement defined in the second script file, displaying the format-converted state data through a visual interface.
Step S413: and acquiring control operation of the user on the equipment to be input through the visual interface.
Here, the control operation of the device to be input by the user may be a click operation of the user on the visual interface, for example, clicking an on or off button of a switch on the visual interface.
In a possible implementation manner, step S413 may be that the user determines whether to perform control operation on the device to be input according to the state data of the device to be input displayed on the visual interface, and in the case that it is determined to perform control operation on the device to be input, the user performs the user operation on the visual interface, and the platform of the internet of things obtains the user control operation through the visual interface.
Step S414: and converting the acquired control operation into a control instruction by using the second script file.
The implementation manner of converting the acquired control operation into the control instruction by using the second script file may be that an assembly manner of the control data is determined by using the second script file, the operation data corresponding to the control operation is assembled into message data by using the determined assembly manner, and the message data is determined to be the control instruction. For example, in the case where the user control operates to turn off the switch S1 of the device to be accessed, the converted control instruction may be "0100".
Step S415: and sending the control instruction to the equipment to be accessed in a message form so as to control the equipment to be accessed to execute the control instruction.
In one example, the control instruction is sent to the device to be accessed in a message form to control the device to be accessed to execute the control instruction, and the control instruction which can be in a message form is sent to a controller of the device to be accessed, and the controller of the device to be accessed controls the device to be accessed to execute the control instruction.
It can be seen that, according to the embodiment of the application, the collection field set of the equipment to be input, which is determined according to equipment types, can be modified according to the user requirements, and under the condition that the user needs to control the equipment to be input, based on the control operation of the user on the equipment to be accessed, a corresponding control instruction is generated by using the second script file, so that the control of the user on the equipment to be accessed is realized.
The embodiment of the application provides a rapid visual equipment platform definition tool, which can complete the definition and verification of equipment to be accessed by performing the following steps:
step S501: and inputting basic information and basic acquisition fields of the equipment to be accessed in a visual interface.
In one example, a visual platform definition tool is used for defining a device to be accessed, and basic information of the device is defined according to the requirement of a user through a visual interface operation on the basis that the user is familiar with a device protocol.
Fig. 5 is a schematic diagram of a basic information composition structure defining a device to be accessed according to an embodiment of the present application, and as shown in fig. 5, a block for creating the device to be input 50 may include: the to-be-accessed device information 501 box and the network access information 502 box, wherein the input items of the to-be-accessed device information 501 can include: to-be-accessed device name 5011, to-be-accessed device description 5012, to-be-accessed device manufacturer 5013, to-be-accessed device model 5014, to-be-accessed device class 5015, to-be-accessed device type 5016, to-be-accessed device picture 5017, and the like; the input options for the networking information 502 may include: networking means 5021, communication protocols 5022, data formats 5023, reporting means 5024, and the like. Input options for the device type to be accessed 5016 include: direct device, sub-gateway device and gateway device.
In one example, to define the device to be accessed, the user may respectively: directly inputting corresponding information of the equipment to be input into an input box corresponding to the name 5011, the description 5012, the manufacturer 5013 and the model 5014 of the equipment to be accessed; selecting the equipment class of the equipment to be accessed from the input box options corresponding to the equipment class 5015 to be accessed, or selecting the custom class, and then inputting the custom class name in the box corresponding to the custom class; selecting a device type of the device to be accessed from input options of the device type to be accessed 5016; clicking an input box of the picture 5017 of the equipment to be accessed to upload the picture of the equipment to be input to select a picture, and taking the selected picture as the picture of the equipment to be accessed; corresponding networking information is directly input in input boxes corresponding to a networking mode 5021, a communication protocol 5022, a data format 5023 and a reporting mode 5024; after the information is input, the button 51 can be clicked, and the input information with the input device is submitted to the internet of things platform.
In one example, the equipment items to be accessed include equipment such as UPS, precision air conditioning, all-in-one, battery, server, switch, and router.
The embodiment of the application also provides a function definition function of the equipment to be accessed, wherein the function definition can increase the attribute, service, configuration and event of the product to perfect the function of the product. FIG. 6 is a schematic diagram of a page of a function definition according to an embodiment of the present application, where, as shown in FIG. 6, an option new 60 and a delete 61 are set on the page of the function definition, clicking on the new 60 may add one function definition item, selecting one or more function definition items in the page, and clicking on the delete 61 may delete the selected one or more function definition items; each function definition item corresponds to a field definition, and each function definition item includes: function type 62, function name 63, identifier 64, data type 65, read-write type 66, data definition 67, and operation 68. Among other things, the function types 62 may include options for attributes, services, configurations, events, and the like; function name 63 may include the water volume value, stdServicee72RjJkARV, and water volume over-high alarm options; identifier 64 may include Water demand, stdServicee72RjJkARV, and Stdeventlden0O5, among other options; data type 65 may include options of int (integer) and shaping, etc.; the read-write type 66 may include options such as option readable-write; the data definition 67 may include: the value range is as follows: 0-6356, calling mode: asynchronous call and event types: alarming and other options; operation 68 may include button editing.
For example, in one function definition item, the function type 62 of the field defined by the function definition item is an attribute, the function name 63 is a Water quantity value, the identifier 64 is Water requirement, the data type 65 is int (integer), the read-write type 66 is readable-writable, and the data definition 67 is a value range: 0-6356, when the button edit is clicked, can enter the page shown in fig. 7, realizing modification of the function definition in the function definition item.
Fig. 7 is a schematic diagram of a page for performing function definition on an acquisition field of a device to be accessed according to an embodiment of the present application, where, as shown in fig. 7, input options in the page for function definition include: function attribute 70, function name 71, attribute description 72, attribute identification 73, data information 74 box and SNMP protocol information 75 box, wherein input options in the data information 74 box include: data type 741, value range 742, unit 743, read-write type 744, persistence field 745, data conversion 746, scaling factor 747; the SNMP protocol information 75 box includes an option object identifier (Object Identifier, OID) 751.
In one example, a certain acquisition field is functionally defined, and the following operations may be performed respectively: clicking and selecting one of the attribute, service, configuration and event buttons corresponding to the function attribute 70 according to the function of the acquisition field; the function name, the attribute description and the attribute identification corresponding to the acquisition field are respectively input in the input boxes corresponding to the function name 71, the attribute description 72 and the attribute identification 73, for example, "total memory of the switch", "total memory" and "raw_tatal" are respectively input; inputting the data type, the value range, the unit, the data conversion and the scaling multiple of the acquisition field in an input box corresponding to the data type 741, the value range 742, the unit 743, the data conversion 746 and the scaling multiple 747, and selecting one of the options read only 7441 and the read write 7442 corresponding to the read write type 744; the option in persistent field 745 is one of 7451 and no 7452; and (3) inputting the OID value corresponding to the acquisition field in an input box corresponding to the OID (751).
The type corresponding to the acquisition field is selected from the function types of the configuration and the event, wherein, for the acquisition field with the attribute identified as RAW-TOTAL, the selected function type is the attribute, the function name is the TOTAL memory of the switch, the attribute description is the TOTAL memory, the selected attribute type is integer, and the like.
Step S502: SQL and Lua script files are automatically generated.
It can be seen that SQL and Lua script files are automatically generated, the writing and debugging of scripts by research personnel are not needed, and the effect of defining the equipment to be accessed without threshold can be achieved.
Fig. 8A is a schematic structural diagram of an automatically generated SQL script file according to an embodiment of the present application, where, as shown in fig. 8A, a displayName field in the SQL script marks a name of a device to be accessed, a model field marks a model number of the device to be accessed, a manufactor field marks a manufacturer of the device to be accessed, and a fieldName field marks attribute information of an acquisition field, including a representation of the acquisition field, attribute description, data type, and the like.
Fig. 8B is a schematic structural diagram of an automatically generated Lua script file according to an embodiment of the present application, where, as shown in fig. 8B, the Lua script file is a Lua script file corresponding to an SNMP protocol, where an up_states array defines attribute information of an acquisition field of a device to be accessed, and an up_states_transfer function is a processing function of reporting data, and format conversion of the reporting data can be implemented through the processing function. Here, the processing rule corresponding to the processing function may be defined through a user UI interface.
Step S503: and debugging the lua script and the acquisition field to determine the accuracy of the state data of the equipment to be accessed.
Through debugging of the lua script and the acquisition field, problems can be rapidly defined and found, and correction and telescopic transformation can be performed on data.
Fig. 9 is a schematic diagram of a composition structure of an internet of things platform according to an embodiment of the present application; as shown in fig. 9, the internet of things platform may be divided into three layers, an access layer 90, a data conversion layer 91, and an application layer 92. The access layer 90 includes an access module 901, where the access module 901 may include a gateway, a backhaul device, and other devices, and the access module may monitor and manage status data of a device to be accessed, and transmit the status data of the device to be accessed to an internet of things platform so as to facilitate subsequent processing and identification; here, the protocols of the device to be accessed mainly include SNMP, ZIGBEE, loraWan, modbus and the like; the data conversion layer 91 comprises a data conversion module 911, through which the collected state data of the internet of things platform can be subjected to data format conversion through the Lua script to obtain state data in a unified format, and the state data in the unified format is transmitted to the application layer for unified processing; the application layer 92 includes a data processing module 921, a data presentation module 922, a data storage module 923, an alarm module 924, a data statistical analysis module 925, a library management module 926, and the like.
Here, the data display module 922 is configured to display status data in the same format transmitted by the data conversion layer 91; the data storage module 923 is configured to store status data in the same format transmitted by the data conversion layer 91, and perform subsequent processing. For example, the collected electricity consumption of the smart meter can be stored, and a statistical table of the electricity consumption is generated so as to be convenient for a user to analyze; the warning module 924 is configured to send warning information to the mobile phone terminal when defining that the device to be accessed generates a warning; the data statistics analysis module 925 is configured to perform statistics analysis on collected data of the device to be accessed; the data processing module 921 is used for performing data processing on the acquired data of the device to be accessed; the library management module 926 is configured to delete or add devices to be accessed.
In a possible implementation manner, the data processing module 921 is further configured to generate user control data when receiving a control instruction of a user, determine a manner of message assembling the user control data through an SQL script, assemble the control data into a data control message according to the determined assembly manner, and send the assembled data message to a backhaul device in the access module in the access layer 90, send the data control message to a controller of the device to be accessed through the backhaul device, and control the device to be accessed to execute the control instruction of the user through the controller of the device to be accessed.
In one possible implementation manner, when a device needs to be defined and a large number of fields need to be acquired, since a plurality of device classes are already built in the internet of things platform, when the device classes are selected, the internet of things platform can automatically build in basic acquisition fields, and a user can select to add, delete and change the corresponding plurality of acquisition fields by himself. The equipment items which are built in at present include: UPS, precision air conditioner, all-in-one, battery, server, switch and router.
In some possible embodiments, a debug function for the defined device to be accessed is provided for the internet of things platform. The debugging function comprises a debugging function of the lua script, namely, the state data subjected to format conversion aiming at a single field can be checked in real time according to the debugging function of the lua script, judgment is carried out according to the state data subjected to format conversion and the acquired state data, whether the actual acquisition requirement is met or not is determined, and scaling multiple of data conversion in the acquired field set is adjusted or correction processing is carried out on the state data.
The embodiment of the application also provides a data analysis script function, wherein the data analysis script refers to: aiming at the equipment adopting the transparent transmission format/custom data format, a data conversion script is required to be written in the platform, and binary data or custom JSON data reported by the equipment is converted into the Slink JSON data on the platform. In the following embodiments, the collection field set includes a scaling factor for performing format conversion on data, that is, the lua script file performs a function of scaling collected state data. Fig. 10 is a schematic page diagram of a data analysis script according to an embodiment of the present application, as shown in fig. 10, a button 101 for turning on a function or disabling a function is provided on a page of the data analysis script 100, and when the button 101 selects the function to be turned on, then the function of the data analysis script is turned on. In this embodiment, taking the case of 20 times of reduction as an example, the user inputs the electric quantity 2000, that is, the data before format conversion, in the analog input field 102, and clicks the execution button 103 to obtain the electric quantity 100 of the operation result 104, that is, the data after format conversion. As can be seen from fig. 10, the visual interface definition tool can also provide an interface for debugging a single field without having to define all fields and then debug the data.
Fig. 11 is a schematic structural diagram of a data communication device according to an embodiment of the present application, and as shown in fig. 11, the device may include:
the field acquisition module 1101 is configured to acquire basic information and an acquisition field set of a device to be accessed through a visual interface; the collection field set at least comprises one collection field;
a first script file generating module 1102, configured to generate a first script file corresponding to the collection field set;
a second script file generating module 1103, configured to generate a second script file corresponding to the basic information and the collection field set;
a state data obtaining module 1104, configured to obtain state data of a device to be accessed corresponding to each acquisition field in the acquisition field set;
a format conversion module 1105, configured to perform format conversion on the status data using the first script file;
and a display module 1106, configured to display the format-converted state data through a visual interface when the format-converted state data meets the state data requirement defined in the second script file.
In an embodiment, the first script file generating module 1102 is configured to generate a first script file corresponding to the collection field set according to a format conversion manner specified by a communication protocol of the device to be accessed; the format conversion module 1105 is configured to perform format conversion on the status data according to a format conversion manner specified by a communication protocol of the device to be accessed.
In one embodiment, the first script file generating module 1102 is configured to generate a first script file corresponding to the collection field set according to a scaling multiple of the data conversion determined in the collection field set; the device further comprises an adjustment module 1107, configured to sequentially obtain format-converted state data corresponding to a single acquisition field in the acquisition field set; and under the condition that the format-converted state data corresponding to the single acquisition field is inconsistent with the format-converted state data, adjusting the scaling multiple of the data conversion in the acquisition field set or correcting the format-converted state data.
In one embodiment, the apparatus further comprises: a control module 1108, configured to obtain, through the visual interface, a control operation of the user on the device to be input; converting the acquired control operation into a control instruction by using the second script file; and sending the control instruction to the equipment to be accessed in a message form so as to control the equipment to be accessed to execute the control instruction.
In one embodiment, the field obtaining module 1101 is configured to determine, from a specific field library, a field set corresponding to the equipment class, and determine the field set corresponding to the equipment class as the collection field set of the equipment to be accessed.
In one embodiment, the field obtaining module 1101 is further configured to display a field set corresponding to the equipment category on the visual interface; acquiring modification operation of the user through the visual interface, wherein the modification operation is used for modifying fields in a field set corresponding to the equipment class; and determining the modified field set as an acquisition field set of the equipment to be accessed.
In practical applications, the field obtaining module 1101, the first script file generating module 1102, the second script file generating module 1103, the status data obtaining module 1104, the format converting module 1105, the displaying module 1106, the adjusting module 1107 and the control module 1108 may be implemented by a processor in the electronic device, where the processor may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, a controller, a microcontroller and a microprocessor.
In addition, each functional module in the present embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional modules.
The integrated units, if implemented in the form of software functional modules, may be stored in a computer-readable storage medium, where the technical solution of the present embodiment is essentially or partly contributing to the related art or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform all or part of the steps of the method described in the present embodiment. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Generally, the computer program instructions corresponding to one data communication method in this embodiment may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the computer program instructions corresponding to one data communication method in the storage medium are read or executed by an electronic device, any one of the data communication methods in the foregoing embodiments is implemented.
Based on the same technical concept as the foregoing embodiments, referring to fig. 12, a schematic structural diagram of an internet of things platform provided in the embodiments of the present application may include: a memory 1201 and a processor 1202; wherein,
the memory 1201 is used for storing computer programs and data;
the processor 1202 is configured to execute a computer program stored in the memory to implement any one of the data communication methods of the foregoing embodiments.
In practical applications, the memory 1201 may be a volatile memory (RAM); or a non-volatile memory (non-volatile memory), such as ROM, flash memory (flash memory), hard Disk (HDD) or Solid State Drive (SSD); or a combination of the above, and provides instructions and data to the processor 1202.
The processor 1202 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, a controller, a microcontroller, and a microprocessor. It will be appreciated that, for different augmented reality cloud platforms, the electronics for implementing the above-described processor functions may be other, and embodiments of the present application are not limited.
In some embodiments, a function or a module included in an apparatus provided in this embodiment may be used to perform a method described in the foregoing method embodiments, and an implementation of the function or the module included in the apparatus may refer to the description of the foregoing method embodiments, which is not repeated herein for brevity
The foregoing description of various embodiments is intended to emphasize the differences between the various embodiments, and the same or similar features thereof may be referred to each other for brevity and will not be repeated herein
The methods disclosed in the method embodiments provided by the application can be arbitrarily combined under the condition of no conflict to obtain a new method embodiment.
The features disclosed in the embodiments of the products provided by the application can be arbitrarily combined under the condition of no conflict, so as to obtain new embodiments of the products.
The features disclosed in the embodiments of the method or the apparatus provided in the application may be arbitrarily combined without conflict to obtain a new embodiment of the method or the apparatus.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The examples of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative, not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the protection of the claims, which fall within the protection of the present application.

Claims (10)

1. A method of data communication, for application to a server platform, the method comprising:
basic information and an acquisition field set of equipment to be accessed are obtained through a visual interface; the collection field set at least comprises one collection field determined according to the class of the equipment to be accessed; the basic information comprises information of the equipment to be accessed and network access information of the equipment to be accessed;
generating a first script file corresponding to the collection field set;
generating a second script file corresponding to the basic information and the collection field set;
acquiring state data of equipment to be accessed corresponding to each acquisition field in the acquisition field set;
performing format conversion on the state data by using the first script file;
And under the condition that the format-converted state data meets the state data requirement defined in the second script file, displaying the format-converted state data through a visual interface.
2. The method of claim 1, wherein the basic information includes a communication protocol of the device to be accessed, and the generating the first script file corresponding to the collection field set includes:
generating a first script file corresponding to the collection field set according to a format conversion mode specified by the communication protocol of the equipment to be accessed;
correspondingly, the format conversion of the state data by using the first script file includes:
and carrying out format conversion on the state data according to a format conversion mode specified by the communication protocol of the equipment to be accessed.
3. The method according to claim 1, wherein the collection field set includes a scaling factor for performing format conversion on data, and the generating the first script file corresponding to the collection field set includes: generating a first script file corresponding to the collection field set according to the scaling multiple of the format conversion;
Correspondingly, after generating the first script file corresponding to the collection field set, the method further includes: sequentially acquiring the format-converted state data corresponding to the single acquisition field in the acquisition field set; and under the condition that the format-converted state data corresponding to the single acquisition field is inconsistent with the format-converted state data, adjusting the scaling multiple of the format conversion or correcting the format-converted state data.
4. The method according to claim 1, wherein the method further comprises:
acquiring control operation of a user on the equipment to be accessed through the visual interface;
converting the acquired control operation into a control instruction by using the second script file;
and sending the control instruction to the equipment to be accessed in a message form so as to control the equipment to be accessed to execute the control instruction.
5. The method according to claim 1, wherein the basic information includes equipment items, and the obtaining, through a visual interface, a collection of acquisition fields of the equipment to be accessed includes:
and determining a field set corresponding to the equipment class from a specific field library, and determining the field set corresponding to the equipment class as an acquisition field set of the equipment to be accessed.
6. The method of claim 5, wherein the method further comprises:
displaying a field set corresponding to the equipment category on the visual interface;
acquiring modification operation of a user through the visual interface, wherein the modification operation is used for modifying fields in a field set corresponding to the equipment class;
and determining the modified field set as the acquisition field set of the equipment to be accessed.
7. A data communication apparatus, the apparatus comprising:
the field acquisition module is used for acquiring basic information and acquisition field sets of the equipment to be accessed through the visual interface; the collection field set at least comprises one collection field determined according to the class of the equipment to be accessed; the basic information comprises information of the equipment to be accessed and network access information of the equipment to be accessed;
the first script file generation module is used for generating a first script file corresponding to the collection field set;
the second script file generation module is used for generating a second script file corresponding to the basic information and the collection field set;
the state data acquisition module is used for acquiring state data of the equipment to be accessed corresponding to each acquisition field in the acquisition field set;
The format conversion module is used for carrying out format conversion on the state data by utilizing the first script file;
the display module is used for displaying the state data after format conversion through a visual interface under the condition that the state data after format conversion meets the state data requirement defined in the second script file.
8. The apparatus of claim 7, wherein the first script file generating module is configured to generate a first script file corresponding to the collection field set according to a format conversion manner specified by a communication protocol of the device to be accessed;
the format conversion module is configured to perform format conversion on the status data according to a format conversion manner specified by the communication protocol of the device to be accessed.
9. An internet of things platform, comprising: a memory and a processor;
the memory is used for storing executable instructions;
the processor, when configured to execute the executable instructions stored in the memory, implements the data communication method of any one of claims 1 to 6.
10. A computer readable storage medium storing executable instructions for implementing the data communication method of any one of claims 1 to 6 when executed by a processor.
CN202010852426.5A 2020-08-21 2020-08-21 Data communication method, device, equipment and readable storage medium Active CN112055062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010852426.5A CN112055062B (en) 2020-08-21 2020-08-21 Data communication method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010852426.5A CN112055062B (en) 2020-08-21 2020-08-21 Data communication method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112055062A CN112055062A (en) 2020-12-08
CN112055062B true CN112055062B (en) 2024-04-09

Family

ID=73599595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010852426.5A Active CN112055062B (en) 2020-08-21 2020-08-21 Data communication method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112055062B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466048B (en) * 2022-03-09 2023-01-13 北京豪尔赛智慧城域科技有限公司 Method, device and storage medium for data transfer between Internet of things platforms
CN115834726B (en) * 2023-02-20 2023-07-21 广州汇通国信科技有限公司 Protocol conversion method, data transmission method, device, gateway and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015024371A1 (en) * 2013-08-21 2015-02-26 华为技术有限公司 Adaptation method for cloud platform user interface, and adapter
CN105491038A (en) * 2015-12-07 2016-04-13 高新兴科技集团股份有限公司 Intelligent device protocol analysis method
CN106155661A (en) * 2015-04-14 2016-11-23 阿里巴巴集团控股有限公司 A kind of control cut-in method and device
WO2018142203A1 (en) * 2017-02-03 2018-08-09 Telefonaktiebolaget Lm Ericsson (Publ) Access category handling for wireless communication systems
WO2018177260A1 (en) * 2017-03-28 2018-10-04 腾讯科技(深圳)有限公司 Application development method and tool, device, and storage medium thereof
CN109040081A (en) * 2018-08-10 2018-12-18 哈尔滨工业大学(威海) A kind of protocol fields conversed analysis system and method based on BWT
CN109450730A (en) * 2018-11-09 2019-03-08 中电科仪器仪表有限公司 A kind of dynamic application layer protocol test method based on standard data interchange format
CN109918050A (en) * 2019-02-01 2019-06-21 上海交通大学 A kind of software requirement description rule language and conversion method
CN110765067A (en) * 2019-09-11 2020-02-07 深圳市金证科技股份有限公司 Data processing method and device
CN110839062A (en) * 2019-10-22 2020-02-25 深圳市信锐网科技术有限公司 Method for accessing sensor to Internet of things, electronic equipment and storage medium
CN110933146A (en) * 2019-11-14 2020-03-27 厦门网宿有限公司 Data conversion method and device and server
CN110971614A (en) * 2019-12-17 2020-04-07 软通动力信息技术(集团)有限公司 Internet of things adaptation method and system, computer equipment and storage medium
CN111083225A (en) * 2019-12-19 2020-04-28 远景智能国际私人投资有限公司 Data processing method and device in Internet of things platform and Internet of things platform
CN111123096A (en) * 2019-10-15 2020-05-08 联桥网云信息科技(长沙)有限公司 Internet of things motor monitoring platform
CN111221815A (en) * 2019-11-07 2020-06-02 南京莱斯网信技术研究院有限公司 Script-based web service paging data acquisition system
CN111555922A (en) * 2020-05-08 2020-08-18 中国通信服务股份有限公司 Method, device, equipment and storage medium for active adaptive access of Internet of things equipment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015024371A1 (en) * 2013-08-21 2015-02-26 华为技术有限公司 Adaptation method for cloud platform user interface, and adapter
CN106155661A (en) * 2015-04-14 2016-11-23 阿里巴巴集团控股有限公司 A kind of control cut-in method and device
CN105491038A (en) * 2015-12-07 2016-04-13 高新兴科技集团股份有限公司 Intelligent device protocol analysis method
WO2018142203A1 (en) * 2017-02-03 2018-08-09 Telefonaktiebolaget Lm Ericsson (Publ) Access category handling for wireless communication systems
WO2018177260A1 (en) * 2017-03-28 2018-10-04 腾讯科技(深圳)有限公司 Application development method and tool, device, and storage medium thereof
CN109040081A (en) * 2018-08-10 2018-12-18 哈尔滨工业大学(威海) A kind of protocol fields conversed analysis system and method based on BWT
CN109450730A (en) * 2018-11-09 2019-03-08 中电科仪器仪表有限公司 A kind of dynamic application layer protocol test method based on standard data interchange format
CN109918050A (en) * 2019-02-01 2019-06-21 上海交通大学 A kind of software requirement description rule language and conversion method
CN110765067A (en) * 2019-09-11 2020-02-07 深圳市金证科技股份有限公司 Data processing method and device
CN111123096A (en) * 2019-10-15 2020-05-08 联桥网云信息科技(长沙)有限公司 Internet of things motor monitoring platform
CN110839062A (en) * 2019-10-22 2020-02-25 深圳市信锐网科技术有限公司 Method for accessing sensor to Internet of things, electronic equipment and storage medium
CN111221815A (en) * 2019-11-07 2020-06-02 南京莱斯网信技术研究院有限公司 Script-based web service paging data acquisition system
CN110933146A (en) * 2019-11-14 2020-03-27 厦门网宿有限公司 Data conversion method and device and server
CN110971614A (en) * 2019-12-17 2020-04-07 软通动力信息技术(集团)有限公司 Internet of things adaptation method and system, computer equipment and storage medium
CN111083225A (en) * 2019-12-19 2020-04-28 远景智能国际私人投资有限公司 Data processing method and device in Internet of things platform and Internet of things platform
CN111555922A (en) * 2020-05-08 2020-08-18 中国通信服务股份有限公司 Method, device, equipment and storage medium for active adaptive access of Internet of things equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
物联网环境下智能传感设备接入以太网技术;李丽;《河南科技学院学报》;全文 *

Also Published As

Publication number Publication date
CN112055062A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN108667807B (en) Protocol self-adaption method and system based on monitoring cloud platform and gateway
EP1502201B1 (en) Method and apparatus for collecting and displaying network device information
CN112055062B (en) Data communication method, device, equipment and readable storage medium
CN104126182A (en) Systems and methods of remote communication
CN109412871B (en) Internet of things equipment access management system
CN112311571A (en) Network topology generation method and device, electronic equipment and non-transient storage medium
CN108399244B (en) Graphical configuration management system and method for nuclear power plant risk monitoring technology
CN108171640B (en) Data storage system and statistical method for ship communication system
CN103986620A (en) Monitoring item management method and system based on XML mode
CN112862232A (en) Integrated monitoring method and device for power wireless heterogeneous network
CN113076229A (en) Universal enterprise-level information technology monitoring system
CN116069540A (en) Acquisition, analysis and processing method and device for running state of software and hardware parts of system
CN114422555B (en) CIM platform based method for self-defined configuration of IoT data analysis
CN100479577C (en) Method for operating resource in device management
CN116743790A (en) Device data acquisition, device data analysis method and device and computer device
CN114546791A (en) Data processing method and device, readable computer storage medium and terminal
CN108092809B (en) Intelligent substation network switch modeling method and equipment asset model mapping method
CN101330441B (en) Method for implementing conversion of SNMP protocol to OPC protocol of industry switch
CN115361282B (en) Model configuration method and device, electronic equipment and storage medium
CN110471373B (en) Information processing method, program, and information processing apparatus
CN113835648B (en) Image forming device information acquisition method and device
CN113553297B (en) Management method and system for switch configuration information
CN117614842A (en) Cloud operation and maintenance topology management method and device
Wu et al. A dynamic display method of distribution network's monitoring information
CN116991843A (en) Object model representation method based on JSON

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