CN112039976A - User intelligent management-enabled microsystem information interaction system, and establishing method, device and storage medium thereof - Google Patents
User intelligent management-enabled microsystem information interaction system, and establishing method, device and storage medium thereof Download PDFInfo
- Publication number
- CN112039976A CN112039976A CN202010872803.1A CN202010872803A CN112039976A CN 112039976 A CN112039976 A CN 112039976A CN 202010872803 A CN202010872803 A CN 202010872803A CN 112039976 A CN112039976 A CN 112039976A
- Authority
- CN
- China
- Prior art keywords
- data
- client
- meter
- proxy server
- establishing
- 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
Links
- 230000003993 interaction Effects 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000003860 storage Methods 0.000 title claims description 13
- 238000004891 communication Methods 0.000 claims abstract description 30
- 238000013499 data model Methods 0.000 claims abstract description 6
- 238000012549 training Methods 0.000 claims description 20
- 230000006870 function Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 13
- 238000007726 management method Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 12
- 230000002452 interceptive effect Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000013480 data collection Methods 0.000 claims description 2
- 238000009432 framing Methods 0.000 claims description 2
- 230000000977 initiatory effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 9
- 238000004458 analytical method Methods 0.000 description 6
- 238000007405 data analysis Methods 0.000 description 5
- 238000005265 energy consumption Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000003723 Smelting Methods 0.000 description 1
- 238000004378 air conditioning Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000003889 chemical engineering Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000000586 desensitisation Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013433 optimization analysis Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000007670 refining Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
Abstract
The invention discloses a microsystem information interaction system capable of being managed by intelligent user utilization, which comprises a proxy server serving as an information interaction center, a meter client and a platform client, wherein the meter client and the platform client are respectively connected and interacted with the proxy server; the meter client is used for acquiring entity data; the platform client is used for receiving entity data, issuing instructions and providing data models at a remote end. The system establishing method comprises the steps of initializing global variables of the micro system, a database, a proxy server and a platform client; reading a configuration file, and initializing an IP address of a proxy server; starting an MQTT thread, a remote communication thread and a data acquisition thread; the method comprises the steps of starting meter clients through establishing MQTT connection, establishing interaction between a platform client and a proxy server through a remote communication thread, establishing interaction between the meter clients and the proxy server through local communication connection, and performing data acquisition on all the meter clients through a data acquisition thread.
Description
Technical Field
The invention relates to the field of user side electric equipment electric parameter acquisition and load perception, in particular to a micro-system information interaction system managed by user intelligent energy consumption, an establishing method, equipment and a storage medium.
Background
The electric energy occupies more and more important positions in social life, the electric energy is widely adopted as a main energy supply form in production, manufacturing, smelting, chemical engineering, air conditioning, heating and the like, and the improvement of the safe use level and the efficient power utilization of the electric energy become vital. Among the costs of industrial enterprises, the electricity charge is still an operational expenditure that is not effectively controlled. Due to various reasons such as management, process, technology, equipment and the like, the power utilization management is still in a rough stage, the power utilization efficiency is generally low, and the problem of unreasonable equipment utilization rate is still outstanding.
In order to solve the problems, the method has the advantages that the method can be used for collecting the electrical parameters of the user side electrical equipment and sensing the load finely, and for power grid enterprises, the analysis and the processing of load data with finer granularity are deeply carried out, so that a finer load sample curve and load space-time distribution curves with different scales can be provided, and the accuracy of a power grid load model, the accuracy of load prediction, the scientificity of power grid planning and the economy of project construction are improved; for power users, the using state and energy consumption of each or every type of electric appliance load can be known in real time, the autonomous power-saving and energy-saving awareness of the users can be effectively improved, and the users actively participate in the energy-saving service or demand response strategy of the power grid; for society, more refined load data analysis is more beneficial to developing energy efficiency service, and energy conservation, emission reduction and sustainable development of the whole society are facilitated.
At present, along with the construction of energy internet, the energy consumption of enterprise's energy and efficiency management become the key point of paying attention to, and numerous schemes are put forward and are realized the high accuracy analysis of the collection that becomes more meticulous of enterprise's energy consumption and enterprise's efficiency. From the communication technology and networking mode, multiple transmission technologies such as NB-IOT, wifi, Zigbee and the like for data transmission between the terminal and the gateway support wired wireless access such as PLC/LoRa/RS485/FE/Zigbee modularization and wired, 2G/3G/4G wireless public network and wireless private network modularized communication between the terminal and the gateway; from the viewpoint of the adopted computing platform and software technology hotspots, technologies such as an internet of things operating system, a container, an SDN defined network protocol and the like are started to be applied. Through the application of multiple computer technologies, a computing operation and development environment platform which can monitor the on-site service operation environment, realize soft and hard decoupling, general adaptation and open sharing is constructed, the service sinking, the flexible software updating, the terminal configuration management and the like are realized, and the multi-signal access and the target intelligent optimization analysis of the electricity, water, gas and heat monitoring objects are realized; the intelligent data cleaning function, the energy efficiency analysis and diagnosis function, the rapid fault judgment and the like are realized, and cloud-end interaction and cooperation are realized.
However, in the prior art, the following problems still remain,
the problem 1 is that the flexibility of service expansion is insufficient, the system cannot rapidly deploy matched acquisition resources according to the access number of the on-site monitoring terminals to achieve rapid access of sensing data, the framework of the system needs to be adjusted to increase the number of acquisition data threads to achieve the purpose, and the adjustment and test period is long;
the problem 2 is that the system reliability has defects, and serial processing of numerous middleware, clients, monitoring threads and the like of the micro-system easily causes the system to be crashed integrally due to local faults, so that more reliable interaction capability cannot be provided for a parallel service mode of 'bus + micro-service'.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides the microsystem information interaction system capable of being managed by the intelligent user, and an establishment method, equipment and a storage medium thereof.
The invention is realized by the following technical scheme:
the intelligent management-enabled microsystem information interaction system for the user comprises a proxy server serving as an information interaction center, a meter client and a platform client, wherein the meter client and the platform client are respectively connected and interacted with the proxy server;
the meter client is used for acquiring entity data in the micro system;
the platform client is used for receiving entity data, issuing instructions and providing data models at a remote end.
Preferably, the platform client is used for implementing local APP, policy, application deployment and node management and deletion of the microsystem.
Preferably, the entity data collected by the meter client is stored in a database.
A method for a user to intelligently establish a manageable microsystem information interaction system, said system being as described in any of the above, said method comprising the following sequential steps,
step 1, initializing global variables of a micro system, a database, a proxy server and a platform client;
step 2, reading the configuration file and initializing the IP address of the proxy server;
step 3, starting an MQTT thread, a remote communication thread and a data acquisition thread;
step 4, starting the meter client through establishing MQTT connection, establishing interaction between the platform client and the proxy server through a remote communication thread, establishing interaction between the meter client and the proxy server through a local communication connection, and performing data acquisition on all meter clients through a data acquisition thread; and finishing the establishment of the interactive system.
Preferably, the specific steps of starting the MQTT thread are as follows,
initializing MQTT and establishing MQTT connection;
reading meter client equipment information registered on the proxy server;
setting a subscription theme;
processing received subscription information, wherein the subscription information comprises equipment registration, model registration, real-time data and file transmission result feedback information;
and repeatedly executing the processing of the received subscription information after delaying the set time.
Preferably, the specific steps for starting the remote communication thread are as follows,
establishing 376.1 communication thread and establishing SOCKET connection;
sending 376.1 connection frames, initializing an overtime timer and starting timing;
the timeout timer counts time and exceeds the first threshold value of the specified time to resend the connection frame;
the timeout timer counts a second threshold value exceeding the specified time to reestablish the SOCKET connection;
receiving data, updating the initial value of the count of the overtime timer, analyzing 376.1 data and framing and returning; and resetting the timeout timer and starting new timing.
Preferably, the specific steps of starting the data acquisition thread are as follows,
a. starting data rotation according to the equipment numbers in the set sequence;
b. acquiring data of current equipment according to data items specified by a data rotation configuration file;
c. updating the frozen data in the database, repeating the step b to collect all data of the current equipment until the collection of all data items of the current equipment is completed, and completing the data rotation training of the current equipment;
d. after the data round training of the current equipment is completed, updating the equipment number, and executing the step a to enter the next equipment round training;
e. and (c) after the updating of the frozen data of all the data items of all the equipment is finished, finishing the data round training of the round, and executing the step a from the initial equipment number according to a set round training period.
Further, the specific steps of step 4 are as follows,
4.1 initializing the serial port parameters of local communication of the meter client;
4.2 loading the configuration file of the meter client and reading the information;
4.3 establishing MQTT connection;
4.4 registering equipment and registering data types on the proxy server according to the configuration file and the electric meter number;
4.5 establishing a corresponding number of local communication data acquisition processes according to the number of the serial ports;
4.5.1 obtaining a serial port number issued by the set serial port function;
4.5.2 reading the specified data items according to the requirements of the DL645 data configuration file;
4.5.3 forming a json data table by the copied data items, and sending the json data table to the equipment data training thread through MQTT;
4.5.4, the set serial port number is updated, and step 4.5.1 is executed until the collection of all the table data is completed.
A computer apparatus, comprising,
a memory for storing a computer program;
processor for implementing the steps of the microsystem information interaction system setup method as claimed in any of the claims 4 to 8 when executing the computer program.
A computer storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the microsystem information interaction system setup method as defined in any of the above.
Compared with the prior art, the invention has the following beneficial technical effects:
the method for establishing the intelligent management-capable microsystem information interaction system for the user realizes the establishment and interaction of the microsystem information interaction system at the user side, is respectively connected with other client sides one by taking the proxy server as a center, has high flexibility of business service expansion, has little influence on the system by the access and exit of equipment, and can independently acquire data of the equipment; by establishing a mode of a proxy server mechanism, the client, the monitoring thread, the middleware and the like are independently configured, so that the functions of each unit in operation are separated from each other, the configuration is independently operated, the positioning and restarting are carried out in time when a fault occurs, and the higher reliability of the system is ensured. The interactive system realized based on the system architecture and the service establishment mode can support functions such as data acquisition, protocol adaptation, protocol conversion, edge calculation, cloud edge coordination, intelligent analysis, safety desensitization and the like on edge Internet of things agent equipment, realizes data access, remote configuration and AI data algorithm embedding of sensing acquisition equipment, and provides data sources and technical bases for energy efficiency management, energy-saving service and demand side management of a user side.
Drawings
FIG. 1 is a block diagram of a system according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method for establishing an information interaction system according to an embodiment of the present invention.
Fig. 3 is a flowchart of a method for data acquisition by a meter client according to an embodiment of the present invention.
Detailed Description
The present invention will now be described in further detail with reference to specific examples, which are intended to be illustrative, but not limiting, of the invention.
The invention discloses a micro-system information interaction system capable of being managed by user intelligence and an establishment method, and relates to contents of sensing data acquisition, data storage and transmission, information interaction and control and the like. The method is used for solving the functions of multi-sensor access, various communication modes, data storage, forwarding and management, local terminal deployment by a remote platform, service expansion and management and the like based on an embedded edge computing platform, and provides a multi-object information interaction mode and an interaction structure establishing method. The interaction system can support the refining energy collection and the high-precision analysis of the energy efficiency state of the intelligent energy consumption of the enterprise through the realization on the edge Internet of things agent equipment.
The invention discloses a user intelligent management-enabled microsystem information interaction system, which is used for realizing the interaction process of a plurality of connected entities. As shown in FIG. 1, the microsystem comprises an interactive object including a proxy server, a meter client and a platform client. The information interaction content is used for realizing information acquisition, information storage and information forwarding. The proxy server is used as a center of information interaction, is connected with the meter client and the platform client and plays a role in controlling the information interaction process. Meter and platform clients, databases, etc. as logical units of the entity object.
The meter client is a source for acquiring entity data and acquires the data according to certain technical parameter specifications;
the platform client is a remote data center, and is used for receiving data, issuing instructions and providing data models, and realizing APP, strategy, application deployment, node management, deletion and the like of the local micro-system.
The proxy server can also be connected and interacted with the strategy client and the control client;
the strategy client, namely a data analysis unit, acquires data from the database according to the issuing requirement and completes data analysis according to the agreed strategy, and strategy results and instructions can be sent to the control client through the proxy;
the control client is a local control object and a carrier for realizing local services. The micro system is provided with a database which is a storage unit of local data and provides functions of storing collected data and providing service data.
The strategy client is used for completing data analysis of data acquired from the database through a data model and an appointed strategy according to the issued command, and sending a strategy completion result and the command to the control client through the proxy server; and the control client is used for executing the local service in the microsystem according to the received result and the instruction.
The implementation of the information interaction mechanism of the microsystem is established by item-by-item starting of the application system and running of the APP, and the functions of source data acquisition, storage, data forwarding, equipment management and data format registration and further the functions of policy implementation, analysis and processing are realized.
As shown in FIG. 2, the user of the present invention intelligently uses the method for establishing the manageable microsystem information interactive system, i.e. the method for establishing the client information interactive mechanism, the system of the present invention is realized by the steps specified by the method of the present invention; the method comprises the following steps that 1, global variables of the micro system, a database, a proxy server and a platform client are initialized;
step 2, reading the configuration file and initializing the IP address of the proxy server;
step 3, starting an MQTT thread, a remote communication thread and a data acquisition thread;
step 4, starting the meter client through establishing MQTT connection, establishing interaction between the platform client and the proxy server through a remote communication thread, establishing interaction between the meter client and the proxy server through a local communication connection, and performing data acquisition on all meter clients through a data acquisition thread; and finishing the establishment of the interactive system.
In actual use, the interaction between the strategy client and the platform client, the interaction between the strategy client and the database and the interaction between the strategy client and the control client can be established through a remote communication thread, data analysis is completed on data acquired from the database through an appointed strategy and a data model provided by the platform client, and a strategy completion result and an instruction are sent to the control client through the proxy server.
The method is specifically as follows.
1, initializing a global variable, a database, a proxy server and a platform client;
2, reading the configuration file and initializing the IP address of the proxy server;
starting an MQTT thread, a remote communication thread and a data acquisition thread;
when the MQTT thread is started up,
3.1.1 initializing MQTT and establishing MQTT connection;
3.1.2 reading the information of the meter client equipment registered on the proxy server;
3.1.3 setting a subscription theme;
3.1.4 processing the received subscription information, including equipment registration, model registration, real-time data, file transmission result feedback and other information;
3.1.5 the process of 3.1.4 is repeated after a delay of a certain time (200 ms).
When the remote communication thread is started up,
3.2.1 establishing 376.1 communication thread and establishing SOCKET connection;
3.2.2 sending a 376.1 connection frame, initializing an overtime timer and starting timing;
3.2.3 the timer exceeds the specified time (50s) to resend the connection frame;
3.2.4 the timer exceeds the specified time (150s) to reestablish the socket connection;
3.2.5 receives the data, updates the timer count initial value, parses 376.1 the data and frames back.
3.2.6 resetting the overtime timer, entering the step 3.2.3 and repeating the execution.
When the data acquisition thread is started up,
3.3.1 repeatedly executing the part according to the specified time period (15 min);
3.3.2 starting data rotation according to the equipment numbers in the set sequence, and starting rotation from the lowest equipment number initially;
3.3.3 collecting data according to the data items specified by the training configuration file;
3.3.4 updating the frozen data in the database, repeating the step 3.3.3 to collect all data of the current equipment until the collection of all data items of the current equipment is finished, and finishing the data round training of the current equipment;
3.3.5 after finishing the data round training of the current equipment, updating the equipment number, executing the step of entering 3.3.2, and switching to the next equipment round training;
and 3.3.6, after updating the frozen data of all the data items of all the equipment, finishing the data round training of the current round, and entering a 3.3.1 step to start a new round of training from the initial equipment number according to a set round training period.
4 start meter client threading, local communication and data collection, as shown in figure 3,
4.1 initializing a serial port of meter client local communication;
4.2 loading the configuration file of the meter client and reading the information;
4.3 establishing MQTT connection;
4.4 registering equipment and registering data types on the proxy server according to the configuration file and the electric meter number;
4.5 establishing a corresponding number of local communication data acquisition processes according to the number of the serial ports;
4.5.1 determining a serial port number issued by the thread function;
4.5.2 reading the specified data items according to the requirements of the DL645 data configuration file;
4.5.3 forming a json data table by the copied data items, and sending the json data table to the equipment data training thread through MQTT;
4.5.4, updating the serial number, 4.5.1, until all the data are collected.
Aiming at the problems of the existing information interaction system of the micro system, the invention provides a parallel service mode of 'bus + micro service' for providing local functions of sensing data acquisition, data storage, data interaction and remote transmission.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Claims (10)
1. The intelligent management-enabled microsystem information interaction system for the users is characterized by comprising a proxy server serving as an information interaction center, a meter client and a platform client, wherein the meter client and the platform client are respectively connected and interacted with the proxy server;
the meter client is used for acquiring entity data in the micro system;
the platform client is used for receiving entity data, issuing instructions and providing data models at a remote end.
2. The intelligent user-manageable microsystem information interaction system of claim 1, wherein the platform client is configured to implement local APP, policy, application deployment, and node management and deletion of the microsystem.
3. The system of claim 1, wherein the entity data collected by the meter client is stored in a database.
4. Method for establishing a user intelligent manageable microsystem information interactive system, said system being as claimed in any one of claims 1 to 3, said method comprising the following sequence of steps,
step 1, initializing global variables of a micro system, a database, a proxy server and a platform client;
step 2, reading the configuration file and initializing the IP address of the proxy server;
step 3, starting an MQTT thread, a remote communication thread and a data acquisition thread;
step 4, starting the meter client through establishing MQTT connection, establishing interaction between the platform client and the proxy server through a remote communication thread, establishing interaction between the meter client and the proxy server through a local communication connection, and performing data acquisition on all meter clients through a data acquisition thread; and finishing the establishment of the interactive system.
5. The method as claimed in claim 4, wherein the step of starting the MQTT thread comprises the following steps,
initializing MQTT and establishing MQTT connection;
reading meter client equipment information registered on the proxy server;
setting a subscription theme;
processing received subscription information, wherein the subscription information comprises equipment registration, model registration, real-time data and file transmission result feedback information;
and repeatedly executing the processing of the received subscription information after delaying the set time.
6. The method as claimed in claim 4, wherein the step of initiating the remote communication thread comprises the following steps,
establishing 376.1 communication thread and establishing SOCKET connection;
sending 376.1 connection frames, initializing an overtime timer and starting timing;
the timeout timer counts time and exceeds the first threshold value of the specified time to resend the connection frame;
the timeout timer counts a second threshold value exceeding the specified time to reestablish the SOCKET connection;
receiving data, updating the initial value of the count of the overtime timer, analyzing 376.1 data and framing and returning; and resetting the timeout timer and starting new timing.
7. The method as claimed in claim 4, wherein the step of starting the data collection thread comprises the following steps,
a. starting data rotation according to the equipment numbers in the set sequence;
b. acquiring data of current equipment according to data items specified by a data rotation configuration file;
c. updating the frozen data in the database, repeating the step b to collect all data of the current equipment until the collection of all data items of the current equipment is completed, and completing the data rotation training of the current equipment;
d. after the data round training of the current equipment is completed, updating the equipment number, and executing the step a to enter the next equipment round training;
e. and (c) after the updating of the frozen data of all the data items of all the equipment is finished, finishing the data round training of the round, and executing the step a from the initial equipment number according to a set round training period.
8. The method of claim 7, wherein the step 4 comprises the following steps,
4.1 initializing the serial port parameters of local communication of the meter client;
4.2 loading the configuration file of the meter client and reading the information;
4.3 establishing MQTT connection;
4.4 registering equipment and registering data types on the proxy server according to the configuration file and the electric meter number;
4.5 establishing a corresponding number of local communication data acquisition processes according to the number of the serial ports;
4.5.1 obtaining a serial port number issued by the set serial port function;
4.5.2 reading the specified data items according to the requirements of the DL645 data configuration file;
4.5.3 forming a json data table by the copied data items, and sending the json data table to the equipment data training thread through MQTT;
4.5.4, the set serial port number is updated, and step 4.5.1 is executed until the collection of all the table data is completed.
9. A computer device, comprising,
a memory for storing a computer program;
processor for implementing the steps of the microsystem information interaction system setup method as claimed in any of the claims 4 to 8 when executing the computer program.
10. A computer storage medium, characterized in that the computer storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the microsystem information interaction system setup method according to one of the claims 4 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010872803.1A CN112039976A (en) | 2020-08-26 | 2020-08-26 | User intelligent management-enabled microsystem information interaction system, and establishing method, device and storage medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010872803.1A CN112039976A (en) | 2020-08-26 | 2020-08-26 | User intelligent management-enabled microsystem information interaction system, and establishing method, device and storage medium thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112039976A true CN112039976A (en) | 2020-12-04 |
Family
ID=73579985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010872803.1A Pending CN112039976A (en) | 2020-08-26 | 2020-08-26 | User intelligent management-enabled microsystem information interaction system, and establishing method, device and storage medium thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112039976A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988717A (en) * | 2021-05-17 | 2021-06-18 | 国网江西省电力有限公司供电服务管理中心 | Design and construction method of resident intelligent energy consumption service specimen library |
CN113364868A (en) * | 2021-06-04 | 2021-09-07 | 常州企跃智能科技有限公司 | Network communication architecture for intelligent production management system and implementation method |
CN115225429A (en) * | 2022-05-30 | 2022-10-21 | 云南电网有限责任公司 | Electric energy meter real-time data acquisition method based on service tunnel |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107360030A (en) * | 2017-07-14 | 2017-11-17 | 陕西科技大学 | A kind of DALI intelligent lightings extension system and extended method |
CN107666480A (en) * | 2017-09-01 | 2018-02-06 | 国网四川省电力公司绵阳供电公司 | Wisdom cell energy management system, hardware structure and information interacting method |
CN108600095A (en) * | 2018-04-04 | 2018-09-28 | 南通大学 | A kind of embedded Internet of Things gateway system and its hardware circuit based on IPv6 |
CN110442814A (en) * | 2019-06-19 | 2019-11-12 | 中国电力科学研究院有限公司 | A kind of data interaction system and method for ubiquitous electric power Intelligent terminal for Internet of things |
-
2020
- 2020-08-26 CN CN202010872803.1A patent/CN112039976A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107360030A (en) * | 2017-07-14 | 2017-11-17 | 陕西科技大学 | A kind of DALI intelligent lightings extension system and extended method |
CN107666480A (en) * | 2017-09-01 | 2018-02-06 | 国网四川省电力公司绵阳供电公司 | Wisdom cell energy management system, hardware structure and information interacting method |
CN108600095A (en) * | 2018-04-04 | 2018-09-28 | 南通大学 | A kind of embedded Internet of Things gateway system and its hardware circuit based on IPv6 |
CN110442814A (en) * | 2019-06-19 | 2019-11-12 | 中国电力科学研究院有限公司 | A kind of data interaction system and method for ubiquitous electric power Intelligent terminal for Internet of things |
Non-Patent Citations (1)
Title |
---|
马青云等: "基于泛在电力物联网架构的智能电量计量终端设计", 《浙江电力》, vol. 39, no. 3, 31 March 2020 (2020-03-31), pages 22 - 28 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988717A (en) * | 2021-05-17 | 2021-06-18 | 国网江西省电力有限公司供电服务管理中心 | Design and construction method of resident intelligent energy consumption service specimen library |
CN113364868A (en) * | 2021-06-04 | 2021-09-07 | 常州企跃智能科技有限公司 | Network communication architecture for intelligent production management system and implementation method |
CN115225429A (en) * | 2022-05-30 | 2022-10-21 | 云南电网有限责任公司 | Electric energy meter real-time data acquisition method based on service tunnel |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112039976A (en) | User intelligent management-enabled microsystem information interaction system, and establishing method, device and storage medium thereof | |
Wu et al. | Accelerating federated learning over reliability-agnostic clients in mobile edge computing systems | |
CN110769032B (en) | System and method for rapidly detecting and maintaining power grid equipment fault | |
Hu et al. | Deep-green: a dispersed energy-efficiency computing paradigm for green industrial IoT | |
CN105450654B (en) | Smart home development platform and its business development method based on middleware Technology | |
WO2019148976A1 (en) | Energy information processing method and device thereof, and energy internet system | |
CN104660709B (en) | A kind of electricity consumption data acquisition system and its method of work based on IEC61850 | |
WO2020211561A1 (en) | Data processing method and device, storage medium and electronic device | |
CN104238466A (en) | Smart power and energy using system platform based on Cloud of Things | |
CN111200528A (en) | Intelligent linkage method for smart city with edge cloud cooperation | |
CN105093945A (en) | System and method for safely controlling smart household apparatuses based on smart cloud | |
Bian et al. | The new intelligent home control system based on the dynamic and intelligent gateway | |
CN105446196B (en) | A kind of Intelligent spraying system and its control method with real-time monitoring and control | |
CN113569117A (en) | Cloud platform system and method based on industrial internet big data service | |
CN109409732A (en) | A kind of energy consumption management system and management method | |
Estevez et al. | Recent advances in green internet of things | |
CN113568743A (en) | Management method, device and medium of Internet of things equipment and electronic equipment | |
CN111736509A (en) | Wisdom building control system based on thing networking | |
CN111726421A (en) | Method and device for realizing interconnection of network target range and industrial control equipment | |
Du et al. | IIoT-based intelligent control and management system for motorcycle endurance test | |
EP3979563A1 (en) | Inter-domain data interaction method and apparatus | |
Zhang et al. | Research and application of industrial equipment management service system based on cloud-edge collaboration | |
Uzair et al. | A low-cost IoT based buildings management system (BMS) using arduino mega 2560 and raspberry pi 4 for smart monitoring and automation | |
Wang | Sustainable data analysis framework of smart city based on wireless sensor network | |
CN115358509A (en) | User comprehensive energy consumption optimization control method and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201204 |
|
RJ01 | Rejection of invention patent application after publication |