CN108234614A - A kind of exchange method based on custom protocol and Netty frames - Google Patents
A kind of exchange method based on custom protocol and Netty frames Download PDFInfo
- Publication number
- CN108234614A CN108234614A CN201711417696.8A CN201711417696A CN108234614A CN 108234614 A CN108234614 A CN 108234614A CN 201711417696 A CN201711417696 A CN 201711417696A CN 108234614 A CN108234614 A CN 108234614A
- Authority
- CN
- China
- Prior art keywords
- platform server
- cloud platform
- data
- terminal
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/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
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- 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/26—Special purpose or proprietary protocols or architectures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Cardiology (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of exchange methods based on custom protocol and Netty frames, the detection data of terminal device is acquired using terminal acquisition module, collected various types of signal analog quantity is converted into digital signal, and cloud platform server is sent to by communication module through custom protocol, computer or mobile terminal control remote terminal by Service Processing Module simultaneously, it realizes remote terminal detection data real-time exhibition and analysis, while can also realize the remote control to terminal device.The present invention is suitable for high-volume PLC embedded internet data interactions, during carrying out data transmission, pass through concise custom protocol and heartbeat signal, data efficient can be achieved, steadily transmit, in face of magnanimity small volume, the signal data of high concurrent, and ripe Netty framework technologies can optimize communication resource configuration.
Description
Technical field
The present invention relates to internet of things field, are related to a kind of interaction side based on custom protocol and Netty frames
Method.
Background technology
Internet of Things refers to by the information sensing equipment such as RFID, infrared inductor, GPS, laser scanner, by agreement
Agreement connects any article with internet, carries out information exchange and communication, with realize Weigh sensor, positioning, with
Track, monitoring and a kind of network of management.With the continuous development of the technologies such as internet, Internet of Things, technology of Internet of things application is more next
It is more extensive.
Mainly there are two features, i.e. scale and real-time for Internet of Things.First, scale, only has scale, ability
The intelligence of article is made to play a role.Second is that real-time, is obtained by perception device that is embedded or being attached on article or external information
Technology is taken, can reflect article condition every the extremely short time, including static or movement, safety or danger, good or corruption
It is rotten, it can reflect in real time, such as the monitoring of airport circumference, historical relic, bridge monitoring, environmental monitoring, foodstuff traceability.
In the application of existing Internet of Things, most gathered data has the characteristics that small volume, high concurrent, traditional Internet of Things
Cloud platform server can be ensured that effective transmission of data, but when concurrency is very big, just will appear response slowly, even
The problems such as connecing time-out.High-performance, high stable Internet of Things framework be the demand of current technological development, high-performance, high stable object
Networking framework helps to build superior Internet of things system, is provided for people more intelligent with easily servicing.Wherein, it is
Realize high-performance, high stable requirement, how to improve the reasonability of Internet of Things framework is that those skilled in the art need to consider reconciliation
A problem certainly.
Invention content
Present invention aims to overcome that the shortcomings that above-mentioned prior art and deficiency, provide it is a kind of based on custom protocol and
The exchange method of Netty frames, this method build the high-performance of magnanimity structuring, semi-structured data with cloud computing technology
It calculates, and effectively integrates transmitted in both directions agreement, improve data transmission stability, reduce the expense that traditional data movement is brought.
While receiving data, it also can generate port to data and control instruction is provided, it is unidirectional uncontrollable to overcome traditional data acquisition
It is insufficient.
In order to achieve the above object, the present invention adopts the following technical scheme that:
A kind of exchange method based on custom protocol and Netty frames, includes the following steps:
S1, the real time environment using PLC connection terminal acquisition module detection terminal equipment, acquire all kinds of switching values, simulation
Collected analog signal is converted into digital signal by the real time data of amount;The PLC is programmable logic controller (PLC);
S2, by step S1 obtain digital signal after, put down using PLC connection communication modules by custom protocol and cloud
Platform server establishes TCP/IP connections, and registration safeguards the connection, real time data is sent to cloud platform server, is established simultaneously
Heartbeat packet, the heartbeat packet are used to detect the connection of each remote terminal and transmit data;The custom protocol is TCP/
The agreement of IP application layers, i.e. PLC and the rule of communication of cloud platform server;
S3, after establishing connection by PLC in step S2 and cloud platform server, cloud platform server timely processing is from remote
The access of journey terminal, registration and maintenance and the connection of remote terminal are remote terminal using ripe Netty threading models
Access distributes corresponding thread process response, and request and response are sent to registered corresponding thread process;
S4, by the good computing resource of step S3 cloud platforms server-assignment after, cloud platform server to terminal acquisition module reality
When collected data carry out category filter, mass data is handled and is stored on cloud platform server, to statistical number
According to real-time exhibition is carried out in computer or mobile terminal and to data it is for statistical analysis, in the shape for macroscopically grasping each terminal device
Condition;
S5, terminal device is monitored in real time by terminal acquisition module by step S4 cloud platforms server, is controlled by showing
End processed is attached with cloud platform server, custom instruction is sent to terminal control module, to all kinds of intelligence of terminal device
Hardware facility carries out remote control.
As preferred technical solution, the PLC is programmable logic controller (PLC), defeated by power supply, CPU, memory, I/O
Enter output unit, communication unit composition, be responsible for the acquisition to remote terminal data, A/D is converted, logical with cloud platform server
Believe and terminal device is controlled;The terminal device includes toilet facility, sensor, RFID reader, laser and sweeps
Retouch device and embedded device.
As preferred technical solution, the remote terminal includes terminal acquisition module and terminal control module;The end
Acquisition module is held to detect instrument for terminal device, for acquisition terminal device signal;Terminal acquisition module specifically includes infrared sense
Ying Yi, GPS and ammonia detector;The terminal control module is for storing collected signal, A/D is converted,
Executing agency's action that connection cloud platform server and reception display control end are sent through cloud platform server, sets terminal
It is standby to carry out remote control;Terminal device is detected instrument and executing agency especially by PLC and is taken with cloud platform by terminal control module
Business device connects, and receives the operational order of cloud platform server, executing agency's action of control terminal equipment;The display
Control terminal includes computer or mobile terminal;The terminal control module specifically includes PLC and executing agency, and the executing agency is
Electric Actuator carries out valve switch operation and the adjusting of rate-of flow to terminal device.
As preferred technical solution, following steps are specifically included in step S1:
S11, capture card detect analog signal by terminal acquisition module and it are sampled;
S12, capture card are converted to analog quantity to collected signal by A/D, this analog quantity is divided into n component
Amount forms digital quantity so that digital display circuit identifies, with digital quantity Precise Representation analog quantity, and is encoded, by discrete amplitude
Become binary digit after quantization;
After S13, capture card power-up online, the address of DHCP, that is, dynamic host configuration protocol is obtained, capture card passes through at this time
PLC serial ports sends an AT instruction to communication module, and passes through Arduino and the control of microprocessor embedded system is write to PLC
Program with complete the acquisition of signal and processing task.
As preferred technical solution, following steps are specifically included in step S2:
When S21, remote terminal will send gathered data, sent out first from cloud platform server by custom protocol to PLC
Send cloud platform server request message, the first character of the message is type of message, PLC according to type of message identification whether
The message should be read and which command set the message belongs to;It is device numbering after type of message, with two characters
It represents, to distinguish corresponding device;It is the order or data to be understood after device numbering;
S22, PLC return to capture card after cloud platform server request message is confirmed, to cloud platform server and respond report
Text;Equally, type of message and device numbering, cloud platform service can be added when capture card back message is sent before message
Also thus data discrimination comes wherefrom device, in the data of return, the unique hardware id information comprising the equipment;In cloud platform
After server receives capture card back message, remote terminal is successfully established with cloud platform server and connect, and is taken to cloud platform
Business device sends gathered data message;
S23, cloud platform server read gathered data message by non-blocking fashion, read function and ceaselessly carry out reading to move
Make, judge when cycle read-write terminates using length, go to read gathered data report further according to the length value of length
Text;If cloud platform server is not received by gathered data message, time-out time is specified, time-out is returned after waiting for a period of time
It returns;
S24, cloud platform server receive remote terminal and send back the gathered data message come, that is, carry out understanding inspection
Operation;After having checked, then a determining character string is sent to remote terminal, to illustrate that cloud platform server has succeeded
Receive gathered data message;And if reading failure, cloud platform server require remote terminal to send out again in the character string of loopback
Send gathered data message;In addition it when gathered data message is sent, finally adds and checks character in gathered data message, the school
Test the correctness that character judges gathered data message for receiving-transmitting sides inspection;
S25, before remote terminal transceiving data, cloud platform server initiates the connection request to remote terminal, it is long-range eventually
Termination is connected by cloud platform server, and both sides establish TCP/IP connections, wherein needing remote terminal and cloud platform server head
The connection in portion is set as keep-alive, i.e., long linking scheme;
S26, remote terminal with Platform Server establish connection during, to prevent intermediate node from breaking down
Lead to remote terminal and disconnected with Platform Server, heartbeat packet need to be established, for maintaining long connection;Cloud platform server
Receive the digital dictionary OnlinCounter of remote terminal connection generation<User,int>If it is corresponding that remote terminal returns to heartbeat,
Digital dictionary OnlinCounter [User] ++, otherwise OnlinCounter [User]=0, as OnlinCounter [User]
=0 number is more than self-defined threshold value, is judged as that remote terminal disconnects, cloud platform server re-initiates connection;Its
In, the SO_KEEPALIVE in custom protocol is set, SOL_SOCKET.SO_KEEPALIVE is set with setsockopt
It is 1, while three parameter tcp_keepalive_time/ connections of setting idle ACK packet times for starting hair keepalive,
Tcp_keepalive_probes/ hair ACK packets do not reply the quantity and tcp_keepalive_ for thinking that connection disconnects
Time interval between two ACK packets of intvl/.
As preferred technical solution, following steps are specifically included in step S3:
S31, user thread initialization remote terminal resources, initiate the connection operation;
S32, NioEventLoop randomly select a thread as receiver, monitor remote terminal connection, return simultaneously
It returns, not blocked user thread;
S33, the SocketChannel of remote terminal is registered on other Reactor threads in main thread pond, by institute
It states other Reactor threads and is responsible for access authentication, the filtering of IP black and white lists and the operation shaken hands;
S34, a thread is randomly selected as IO threads, handle net reading and writing event, the select functions of kernel is called to examine
Socket states are looked into, perform system message queue and timed message queue;
S35, event is read and write by the I/O of IO thread special disposal networks.
As preferred technical solution, following steps are specifically included in step S4:
S41, terminal acquisition module in real time collected data be transmitted in the form of binary code cloud platform server it
Afterwards, each byte meaning is parsed according to custom protocol;
S42, the data of ID, model, time, number and unlatching reason included to capture card data carry out whole
It closes, is encapsulated into recordInfo;
S43, according to recordInfo, data update is shown, and be stored in database at display control end;Data are write
Enter database, to realize data persistence, data buffer storage is done with Redis so that each same queries after first time are all logical
Data buffer storage acquisition is crossed, for updating the data, the modification of quantity or time are cached, it is final to carry out an I/O behaviour
Make, and the update of data will be asynchronously saved on disk;
S44, after data transmission is to cloud platform server, be shown and control by display control end, to storage
Data are for statistical analysis, macroscopically grasping remote terminal situation;Wherein, chart data is using Echart analysis displayings;
S45, data transmission whole cycle process be recorded to logger module, meet the property of cloud platform server
Energy test job and the needs of maintenance work are arranged as required to output content, output level and the way of output of daily record, institute
Output level is stated to include:Info, debug, warn and error;The way of output includes:Console and file.
As preferred technical solution, following steps are specifically included in step S5:
S51, display control end are established TCP/IP with cloud platform server and are connect, and send handshake request, subsequent cloud platform clothes
Business device sends handshake response, completes to shake hands;
S52, Websocket agreement transmit instruction controlled data message by serialized data frame;
S53, cloud platform server send instructions to terminal control module by display control end, and terminal device is carried out
Remote control;Its remote control signal amount is by terminal control module in remote terminal, and executing agency, control are driven by PLC
Terminal device processed.
As preferred technical solution, in step sl, the communication module includes 2/3/4G modules or wifi modules.
As preferred technical solution, the custom protocol includes cloud platform server request message, capture card is responded
Message, gathered data message and instruction controlled data message.
The present invention is had the following advantages relative to the prior art and effect:
(1) method of the invention wraps majority in top-level design application protocol stack, efficiently solve TCP/IP data packets one
It packet splicings and the problem of unpacking such as wraps according to, data more, solves the problems, such as that the expense that traditional data movement is brought is big;
(2) method of the invention enhances asynchronous high-performance, the Gao Ke of system using Netty technical optimizations communications framework
By property;
(3) heartbeat packet technology is utilized in method of the invention, enhances remote terminal and is connect with cloud platform server communication
Stability;
(4) the data acquisition that method of the invention is proposed to remote terminal is handed over the bidirectional data transfers that instruction controls
Mutual technology improves the unidirectional uncontrollable deficiency of available data acquisition;
(5) method of the invention uses PLC and communications module, with installation operation simple and flexible, cross-network segment,
The characteristics of suitable for computer, mobile platform, acquires suitable for the data of different scenes.
Description of the drawings
Fig. 1 is the overall system architecture figure of the present invention.
Fig. 2 is the functional block diagram of the present invention.
Fig. 3 is the Netty threading model figures of the present invention.
Fig. 4 is the heartbeat packet flow chart of the present invention.
Specific embodiment
The present invention is described in further detail in the following with reference to the drawings and specific embodiments.
In order to which the purpose of the present invention, technical solution and advantage is more clearly understood, below in conjunction with attached drawing and implementation
Example, the present invention is further described in detail.It should be appreciated that specific embodiment described herein is used only for explaining
The present invention, however it is not limited to the present invention.
As shown in Figure 1, the exchange method based on custom protocol and Netty frames for the present invention, including following step
Suddenly:
S1, remote terminal real time environment is detected using PLC (programmable logic controller (PLC)) connection terminals acquisition module, adopted
Collect all kinds of switching values, the real time data of analog quantity, collected analog signal is converted into digital signal;It specifically includes following
Step:
S11, capture card detect simulation by infrared induction instrument, GPS and ammonia detector, that is, terminal acquisition module
Signal simultaneously samples it;
S12, capture card are converted to analog quantity to collected signal by A/D, this analog quantity is divided into many aliquots
Amount form digital quantity so that digital display circuit identifies, with digital quantity Precise Representation analog quantity, and encoded, by discrete width
Value becomes binary digit after quantization;
After S13, capture card power-up online, the address of DHCP, that is, dynamic host configuration protocol is obtained, capture card passes through at this time
PLC serial ports sends an AT instruction to communication module, and passes through Arduino and the control of microprocessor embedded system is write to PLC
Program with complete the acquisition of signal and processing task.
S2, as shown in Fig. 2, by step S1 obtain digital signal after, passed through using PLC connection communication modules self-defined
Agreement (as shown in table 1) is established to cloud platform server and is connected, and the connection is safeguarded in registration, and real time data is sent to cloud platform
Server, while heartbeat packet as shown in Figure 4 is established, shown heartbeat packet is used to detect the connection and biography of each remote terminal
Transmission of data;The TCP/IP is network communication protocol, it includes application layer, transport layer, Interconnection Network Layer, network interface layer;Institute
State the rule of communication of agreement, i.e. both sides that custom protocol is TCP/IP application layers.According to the rule of communication, in TCP packets
Specific data are read, are exactly the data packet of upper layer application.Step S2 specifically includes following step:
When S21, remote terminal want transmission data, cloud is sent to PLC by custom protocol from cloud platform server first
Platform Server request message (message format is as shown in table 1), the first character of the message are type of messages, and PLC is according to disappearing
Breath type identification whether should read the message and which command set the message belongs to;It is equipment after type of message
Number is represented with two characters, network connection is carried out with RJ-45, to distinguish corresponding device;It is to solve after device numbering
The order or data of reading;
S22, PLC return to capture card after cloud platform server request message is confirmed, to cloud platform server and respond report
Literary (message format is as shown in table 1);Equally, when capture card back message is sent can before message plus type of message and
Device numbering, also thus data discrimination wherefrom, in the data of return, to include the unique of the equipment cloud platform server
Hardware id information;After cloud platform server receives capture card back message, remote terminal is successfully built with cloud platform server
Vertical TCP/IP connections, and send gathered data message to cloud platform server;
1 custom protocol form of table
S23, cloud platform server read gathered data message by non-blocking fashion, read function and ceaselessly carry out reading to move
Make, judge when cycle read-write terminates using length, go to read gathered data report further according to the length value of length
Text;If cloud platform server is not received by gathered data message, time-out time is specified, time-out is returned after waiting for a period of time
It returns;
S24, cloud platform server receive remote terminal and send back the gathered data message come, that is, carry out understanding inspection
Operation;After having checked, then a determining character string is sent to remote terminal, to illustrate that cloud platform server has succeeded
Receive the character string;And if reading failure, cloud platform server require remote terminal retransmission to adopt in the character string of loopback
Collect data message;In addition it when gathered data message is sent, finally adds and checks character in gathered data message, the check word
Symbol judges the correctness of gathered data message for receiving-transmitting sides inspection;
S25, before remote terminal transceiving data, remote terminal initiates the connection request, cloud platform to cloud platform server
Server receives remote terminal connection, and both sides establish TCP/IP connections, wherein remote terminal and cloud platform server head
Connection is set as keep-alive, i.e., long linking scheme;
S26, cloud platform server receive the digital dictionary OnlinCounter of remote terminal connection generation<User,int>,
It is corresponding that if remote terminal returns to heartbeat, number dictionary OnlinCounter [User] ++, otherwise OnlinCounter [User]
=0, when OnlinCounter [User]=0 number be more than self-defined threshold value, be judged as that remote terminal disconnects, Yun Ping
Platform server re-initiates connection;Wherein, the SO_KEEPALIVE in custom protocol is set, with setsockopt by SOL_
SOCKET.SO_KEEPALIVE is set as 1, while sets three parameter tcp_keepalive_time/ connections are idle to start to send out
ACK packet times of keepalive, tcp_keepalive_probes/ hair ACK packets do not reply think connection disconnection quantity,
And the time interval between two ACK packets of tcp_keepalive_intvl/.
S3, after establishing connection by PLC in step S2 and cloud platform server, cloud platform server timely processing is from remote
The access of journey terminal, registration and maintenance and the connection of remote terminal, it is corresponding for its distribution using ripe Netty threading models
Thread process response, send request and response to registered corresponding thread process, establish Netty lines as shown in Figure 3
Journey illustraton of model;Specifically include following step:
S31, user thread initialization remote terminal resources, initiate the connection operation;
S32, NioEventLoop randomly select a thread as receiver, monitor remote terminal connection, return simultaneously
It returns, not blocked user thread;
S33, the SocketChannel of remote terminal is registered on other Reactor threads in main thread pond, by institute
State the operations such as other Reactor threads are responsible for access authentication, IP black and white lists are filtered, shaken hands;
S34, a thread is randomly selected as IO threads, handle net reading and writing event, the select functions of kernel is called to examine
Socket states are looked into, system message queue and timed message queue is performed, prevents the race problem locked during concurrent operations;
S35, event is read and write by the I/O of IO thread special disposal networks, i.e. a thread only handles one in the same time
The I/O operation of channel.
S4, by the good computing resource of step S3 cloud platforms server-assignment after, cloud platform server to terminal acquisition module reality
When collected data carry out category filter, mass data is handled and is stored on cloud platform server, the processing
Including to magnanimity structuring, semi-structured data carry out distributed variable-frequencypump, and integrated structured data-query interfaces with
Partly-structured data query interface;Statistical data in computer end or mobile terminal real-time exhibition and counts data again
Analysis, is macroscopically grasping each remote terminal situation;As shown in Figure 1, cloud platform server acquires terminal acquisition module in real time
The data arrived carry out category filter, specifically include following step:
S41, terminal acquisition module in real time collected data be transmitted in the form of binary code cloud platform server it
Afterwards, each byte meaning is parsed according to custom protocol;
S42, the data of ID, model, time, number and unlatching reason included to capture card data carry out whole
It closes, is encapsulated into recordInfo;
S43, according to recordInfo, data update display control end is shown, and be stored in database;Data are written
Database to realize data persistence, does data buffer storage so that each same queries after first time all pass through with Redis
It is obtained in caching, greatly improves the performance and robustness of application;Needs are updated the data, it can be by certain amount or one
The modification fixed time is cached, and finally carries out an I/O operation, the update of data will be asynchronously saved on disk;
S44, after data transmission is to cloud platform server, be shown and control by display control end, chart is adopted
It is analyzed and shown with Echart, it is for statistical analysis to the data of storage, macroscopically grasping each remote terminal situation;
S45, data transmission whole cycle process be recorded to logger module, meet the performance test of server
Work and maintenance work needs, can be arranged as required to daily record output content, output level (info, debug, warn,
Error etc.), the way of output (console, file etc.);
S5, remote terminal is sent by step S4 cloud platforms server and is asked, using browser and cloud platform server into
Row connection, terminal control module is sent instructions to by display control end, and all kinds of Intelligent hardware facilities of terminal device are carried out
Remote control;As shown in Figure 1, sending instructions to terminal control module by display control end, following step is specifically included:
S51, display control end and cloud platform server are established after TCP/IP connect, and send handshake request, subsequent cloud is put down
Platform server sends handshake response, completes to shake hands;
S52, Websocket agreement transmit control instruction data message by serialized data frame (form is as shown in 1);
S53, cloud platform server send instructions to terminal control module by display control end, and terminal device is carried out
Remote control;Its remote control signal amount is by terminal control module in remote terminal, and executing agency, control are driven by PLC
Terminal device processed;
In the present embodiment, the microprocessor is ARM32 technical grade MCU, and network interface specification is RJ-45;
The communication module includes 2/3/4G modules or wifi module;
The custom protocol include cloud platform server request message, capture card back message, gathered data message,
And instruction controlled data message;
The remote terminal includes terminal acquisition module and terminal control module;The terminal acquisition module is set for terminal
Standby detection instrument, for acquisition terminal device signal;The terminal acquisition module specifically include infrared induction instrument, GPS and
Ammonia detector;The terminal control module is for storing collected signal, A/D conversions, connects cloud platform service
Executing agency's action that device and reception display control end are sent through cloud platform server, remotely controls terminal device
System;Terminal device is detected instrument especially by PLC for terminal control module and executing agency has connect with cloud platform server
Come, receive the operational order of cloud platform server, executing agency's action of control terminal equipment;
The display control end includes computer or mobile terminal;
The terminal control module specifically includes PLC and executing agency;
The executing agency is Electric Actuator, and valve switch operation and the adjusting of rate-of flow are carried out to terminal device;
It includes two kinds of Switching Electric Actuator and regulating motor-driven actuator, and Switching Electric Actuator is performing valve operation
When there was only the action of open and close two, valve can only be enabled to be in standard-sized sheet or fully closed state.Switching Electric Actuator cannot control
The amplitude of valve switch can not accurately control rate-of flow.Regulating motor-driven actuator opens valve in addition to having
Other than the control function of pass, moreover it is possible to the open amount of valve is accurately controlled, to reach the accurate control to rate-of flow;
In the present embodiment, two kinds of Electric Actuator are used.
The PLC is programmable logic controller (PLC), by power supply, CPU, memory, I/O input-output units, communication unit
Composition, be responsible for the acquisitions of remote terminal data, A/D is converted, with the communication of cloud platform server and to terminal device into
Row control;The terminal device includes toilet facility, sensor, RFID reader, laser scanner and embedded device.
In the present embodiment, the toilet facility, including lavatory light, exhaust fan, sterilamp, air curtain and sound equipment etc.;
Wisdom lavatory in the present embodiment will be transformed traditional lavatory, install required sensor and sent out including signal
Emitter, intellectual water meter, intelligent electric meter, display screen etc..
There are three levels for the system of the present invention:
1st, sensing layer:Obtain the information of user and lavatory, sensor in time using light sensor, infrared induction instrument etc.
After obtaining relevant information, for example it is collected after flow of the people, water consumption, electricity consumption by PLC.
2nd, network layer:It analog signal is converted into digital signal is sent to cloud by communication module through custom protocol putting down
Platform server, and the data of dispersion are subject to tissue utilization and are converted into big data;
3rd, application layer:Intelligent public lavatory data analysis cloud platform server, can be to the operation number of intelligent public lavatory hardware facility
According to being acquired, analyzing, the operating status of hardware facility is monitored, note abnormalities behavior in time, and hardware facility can be carried out
Remote control.
Finally it should be noted that:The foregoing is merely the preferred embodiment of the present invention, are not intended to restrict the invention.To the greatest extent
Pipe is with reference to the foregoing embodiments described in detail the present invention, but for a person skilled in the art, still can be with
It modifies to the technical solution recorded in previous embodiment or equivalent replacement is carried out to which part technical characteristic.It is all
Any modification, equivalent replacement and improvement made in the spirit and principles in the present invention etc. should be included in the protection model of the present invention
Within enclosing.
Claims (10)
1. a kind of exchange method based on custom protocol and Netty frames, which is characterized in that include the following steps:
S1, the real time environment using PLC connection terminal acquisition module detection terminal equipment acquire all kinds of switching values, analog quantity
Collected analog signal is converted into digital signal by real time data;The PLC is programmable logic controller (PLC);
S2, by step S1 obtain digital signal after, pass through custom protocol and cloud platform service using PLC connection communications module
Device establishes TCP/IP connections, and registration safeguards the connection, real time data is sent to cloud platform server, while establish heartbeat packet,
The heartbeat packet is used to detect the connection of each remote terminal and transmits data;The custom protocol is TCP/IP application layers
Agreement, i.e. the rule of communication of PLC and cloud platform server;
S3, after establishing connection by PLC in step S2 and cloud platform server, cloud platform server timely processing comes from remote terminal
Access, registration and safeguard with the connection of remote terminal, be the access point of remote terminal using ripe Netty threading models
It is responded with corresponding thread process, request and response is sent to registered corresponding thread process;
S4, by the good computing resource of step S3 cloud platforms server-assignment after, cloud platform server adopts terminal acquisition module in real time
The data collected carry out category filter, and mass data is handled and stored on cloud platform server, is existed to statistical data
Computer or mobile terminal progress real-time exhibition are simultaneously for statistical analysis to data, in the situation for macroscopically grasping each terminal device;
S5, terminal device is monitored in real time by terminal acquisition module by step S4 cloud platforms server, passes through display control end
It is attached with cloud platform server, custom instruction is sent to terminal control module, to all kinds of Intelligent hardwares of terminal device
Facility carries out remote control.
2. the exchange method based on custom protocol and Netty frames according to claims 1, which is characterized in that institute
PLC is stated as programmable logic controller (PLC), is made of power supply, CPU, memory, I/O input-output units, communication unit, responsible pair
The acquisitions of remote terminal data, A/D conversions, with the communication of cloud platform server and controlling terminal device;The end
End equipment includes toilet facility, sensor, RFID reader, laser scanner and embedded device.
3. the exchange method based on custom protocol and Netty frames according to claims 1, which is characterized in that institute
It states remote terminal and includes terminal acquisition module and terminal control module;The terminal acquisition module detects instrument for terminal device,
For acquisition terminal device signal;Terminal acquisition module specifically includes infrared induction instrument, GPS and ammonia detector;The end
End control module is for storing collected signal, A/D conversions, connects cloud platform server and receives display control
Executing agency's action that end processed is sent through cloud platform server, remote control is carried out to terminal device;Terminal control module is specific
Terminal device is detected by instrument by PLC and executing agency connects with cloud platform server, receives cloud platform server
Operational order, executing agency's action of control terminal equipment;The display control end includes computer or mobile terminal;The terminal control
Molding block specifically includes PLC and executing agency, and the executing agency is Electric Actuator, and valve switch behaviour is carried out to terminal device
Make the adjusting with rate-of flow.
4. the exchange method based on custom protocol and Netty frames according to claims 1, which is characterized in that step
Following steps are specifically included in rapid S1:
S11, capture card detect analog signal by terminal acquisition module and it are sampled;
S12, capture card are converted to analog quantity to collected signal by A/D, this analog quantity, which is divided into n group component, carrys out group
It into digital quantity so that digital display circuit identifies, with digital quantity Precise Representation analog quantity, and is encoded, by discrete amplitude by quantifying
Become binary digit later;
After S13, capture card power-up online, the address of DHCP, that is, dynamic host configuration protocol is obtained, capture card is gone here and there by PLC at this time
Mouthful send AT instruction to communication module, and pass through Arduino PLC is write microprocessor embedded system control program with
Complete the acquisition of signal and processing task.
5. the exchange method based on custom protocol and Netty frames according to claims 1, which is characterized in that step
Following steps are specifically included in rapid S2:
When S21, remote terminal will send gathered data, cloud is sent to PLC by custom protocol from cloud platform server first
Platform Server request message, the first character of the message is type of message, and whether PLC should read according to type of message identification
Take which command set the message and the message belong to;It is device numbering after type of message, is represented with two characters, is used
To distinguish corresponding device;It is the order or data to be understood after device numbering;
S22, PLC return to capture card back message after cloud platform server request message is confirmed, to cloud platform server;Together
Sample, can add type of message and device numbering before message when capture card back message is sent, cloud platform server also by
This data discrimination comes wherefrom, in the data of return, the unique hardware id information comprising the equipment;It is connect in cloud platform server
After receiving capture card back message, remote terminal is successfully established with cloud platform server and connect, and is sent to cloud platform server
Gathered data message;
S23, cloud platform server read gathered data message by non-blocking fashion, read function and ceaselessly carry out reading action, profit
Judge when cycle read-write terminates with length, go to read gathered data message further according to the length value of length;If
Cloud platform server is not received by gathered data message, specifies time-out time, overtime return after waiting for a period of time;
S24, cloud platform server receive remote terminal and send back the gathered data message come, that is, carry out understanding the operation of inspection;
After having checked, then a determining character string is sent to be adopted to remote terminal to illustrate that cloud platform server has had successfully received
Collect data message;And if reading failure, cloud platform server require remote terminal to retransmit acquisition in the character string of loopback
Data message;In addition it when gathered data message is sent, finally adds and checks character in gathered data message, the use of checking character
Judge the correctness of gathered data message in receiving-transmitting sides inspection;
S25, before remote terminal transceiving data, cloud platform server initiates the connection request to remote terminal, and remote terminal connects
It is connected by cloud platform server, both sides establish TCP/IP connections, wherein needing remote terminal and cloud platform server head
Connection is set as keep-alive, i.e., long linking scheme;
S26, remote terminal with establish connection with Platform Server during, it is remote to prevent intermediate node failure from causing
Journey terminal need to establish heartbeat packet, for maintaining long connection with being disconnected with Platform Server;Cloud platform server receives long-range
The digital dictionary OnlinCounter of terminal connection generation<User,int>If it is corresponding that remote terminal returns to heartbeat, digital dictionary
OnlinCounter [User] ++, otherwise OnlinCounter [User]=0, when the number of OnlinCounter [User]=0
More than self-defined threshold value, it is judged as that remote terminal disconnects, cloud platform server re-initiates connection;Wherein, setting is made by oneself
SOL_SOCKET.SO_KEEPALIVE is set as 1 with setsockopt, set simultaneously by the SO_KEEPALIVE in adopted agreement
Idle ACK packet times, the tcp_keepalive_ for starting to send out keepalive of three parameter tcp_keepalive_time/ connections
Probes/ hair ACK packets do not reply think connection disconnection two ACK packets of quantity and tcp_keepalive_intvl/ it
Between time interval.
6. the exchange method based on custom protocol and Netty frames according to claims 1, which is characterized in that step
Following steps are specifically included in rapid S3:
S31, user thread initialization remote terminal resources, initiate the connection operation;
S32, NioEventLoop randomly select a thread as receiver, monitor remote terminal connection, return, do not hinder simultaneously
Fill in user thread;
S33, the SocketChannel of remote terminal is registered on other Reactor threads in main thread pond, by described other
Reactor threads are responsible for access authentication, the filtering of IP black and white lists and the operation shaken hands;
S34, a thread is randomly selected as IO threads, handle net reading and writing event, call the select function inspections of kernel
Socket states perform system message queue and timed message queue;
S35, event is read and write by the I/O of IO thread special disposal networks.
7. the exchange method based on custom protocol and Netty frames according to claims 1, which is characterized in that step
Following steps are specifically included in rapid S4:
Collected data are transmitted in the form of binary code after cloud platform server in real time for S41, terminal acquisition module, root
Each byte meaning is parsed according to custom protocol;
S42, the data of ID, model, time, number and unlatching reason included to capture card data are integrated, and are encapsulated
Into recordInfo;
S43, according to recordInfo, data update is shown, and be stored in database at display control end;Data are written in data
Data buffer storage to realize data persistence, is done so that each same queries after first time all pass through data in library with Redis
Caching obtains, and for updating the data, the modification of quantity or time are cached, finally I/O operation of progress, and data
Update will asynchronously be saved on disk;
S44, after data transmission is to cloud platform server, be shown and control by display control end, to the data of storage
It is for statistical analysis, macroscopically grasping remote terminal situation;Wherein, chart data is using Echart analysis displayings;
S45, data transmission whole cycle process be recorded to logger module, meet the performance test of cloud platform server
Work and the needs of maintenance work are arranged as required to output content, output level and the way of output of daily record, the output stage
Do not include:Info, debug, warn and error;The way of output includes:Console and file.
8. the exchange method based on custom protocol and Netty frames according to claims 1, which is characterized in that step
Following steps are specifically included in rapid S5:
S51, display control end are established TCP/IP with cloud platform server and are connect, and send handshake request, subsequent cloud platform server
Handshake response is sent, completes to shake hands;
S52, Websocket agreement transmit instruction controlled data message by serialized data frame;
S53, cloud platform server send instructions to terminal control module by display control end, and terminal device is remotely controlled
System;Its remote control signal amount is by terminal control module in remote terminal, and executing agency, control terminal are driven by PLC
Equipment.
9. the exchange method based on custom protocol and Netty frames according to claims 1, which is characterized in that
In step S2, the communication module includes 2/3/4G modules or wifi module.
10. the exchange method based on custom protocol and Netty frames according to claims 5, which is characterized in that institute
It states custom protocol and includes cloud platform server request message, capture card back message, gathered data message and instruction control
Data message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711417696.8A CN108234614B (en) | 2017-12-25 | 2017-12-25 | Interaction method based on custom protocol and Netty framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711417696.8A CN108234614B (en) | 2017-12-25 | 2017-12-25 | Interaction method based on custom protocol and Netty framework |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108234614A true CN108234614A (en) | 2018-06-29 |
CN108234614B CN108234614B (en) | 2020-02-18 |
Family
ID=62648716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711417696.8A Active CN108234614B (en) | 2017-12-25 | 2017-12-25 | Interaction method based on custom protocol and Netty framework |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108234614B (en) |
Cited By (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769072A (en) * | 2018-07-03 | 2018-11-06 | 湖北文理学院 | Establish the method, apparatus and communication system of connection |
CN109151762A (en) * | 2018-10-19 | 2019-01-04 | 海南易乐物联科技有限公司 | A kind of the asynchronous process system and processing method of high concurrent acquisition data |
CN109270885A (en) * | 2018-10-26 | 2019-01-25 | 苏州华兴源创科技股份有限公司 | Monitor data communications method, device, equipment and the storage medium of PLC system |
CN109309599A (en) * | 2018-09-06 | 2019-02-05 | 华南理工大学 | A method of the communication of internet of things equipment high concurrent is realized based on street lamp hardware platform |
CN109408240A (en) * | 2018-10-31 | 2019-03-01 | 四川长虹电器股份有限公司 | Terminal device data collection system based on Netty frame |
CN109474493A (en) * | 2018-12-05 | 2019-03-15 | 歌尔股份有限公司 | Communication means and system with self-checking function |
CN109474663A (en) * | 2018-09-26 | 2019-03-15 | 西安诚迈软件科技有限公司 | A kind of method and intelligent terminal of intelligent terminal and single chip communication |
CN110275858A (en) * | 2019-05-17 | 2019-09-24 | 南京南瑞继保电气有限公司 | A kind of information processing method, terminal and computer readable storage medium |
CN110995859A (en) * | 2019-12-17 | 2020-04-10 | 四川赛康智能科技股份有限公司 | Intelligent transformer substation supporting platform system based on ubiquitous Internet of things |
CN111010338A (en) * | 2019-12-23 | 2020-04-14 | 深圳物控智联科技有限公司 | Internet of things gateway |
CN111024140A (en) * | 2019-12-26 | 2020-04-17 | 汕头东风印刷股份有限公司 | Arduino-based equipment operation data acquisition method and device |
CN111064792A (en) * | 2019-12-19 | 2020-04-24 | 北京航天云路有限公司 | Method for accelerating data acquisition of sensor equipment based on QUIC protocol |
CN111338780A (en) * | 2020-02-28 | 2020-06-26 | 中国工商银行股份有限公司 | Transmission method and device for concurrent files |
CN111614752A (en) * | 2020-05-19 | 2020-09-01 | 北京百度网讯科技有限公司 | Method and device for data transmission |
CN111711996A (en) * | 2020-08-20 | 2020-09-25 | 飞天诚信科技股份有限公司 | Method and device for stable transmission of TCP communication |
CN111800510A (en) * | 2020-07-07 | 2020-10-20 | 北京微步在线科技有限公司 | Data processing method and device based on long connection between nodes and readable storage medium |
CN111833679A (en) * | 2020-05-05 | 2020-10-27 | 武汉理工大学 | Heat exchanger virtual simulation experiment platform for measuring data |
CN113329064A (en) * | 2021-05-13 | 2021-08-31 | 河南中州智慧水利研究院有限公司 | Communication method of Internet of things interaction protocol based on water conservancy data acquisition and control |
CN113358100A (en) * | 2021-05-25 | 2021-09-07 | 电子科技大学 | Embedded unmanned aerial vehicle real-time target recognition system with YOLO4 improved algorithm |
CN113379956A (en) * | 2021-08-11 | 2021-09-10 | 四川智优羊科技有限公司 | Netty4 pipeline cross-network protocol communication method applied to campus access control |
CN113486095A (en) * | 2020-06-15 | 2021-10-08 | 中国民用航空局空中交通管理局 | Civil aviation air traffic control cross-network safety data exchange management platform |
CN113609048A (en) * | 2021-07-20 | 2021-11-05 | 国网天津市电力公司 | Cloud-side business collaborative interaction method for power Internet of things |
CN113938528A (en) * | 2021-12-17 | 2022-01-14 | 岚图汽车科技有限公司 | Vehicle-enterprise custom data communication method and system between vehicle end and cloud end |
CN114167794A (en) * | 2021-12-20 | 2022-03-11 | 苏州易助能源管理有限公司 | Remote data acquisition system and data acquisition method for intelligent electric meter |
CN114374992A (en) * | 2021-12-30 | 2022-04-19 | 江苏创通电子股份有限公司 | Method for obtaining peripheral terminal information by analyzing wireless message through distribution equipment |
CN114390087A (en) * | 2021-12-16 | 2022-04-22 | 航天信息股份有限公司 | Control method and system for data acquisition equipment of tax-control oiling machine |
CN114827143A (en) * | 2022-04-11 | 2022-07-29 | 广东省离散智造科技创新有限公司 | Discrete data acquisition method and system, cloud server and edge computing terminal |
CN114815707A (en) * | 2022-05-17 | 2022-07-29 | 重庆伏特猫科技有限公司 | Intelligent device control method and system based on Netty network framework |
CN114915382A (en) * | 2022-05-16 | 2022-08-16 | 南京航空航天大学 | AGV wireless communication disconnection retransmission and data packet sticking processing method |
CN115102952A (en) * | 2022-06-22 | 2022-09-23 | 睿云联(厦门)网络通讯技术有限公司 | Method, device and medium for connecting terminal product with cloud platform through local server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202975758U (en) * | 2012-08-15 | 2013-06-05 | 重庆水务集团股份有限公司 | Unattended-pumping station coordinated-control system for city water-supply industry |
CN105652787A (en) * | 2016-04-15 | 2016-06-08 | 南京工程学院 | Remote monitoring system for chlorine dioxide generation device based on cloud platform |
WO2017112365A1 (en) * | 2015-12-23 | 2017-06-29 | Intel Corporation | Managing communication congestion for internet of things devices |
-
2017
- 2017-12-25 CN CN201711417696.8A patent/CN108234614B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202975758U (en) * | 2012-08-15 | 2013-06-05 | 重庆水务集团股份有限公司 | Unattended-pumping station coordinated-control system for city water-supply industry |
WO2017112365A1 (en) * | 2015-12-23 | 2017-06-29 | Intel Corporation | Managing communication congestion for internet of things devices |
CN105652787A (en) * | 2016-04-15 | 2016-06-08 | 南京工程学院 | Remote monitoring system for chlorine dioxide generation device based on cloud platform |
Non-Patent Citations (3)
Title |
---|
刘学多: "物联网远程设备管理平台设计与实现", 《南京邮电大学专业学位硕士论文》 * |
陈海明等: "物联网体系结构与实现方法的比较研究", 《计算机学报》 * |
陈海明等: "面向服务的物联网软件体系结构设计与模型检测", 《计算机学报》 * |
Cited By (38)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769072A (en) * | 2018-07-03 | 2018-11-06 | 湖北文理学院 | Establish the method, apparatus and communication system of connection |
CN109309599A (en) * | 2018-09-06 | 2019-02-05 | 华南理工大学 | A method of the communication of internet of things equipment high concurrent is realized based on street lamp hardware platform |
CN109474663A (en) * | 2018-09-26 | 2019-03-15 | 西安诚迈软件科技有限公司 | A kind of method and intelligent terminal of intelligent terminal and single chip communication |
CN109151762A (en) * | 2018-10-19 | 2019-01-04 | 海南易乐物联科技有限公司 | A kind of the asynchronous process system and processing method of high concurrent acquisition data |
CN109270885A (en) * | 2018-10-26 | 2019-01-25 | 苏州华兴源创科技股份有限公司 | Monitor data communications method, device, equipment and the storage medium of PLC system |
CN109408240A (en) * | 2018-10-31 | 2019-03-01 | 四川长虹电器股份有限公司 | Terminal device data collection system based on Netty frame |
CN109474493B (en) * | 2018-12-05 | 2020-12-22 | 歌尔光学科技有限公司 | Communication method and system with self-checking function |
CN109474493A (en) * | 2018-12-05 | 2019-03-15 | 歌尔股份有限公司 | Communication means and system with self-checking function |
CN110275858A (en) * | 2019-05-17 | 2019-09-24 | 南京南瑞继保电气有限公司 | A kind of information processing method, terminal and computer readable storage medium |
CN110995859A (en) * | 2019-12-17 | 2020-04-10 | 四川赛康智能科技股份有限公司 | Intelligent transformer substation supporting platform system based on ubiquitous Internet of things |
CN111064792A (en) * | 2019-12-19 | 2020-04-24 | 北京航天云路有限公司 | Method for accelerating data acquisition of sensor equipment based on QUIC protocol |
CN111010338A (en) * | 2019-12-23 | 2020-04-14 | 深圳物控智联科技有限公司 | Internet of things gateway |
CN111024140A (en) * | 2019-12-26 | 2020-04-17 | 汕头东风印刷股份有限公司 | Arduino-based equipment operation data acquisition method and device |
CN111338780A (en) * | 2020-02-28 | 2020-06-26 | 中国工商银行股份有限公司 | Transmission method and device for concurrent files |
CN111338780B (en) * | 2020-02-28 | 2023-03-31 | 中国工商银行股份有限公司 | Transmission method and device for concurrent files |
CN111833679A (en) * | 2020-05-05 | 2020-10-27 | 武汉理工大学 | Heat exchanger virtual simulation experiment platform for measuring data |
CN111614752A (en) * | 2020-05-19 | 2020-09-01 | 北京百度网讯科技有限公司 | Method and device for data transmission |
CN113486095A (en) * | 2020-06-15 | 2021-10-08 | 中国民用航空局空中交通管理局 | Civil aviation air traffic control cross-network safety data exchange management platform |
CN111800510A (en) * | 2020-07-07 | 2020-10-20 | 北京微步在线科技有限公司 | Data processing method and device based on long connection between nodes and readable storage medium |
CN111711996A (en) * | 2020-08-20 | 2020-09-25 | 飞天诚信科技股份有限公司 | Method and device for stable transmission of TCP communication |
CN113329064A (en) * | 2021-05-13 | 2021-08-31 | 河南中州智慧水利研究院有限公司 | Communication method of Internet of things interaction protocol based on water conservancy data acquisition and control |
CN113358100A (en) * | 2021-05-25 | 2021-09-07 | 电子科技大学 | Embedded unmanned aerial vehicle real-time target recognition system with YOLO4 improved algorithm |
CN113609048A (en) * | 2021-07-20 | 2021-11-05 | 国网天津市电力公司 | Cloud-side business collaborative interaction method for power Internet of things |
CN113609048B (en) * | 2021-07-20 | 2023-05-23 | 国网天津市电力公司 | Cloud edge service collaborative interaction method for electric power Internet of things |
CN113379956A (en) * | 2021-08-11 | 2021-09-10 | 四川智优羊科技有限公司 | Netty4 pipeline cross-network protocol communication method applied to campus access control |
CN114390087A (en) * | 2021-12-16 | 2022-04-22 | 航天信息股份有限公司 | Control method and system for data acquisition equipment of tax-control oiling machine |
CN113938528B (en) * | 2021-12-17 | 2022-03-08 | 岚图汽车科技有限公司 | Vehicle-enterprise custom data communication method and system between vehicle end and cloud end |
CN113938528A (en) * | 2021-12-17 | 2022-01-14 | 岚图汽车科技有限公司 | Vehicle-enterprise custom data communication method and system between vehicle end and cloud end |
CN114167794A (en) * | 2021-12-20 | 2022-03-11 | 苏州易助能源管理有限公司 | Remote data acquisition system and data acquisition method for intelligent electric meter |
CN114374992A (en) * | 2021-12-30 | 2022-04-19 | 江苏创通电子股份有限公司 | Method for obtaining peripheral terminal information by analyzing wireless message through distribution equipment |
CN114827143A (en) * | 2022-04-11 | 2022-07-29 | 广东省离散智造科技创新有限公司 | Discrete data acquisition method and system, cloud server and edge computing terminal |
CN114827143B (en) * | 2022-04-11 | 2023-12-12 | 广东省离散智造科技创新有限公司 | Discrete data acquisition method, system, cloud server and edge computing terminal |
CN114915382A (en) * | 2022-05-16 | 2022-08-16 | 南京航空航天大学 | AGV wireless communication disconnection retransmission and data packet sticking processing method |
CN114915382B (en) * | 2022-05-16 | 2024-03-22 | 南京航空航天大学 | AGV wireless communication offline retransmission and data packet sticking processing method |
CN114815707A (en) * | 2022-05-17 | 2022-07-29 | 重庆伏特猫科技有限公司 | Intelligent device control method and system based on Netty network framework |
CN114815707B (en) * | 2022-05-17 | 2023-04-07 | 重庆伏特猫科技有限公司 | Intelligent device control method and system based on Netty network framework |
CN115102952B (en) * | 2022-06-22 | 2023-04-07 | 睿云联(厦门)网络通讯技术有限公司 | Method, device and medium for connecting terminal product with cloud platform through local server |
CN115102952A (en) * | 2022-06-22 | 2022-09-23 | 睿云联(厦门)网络通讯技术有限公司 | Method, device and medium for connecting terminal product with cloud platform through local server |
Also Published As
Publication number | Publication date |
---|---|
CN108234614B (en) | 2020-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108234614A (en) | A kind of exchange method based on custom protocol and Netty frames | |
CN109271412A (en) | The real-time streaming data processing method and system of smart city | |
CN109920295A (en) | A kind of intelligent industrial internet teaching experience system and method | |
CN103281366A (en) | Embedded agency monitoring device and method supporting real-time operating state acquiring | |
CN103929485B (en) | The safe long-distance monitorng device based on embedded Web | |
CN202837985U (en) | GPRS-communication based remote online monitoring system for sewage treatment equipment | |
CN105589438A (en) | Intelligent mobile communication base station energy management system | |
CN109062590A (en) | A kind of method and system of game SDK online updating | |
CN102427417A (en) | System and method for remotely controlling Internet of things access equipment | |
CN106027351A (en) | Embedded Web server Profibus fault diagnosis communication module | |
CN111242807A (en) | Method for accessing data of transformer substation into ubiquitous power Internet of things | |
CN106130897B (en) | Performance optimization method based on Router Simulation | |
CN109495551A (en) | A kind of intelligent monitor system and its collecting method | |
Tian et al. | Substation sensing monitoring system based on power internet of things | |
CN106790699A (en) | A kind of diesel engine cloud monitoring and cloud management system | |
CN104967667B (en) | A kind of software stability test remote monitoring system based on cloud service | |
CN109901972A (en) | A kind of monitoring journal obtaining method, device, equipment and medium based on BMC | |
CN113535379A (en) | Power transformation edge calculation method, system and equipment based on Internet of things | |
TWI537743B (en) | Remote management method and the apparatus thereof | |
CN208924267U (en) | A kind of energy gateway apparatus | |
CN109802943A (en) | Data acquisition device | |
CN211509062U (en) | Communication management machine and communication system | |
CN108055319A (en) | A kind of system and method for remote control Internet of things access equipment | |
DE212021000093U1 (en) | Signal acquisition device for an energy environment monitoring system | |
CN113420079A (en) | Data management method, system, terminal and storage medium of environment-friendly monitoring platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |