CN116501968A - Method, device, electronic equipment and medium for subscribing internet of things data - Google Patents

Method, device, electronic equipment and medium for subscribing internet of things data Download PDF

Info

Publication number
CN116501968A
CN116501968A CN202310479430.5A CN202310479430A CN116501968A CN 116501968 A CN116501968 A CN 116501968A CN 202310479430 A CN202310479430 A CN 202310479430A CN 116501968 A CN116501968 A CN 116501968A
Authority
CN
China
Prior art keywords
data
target terminal
subscription
target
rule
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.)
Pending
Application number
CN202310479430.5A
Other languages
Chinese (zh)
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.)
Iss Technology Co ltd
Original Assignee
Iss 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 Iss Technology Co ltd filed Critical Iss Technology Co ltd
Priority to CN202310479430.5A priority Critical patent/CN116501968A/en
Publication of CN116501968A publication Critical patent/CN116501968A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2465Query processing support for facilitating data mining operations in structured databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a device, electronic equipment and a medium for subscribing internet of things data, wherein the method comprises the following steps: receiving candidate item data transmitted by the monitoring equipment through a data acquisition server; dividing candidate item data according to preset data categories by a data management engine to obtain item classification data of the data category division; and formulating a data subscription service, and sending the data subscription service to the target terminal so that the target terminal can acquire target data from the item classification data according to the data subscription service. According to the method, the target terminal internet data subscription is realized by carrying out normalized data processing on candidate item data and formulating data subscription service for the target terminal, the target data can be acquired by the method for terminals with various transmission protocols, and the diversity of the target terminal data subscription is improved.

Description

Method, device, electronic equipment and medium for subscribing internet of things data
Technical Field
The invention relates to the technical field of data distribution of the internet of things, in particular to a method, a device, electronic equipment and a medium for subscribing the data of the internet of things.
Background
The internet of things platform provides the object model data and the operation data of the internet of things to the southbound terminal, wherein the object model data comprises attribute data, service data and event data of equipment, and the operation data comprises product maintenance data, equipment maintenance data, monitoring point maintenance data, network maintenance data, project maintenance data, equipment inspection and operation and maintenance data and equipment alarm and treatment alarm data. Because different data have different security levels and applicable areas, the internet of things platform is required to push relevant data according to subscription rules when providing data to a southbound terminal.
The existing internet of things pushing technology does not support dynamic import of subscription rules, subscribed data is not layered and labeled for right establishment, single subscribed data can occur when data is pushed to a southbound terminal, and furthermore, the method cannot be used for pushing data for terminals with various transmission protocols.
Disclosure of Invention
The invention provides a method, a device, electronic equipment and a medium for subscribing data of the Internet of things, which are used for solving the problem that data pushed to a target terminal is single and the problem that related data cannot be pushed to various terminals provided with different transmission protocols.
According to an aspect of the present invention, there is provided a method of subscribing to internet of things data, the method comprising:
receiving candidate item data transmitted by the monitoring equipment through a data acquisition server;
dividing candidate item data according to preset data categories by a data management engine to obtain item classification data of the data category division;
and formulating a data subscription service, and sending the data subscription service to the target terminal so that the target terminal can acquire target data from the item classification data according to the data subscription service.
According to another aspect of the present invention, there is provided an apparatus for subscribing to internet of things data, the apparatus comprising:
the candidate data transmission module is used for receiving candidate item data transmitted by the monitoring equipment through the data acquisition server;
the classified data acquisition module is used for dividing candidate item data according to preset data categories through the data management engine to obtain item classified data of the data category division;
the subscription service making module is used for making data subscription service and sending the data subscription service to the target terminal so that the target terminal can acquire target data from the item classification data according to the data subscription service.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of subscribing to internet of things data according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a method for subscribing to internet of things data according to any embodiment of the present invention.
According to the technical scheme, candidate item data collected by each monitoring device is received through the data collection service end, the candidate item data is stored in the message queue, batch candidate item data are obtained from the message queue according to a data extraction middleware mode, the batch candidate item data are stored in the large data warehouse, the batch candidate item data are divided according to preset data types through the data management engine to obtain item classification data, the data subscription service is formulated and distributed to a target terminal set by the data subscription service, the target terminal can obtain target data from the item classification data, the method achieves Internet data subscription of the target terminal through normalized data processing of the candidate item data and formulation of the data subscription service for the target terminal, the method can obtain the target data for terminals of various transmission protocols, and the diversity of the target terminal data subscription is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for subscribing to internet of things data according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for subscribing to internet of things data according to a second embodiment of the present invention;
fig. 3 is a process schematic diagram of a method for subscribing to internet of things data according to an embodiment of the present invention;
fig. 4 is a flowchart of a data subscription service formulated by a method for subscribing to internet of things data according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for subscribing to internet of things data according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device implementing a method for subscribing to internet of things data according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for subscribing to internet of things data, where the method may be applicable to a situation that internet of things data is pushed to a target terminal, and the method may be performed by a device subscribing to internet of things data, where the device subscribing to internet of things data may be implemented in a form of hardware and/or software, and the device subscribing to internet of things data may be configured in any electronic device having a network communication function. As shown in fig. 1, the method may include:
s110, receiving candidate item data transmitted by the monitoring equipment through the data acquisition server.
Specifically, each monitoring device collects attribute information, physical information, other information and the like of a target candidate item to form candidate item data, and the data acquisition server receives the candidate item data transmitted by the monitoring device, wherein when the candidate item is a building item, the monitoring device can be environmental protection equipment, elevator monitoring equipment and the like.
The exemplary, receiving candidate item data transmitted by the monitoring device, storing the candidate item data in a message queue in an internet of things data object model structure mode, if the candidate item is a building such as an elevator, acquiring the data content of the message queue for the elevator monitoring device, including: elevator equipment model, name, status, direction, floor, temperature, acquisition time, etc.; if the candidate item is the environment of the building, the data content of the message queue is collected by the environmental protection equipment, including: PM2.5, PM10, dust, air temperature, wind direction, wind speed, air temperature, air pressure and the like; candidate item data stored in the message queue can be shared to the southbound terminal through data processing.
S120, dividing candidate item data according to preset data categories through a data management engine to obtain item classification data of the data category division.
Specifically, the data extraction middleware obtains batch candidate item data from the message queue of the candidate item data obtained in S110, stores the batch candidate item data in a large data warehouse, sets the data type of the candidate data, and applies the data management engine to divide the candidate item data according to the data type to obtain item classification data.
Optionally, the data governance engine includes data governance rules and a depth mining analysis algorithm.
Exemplary, candidate item data is obtained according to S110, batch candidate item data is obtained according to middleware, the candidate item data is divided into item classification data of different service types according to preset data types based on data management rules and depth mining analysis algorithms, and the item classification data is stored in a subject data center according to different services, wherein the data types can be data types, data years, data levels, data secret degrees and the like.
And S130, formulating a data subscription service, and sending the data subscription service to the target terminal so that the target terminal can acquire target data from the item classification data according to the data subscription service.
Specifically, the important step of making the data subscription service is to make a data subscription rule, send the data subscription rule to a target terminal, and the target terminal obtains corresponding item classification data according to the successfully configured data subscription rule.
The data subscription rule includes a name, an identifier and a scope of the subscription rule, and the data subscription rule is used for setting information such as a data type, an important keyword of data and the like received by the target terminal, and the target terminal can obtain target data from the item classification data according to the successfully configured data subscription rule.
According to the method, candidate item data collected by each monitoring device is received through a data collection server, the candidate item data are stored in a message queue, batch candidate item data are obtained from the message queue according to a data extraction middleware mode, the batch candidate item data are stored in a large data warehouse, the batch candidate item data are divided according to preset data types through a data management engine to obtain item classification data, data subscription services are formulated and distributed to target terminals set by the data subscription services, the target terminals can obtain target data from the item classification data, the method achieves Internet data subscription of the target terminals through normalized data processing of the candidate item data and data subscription service formulation of the target terminals, the method can obtain the target data for terminals of various transmission protocols, and the diversity of target terminal data subscription is improved.
Example two
Fig. 2 is a flowchart of a method for subscribing to internet of things data according to a second embodiment of the present invention, where the process of subscribing to internet of things data by a target device is described in detail on the basis of the foregoing embodiment. As shown in fig. 2, the method includes:
s210, receiving candidate item data transmitted by the monitoring equipment through the data acquisition server.
Specifically, the detection device acquires data representing real-time vital signs in the candidate items, namely the detection device acquires candidate item data, and the data acquisition server receives the candidate item data transmitted by the detection device.
The data collection server receives candidate project data collected by each monitoring device, and the types of the monitoring devices are different according to different projects, as shown in fig. 3, and the monitoring devices include: the method comprises the steps that wind energy equipment, environmental protection equipment, water service equipment, vehicle-mounted equipment and the like are adopted, one candidate item possibly corresponds to one or more monitoring equipment, a data acquisition server side stores the candidate item into a message queue in a data object model structure mode of the Internet of things, batch candidate item data are obtained from the message queue in a data extraction middleware mode, and the candidate item data are stored into a large data warehouse.
S220, dividing the candidate project data category into different project classification data according to the data management rules and the depth mining analysis algorithm by adopting a real-time or offline data processing mode.
Specifically, setting the data type of candidate item data, setting a candidate item data category dividing method according to the content of the data type by a data management rule, dividing the candidate item data into different types of item classification data according to the data management rule and a depth mining analysis algorithm, and storing the item classification data in a theme data center.
For example, the process of dividing candidate item data into item classification data may refer to fig. 3, that is, the operation from the operation of storing to the message queue to the operation of storing to the topic data center in fig. 3, where the data collection server obtains candidate item data and stores the candidate item data into the message queue, obtains candidate item data of a lot in a data extraction middleware manner, stores the candidate item data of the lot in a large data warehouse, sets a data type of the candidate item data, and the data governance engine divides the candidate item data into item classification data of different categories according to the data type successfully defined and stores the item classification data into the topic data center.
And S230, formulating a data subscription service, and sending the data subscription service to the target terminal so that the target terminal can acquire target data from the item classification data according to the data subscription service.
Specifically, the data subscription service is an important way to ensure the diversification of the data subscription of the internet of things, and the data subscription service can refer to fig. 4, and as shown in fig. 4, the data subscription service can enable the target terminal to obtain target data from the item classification data.
As an alternative, but not limiting implementation, the formulating the data subscription service includes at least one of:
formulating a data subscription rule, configuring a subscription data source, configuring a subscription data target terminal, configuring the data subscription rule to the target terminal, and displaying a data subscription result.
The data subscription rule is formulated by formulating a data type and a receiving mode of the target terminal; the configuration subscription data source may be a database for configuring acquisition data for a target terminal that is to acquire target data; the configuration subscription data target terminal may be a target terminal for determining to receive target data, and the target terminal may be a terminal capable of communicating in accordance with a plurality of network communication protocols; the display data subscription result can be the number of target terminals counting and displaying target data subscription, the number of abnormal bars and the number of aggregation bars.
As an alternative but non-limiting implementation, formulating the data subscription rules may include steps A1-A3:
and A1, defining the name, the identification and the scope of the data subscription rule.
In particular, specifying a data subscription rule requires defining a name, a tag, and a scope of the data subscription rule, where the scope may be a target device or scope for setting the application of the data subscription rule.
And A2, determining effective equipment data according to the scope, and determining corresponding target equipment according to the equipment data.
Specifically, when the data subscription rule is formulated and is in an effective state, the attribute of the data subscription rule includes a scope, the scope sets an application range of the data subscription rule, and the application range includes target devices sharing target data.
A3, the data subscription rule is a rule file which is manually created or referenced by a third party platform; the data subscription rule is used for setting the type of the received data of the target terminal.
Specifically, the formulation of the data subscription rule may be a rule which is customized or by referring to other platforms, that is, the formulation of the data subscription rule may be that the receiving data type and the receiving mode information of the target device are manually encoded into a corresponding file of the data subscription rule, or the formulation of the data subscription rule may also be formulated by referring to the data subscription rule of the third party platform.
As an alternative, but not limiting implementation, configuring the subscription data sources may include:
a feed data source is determined from the item classification data based on the data tag, the data level, and the data application domain of the item classification data.
The data tag can be data acquired by environment-friendly equipment, infrastructure equipment and safety monitoring equipment, wherein the environment-friendly equipment can be an air monitor and an intelligent garbage can, the infrastructure equipment can be an elevator, wind energy equipment and road condition monitoring equipment, and the safety monitoring equipment can be a building camera monitoring equipment and a smoke alarm; defining the data level includes: setting the data with the high security level area acquired by the monitoring equipment as high level, and setting the data with the low security level area acquired by the public place equipment as low level; the data application domain may be a right to define grid data for an administrative area.
Specifically, a data source conforming to the data subscription rule is selected from the main data center storing the item classification data, that is, the selected data source needs to satisfy the attributes of the data tag, the data level, the data application domain and the like set by the data subscription rule.
As an alternative but not limiting implementation, configuring the subscription data target terminal may comprise steps B1-B2:
step B1, determining a transmission protocol of a preset type, and taking a terminal with the transmission protocol conforming to the preset type as a target terminal; wherein the configured preset type of transmission protocol includes at least one of HTTP, HTTPS, MQTT, KAFKA, MQ network communication protocols.
Specifically, the configured subscribed data target terminal at least accords with one of preset types of transmission protocols, and the device supporting communication of the preset types of transmission protocols can be set as the target device, and the preset types of transmission protocols comprise at least one of HTTP, HTTPS, MQTT, KAFKA, MQ network communication protocols.
Step B2, configuring data transfer information with the target terminal; the data transmission information comprises a target terminal timeout time, a target terminal timeout times, a data transmission safety instruction, a data transmission encryption mode, a data transmission frequency and a transmission time period, wherein the target terminal timeout time is a time length which exceeds the target data receiving time length set for a target terminal, and the target terminal timeout times is a time length which exceeds the target terminal receiving subscription data time length.
Specifically, when the subscription data target terminal is configured, data transfer information of the target terminal is also configured, and the data transfer information includes: the parameter which can limit the time length of the target terminal receiving the target data is defined as the timeout time of the target terminal; the maximum timeout times of the target terminal for receiving the target data can be limited, and the maximum timeout times are defined as the timeout times of the target terminal; defining an instruction which can receive target data when the target terminal is in a safe state, and defining the instruction as a data transmission safe instruction; the encryption mode of the target data in the transmission process is a data transmission encryption mode; the frequency of transmitting the target data is defined as a data transmission frequency during the period of transmission.
As an alternative but non-limiting implementation, configuring the data subscription rules may include steps C1-C3:
and step C1, distributing the data subscription rule to a target terminal.
Specifically, the target terminals subscribing to the data are configured according to the steps, the formulated data subscription rules are sent to all the target terminals, and the target terminals have the function of receiving the target data according to the data subscription rules.
And C2, if the data subscription rule is configured for the target terminal, determining that the data subscription rule is in an effective state, so that the target terminal receives target data according to the data subscription rule in the effective state.
Specifically, the data subscription rule is successfully configured for all target terminals, the data subscription rule on the target terminal is in an effective state, and target data belonging to the target terminal is acquired according to the information of the data type, the data tag, the data level, the data application domain and the like recorded by the data subscription rule in the effective state corresponding to the information of the target terminal.
And C3, if the data subscription rule configured at the target terminal is set to be inactive, determining that the data subscription rule at the target terminal is in an inactive state so that the target terminal does not receive target data until the data subscription rule is reformulated and the data subscription rule is determined to be still in an active state, so that the target terminal receives the target data again.
Specifically, if the data subscription rule of the target terminal is set to be inactive, the data subscription rule of the current target terminal is in an inactive state, so that the target terminal cannot acquire target data, if the data subscription rule is reformulated again, a new data subscription rule is distributed to the subscribed data target terminal of the current data subscription service configuration, and the target terminal data subscription rule is in an active state, the target terminal in the stage can acquire the target data again.
According to the method, candidate item data collected by each monitoring device is received through a data collection server, the candidate item data are stored in a message queue, batch candidate item data are obtained from the message queue according to a data extraction middleware mode, the batch candidate item data are stored in a large data warehouse, the batch candidate item data are divided according to preset data types through a data management engine to obtain item classification data, data subscription services are formulated and distributed to target terminals set by the data subscription services, the target terminals can obtain target data from the item classification data, the method achieves Internet data subscription of the target terminals through normalized data processing of the candidate item data and data subscription service formulation of the target terminals, the method can obtain the target data for terminals of various transmission protocols, and the diversity of target terminal data subscription is improved.
Example III
Fig. 5 is a schematic structural diagram of a device for subscribing to internet of things data according to a third embodiment of the present invention, where the device may execute the method for subscribing to internet of things data according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 5, the apparatus may include:
a candidate data transmission module 310, configured to receive, through a data acquisition server, candidate item data transmitted by the monitoring device;
the classified data obtaining module 320 is configured to divide candidate item data according to a preset data category by using the data management engine, so as to obtain item classified data of the data category division;
the subscription service formulation module 330 is configured to formulate a data subscription service and send the data subscription service to the target terminal, so that the target terminal obtains target data from the item classification data according to the data subscription service.
Further, the data governance engine comprises a data governance rule and a depth mining analysis algorithm;
further, the classified data acquisition module 320 includes:
the project data dividing unit is used for dividing candidate project data categories into different project classification data according to data treatment rules and a depth mining analysis algorithm by adopting a real-time or offline data processing form.
Further, the subscription service formulation module 330 includes:
the subscription rule making unit is used for making a data subscription rule;
a data source configuration unit for configuring a subscription data source;
a target terminal configuration unit for configuring a subscription data target terminal;
a subscription rule configuration unit for configuring the data subscription rule to the target terminal;
and the subscription data display unit is used for displaying the data subscription result.
Further, the subscription rule formulation unit is specifically configured to:
defining the name, the identification and the scope of the data subscription rule;
determining effective equipment data according to the scope, and determining corresponding target equipment according to the equipment data;
the data subscription rule is a rule file which is manually created or referenced by a third party platform; the data subscription rule is used for setting the type of the received data of the target terminal.
Further, the data source configuration unit is specifically configured to:
a feed data source is determined from the item classification data based on the data tag, the data level, and the data application domain of the item classification data.
Further, the target terminal configuration unit is specifically configured to:
determining a preset type of transmission protocol, and taking a terminal with the transmission protocol conforming to the preset type as a target terminal; wherein the configuration preset type of transmission protocol comprises at least one of HTTP, HTTPS, MQTT, KAFKA, MQ network communication protocols;
configuring data transfer information with the target terminal; the data transmission information comprises a target terminal timeout time, a target terminal timeout times, a data transmission safety instruction, a data transmission encryption mode, a data transmission frequency and a transmission time period, wherein the target terminal timeout time is a time length which exceeds the target data receiving time length set for a target terminal, and the target terminal timeout times is a time length which exceeds the target terminal receiving subscription data time length.
Further, the subscription rule configuration unit is specifically configured to:
distributing the data subscription rule to a target terminal;
if the data subscription rule is configured for the target terminal, determining that the data subscription rule is in an effective state, so that the target terminal receives target data according to the data subscription rule in the effective state;
and if the data subscription rule configured at the target terminal is set to be inactive, determining that the data subscription rule at the target terminal is in an inactive state so that the target terminal does not receive target data until the data subscription rule is reformulated and determining that the data subscription rule is still in an active state so that the target terminal receives target data again.
The device for subscribing the internet of things data provided in the embodiment of the invention can execute the method for subscribing the internet of things data provided in any embodiment of the invention, has the corresponding functions and beneficial effects of executing the method for subscribing the internet of things data, and the detailed process refers to the related operation of the method for subscribing the internet of things data in the embodiment.
Example IV
Fig. 6 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, such as the insulator state detection method.
In some embodiments, the method of subscribing to internet of things data may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method of subscribing to internet of things data described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the processing method of subscribing to the internet of things data in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of subscribing to internet of things data, comprising:
receiving candidate item data transmitted by the monitoring equipment through a data acquisition server;
dividing candidate item data according to preset data categories by a data management engine to obtain item classification data of the data category division;
and formulating a data subscription service, and sending the data subscription service to the target terminal so that the target terminal can acquire target data from the item classification data according to the data subscription service.
2. The method of claim 1, wherein the data governance engine comprises data governance rules and a depth mining analysis algorithm;
dividing candidate item data according to preset data categories by a data management engine, wherein the method comprises the following steps:
and dividing the candidate project data category into different project classification data according to the data management rules and the depth mining analysis algorithm by adopting a real-time or offline data processing mode.
3. The method of claim 1, wherein formulating the data subscription service comprises at least one of:
formulating a data subscription rule, configuring a subscription data source, configuring a subscription data target terminal, configuring the data subscription rule to the target terminal, and displaying a data subscription result.
4. A method according to claim 3, wherein formulating the data subscription rules comprises:
defining the name, the identification and the scope of the data subscription rule;
determining effective equipment data according to the scope, and determining corresponding target equipment according to the equipment data;
the data subscription rule is a rule file which is manually created or referenced by a third party platform; the data subscription rule is used for setting the type of the received data of the target terminal.
5. A method according to claim 3, wherein configuring the subscription data source comprises:
a feed data source is determined from the item classification data based on the data tag, the data level, and the data application domain of the item classification data.
6. A method according to claim 3, characterized in that configuring the subscription data target terminal comprises:
determining a preset type of transmission protocol, and taking a terminal with the transmission protocol conforming to the preset type as a target terminal; wherein the configuration preset type of transmission protocol comprises at least one of HTTP, HTTPS, MQTT, KAFKA, MQ network communication protocols;
configuring data transfer information with the target terminal; the data transmission information comprises a target terminal timeout time, a target terminal timeout times, a data transmission safety instruction, a data transmission encryption mode, a data transmission frequency and a transmission time period, wherein the target terminal timeout time is a time length which exceeds the target data receiving time length set for a target terminal, and the target terminal timeout times is a time length which exceeds the target terminal receiving subscription data time length.
7. A method according to claim 3, wherein configuring data subscription rules comprises:
distributing the data subscription rule to a target terminal;
if the data subscription rule is configured for the target terminal, determining that the data subscription rule is in an effective state, so that the target terminal receives target data according to the data subscription rule in the effective state;
and if the data subscription rule configured at the target terminal is set to be inactive, determining that the data subscription rule at the target terminal is in an inactive state so that the target terminal does not receive target data until the data subscription rule is reformulated and determining that the data subscription rule is still in an active state so that the target terminal receives target data again.
8. An apparatus for subscribing to internet of things data, comprising:
the candidate data transmission module is used for receiving candidate item data transmitted by the monitoring equipment through the data acquisition server;
the classified data acquisition module is used for dividing candidate item data according to preset data categories through the data management engine to obtain item classified data of the data category division;
the subscription service making module is used for making data subscription service and sending the data subscription service to the target terminal so that the target terminal can acquire target data from the item classification data according to the data subscription service.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of subscribing to internet of things data of any of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to execute the method of subscribing to internet of things data according to any one of claims 1-7.
CN202310479430.5A 2023-04-27 2023-04-27 Method, device, electronic equipment and medium for subscribing internet of things data Pending CN116501968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310479430.5A CN116501968A (en) 2023-04-27 2023-04-27 Method, device, electronic equipment and medium for subscribing internet of things data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310479430.5A CN116501968A (en) 2023-04-27 2023-04-27 Method, device, electronic equipment and medium for subscribing internet of things data

Publications (1)

Publication Number Publication Date
CN116501968A true CN116501968A (en) 2023-07-28

Family

ID=87326191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310479430.5A Pending CN116501968A (en) 2023-04-27 2023-04-27 Method, device, electronic equipment and medium for subscribing internet of things data

Country Status (1)

Country Link
CN (1) CN116501968A (en)

Similar Documents

Publication Publication Date Title
CN110347694B (en) Equipment monitoring method, device and system based on Internet of things
CN113766487A (en) Cloud mobile phone information acquisition method, device, equipment and medium
CN113795039A (en) Operator network switching method, device, equipment and computer readable storage medium
CN115423030A (en) Equipment identification method and device
CN116501968A (en) Method, device, electronic equipment and medium for subscribing internet of things data
CN115543416A (en) Configuration updating method and device, electronic equipment and storage medium
CN112988417B (en) Message processing method, device, electronic equipment and computer readable medium
CN115081413A (en) Report generation method, device, system, equipment and medium
CN113282455A (en) Monitoring processing method and device
CN117156398B (en) Message processing method, device, electronic equipment and storage medium
CN114615168B (en) Application level monitoring method and device, electronic equipment, storage medium and product
CN116760741B (en) Data state monitoring method, device, equipment and medium
CN117076185B (en) Server inspection method, device, equipment and medium
CN117818714A (en) Architecture and method for multi-column control access railway signal centralized monitoring system
CN117749614A (en) Protocol rule determining method and device, electronic equipment and storage medium
CN117596288A (en) Message transmission method and device, electronic equipment and storage medium
CN116455851A (en) Message pushing method, electronic equipment and storage medium
CN116668258A (en) Alarm information processing method and device and electronic equipment
CN115309728A (en) Method and device for determining missing data of equipment
CN116170188A (en) Network access control method, device, electronic equipment and storage medium
CN115757905A (en) Operation and maintenance management view generation method, related device and computer storage medium
CN114722043A (en) Data storage method, device, equipment and medium
CN115801718A (en) Message processing method and device, electronic equipment and message processing system
CN117493052A (en) Abnormality processing method, abnormality processing device, electronic device and readable storage medium
CN117421377A (en) Data processing method, device, equipment and medium for energy station

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