CN108650273A - A kind of internet of things equipment communications protocol Adaptive Control Method and its control system - Google Patents

A kind of internet of things equipment communications protocol Adaptive Control Method and its control system Download PDF

Info

Publication number
CN108650273A
CN108650273A CN201810481477.4A CN201810481477A CN108650273A CN 108650273 A CN108650273 A CN 108650273A CN 201810481477 A CN201810481477 A CN 201810481477A CN 108650273 A CN108650273 A CN 108650273A
Authority
CN
China
Prior art keywords
module
control
internet
data
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810481477.4A
Other languages
Chinese (zh)
Inventor
史亚东
严浠华
Original Assignee
Shenzhen Yuan Ti Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yuan Ti Technology Co Ltd filed Critical Shenzhen Yuan Ti Technology Co Ltd
Priority to CN201810481477.4A priority Critical patent/CN108650273A/en
Publication of CN108650273A publication Critical patent/CN108650273A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention discloses a kind of internet of things equipment communications protocol Adaptive Control Methods comprising following steps:Various types of transmission links are converted to unified transport layer link by system controlling transmission module;The adapter control module carries out instruction control by the way of unified to the equipment of each transmission link;System controls operating parameter of the monitoring work module/transparent transmission operational module according to setting, carries out each device data acquisition and remote control instruction issues or data forwarding;Master scheduling service module receives the data that the monitoring work module reports, and reports to server, while the master scheduling service module receives the control instruction of the server-side, and is distributed to the corresponding progress of work;And a kind of internet of things equipment communications protocol is adapted to control system.It can complete the functions such as more communication managements, the update of protocol adaptor heat, data acquisition board setting, data buffer storage, area business logical process, can be widely applied to Internet of Things field.

Description

A kind of internet of things equipment communications protocol Adaptive Control Method and its control system
Technical field
The present invention relates to Internet of Things field, specially internet of things equipment communications protocol Adaptive Control Method and its control system System.
Background technology
59 reliabilities:In a computer, 99.999 (being commonly referred to as " 59 ") refer in a specified computer The availability percentage thirsted in system, 59 temporal expressions are (1-99.999%) * 365*24*60=5.26 minutes, Indicate that the system at most possible business interruption time accumulation in 1 year of continuous operation is 5.26 minutes.
Heat is replaced:Do not shut down, restarting equipment or under the premise of reset routine, to be currently running system hardware module or Software module is replaced so that is currently running functionally or logically changing immediately for system, this mechanism is referred to as heat and replaces It changes.
In Internet of Things, each internet of things sensors and terminal device will be linked into internet, but some equipment are Simple electronic equipment, only simple bus communication function (such as serial communication RS232) do not have at complicated IP protocol stack Reason ability, thus internet communication cannot be carried out, in this case it is necessary to a kind of conversion equipment is interfaced, it can With internet communication.
In existing Internet of Things application, some accesses and conversion equipment have the following disadvantages:
1) for different types of sensor or device end, different types of Changer Device is needed, if an object There are a large amount of different sensors or device end in networking, it may be desirable to which the converter for the quantity that is corresponding to it leads to hardware input amount Greatly, of high cost, equipment operation management is of high cost.
2) many converters only provide communications protocol conversion, cannot complete the function of complicated service layer, such as uninterrupted The functions such as the coordination control between independent data acquisition, local data cache, local data analysis, local multiple equipment.
3) prior art is difficult to realize the update of equipment inner function module heat, does not have remote upgrade ability generally, even if Has remote upgrade ability, upgrading every time will could enable new function by restarting equipment, restart the phase in connection equipment Between, the communication connection of meeting interrupt sensors or terminal device and internet may result in service disconnection.
To sum up, it is necessary to be improved for the technology.
Invention content
In order to solve the above-mentioned technical problem, the object of the present invention is to provide a kind of internet of things equipment communications protocol adaptations to control Method and its control system.
The technical solution adopted in the present invention is:
The present invention provides a kind of internet of things equipment communications protocol Adaptive Control Method comprising following steps:
Various types of transmission links are converted to unified transport layer link by system controlling transmission module, are adapter control Molding block provides unified coffret;
The adapter control module carries out instruction control by the way of unified to the equipment of each transmission link;
System controls monitoring work module and transparent transmission operational module according to the operating parameter of setting, carries out each device data and adopts Collect and remote control instruction issues or data forwarding;
Master scheduling service module receives the data that the monitoring work module reports, and reports to server, while described Master scheduling service module receives the control instruction of the server-side, and be distributed to corresponding monitoring work process or transparent transmission work into Journey.
As the improvement of the technical solution, the step further includes:Dispatching control module receives disappearing for server transmission Breath, and handled;Or the data-message that other modules are sent is forwarded to server by the dispatching control module.
As the improvement of the technical solution, when the monitoring work module is monitored work, system is according to operating parameter Institute's monitoring point list parameter is obtained, according to the Connecting quantity of itself and equipment access port, establishes data transfer layer, and then establish and set Standby adapter.
As the improvement of the technical solution, the system controls adapter by control instruction according to the shape of binary data stream Formula is sent to corresponding equipment by port.
As the improvement of the technical solution, when the monitoring work module and transparent transmission operational module are worked, each module According to the Connecting quantity of device port, opens port and establish the communication channel with the equipment, wherein transparent transmission operational module is same When according to parameter setting, directly connect with server.
When the monitoring work module is worked, system is opened and is set towards lower end according to the Connecting quantity of device port Standby port, and each monitoring point parameter corresponding to port, are communicated, root using corresponding protocol adaptor According to collection rule, circularly instruct from being sent to equipment, obtain the data of return, then by data be reported to master scheduling into Journey, while the instruction of master scheduling process is received, it is acted according to instruction execution, or forward instructions to equipment;The transparent transmission work When making module progress transparent transmission work, system opens the port of end equipment downwards according to the Connecting quantity of device port, and establishes With the communication channel of the equipment, the network port towards upper end remote service is opened, and establish the communication with remote server Channel, then by the data forwarding for coming from Upper passage to lower end passage, the data forwarding of lower end passage will be come to upper Hold channel.
Further, the method further includes:When to having, new module request is added system detectio or existing module needs to rise When grade, above-mentioned file is sent to server;Dispatching control module gets above- mentioned information, and downloads file to being locally stored, And it sends out module to the corresponding progress of work and replaces message to be replaced.
On the other hand, the present invention also provides a kind of internet of things equipment communications protocol to be adapted to control system comprising:
Uniform transmission interface control module, for executing step system controlling transmission module by various types of transmission links Unified transport layer link is converted to, uniform transmission interface is provided for adapter control module;
Monitoring work module, for executing adapter control module described in step by the way of unified to each transmission link Equipment carry out instruction control;
According to the operating parameter of setting, carries out each device data acquisition and remote control instruction issues or data report;
Transparent transmission operational module carries out data forwarding according to the operating parameter of setting;
Master scheduling service module receives the data that the monitoring work module reports, and reports to server, while described Master scheduling service module receives the control instruction of the server-side, and is distributed to the corresponding progress of work.
In another aspect, the present invention also provides a kind of internet of things equipment communications protocol to be adapted to control system comprising:
Central processing unit, communication module, interfaces for external devices module, general purpose interface bus module, the central processing unit It is connect respectively with communication module, interfaces for external devices module, general purpose interface bus;The wherein described interfaces for external devices module includes Serial ports, radio transmission control module and/or wired connection network interface and/or USB interface.
Further, the communication module includes wire communication and wireless communication.
Further, the control system further includes:Memory module, the memory module connect with the central processing unit It connects.
The beneficial effects of the invention are as follows:Internet of things equipment communications protocol Adaptive Control Method provided by the invention and its control System makes to have access into internet directly with the equipment of internet communication.It can be that those have internet The equipment of ability to communicate provides the ability of protocol adaptation and conversion, makes mutually communicate between the equipment of different communications protocol. Functionally, more communication managements, the update of protocol adaptor heat, data acquisition board setting, data buffer storage, area can be completed The functions such as domain business logic processing.
The product is in equipment level in entire big Internet of Things net system, as a kind of equipment of connection translation type, Plurality of devices is connected, is mainly set up with the equipment that those cannot directly access internet and is with the ability of internet communication It is main, while supporting stronger industry spot traffic handing capacity.
1) system can support a variety of common industry-standard protocols, Neng Goutong with the physical interface of multiple and different types When for many different types of equipment be attached conversion.
2) it is with capacity of self-government, except common standard industry protocol, the side that can be programmed by agreement expression formula Formula creates new communications protocol, has powerful communications protocol extended capability, complicated operation flow can be realized, between not The functions such as the coordination control between disconnected independent data acquisition, local data cache, local data analysis, local multiple equipment.
3) it constructs stable operation model, can be in the case of uninterrupted system operation, to the part of whole system Function module carries out remote upgrade, can realize the replacement of new and old function module without restarting system, at no point in the update process, no The operation of interrupt routine provides reliable guarantee for continual business, provides the availability close to 59.
Description of the drawings
The specific implementation mode of the present invention is described further below in conjunction with the accompanying drawings:
Fig. 1 is the schematic diagram of first embodiment of the invention;
Fig. 2 is the schematic diagram of second embodiment of the invention;
Fig. 3 is the schematic diagram of third embodiment of the invention;
Fig. 4 is the schematic diagram of fourth embodiment of the invention;
Fig. 5 is the schematic diagram of fifth embodiment of the invention;
Fig. 6 is the schematic diagram of sixth embodiment of the invention;
Fig. 7 is the schematic diagram of seventh embodiment of the invention.
Specific implementation mode
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.
Referring to Fig.1, the present invention provides a kind of internet of things equipment communications protocol adaptation control system comprising:
Central processing unit, communication module, interfaces for external devices module, general purpose interface bus module, the central processing unit It is connect respectively with communication module, interfaces for external devices module, general purpose interface bus;The wherein described interfaces for external devices module includes Serial ports, radio transmission control module and/or wired connection network interface and/or USB interface.
Further, the communication module includes wire communication and wireless communication.
Further, the control system further includes memory module, and the memory module is connect with the central processing unit.
Wherein, the central processing unit can be the frameworks such as X86, ARM;The system also includes clock control module, institutes Clock control module is stated to connect with central processing unit.
The system is connect by communication module with router/mobile communication base station, and then is connect with server.The system System further includes various inputs, output interface etc..
The interfaces for external devices module include serial ports, radio transmission control module and/or wired connection network interface and/or USB interface, as it has been specifically included:Serial ports, zigbee, bluetooth, wifi etc..
Each interface is connect with for example various sensors of external equipment, realizes data transmission.
The connection conversion hardware equipment that this programme provides, so that it may to realize that the physics of a variety of different type equipment connects It connects, can support more sensors and terminal while accessing, remove from for different types of sensor and terminal, matching is different Type connects the case where Changer Device.One can substitute original multiple, save many hardware resources inputs.
The present invention provides a kind of internet of things equipment communications protocol Adaptive Control Method comprising following steps:
Various types of transmission links are abstracted as unified transport layer link by system controlling transmission module, are adapter control Molding block provides unified coffret;
Monitoring work module, using adaptor module, for executing step by the way of unified to each transmission link Equipment carries out instruction control, according to the operating parameter of setting, carries out each device data acquisition and remote control instruction issues, or number According to reporting;
Transparent transmission operational module carries out data forwarding according to the operating parameter of setting;
Master scheduling service module receives the data that the monitoring work module reports, and reports to server, while described Master scheduling service module receives the control instruction of the server-side, and is distributed to the corresponding progress of work.
As the improvement of the technical solution, the step further includes:Dispatching control module receives disappearing for server transmission Breath, and handled;Or the data-message that other modules are sent is forwarded to server by the dispatching control module.
As the improvement of the technical solution, when monitoring work module is monitored work, system is obtained according to operating parameter Institute's monitoring point list parameter establishes data transfer layer according to the Connecting quantity of itself and central processing unit, and then establishes equipment adaptation Device.
As the improvement of the technical solution, the system control adapter is sent out in the form of binary data stream by port It send to corresponding equipment.
Further, when the monitoring work module is worked, system opens face according to the Connecting quantity of device port The port of downward end equipment, and each monitoring point parameter corresponding to port, using corresponding protocol adaptor into Row communication circularly sends instruction to equipment, obtains the data of return, then data are reported to according to collection rule Master scheduling process, while the instruction of master scheduling process is received, it is acted according to instruction execution, or forward instructions to equipment;Institute When stating the progress transparent transmission work of transparent transmission operational module, system opens the end of end equipment downwards according to the Connecting quantity of device port Mouthful, and the communication channel with the equipment is established, open the network port towards upper end remote service, and foundation and remote service The communication channel of device, then by the data forwarding for coming from Upper passage to lower end passage, the data of lower end passage will be come from It is forwarded to Upper passage.
Further, the method further includes:When to having, new module request is added system detectio or existing module need to be into When row upgrading, above-mentioned file is sent to server;Dispatching control module gets above- mentioned information, and downloads file and deposited to local Storage, and send out module to respective modules and replace message to be converted.
It is the control schematic diagram of one embodiment of the invention with reference to Fig. 2.
1) transmission module:Different types of transmission link is abstracted as unified transport layer link by it, and needle is realized in inside To the opening of specific transport-type, closing, transmission, reception, unified coffret is provided for adapter control module.
2) adapter control module:These adapters will realize the interface method of device characteristics defined, according to unification Mode carries out instruction to equipment and issues and instruct response to read.It can carry out module heat replacement in the process of running.
3) monitoring work module/transparent transmission operational module:Refer mainly to the strategy executions moulds such as equipment is received, forwarded, data acquire Block, it initializes system communication interface link, establishes data transmission channel according to operating parameter, further according to operating parameter meaning Fixed adapter name calls corresponding adaptor module.
There are two types of operating modes for it, and one is monitoring modes, under this scheme, according to the runtime parameter of setting, solely The data acquisition and remote control instruction of vertical carry out equipment issue.Another is transparent transmission mode, under this scheme, only will The data distributing that upper end is sent is sent out in the data of lower end, does not carry out any working process to data, only intact to be turned Hair.It recycles execution in executive process, until forced termination.It can also carry out module heat replacement in the process of running.
4) dispatching control module:It, by MQTT protocols, receives server-side control instruction, and divide with far-end server Issue corresponding monitoring work process/transparent transmission progress of work.Meanwhile it also receives the data that monitoring work process reports, and carries out Caching is reported to far-end server on time.It recycles execution in executive process, until forced termination.In the process of running, It can also carry out module heat replacement.
Wherein, 1) remote parameter:It is mainly the Connecting quantity with distal end MQTT Server to upper parameter;
2) monitoring of tools adaptor module parameter:Device adapter parameter predominantly illustrates device adapter program module Configuration information;When program is run, the module title of parameter will be configured according to adapter, loaded using module title as filename In file to the program space, the mechanism of the dynamic link library of similar operations system.
3) template parameter is monitored:It monitors template parameter to be mainly used to illustrate under monitoring mode, adapter is made with adapter Order parameter, these parameters as a template, can as multiple same type equipment, with the unified parameters of sampled data Template.In a template, following parameter is such as configured:Monitor template ID, monitoring template name, monitoring of tools Adapter ID, auxiliary Parameter, the setting instruction of equipment time, instruction is helped to realize that adaptor module will parse this by binary data stream description expression formula Analysis result data are sent to equipment by expression formula in a manner of instructing, then obtain number sampling according to (or not sending and refer to from equipment It enables, the direct reported data of waiting facilities).
In its monitoring mechanism, most important realization mechanism is that binary data stream description expression formula is realized, and is adapted to Device module realizes the parsing to the binary data stream expression formula of specific protocol according to specification.
It illustrates below in modbus adapters, to the setting expression formula of certain equipment time, due to setting for this equipment itself Meter, when time parameter is arranged, the time was expressed by 2000 in a manner of deviant, such as indicated that 20 indicate the year two thousand twenty 2018 with 18 Deng.So this adapter setting time command binary stream expression formula be:
"[<<16#06:8,16#002D:16,(Y-2000):16>>,<<16#06:8,16#002F:16,M:16>>,<< 16#06:8,16#0031:16,D:16>>,<<16#06:8,16#0033:16,H:16>>,<<16#06:8,16#0035:16,I: 16>>,<<16#06:8,16#0037:16,S:16>>]."
Wherein Y, M, D, H, I, S respectively represent current opportunity computer timing time " year, month, day, hour, minute, second " Time placeholder, the current time value got replaced corresponding placeholder, calculates expression by Modbus adaptor modules The final two-stage system data flow of formula, and this binary data stream is sent to the equipment being attached thereto by port.
The equipment control that different instruction value occurs every time for those for this mode provides flexible method, all adaptations Device module all will realize parameter setting and parsing to complex control process according to this strategy, enhance pair of an adapter The adaptation ability of plurality of devices type has for system while a variety of abilities being connected and communicate with being supported to lay a good foundation.Pass through Flexible binary data stream description expression formula, can flexibly configure plurality of devices control instruction and sampling parameter, very The protocol development for reducing many hard coded modes in big degree, reduces the cost of plant maintenance upgrading, enhances adaptation energy Power achieves a variety of common industrial equipment adapters communicated, enables the convenient quickly in many industrial occasions The various equipment of completion be connected and communicate with.
4) monitoring process running parameter:Monitoring process running parameter, predominantly monitoring process or transparent transmission process provide operation When every processing rule, its major parameter is as follows:Progress of work ID, hardware interface type (Serial, Network, USB ...), it is interface equipment, interface name (/dev/ttyS0 ,/dev/ttysUSB0), operating mode (monitoring, transparent transmission), serial Rate, serial stop position, serial verification mode, serially flows mode, local binding network ip address, local network at bits of serial data Whether whether network port numbers remote host address, distance host port numbers, enable connection registration, connection log-on data content, open With network connection state report heartbeat data report mode, heartbeat data content, double sampling process flow interval when Between, including waiting for, handling and take accumulation, if it exceeds this value will immediately enter next round sampling and equipment state etc..
In the monitoring mode, monitoring work process and is forwarded according to certain time interval collecting device data repeatedly Control instruction sends heartbeat to cloud server to the processing routine of equipment;Under transparent transmission mode, the transparent transmission progress of work will receive To the data of equipment be sent to network, the network data received is forwarded to equipment.
5) monitoring point configures parameter:Monitoring point parameter provides the monitoring ginseng of each monitored device for monitoring work process Number, major parameter are as follows:Monitoring node identification, monitored device mark, monitoring template identification, is set monitoring work process identification (PID) Standby place bus address, data equipment data timeout time, equipment state, remote host address, distance host port.
According to monitoring point parameter, monitoring process can obtain every monitoring parameter of the equipment for this monitoring point, with determination Using which adaptor module, equipment time setting instruction expression formula, device data sampling expression formula, establish equipment Connecting quantity And long-range Connecting quantity, reading time-out time etc., once it is determined that, so that it may to open entrance, enter the processed of monitoring of tools Cheng Zhong.
Program circuit:
1) host process work operational process:Host process, which is mainly responsible for, creates other progresses of work, supervises other progresses of work Operating status re-establishes this progress when other processes are abnormal termination.With reference to shown in Fig. 3.
2) back-stage management process runs distance:Back-stage management process is the process of an offer HTTP service, is made for terminal User provides configuration management interface.WEB message is received, its operating parameter is managed for configuration.With reference to shown in Fig. 4.
3) traffic control process operational process:Traffic control process is responsible for communicating with remote network server, sends out upper end The message sent is handled or is transmitted to other processes, and the data-message sent to other processes is transmitted to remote network server Or buffered message.Referring to Figure 5.
4) monitoring work process operational process:Monitoring work journey is created and is started by system host process, after startup, according to Operating parameter obtains its monitoring point list parameter monitored, is joined according to the connection of the monitoring point device of parameter description and host Number, establishes data transfer layer, device adapter is established by this transport layer, will be current by device adapter interface method It is time-synchronized to each monitoring point in monitoring point list, then again by device adapter interface method, successively from each Read sampled data in monitoring point.Digital independent will ensure to carry timeout parameter, avoid making to monitor work because synchronizing permanent blockage Make process processing of no opportunity forever scheduling process and sends to obtain dispatch command and remote control commands.When reading sampled data Later, i.e., sampled data is sent to scheduling process with asynchronous message, then checks whether message queue arrived immediately Instruction equipment is then handed down to by device adapter if there is then taking out, and wait for handling result returned data, then will It returns the result or time-out report is sent to scheduling process with asynchronous message.Operational flow diagram is with reference to shown in Fig. 6.
5) transparent transmission progress of work operational process:Transparent transmission work journey is created and is started by system host process, after startup, according to The Connecting quantity of lower end device port (Serial, USB, Bluetooth ... ..), and it is logical to open the communication that port is established with equipment Road is connected to remote server or starts and monitor service waiting connection further according to upper end network connection parameter, once the company of foundation It connects, this network connection is just connected to the equipment established before while being put into event wait queue, select is entered back into and synchronizes It waits for state-event, when event occurs, is returned from select states, check event type, arrived if it is lower end connection data It reaches, attends school and remove end connection data, then sent by upper end connection;Data are connected if it is upper end, just read upper end Data are connected, are then sent by lower end connection.Shown in Fig. 7.
6) monitoring data uploads and local data cache process flow:When the monitoring work process of monitoring mode has acquired number According to later, after data being issued traffic control process in a manner of asynchronous message, the acquisition of next round data is advanced to.This When traffic control the message sent just now by monitoring process is got from the message queue of oneself into guild, later according to disappearing Breath type is packaged, and cloud server is uploaded to by the channels MQTT, if uploading failure, is immediately saved in this message Temporal cache in local data base, and in the subsequent time, intermittent trial re-establishes the channels MQTT, and upload all The data of caching, until all uploading successfully.
7) remote monitoring instruction processing pipeline:In addition to the progress of work of transparent transmission mode receives naturally and turns cloud network service Except the instruction that device is assigned, the instruction that scheduling process is also assigned from MQTT channel receptions from cloud server by network, according to The mark ID of destination node in monitoring instruction, find with the matched monitoring work processes of this ID, and forward instructions to monitoring The progress of work.
8) module upgrade and heat replace flow:When thering is new module to need to be added or existing module release upgrades, these moulds Block file should be distributed to cloud server, and provide the download based on http or https, remote side administration person should manually under In hair upgrade notification to each equipment for needing to upgrade, the traffic control process in equipment is got by the channels MQTT notifies it Afterwards, then mould is sent out using the process of this module to all to locally by resource information download module file described in url Block replaces message, once has opportunity to handle this message using the process of this module, carries out reload mechanism, by new module plus It is downloaded in runtime system, then by the calling of former module interface method, goes to the calling interface method of new module, this nothing Need to restart process can the mode of reprogramming module and function be exactly that heat is replaced.
The present invention also provides a kind of internet of things equipment communications protocol to be adapted to control system comprising:
Uniform transmission interface control module, for executing step system controlling transmission module by various types of transmission links It is abstracted as unified transport layer link, unified coffret is provided for adapter control module;
Monitoring work module, using adaptor module, for executing step by the way of unified to each transmission link Equipment carries out instruction control, according to the operating parameter of setting, carries out each device data acquisition and remote control instruction issues, or number According to reporting;
Transparent transmission operational module carries out data forwarding according to the operating parameter of setting;
Master scheduling service module receives the data that the monitoring work module reports, and reports to server, while described Master scheduling service module receives the control instruction of the server-side, and is distributed to the corresponding progress of work.
This programme is in the company that by the way of polymorphic type PORT COM, the multiple connectors of script could be realized on hardware It connects and conversion becomes an equipment can undertake completion.
On software, by transparent transmission and monitoring function synthesis in a system, make that setting for data forwarding can only be carried out originally It is standby, have the function that local data acquisition, caching and equipment except transparent transmission control, can only will pass through what transparent transmission carried out originally The model of remote command driving, becomes the model that can be driven with local command, can ensure even if telecommunication is interrupted the case where Under, data sampling and caching can be still carried out, does not lose for historical data and provides safeguard with field control feedback processing.
It, can be flexible by the way of the adaptation parsing of binary data stream expression formula bonding apparatus in the instruction of communication association Plurality of devices control and sampling parameter are configured, the protocol development of many hard coded modes is largely reduced, is reduced The cost of plant maintenance upgrading, enhances system adaptability so that the access of equipment connecting communication is more simple and convenient, reduces Implementation cost.
The system coordinates with far-end server download service, realizes program module remote upgrade and without hot replacement is restarted, protects Card important service, which is not upgraded, to be interrupted, and the availability and real-time of system are improved.
The present invention can replace the connection conversion equipment of original many complexity using a system equipment, save cost, easily In unified management.
Its function is reinforced, other than it can complete connection conversion, moreover it is possible to realize local autonomous business function, in addition to Connection conversion, moreover it is possible to carry out device data acquisition, caching, time synchronization.
It can be adapted to further types of equipment by the parameter configuration to device adapter, and user can be by making by oneself The method of adopted binary stream expression formula, defines privately owned communications protocol.
Its program operation robustness is high, and when process exception terminates, process monitoring system can automatically attempt to overline startup Process makes system be in always in work state.Total interface device talk connects and high in the clouds communication connection has Auto-reconnect machine System, the unlimited number of trial reconnection if disconnecting, until successful connection.
It is to be illustrated to the preferable implementation of the present invention, but the invention is not limited to the implementation above Example, those skilled in the art can also make various equivalent variations or be replaced under the premise of without prejudice to spirit of that invention It changes, these equivalent deformations or replacement are all contained in the application claim limited range.

Claims (10)

1. a kind of internet of things equipment communications protocol Adaptive Control Method, which is characterized in that it includes the following steps:
Various types of transmission links are converted to unified transport layer link by system controlling transmission module, and mould is controlled for adapter Block provides unified coffret;
The adapter control module carries out instruction control by the way of unified to the equipment of each transmission link;
System controls the operating parameter of monitoring work module and transparent transmission operational module according to setting, carry out each device data acquisition and Remote control instruction issues or data forwarding;
Master scheduling service module receives the data that the monitoring work module reports, and reports to server, while the homophony Degree service module receives the control instruction of the server-side, and is distributed to corresponding monitoring work process or the transparent transmission progress of work.
2. internet of things equipment communications protocol Adaptive Control Method according to claim 1, which is characterized in that the step is also Including:Dispatching control module receives the message of server transmission, and is handled;Or the dispatching control module is by other moulds The data-message that block is sent is forwarded to server.
3. internet of things equipment communications protocol Adaptive Control Method according to claim 1 or 2, which is characterized in that the prison When control operational module is monitored work, system obtains institute's monitoring point list parameter according to operating parameter, is visited according to itself and equipment The Connecting quantity for asking port establishes data transfer layer, and then establishes device adapter.
4. internet of things equipment communications protocol Adaptive Control Method according to claim 3, which is characterized in that the system control Control instruction according to the form of binary data stream, corresponding equipment is sent to by port by adapter processed.
5. internet of things equipment communications protocol Adaptive Control Method according to claim 1 or 2, which is characterized in that the prison When control operational module and transparent transmission operational module are worked, each module is opened port and is built according to the Connecting quantity of device port The vertical communication channel with the equipment, wherein transparent transmission operational module are directly connect with server simultaneously according to parameter setting.
6. internet of things equipment communications protocol Adaptive Control Method according to claim 2, which is characterized in that the method is also Including:When system detectio is to when having new module request to be added or existing module need to upgrade, above-mentioned file is sent to server; Dispatching control module gets above- mentioned information, and downloads file to being locally stored, and sends out module to the corresponding progress of work and replace Message is changed to be replaced.
7. a kind of internet of things equipment communications protocol is adapted to control system, which is characterized in that it includes:Uniform transmission Interface Controller mould Various types of transmission links are converted to unified transport layer link for executing step system controlling transmission module, are by block Adapter control module provides uniform transmission interface;
Monitoring work module sets each transmission link by the way of unified for executing adapter control module described in step It is standby to carry out instruction control;
According to the operating parameter of setting, carries out each device data acquisition and remote control instruction issues or data report;
Transparent transmission operational module carries out data forwarding according to the operating parameter of setting;Master scheduling service module receives the monitoring work The data reported as module, and server is reported to, while the control that the master scheduling service module receives the server-side refers to It enables, and is distributed to the corresponding progress of work.
8. a kind of internet of things equipment communications protocol is adapted to control system, which is characterized in that it includes:Central processing unit, communication mould Block, interfaces for external devices module, general purpose interface bus module, the central processing unit connect with communication module, external equipment respectively Mouth mold block, general purpose interface bus connection;The wherein described interfaces for external devices module include serial ports, radio transmission control module and/ Or wired connection network interface and/or USB interface.
9. internet of things equipment communications protocol according to claim 8 is adapted to control system, which is characterized in that the communication mould Block includes wire communication and wireless communication.
10. internet of things equipment communications protocol according to claim 8 is adapted to control system, which is characterized in that the control System further includes memory module, and the memory module is connect with the central processing unit.
CN201810481477.4A 2018-05-18 2018-05-18 A kind of internet of things equipment communications protocol Adaptive Control Method and its control system Pending CN108650273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810481477.4A CN108650273A (en) 2018-05-18 2018-05-18 A kind of internet of things equipment communications protocol Adaptive Control Method and its control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810481477.4A CN108650273A (en) 2018-05-18 2018-05-18 A kind of internet of things equipment communications protocol Adaptive Control Method and its control system

Publications (1)

Publication Number Publication Date
CN108650273A true CN108650273A (en) 2018-10-12

Family

ID=63756877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810481477.4A Pending CN108650273A (en) 2018-05-18 2018-05-18 A kind of internet of things equipment communications protocol Adaptive Control Method and its control system

Country Status (1)

Country Link
CN (1) CN108650273A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412871A (en) * 2018-12-20 2019-03-01 高新兴科技集团股份有限公司 A kind of internet of things equipment access management system
CN109639484A (en) * 2018-12-12 2019-04-16 中国科学院沈阳自动化研究所 Industrial converged network management method and its network manager based on software definition
CN109698838A (en) * 2019-02-01 2019-04-30 智慧盈通(北京)工业技术有限公司 A kind of terminal access unit
CN110426986A (en) * 2019-07-25 2019-11-08 深圳中物兴华科技发展有限公司 A kind of cloud region control method and system based on Intelligent internet of things
CN110572476A (en) * 2019-09-27 2019-12-13 深圳市宏电技术股份有限公司 Remote control method, device and equipment
CN110601924A (en) * 2019-10-17 2019-12-20 新华三信息安全技术有限公司 Message sending method and device
CN110798537A (en) * 2020-01-03 2020-02-14 北京信安世纪科技股份有限公司 Method, device and system for message propagation
CN110809263A (en) * 2019-11-11 2020-02-18 龙尚科技(上海)有限公司 Internet of things communication method, Internet of things communication system and Internet of things equipment
CN111158763A (en) * 2019-12-06 2020-05-15 思创数码科技股份有限公司 Equipment instruction processing system for building intelligent management and control
CN111464233A (en) * 2020-05-18 2020-07-28 深圳市投资控股有限公司 Relay converter for networking communication of ocean glider
CN112019609A (en) * 2020-08-18 2020-12-01 深圳市汇川技术股份有限公司 Equipment monitoring method, device, equipment and computer medium based on Internet of things
CN112306111A (en) * 2020-10-30 2021-02-02 上海高鹰科技有限公司 Middleware controller of irradiation accelerator control system
CN112379997A (en) * 2020-10-16 2021-02-19 浪潮通用软件有限公司 Server-side equipment integrated control method
CN112671898A (en) * 2020-12-23 2021-04-16 浙江工业大学 Remote communication control system based on embedded equipment
CN112702299A (en) * 2019-10-22 2021-04-23 博世汽车部件(苏州)有限公司 Interface data processing apparatus, interface data processing system, interface data processing method, and computer-readable storage medium
CN112712673A (en) * 2020-12-21 2021-04-27 北京数码视讯科技股份有限公司 Earthquake early warning method and system
CN113079483A (en) * 2021-03-25 2021-07-06 广州市地狗灵机环境监测有限公司 Wireless rainfall sensor system
CN113315780A (en) * 2021-06-10 2021-08-27 苏州威联加信息科技有限公司 Method and device for connecting and controlling single system and multiple AGVs
CN114115001A (en) * 2021-11-11 2022-03-01 厦门拓宝科技有限公司 Terminal control system compatible with multi-device protocol
CN114268646A (en) * 2021-12-13 2022-04-01 深圳供电局有限公司 Method and system for communication through unified communication slot
CN115134385A (en) * 2022-06-29 2022-09-30 北京鸿蒙网科技有限公司 User-defined network system supporting interconnection of everything and user-defined connection method
CN117156649A (en) * 2023-11-01 2023-12-01 中节能晶和科技有限公司 System and method for supporting automatic expansion and contraction capacity to access different numbers of single light controls

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215256A (en) * 2011-05-31 2011-10-12 广东奥其斯科技有限公司 Internet-of-things-based intelligent management control system for agriculture and animal husbandry
CN103200249A (en) * 2013-03-26 2013-07-10 大连理工大学 Method for achieving Internet of things intelligent data gateway system
CN104345717A (en) * 2014-10-17 2015-02-11 武汉华大优能信息有限公司 Intelligent remote data acquisition system based on Internet of Things
CN105717848A (en) * 2016-04-25 2016-06-29 湖南云协网络信息科技有限公司 Cloud-cooperation general intelligent remote monitoring system
US20180075399A1 (en) * 2016-09-12 2018-03-15 Ecolab Usa Inc. Method and apparatus for predicting depletion of deionization tanks and optimizing delivery schedules

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215256A (en) * 2011-05-31 2011-10-12 广东奥其斯科技有限公司 Internet-of-things-based intelligent management control system for agriculture and animal husbandry
CN103200249A (en) * 2013-03-26 2013-07-10 大连理工大学 Method for achieving Internet of things intelligent data gateway system
CN104345717A (en) * 2014-10-17 2015-02-11 武汉华大优能信息有限公司 Intelligent remote data acquisition system based on Internet of Things
CN105717848A (en) * 2016-04-25 2016-06-29 湖南云协网络信息科技有限公司 Cloud-cooperation general intelligent remote monitoring system
US20180075399A1 (en) * 2016-09-12 2018-03-15 Ecolab Usa Inc. Method and apparatus for predicting depletion of deionization tanks and optimizing delivery schedules

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639484A (en) * 2018-12-12 2019-04-16 中国科学院沈阳自动化研究所 Industrial converged network management method and its network manager based on software definition
CN109639484B (en) * 2018-12-12 2021-05-28 中国科学院沈阳自动化研究所 Industrial fusion network management method based on software definition and network manager thereof
CN109412871A (en) * 2018-12-20 2019-03-01 高新兴科技集团股份有限公司 A kind of internet of things equipment access management system
CN109698838A (en) * 2019-02-01 2019-04-30 智慧盈通(北京)工业技术有限公司 A kind of terminal access unit
CN110426986A (en) * 2019-07-25 2019-11-08 深圳中物兴华科技发展有限公司 A kind of cloud region control method and system based on Intelligent internet of things
CN110572476B (en) * 2019-09-27 2020-12-29 深圳市宏电技术股份有限公司 Remote control method, device and equipment
CN110572476A (en) * 2019-09-27 2019-12-13 深圳市宏电技术股份有限公司 Remote control method, device and equipment
CN110601924A (en) * 2019-10-17 2019-12-20 新华三信息安全技术有限公司 Message sending method and device
CN110601924B (en) * 2019-10-17 2021-07-23 新华三信息安全技术有限公司 Message sending method and device
CN112702299A (en) * 2019-10-22 2021-04-23 博世汽车部件(苏州)有限公司 Interface data processing apparatus, interface data processing system, interface data processing method, and computer-readable storage medium
CN110809263A (en) * 2019-11-11 2020-02-18 龙尚科技(上海)有限公司 Internet of things communication method, Internet of things communication system and Internet of things equipment
CN111158763A (en) * 2019-12-06 2020-05-15 思创数码科技股份有限公司 Equipment instruction processing system for building intelligent management and control
CN111158763B (en) * 2019-12-06 2023-08-18 思创数码科技股份有限公司 Equipment instruction processing system for intelligent management and control of building
CN110798537A (en) * 2020-01-03 2020-02-14 北京信安世纪科技股份有限公司 Method, device and system for message propagation
CN111464233A (en) * 2020-05-18 2020-07-28 深圳市投资控股有限公司 Relay converter for networking communication of ocean glider
CN112019609A (en) * 2020-08-18 2020-12-01 深圳市汇川技术股份有限公司 Equipment monitoring method, device, equipment and computer medium based on Internet of things
CN112019609B (en) * 2020-08-18 2023-04-07 深圳市汇川技术股份有限公司 Equipment monitoring method, device, equipment and computer medium based on Internet of things
CN112379997A (en) * 2020-10-16 2021-02-19 浪潮通用软件有限公司 Server-side equipment integrated control method
CN112306111A (en) * 2020-10-30 2021-02-02 上海高鹰科技有限公司 Middleware controller of irradiation accelerator control system
CN112712673A (en) * 2020-12-21 2021-04-27 北京数码视讯科技股份有限公司 Earthquake early warning method and system
CN112671898A (en) * 2020-12-23 2021-04-16 浙江工业大学 Remote communication control system based on embedded equipment
CN113079483A (en) * 2021-03-25 2021-07-06 广州市地狗灵机环境监测有限公司 Wireless rainfall sensor system
CN113315780A (en) * 2021-06-10 2021-08-27 苏州威联加信息科技有限公司 Method and device for connecting and controlling single system and multiple AGVs
CN114115001A (en) * 2021-11-11 2022-03-01 厦门拓宝科技有限公司 Terminal control system compatible with multi-device protocol
CN114268646A (en) * 2021-12-13 2022-04-01 深圳供电局有限公司 Method and system for communication through unified communication slot
CN114268646B (en) * 2021-12-13 2024-03-01 深圳供电局有限公司 Method and system for communication through unified communication slot
CN115134385A (en) * 2022-06-29 2022-09-30 北京鸿蒙网科技有限公司 User-defined network system supporting interconnection of everything and user-defined connection method
CN117156649A (en) * 2023-11-01 2023-12-01 中节能晶和科技有限公司 System and method for supporting automatic expansion and contraction capacity to access different numbers of single light controls
CN117156649B (en) * 2023-11-01 2024-03-01 中节能晶和科技有限公司 System and method for supporting automatic expansion and contraction capacity to access different numbers of single light controls

Similar Documents

Publication Publication Date Title
CN108650273A (en) A kind of internet of things equipment communications protocol Adaptive Control Method and its control system
CN105847093B (en) A kind of system that interconnects, network-building method and communication means based on Internet of Things
CN102752299B (en) Debugging-free composite communication device and method for electric vehicle charging station
CN103220342B (en) A kind of method of mobile terminal device group remote synchronization more new procedures
CN209417574U (en) Industrial robot controller data intelligence acquisition system
CN108255124A (en) The methods, devices and systems transmitted to PLC into line program and parameter
CN106412064A (en) Remote upgrade method of power utilization information acquisition terminal
CN112187922A (en) Intelligent Internet of things shutdown machine based on MQTT communication protocol
CN112583824A (en) Protocol conversion configuration system and method based on OPC UA
CN112333022B (en) Intelligent electric energy meter remote upgrading system and method based on multilayer transparent transmission
CN102810908A (en) Communication base station power supply parallel connection monitoring method and communication base station power supply system
CN1997199B (en) An integrated testing system and method for 3G network management interface
CN106603530A (en) Control system and method for electronic device compatible with different communication protocols
CN104486394A (en) Non-interrupting service software upgrading method and device
CN113937894A (en) Cloud edge cooperation-based electric intelligent terminal management system and method
CN107947365A (en) A kind of measure and control device for supporting intelligent substation multi-compartment concentrated collection to control and centralized observing and controlling networking
CN103051502A (en) System and method of self-organized networking and flexible accessing of intelligent power equipment in electricity utilization community
CN110362055A (en) A kind of industrial data acquisition system that terminal is expansible and method
CN109901830A (en) A kind of symbol arranging method and system for scada system development
CN109884971A (en) Long-range control method, apparatus and system
CN101587351B (en) Reliable communication method of intelligent electronic device
CN102821302B (en) Method for downloading video, gateway device and network video monitor and control system
CN201690520U (en) Security monitoring webcam capable of automatically updating software version
CN206023334U (en) A kind of battery charger, the mobile terminal of accumulator Charge Management, the accumulator charging management system based on cloud platform
KR101095827B1 (en) Gateway with SmartIO module automatically supporting multi-protocol

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200603

Address after: 130062 No.31 Zhengyang Street, Lvyuan District, Changchun City, Jilin Province

Applicant after: Shi Yadong

Address before: 518028 Guangdong, Shenzhen, Futian District, Futian District Huaqiang North Street Sai Ge science and technology park four West 9 floor A block A11

Applicant before: SHENZHEN YUANTI TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181012