CN115277421A - Configuration information pushing method and device, electronic equipment and computer readable medium - Google Patents

Configuration information pushing method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN115277421A
CN115277421A CN202210855911.7A CN202210855911A CN115277421A CN 115277421 A CN115277421 A CN 115277421A CN 202210855911 A CN202210855911 A CN 202210855911A CN 115277421 A CN115277421 A CN 115277421A
Authority
CN
China
Prior art keywords
information
equipment
configuration information
instantiation
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.)
Granted
Application number
CN202210855911.7A
Other languages
Chinese (zh)
Other versions
CN115277421B (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.)
Nanjing Shurui Data Technology Co ltd
Original Assignee
Nanjing Shurui Data 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 Nanjing Shurui Data Technology Co ltd filed Critical Nanjing Shurui Data Technology Co ltd
Priority to CN202210855911.7A priority Critical patent/CN115277421B/en
Publication of CN115277421A publication Critical patent/CN115277421A/en
Application granted granted Critical
Publication of CN115277421B publication Critical patent/CN115277421B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the disclosure discloses a configuration information pushing method, a configuration information pushing device, electronic equipment and a computer readable medium. One embodiment of the method comprises: generating an equipment model; performing equipment instantiation processing according to the equipment model to obtain instantiation equipment; configuring the attribute of the instantiated equipment and equipment point location mapping relation information to obtain configuration information; and in response to determining that the instantiation equipment is activated, pushing the configuration information to the Internet of things gateway. The implementation method can directly report the data containing the semantics without secondary mapping adaptation on the platform side.

Description

Configuration information pushing method and device, electronic equipment and computer readable medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a configuration information pushing method, a configuration information pushing device, electronic equipment and a computer readable medium.
Background
Data parsing refers to a technique for mapping and processing data. At present, when data is analyzed, the following modes are often adopted: and the Internet of things gateway reports the acquired original data to the platform side, and the platform side carries out data analysis processing on the original data.
However, when the data is analyzed in the above manner, the following technical problems often occur:
firstly, the reported data has no semantic meaning and needs secondary mapping adaptation at the platform side.
Secondly, the original data are reported to the platform side and then processed, which results in overlong data analysis time and reduces the timeliness of some data needing to be displayed in real time.
Thirdly, the platform side needs a lot of development to analyze the original data.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a configuration information pushing method, apparatus, electronic device and computer readable medium to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a configuration information pushing method, including: generating an equipment model; carrying out equipment instantiation processing according to the equipment object model to obtain instantiated equipment; configuring the attribute of the instantiated equipment and equipment point location mapping relation information to obtain configuration information; and in response to determining that the instantiation equipment is activated, pushing the configuration information to the Internet of things gateway.
Optionally, the product information further includes a gateway protocol; and
the configuring the attribute of the instantiated device and the device point location mapping relationship information to obtain configuration information comprises:
determining a target gateway, and setting a gateway protocol included in the product information in the instantiation equipment as the gateway protocol of the target gateway;
associating the instantiation device with a controller under the target gateway;
receiving attribute setting information for attribute item information in the instantiation equipment;
determining the register address and the identifier of the controller as equipment point location mapping relation information of the instantiation equipment;
and determining the attribute setting information and the equipment point location mapping relationship information as the configuration information.
Optionally, after receiving the configuration information, the internet of things gateway performs the following steps:
acquiring data according to the configuration information;
locally storing the acquired data;
in response to the fact that the event in the event information is triggered, processing the acquired data according to the triggered event to obtain event information, and reporting the event information to a target terminal;
performing attribute identifier mapping on the acquired data by using the configuration information to obtain mapping data;
and sending the mapping data to a target platform.
Optionally, the event information includes an alarm event and an information event: and
the processing the collected data according to the triggered event in response to determining that the event in the event information is triggered to obtain event information includes:
in response to the fact that the collected data do not meet the alarm condition included in the alarm event in the event information, generating event information corresponding to the alarm event;
and in response to the fact that the acquired data meet the attribute information processing rule included in the information event in the event information, processing the acquired data by using the attribute information processing rule, and generating event information corresponding to the event information.
In a second aspect, some embodiments of the present disclosure provide a configuration information pushing apparatus, including: a generation unit configured to generate an equipment model; the instantiation unit is configured to perform equipment instantiation processing according to the equipment model to obtain instantiation equipment; the configuration unit is configured to configure the attribute of the instantiated equipment and the equipment point location mapping relation information to obtain configuration information; and the pushing unit is configured to push the configuration information to the Internet of things gateway in response to determining that the instantiation equipment is activated.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following beneficial effects: through the configuration information pushing method of some embodiments of the present disclosure, data containing semantics can be directly reported without performing secondary mapping adaptation on original data at a platform side. Specifically, the reason why no semantics exists in the related reported data and the platform-side secondary mapping adaptation is needed is that: and the Internet of things gateway directly reports the acquired original data to the platform side. Based on this, the configuration information pushing method of some embodiments of the present disclosure, first, generates an equipment model. And then, carrying out equipment instantiation processing according to the equipment model to obtain instantiated equipment. And then configuring the attribute of the instantiated equipment and the equipment point mapping relation information to obtain configuration information. And finally, pushing the configuration information to the Internet of things gateway in response to determining that the instantiation equipment is activated. Therefore, the platform side can generate an equipment model according to actual requirements on data, obtain instantiation equipment after the equipment model is instantiated, and then configure the instantiation equipment to obtain configuration information. And finally, pushing the configuration information to the Internet of things gateway so that the Internet of things gateway can acquire data according to the configuration information and synchronously carry out mapping processing, thereby obtaining data with semantics. Furthermore, data containing semantics can be directly reported without secondary mapping adaptation on the platform side.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flow diagram of some embodiments of a configuration information push method according to the present disclosure;
fig. 2 is a schematic structural diagram of some embodiments of the configuration information pushing device of the present disclosure;
FIG. 3 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will appreciate that references to "one or more" are intended to be exemplary and not limiting unless the context clearly indicates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates a flow 100 of some embodiments of a configuration information push method according to the present disclosure. The configuration information pushing method comprises the following steps:
step 101, generating an equipment model.
In some embodiments, the executing agent of the configuration information pushing method may generate the equipment object model by:
first, product information of a product to which the device belongs is set. Wherein, the product information may include: product name, product identification, gateway protocol, and extension description. In practice, the above extended description may be set according to the needs of practical application, and is not limited herein.
By way of example, the extended description may include a networking approach, an authentication approach, a product key, and so on.
And secondly, arranging an object model.
And thirdly, combining the product information and the object model to obtain the equipment object model.
In some optional implementations of some embodiments, the above-described setup model may include the steps of:
first, attribute item information, event information, and service information are set. The attribute item information may include at least one attribute item. The attribute items may include, but are not limited to, at least one of: attribute type, data type, attribute name, attribute identifier, data type description, read-write type and extension description. The event information may include, but is not limited to, at least one of the following: event name, event identifier, event type, output parameters, and extension description. The service information may include: service name, service identifier, calling method, input parameters, output parameters, and extension description.
The attribute types may include, by way of example, dynamic attributes and static attributes. The dynamic properties described above may be used to describe status information, such as pressure, temperature, etc. The static attribute may be location information or the like. The data types may include: int16 (16-bit integer), int32 (32-bit integer), int64 (64-bit integer), float (single-precision floating point number), double (double-precision floating point number), pool (boolean), enum (enumeration), array (array), and struct (structure). The data type description may include: minimum, maximum, step size, precision, length, enumerated name, pool name, enumerated value, pool value, unit symbol, unit name, and the like. The event types may include alarms, messages, faults, and the like. The calling modes can comprise synchronous calling and asynchronous calling.
And secondly, determining the set attribute item information, event information and service information as the object model.
The above steps are an inventive point of the embodiment of the present disclosure, and solve the technical problems mentioned in the background art, i.e., that the reporting of the original data to the platform side and the processing of the original data can cause too long data analysis time and reduce the timeliness of some data to be displayed in real time. The factors that lead to the above technical problems tend to be as follows: the collected raw data cannot be analyzed when the data is collected. If the factors are solved, the effect of improving the timeliness of data display can be achieved. To achieve this effect, the present disclosure first sets attribute item information, event information, and service information, respectively, according to the actual needs of the platform side for data. So as to subsequently generate configuration information and push the configuration information to the Internet of things gateway. Therefore, the Internet of things gateway analyzes the acquired original data while acquiring the data. The platform side can display the received data without analyzing the received data, and time delay of data display is reduced.
Optionally, the executing body may further generate a data asset physical model by using the equipment object model. The method for generating the data asset physical model by using the equipment object model comprises the following steps:
first, the equipment model is published. Here, publishing refers to saving a reference to the device object model to a place that other code can access.
And secondly, determining a materialized target, a message queue or a database. The materialized target, the message queue or the database included in the received data asset physical model generation information may be determined as the materialized target, the message queue or the database.
And thirdly, combining the equipment model with the materialized target, the message queue or the database to obtain the data asset physical model.
And 102, performing equipment instantiation processing according to the equipment object model to obtain instantiated equipment.
In some embodiments, the executing entity performs device instantiation processing according to the device object model to obtain an instantiated device, and may include the following steps:
and instantiating the product name, the product identifier and the extended description in the product information in the equipment model to obtain instantiated equipment. In this case, the instantiation may be a process of assigning values having actual meanings to the product name, the product identifier, and the extended description in the product information in the equipment model.
And 103, configuring the attribute of the instantiated equipment and the equipment point location mapping relation information to obtain configuration information.
In some embodiments, the configuring, by the execution main body, the attribute of the instantiated device and the device point location mapping relationship information to obtain the configuration information may include:
the method comprises the steps of firstly, determining a target gateway, and setting a gateway protocol included in product information in the instantiation equipment as the gateway protocol of the target gateway. In practice, any gateway can be selected as the target gateway according to actual needs.
And secondly, associating the instantiation equipment with the controller under the target gateway. The identifier of the instantiation device and the identifier of the controller under the target gateway can be recorded in a group manner, so that the association between the instantiation device and the controller under the target gateway is realized.
As an example, the controller may be a modbus (mordbus) controller, an opc ua controller, or the like.
And thirdly, receiving attribute setting information of the attribute item information in the instantiation equipment. The attribute setting information may include attribute item information, event information, and service information.
And fourthly, determining the register address and the identifier of the controller as the equipment point location mapping relation information of the instantiated equipment.
And fifthly, determining the attribute setting information and the equipment point location mapping relationship information as the configuration information.
Step 104, in response to determining that the instantiation device is activated, pushing configuration information to the Internet of things gateway.
In some embodiments, the execution agent may push the configuration information to an internet of things gateway in response to determining that the instantiation device is activated. The execution subject may determine that the instantiation device is activated after receiving activation information of the instantiation device. In practice, the configuration information can be synchronously pushed according to actual needs
Optionally, the configuration information may be pushed to the internet of things gateway as a configuration template.
In some optional implementation manners of some embodiments, after receiving the configuration information, the internet of things gateway may perform the following steps:
and step one, data acquisition is carried out according to the configuration information. Wherein, the data corresponding to the configuration information can be collected.
And secondly, locally storing the acquired data.
And thirdly, in response to the fact that the event in the event information is triggered, processing the acquired data according to the triggered event to obtain event information, and reporting the event information to the target terminal. The target terminal may be a terminal that is designated in advance to receive the event information.
And fourthly, performing attribute identification mapping on the acquired data by using the configuration information to obtain mapping data. The attribute identifier included in the attribute item matching the collected data in the configuration information and the collected data may be used as mapping data. And matching attribute items of which the data types, the data type descriptions and the read-write types are the same as the data types, the data type descriptions and the read-write types of the acquired data in the configuration information with the acquired data.
And fifthly, sending the mapping data to a target platform. Wherein the target platform may be a platform using the mapping data.
In some optional implementations of some embodiments, the event information may include an alarm event and an information event. The method for processing the collected data according to the triggered event to obtain the event information by the internet of things gateway in response to determining that the event in the event information is triggered may include the following steps:
the first step, in response to the fact that the collected data do not meet the alarm condition included in the alarm event in the event information, event information corresponding to the alarm event is generated. In practice, the alarm condition may be set according to actual needs, and is not limited herein.
As an example, the alarm condition may be that the collected data is greater than a preset threshold. The alarm condition may be that the collected data is smaller than a preset threshold.
And secondly, in response to the fact that the acquired data meet the attribute information processing rule included in the information event in the event information, processing the acquired data by using the attribute information processing rule, and generating event information corresponding to the event information.
As an example, the attribute information processing rule may be that the data type of the collected data is a certain specified data type.
The above steps are taken as an invention point of the embodiment of the present disclosure, and the technical problem mentioned in the background art is solved, namely, the platform side needs to be developed in a large amount to analyze the original data. The factors that lead to the above mentioned ending problem tend to be as follows: the data are not analyzed after the original data are collected by the internet of things gateway, and the data need to be uploaded to the platform side and then processed. If the above-mentioned factors are solved, the effect of reducing the development amount on the platform side can be achieved. To achieve this, the present disclosure pushes configuration information to the internet of things gateway in response to determining that the instantiation device is activated. Then, after receiving the configuration information, the internet of things gateway may first perform data acquisition according to the configuration information. Thus, raw data is collected. The collected data is then stored locally. And then, in response to the fact that the event in the event information is triggered, processing the acquired data according to the triggered event to obtain event information, and reporting the event information to the target terminal. Thus, the preliminary processing of the original data can be completed. And then, carrying out attribute identification mapping on the acquired data by utilizing the configuration information to obtain mapping data. Thus, data with semantics can be obtained through attribute identification mapping. And finally, sending the mapping data to a target platform. Therefore, the data does not need to be analyzed by the platform side, and the development amount of the platform side is reduced.
The above embodiments of the present disclosure have the following advantages: through the configuration information pushing method of some embodiments of the disclosure, data containing semantics can be directly reported without performing secondary mapping adaptation on original data at a platform side. Specifically, the reason why the relevant reported data has no semantic meaning and needs the platform side secondary mapping adaptation is that: and the Internet of things gateway directly reports the acquired original data to the platform side. Based on this, the configuration information pushing method of some embodiments of the present disclosure, first, generates an equipment model. And then, carrying out equipment instantiation processing according to the equipment model to obtain instantiated equipment. And then configuring the attribute of the instantiated equipment and the equipment point location mapping relation information to obtain configuration information. And finally, in response to determining that the instantiation equipment is activated, pushing the configuration information to the Internet of things gateway. Therefore, the platform side can generate an equipment model according to the actual requirement on data, obtain instantiation equipment after the equipment model is instantiated, and then configure the instantiation equipment to obtain configuration information. And finally, pushing the configuration information to the Internet of things gateway so that the Internet of things gateway can acquire data according to the configuration information and synchronously carry out mapping processing, thereby obtaining data with semantics. Furthermore, data containing semantics can be directly reported without secondary mapping adaptation on the platform side.
With further reference to fig. 2, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a configuration information pushing apparatus, which correspond to those shown in fig. 1, and which may be applied in various electronic devices.
As shown in fig. 2, the configuration information pushing apparatus 200 of some embodiments includes: a generating unit 201, an instantiating unit 202, a configuring unit 203 and a pushing unit 204. Wherein the generating unit 201 is configured to generate a device model; the instantiation unit 202 is configured to perform device instantiation processing according to the device object model to obtain instantiated devices; the configuration unit 203 is configured to configure the attribute of the instantiated device and the device point location mapping relationship information to obtain configuration information; a pushing unit 204 configured to push the configuration information to the internet of things gateway in response to determining that the instantiation device is activated.
It will be understood that the units described in the apparatus 200 correspond to the various steps in the method described with reference to fig. 1. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 200 and the units included therein, and are not described herein again.
Referring now to FIG. 3, a block diagram of an electronic device 300 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, electronic device 300 may include a processing device (e.g., central processing unit, graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage device 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate with other devices, wireless or wired, to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be alternatively implemented or provided. Each block shown in fig. 3 may represent one device or may represent multiple devices, as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. The computer program, when executed by the processing apparatus 301, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may be separate and not incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: generating an equipment model; carrying out equipment instantiation processing according to the equipment object model to obtain instantiated equipment; configuring the attribute of the instantiated equipment and equipment point location mapping relation information to obtain configuration information; and pushing the configuration information to the Internet of things gateway in response to determining that the instantiation equipment is activated.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, which may be described as: a processor includes a generation unit, an instantiation unit, a configuration unit, and a push unit. Where the names of these units do not in some cases constitute a limitation on the unit itself, for example, a generating unit may also be described as a "unit that generates a plant model".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.

Claims (10)

1. A configuration information pushing method comprises the following steps:
generating an equipment model;
carrying out equipment instantiation processing according to the equipment object model to obtain instantiated equipment;
configuring the attribute of the instantiated equipment and equipment point location mapping relation information to obtain configuration information;
in response to determining that the instantiation device is activated, pushing the configuration information to an Internet of things gateway;
wherein the product information further comprises a gateway protocol; and
the configuring the attribute of the instantiated device and the device point location mapping relationship information to obtain configuration information includes:
determining a target gateway, and setting a gateway protocol included in the product information in the instantiation equipment as the gateway protocol of the target gateway;
associating the instantiation device with a controller under the target gateway;
receiving attribute setting information for attribute item information in the instantiation equipment;
determining a register address and an identifier of the controller as device point location mapping relationship information of the instantiated device;
determining the attribute setting information and the equipment point location mapping relationship information as the configuration information;
after receiving the configuration information, the Internet of things gateway executes the following steps:
acquiring data according to the configuration information;
locally storing the acquired data;
in response to the fact that the event in the event information is triggered, processing the acquired data according to the triggered event to obtain event information, and reporting the event information to a target terminal;
performing attribute identifier mapping on the acquired data by using the configuration information to obtain mapping data;
and sending the mapping data to a target platform.
2. The method of claim 1, wherein the generating a plant model comprises:
setting product information of a product to which the device belongs, wherein the product information comprises: product name, product identification and extended description;
arranging an object model;
and combining the product information and the object model to obtain the equipment object model.
3. The method of claim 2, wherein the setup model comprises:
setting attribute item information, event information and service information;
and determining the set attribute item information, event information and service information as the object model.
4. The method according to one of claims 1-3, wherein the method further comprises:
and generating a data asset physical model by using the equipment asset model.
5. The method of claim 4, wherein the generating a data asset physical model using the equipment object model comprises:
determining a materialized target, a message queue or a database;
and combining the equipment model with the materialized target, the message queue or the database to obtain the data asset physical model.
6. The method of claim 5, wherein prior to the determining a materialized target, message queue, or database, the generating a data asset physical model using the equipment object model further comprises:
and issuing the equipment model.
7. The method of claim 2, wherein the instantiating a device according to the device object model to obtain an instantiated device comprises:
and instantiating the product name, the product identifier and the extension description in the product information in the equipment object model to obtain instantiated equipment.
8. A configuration information pushing apparatus comprising:
a generating unit configured to generate a device object model;
the instantiation unit is configured to perform equipment instantiation processing according to the equipment object model to obtain instantiated equipment;
the configuration unit is configured to configure the attribute of the instantiated equipment and the equipment point location mapping relation information to obtain configuration information;
a push unit configured to push the configuration information to an Internet of things gateway in response to determining that the instantiation device is activated;
wherein the product information further comprises a gateway protocol; and
the configuration unit, further configured to:
determining a target gateway, and setting a gateway protocol included in the product information in the instantiation equipment as the gateway protocol of the target gateway;
associating the instantiation equipment with a controller under the target gateway;
receiving attribute setting information for attribute item information in the instantiation equipment;
determining the register address and the identifier of the controller as equipment point location mapping relation information of the instantiation equipment;
determining the attribute setting information and the equipment point location mapping relationship information as the configuration information;
after receiving the configuration information, the Internet of things gateway executes the following steps:
acquiring data according to the configuration information;
locally storing the acquired data;
in response to the fact that the event in the event information is triggered, processing the acquired data according to the triggered event to obtain event information, and reporting the event information to a target terminal;
performing attribute identifier mapping on the acquired data by using the configuration information to obtain mapping data;
and sending the mapping data to a target platform.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202210855911.7A 2022-07-21 2022-07-21 Configuration information pushing method, device, electronic equipment and computer readable medium Active CN115277421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210855911.7A CN115277421B (en) 2022-07-21 2022-07-21 Configuration information pushing method, device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210855911.7A CN115277421B (en) 2022-07-21 2022-07-21 Configuration information pushing method, device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN115277421A true CN115277421A (en) 2022-11-01
CN115277421B CN115277421B (en) 2023-11-24

Family

ID=83766912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210855911.7A Active CN115277421B (en) 2022-07-21 2022-07-21 Configuration information pushing method, device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN115277421B (en)

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180261070A1 (en) * 2017-03-07 2018-09-13 Verizon Patent And Licensing Inc. Internet of things (iot) event distribution
US20190068454A1 (en) * 2017-08-23 2019-02-28 Sap Se Device model to thing model mapping
US20190356737A1 (en) * 2018-05-18 2019-11-21 Sap Se Change management using a thing-model on an internet-of-things platform
WO2020138828A2 (en) * 2018-12-28 2020-07-02 숙명여자대학교산학협력단 Integrated service platform server using internet of things, and method for providing integrated service
CN111491001A (en) * 2019-01-28 2020-08-04 李成林 Gateway system and method for supporting multi-type equipment to access Internet of things
CN111555922A (en) * 2020-05-08 2020-08-18 中国通信服务股份有限公司 Method, device, equipment and storage medium for active adaptive access of Internet of things equipment
CN112040014A (en) * 2020-11-05 2020-12-04 武汉慧联无限科技有限公司 Internet of things system determination method and device, electronic equipment and storage medium
CN112068817A (en) * 2020-08-19 2020-12-11 天翼物联科技有限公司 Code generation method, system, device and medium for terminal side of Internet of things
CN112114533A (en) * 2020-08-26 2020-12-22 深圳奇迹智慧网络有限公司 Internet of things data processing method and device, computer equipment and storage medium
CN112235326A (en) * 2020-12-15 2021-01-15 长沙树根互联技术有限公司 Internet of things equipment data analysis method and device and electronic equipment
CN112769873A (en) * 2021-04-07 2021-05-07 武汉慧联无限科技有限公司 Data processing method and device, Internet of things platform and storage medium
CN112783717A (en) * 2020-12-25 2021-05-11 三盟科技股份有限公司 Object model management method, system, computer equipment and storage medium
CN113094355A (en) * 2021-04-09 2021-07-09 国网浙江省电力有限公司电力科学研究院 Model instantiation method, device, equipment and medium based on domestic communication protocol
CN113783831A (en) * 2021-01-19 2021-12-10 北京沃东天骏信息技术有限公司 Internet of things information processing method, device and system
CN114039997A (en) * 2021-10-22 2022-02-11 阿里云计算有限公司 Data processing method and device
WO2022041280A1 (en) * 2020-08-31 2022-03-03 Oppo广东移动通信有限公司 Method and apparatus for generating file in internet of things, computer device, and storage medium
CN114221690A (en) * 2021-12-16 2022-03-22 中国人民解放军国防科技大学 Semantic model construction method for cloud edge cooperative system
CN114281905A (en) * 2021-12-27 2022-04-05 济南浪潮智投智能科技有限公司 Method and system for realizing connection management of Internet of things equipment
CN114338746A (en) * 2021-12-30 2022-04-12 以萨技术股份有限公司 Analysis early warning method and system for data collection of Internet of things equipment
CN114491064A (en) * 2022-01-11 2022-05-13 重庆特斯联启智科技有限公司 Internet of things platform construction method and device, storage medium and terminal
CN114520749A (en) * 2022-01-27 2022-05-20 厦门锐谷通信设备有限公司 Modbus data monitoring method and system based on cloud platform deployment object model
CN114531462A (en) * 2021-12-31 2022-05-24 山东浪潮工业互联网产业股份有限公司 Data processing method and equipment for Internet of things equipment
CN114726916A (en) * 2022-03-01 2022-07-08 山东鲁软数字科技有限公司 Data transmission management system and method based on edge Internet of things agent
CN114745284A (en) * 2022-03-07 2022-07-12 深圳渊联技术有限公司 Configuration method and device of industrial Internet of things and computer readable storage medium

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180261070A1 (en) * 2017-03-07 2018-09-13 Verizon Patent And Licensing Inc. Internet of things (iot) event distribution
US20190068454A1 (en) * 2017-08-23 2019-02-28 Sap Se Device model to thing model mapping
US20190356737A1 (en) * 2018-05-18 2019-11-21 Sap Se Change management using a thing-model on an internet-of-things platform
WO2020138828A2 (en) * 2018-12-28 2020-07-02 숙명여자대학교산학협력단 Integrated service platform server using internet of things, and method for providing integrated service
CN111491001A (en) * 2019-01-28 2020-08-04 李成林 Gateway system and method for supporting multi-type equipment to access Internet of things
CN111555922A (en) * 2020-05-08 2020-08-18 中国通信服务股份有限公司 Method, device, equipment and storage medium for active adaptive access of Internet of things equipment
CN112068817A (en) * 2020-08-19 2020-12-11 天翼物联科技有限公司 Code generation method, system, device and medium for terminal side of Internet of things
CN112114533A (en) * 2020-08-26 2020-12-22 深圳奇迹智慧网络有限公司 Internet of things data processing method and device, computer equipment and storage medium
WO2022041280A1 (en) * 2020-08-31 2022-03-03 Oppo广东移动通信有限公司 Method and apparatus for generating file in internet of things, computer device, and storage medium
CN112040014A (en) * 2020-11-05 2020-12-04 武汉慧联无限科技有限公司 Internet of things system determination method and device, electronic equipment and storage medium
CN112235326A (en) * 2020-12-15 2021-01-15 长沙树根互联技术有限公司 Internet of things equipment data analysis method and device and electronic equipment
CN112783717A (en) * 2020-12-25 2021-05-11 三盟科技股份有限公司 Object model management method, system, computer equipment and storage medium
CN113783831A (en) * 2021-01-19 2021-12-10 北京沃东天骏信息技术有限公司 Internet of things information processing method, device and system
CN112769873A (en) * 2021-04-07 2021-05-07 武汉慧联无限科技有限公司 Data processing method and device, Internet of things platform and storage medium
CN113094355A (en) * 2021-04-09 2021-07-09 国网浙江省电力有限公司电力科学研究院 Model instantiation method, device, equipment and medium based on domestic communication protocol
CN114039997A (en) * 2021-10-22 2022-02-11 阿里云计算有限公司 Data processing method and device
CN114221690A (en) * 2021-12-16 2022-03-22 中国人民解放军国防科技大学 Semantic model construction method for cloud edge cooperative system
CN114281905A (en) * 2021-12-27 2022-04-05 济南浪潮智投智能科技有限公司 Method and system for realizing connection management of Internet of things equipment
CN114338746A (en) * 2021-12-30 2022-04-12 以萨技术股份有限公司 Analysis early warning method and system for data collection of Internet of things equipment
CN114531462A (en) * 2021-12-31 2022-05-24 山东浪潮工业互联网产业股份有限公司 Data processing method and equipment for Internet of things equipment
CN114491064A (en) * 2022-01-11 2022-05-13 重庆特斯联启智科技有限公司 Internet of things platform construction method and device, storage medium and terminal
CN114520749A (en) * 2022-01-27 2022-05-20 厦门锐谷通信设备有限公司 Modbus data monitoring method and system based on cloud platform deployment object model
CN114726916A (en) * 2022-03-01 2022-07-08 山东鲁软数字科技有限公司 Data transmission management system and method based on edge Internet of things agent
CN114745284A (en) * 2022-03-07 2022-07-12 深圳渊联技术有限公司 Configuration method and device of industrial Internet of things and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
卓岚物联: "mqtt网关服务器连接阿里云关联物模型", CSDN *

Also Published As

Publication number Publication date
CN115277421B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN111581291A (en) Data processing method and device, electronic equipment and readable medium
CN111985831A (en) Scheduling method and device of cloud computing resources, computer equipment and storage medium
CN112631588A (en) File generation method and device, electronic equipment and computer readable medium
CN113190517B (en) Data integration method and device, electronic equipment and computer readable medium
CN112954056A (en) Monitoring data processing method and device, electronic equipment and storage medium
CN112464039A (en) Data display method and device of tree structure, electronic equipment and medium
CN112559898A (en) Item information sending method, item information sending device, electronic equipment and computer readable medium
CN115102992B (en) Data publishing method and device, electronic equipment and computer readable medium
CN111324470A (en) Method and device for generating information
CN113468342B (en) Knowledge graph-based data model construction method, device, equipment and medium
CN115277421B (en) Configuration information pushing method, device, electronic equipment and computer readable medium
CN111737587B (en) Device operation method, device, electronic device and computer readable medium
CN114490718A (en) Data output method, data output device, electronic equipment and computer readable medium
CN113986959A (en) Logistics information acquisition method and device, electronic equipment and computer readable medium
CN114218313A (en) Data management method, device, electronic equipment, storage medium and product
CN111625692A (en) Feature extraction method, device, electronic equipment and computer readable medium
CN112115154A (en) Data processing and data query method, device, equipment and computer readable medium
CN111930704B (en) Service alarm equipment control method, device, equipment and computer readable medium
CN116594718B (en) Element rendering method, device, equipment and readable medium for simulation test
CN114792258B (en) Information generation method and device, electronic equipment and computer readable medium
CN116126818A (en) Retail data synchronization method, device, electronic equipment and computer readable medium
CN115329164A (en) Data display template generation method, device, equipment and computer readable medium
CN116166253A (en) Inter-vehicle domain communication method, data gateway, device and storage medium
CN113722206A (en) Data annotation method and device, electronic equipment and computer readable medium
CN118114642A (en) Value data filling credential file generation method, device, equipment and readable 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