CN108200090A - A kind of agreement integration technology for electromechanical equipment - Google Patents
A kind of agreement integration technology for electromechanical equipment Download PDFInfo
- Publication number
- CN108200090A CN108200090A CN201810122481.1A CN201810122481A CN108200090A CN 108200090 A CN108200090 A CN 108200090A CN 201810122481 A CN201810122481 A CN 201810122481A CN 108200090 A CN108200090 A CN 108200090A
- Authority
- CN
- China
- Prior art keywords
- module
- equipment
- data
- protocol
- data packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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/03—Protocol definition or specification
-
- 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/08—Protocols for interworking; Protocol conversion
-
- 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/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of agreement integration technologies for electromechanical equipment, are related to device protocol fusion field.The present invention includes the following steps:S001, using device protocol adaptation technique;S002, distinct device interface are packaged;S003, the method that unified call equipment is set;When S004, equipment replacement, device type in modification configuration.The present invention is by using device protocol adaptation technique, various kinds of equipment interface is packaged, and the method that unified call access equipment is provided, when equipment replacement, the device type that need to only change in configuration can access of the finishing service application software to distinct device, Service Component portability and reusability are improved, increases adaptability of the system to each plant equipment comprehensively.
Description
Technical field
The invention belongs to device protocols to merge FIELD OF THE INVENTIONThe, and skill is merged more particularly to a kind of agreement for electromechanical equipment
Art.
Background technology
With the development of the communication technology, not only the type of equipment is more and more, but also the type of equipment is also more come also more, is
Realize these functions of equipment, service application software needs to access to equipment by equipment access interface.But due to
The type of each equipment is different, and function is different, and production firm is different, and operates on different Platform of hardware,
Lead to service application software application airplane crash, reuse of code is low, and the agreement used of different vendor is also diversification, therefore
The compatibility of the consideration equipment in design is needed, to support the plug and play to various kinds of equipment.
The present invention is packaged various kinds of equipment interface, and provide unified call by using device protocol adaptation technique
The method of access equipment when equipment replacement, need to only change the device type in configuration, without doing any repair to code
Change, improve adaptability of the system to each plant equipment comprehensively.
Invention content
The purpose of the present invention is to provide a kind of agreement integration technologies for electromechanical equipment, are fitted by using device protocol
With technology, various kinds of equipment interface is packaged, and the method that unified call access equipment is provided, when equipment replacement, only needed
Modification configuration in device type can access of the finishing service application software to distinct device, solve existing Service Component
The problem of agreement is various, and configuration is time-consuming, and portability is low with reusability.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
The present invention is a kind of agreement integration technology for electromechanical equipment, is included the following steps:
Step S001 uses device protocol adaptation technique:Using protocol adaptation technology by protocol format self-definedization;
Step S002 distinct device interfaces are packaged:The different data parsing of form that variety classes equipment is sent out
Afterwards, the data packet of custom protocol form is packaged into, the data packet of custom protocol form is converted into communications protocol format
Sensing net node equipment is sent to after data packet;
The method that step S003 sets unified call equipment:By packaged Unified Device calling interface to equipment management mould
Block sending application solicited message completes the calling of equipment by device driver module;
During step S004 equipment replacements, device type in modification configuration.
Preferably, it before the step S001, needs to obtain the activation bit of distinct device.
Preferably, in the step S001, device protocol adaptation technique is fitted according to the function and feature definitions equipment of equipment
With information, the function of being realized using the corresponding function realization equipment Adapted information of device drives information.
It preferably, can be by the short-range communication protocols form that sensing net node equipment returns in the step S002
Data packet is decapsulated after being converted into the data packet of custom protocol form, and the data conversion Cheng Yushe that will decapsulate gained
Equipment is sent to after the data of standby corresponding form.
Preferably, the agreement integration technology include data processing module, custom protocol module, communication protocol module,
Package module, memory module, driving adaptation module and device driver module, the data processing module, custom protocol module,
Communication protocol module, package module, driving adaptation module and device driver module are sequentially connected;The memory module respectively with number
It is connected according to processing module, custom protocol module with driving adaptation module;The data processing module is used to parse variety classes
The different data of form that terminal is sent out;The custom protocol module is used for the equipment institute of data processing module parsing gained
The different data of the form of hair are packaged into the data packet of custom protocol form;The communication protocol module is used for self-defined association
After the data packet of the custom protocol form of view module encapsulation is converted into the data packet of communications protocol format, it is sent to Sensor Network section
Point device;The package module is used to the data after parsing being packaged into the packet of custom protocol form;The memory module is used
The data sent out in storage data processing module variety classes equipment perform the data of gained after parsing operation;The driving is suitable
With module for application request message, and application request message is sent to device driver module;The device driver module is used
In receiving application request message and management solicited message, to realize that equipment accesses.
Preferably, the agreement integration technology further includes acquisition module and update module;The acquisition module is used to obtain
The device drives information of equipment;The update module, which is used to be called according to the system of updating equipment configuration information operating system, to be believed
Breath.
Preferably, the memory module is micro-control unit MCU, to store small amount of data;Or it is Advanced Reduced Instruction
Collect computer microprocessor ARM, to store mass data.
The invention has the advantages that:
The present invention is packaged various kinds of equipment interface, and provide unified call by using device protocol adaptation technique
The method of access equipment, when equipment replacement, only need to change configuration in device type can finishing service application software to not
With the access of equipment, Service Component portability and reusability are improved, increases adaptation of the system to each plant equipment comprehensively
Ability.
Certainly, it implements any of the products of the present invention and does not necessarily require achieving all the advantages described above at the same time.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, embodiment will be described below required
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of agreement integration technology block diagram for electromechanical equipment of the present invention;
Fig. 2 is a kind of agreement integration technology structure diagram for electromechanical equipment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained all other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
Refering to Figure 1, the present invention is a kind of agreement integration technology for electromechanical equipment, include the following steps:
Step S001 uses device protocol adaptation technique:Using protocol adaptation technology by protocol format self-definedization;
Step S002 distinct device interfaces are packaged:The different data parsing of form that variety classes equipment is sent out
Afterwards, the data packet of custom protocol form is packaged into, the data packet of custom protocol form is converted into communications protocol format
Sensing net node equipment is sent to after data packet;
The method that step S003 sets unified call equipment:By packaged Unified Device calling interface to equipment management mould
Block sending application solicited message completes the calling of equipment by device driver module;
During step S004 equipment replacements, device type in modification configuration, you can complete equipment interconnection.
Wherein, it before step S001, needs to obtain the activation bit of distinct device and distinct device activation bit is carried out
Storage.
Wherein, in step S001, device protocol adaptation technique according to the function of equipment and feature definitions equipment Adapted information,
The function of being realized using the corresponding function realization equipment Adapted information of device drives information.
It wherein, can be by the data packet of short-range communication protocols form that sensing net node equipment returns in step S002
It is decapsulated after being converted into the data packet of custom protocol form, and the data conversion of gained will be decapsulated into corresponding with equipment
Equipment is sent to after the data of form.
Please refer to shown in Fig. 2, the present invention for a kind of agreement integration technology for electromechanical equipment including data processing module,
Custom protocol module, communication protocol module, package module, memory module, driving adaptation module and device driver module, data
Processing module, custom protocol module, communication protocol module, package module, driving adaptation module and device driver module are successively
Connection;Memory module is connect respectively with data processing module, custom protocol module and driving adaptation module;Data processing module
For parsing the different data of form that variety classes terminal sent out;Custom protocol module is used to parse data processing module
The different data of form that the equipment of gained is sent out are packaged into the data packet of custom protocol form;Communication protocol module is used for will
After the data packet of the custom protocol form of custom protocol module encapsulation is converted into the data packet of communications protocol format, it is sent to
Sensing net node equipment;Package module is used to the data after parsing being packaged into the packet of custom protocol form;Memory module is used
The data sent out in storage data processing module variety classes equipment perform the data of gained after parsing operation;Driving adaptation mould
Block is used for application request message, and application request message is sent to device driver module;Device driver module should for receiving
With solicited message and solicited message is managed, to realize that equipment accesses.
Wherein, agreement integration technology further includes acquisition module and update module;Acquisition module is used for the equipment for obtaining equipment
Activation bit;Update module is used for the system call information according to updating equipment configuration information operating system.
Wherein, memory module is micro-control unit MCU, to store small amount of data;Or it is advanced RISC
Machine microprocessor ARM, to store mass data.
It is worth noting that, in above system embodiment, included each unit is only drawn according to function logic
Point, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional unit is specific
Title is also only to facilitate mutually distinguish, the protection domain being not intended to restrict the invention.
In addition, one of ordinary skill in the art will appreciate that realize all or part of step in the various embodiments described above method
It is that relevant hardware can be instructed to complete by program, corresponding program can be stored in a computer-readable storage and be situated between
In matter, the storage medium, such as ROM/RAM, disk or CD.Present invention disclosed above preferred embodiment is only intended to
Help illustrates the present invention.The detailed description of the preferred embodiment is not exhaustive, and it is only the tool also not limit the invention
Body embodiment.Obviously, it according to the content of this specification, can make many modifications and variations.This specification is chosen and is specifically retouched
These embodiments are stated, are in order to preferably explain the principle of the present invention and practical application, so as to make technical field technology people
Member can be best understood by and utilize the present invention.The invention is limited only by the claims and the full scope thereof and equivalents thereof.
Claims (7)
1. a kind of agreement integration technology for electromechanical equipment, which is characterized in that include the following steps:
Step S001 uses device protocol adaptation technique:Using protocol adaptation technology by protocol format self-definedization;
Step S002 distinct device interfaces are packaged:After the different data parsing of form that variety classes equipment is sent out, envelope
The data packet of custom protocol form is dressed up, the data packet of custom protocol form is converted into the data packet of communications protocol format
After be sent to sensing net node equipment;
The method that step S003 sets unified call equipment:Packaged Unified Device calling interface is sent out to device management module
Application request message is sent, the calling of equipment is completed by device driver module;
During step S004 equipment replacements, device type in modification configuration.
A kind of 2. agreement integration technology for electromechanical equipment according to claim 1, which is characterized in that the step
Before S001, need to obtain the activation bit of distinct device.
A kind of 3. agreement integration technology for electromechanical equipment according to claim 2, which is characterized in that the step
In S001, device protocol adaptation technique utilizes device drives information according to the function of equipment and feature definitions equipment Adapted information
Corresponding function realizes the function that equipment Adapted information is realized.
A kind of 4. agreement integration technology for electromechanical equipment according to claim 1, which is characterized in that the step
In S002, the data packet of short-range communication protocols form that sensing net node equipment returns can be converted into custom protocol lattice
It is decapsulated after the data packet of formula, and the data conversion of gained will be decapsulated into being sent to after the data of form corresponding with equipment
Equipment.
5. a kind of agreement integration technology for electromechanical equipment according to claim 1, including data processing module, makes by oneself
Adopted protocol module, communication protocol module, package module, memory module, driving adaptation module and device driver module, feature exist
In:
The data processing module, custom protocol module, communication protocol module, package module, driving adaptation module and equipment
Drive module is sequentially connected;The memory module respectively with data processing module, custom protocol module and driving adaptation module
Connection;
The data processing module is used to parse the different data of form that variety classes terminal is sent out;
The custom protocol module is used for the different data of the form for being sent out the equipment of data processing module parsing gained and seals
Dress up the data packet of custom protocol form;
The communication protocol module is used to be converted into leading to by the data packet of custom protocol form that custom protocol module encapsulates
After the data packet for believing protocol format, it is sent to sensing net node equipment;
The package module is used to the data after parsing being packaged into the packet of custom protocol form;
The memory module is used to store institute after the data execution parsing that data processing module sends out variety classes equipment operates
The data obtained;
Application request message is sent to device driver module by the driving adaptation module for application request message;
The device driver module is for receiving application request message and management solicited message, to realize that equipment accesses.
6. a kind of agreement integration technology for electromechanical equipment according to claim 5, which is characterized in that further include acquisition
Module and update module;The acquisition module is used to obtain the device drives information of equipment;The update module is used for basis and sets
The system call information of standby configuration information update operating system.
A kind of 7. agreement integration technology for electromechanical equipment according to claim 4, which is characterized in that the storage mould
Block is micro-control unit MCU, to store small amount of data;Or be advanced RISC machines microprocessor ARM, to deposit
Store up mass data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810122481.1A CN108200090A (en) | 2018-02-07 | 2018-02-07 | A kind of agreement integration technology for electromechanical equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810122481.1A CN108200090A (en) | 2018-02-07 | 2018-02-07 | A kind of agreement integration technology for electromechanical equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108200090A true CN108200090A (en) | 2018-06-22 |
Family
ID=62592574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810122481.1A Pending CN108200090A (en) | 2018-02-07 | 2018-02-07 | A kind of agreement integration technology for electromechanical equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108200090A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112311796A (en) * | 2020-10-30 | 2021-02-02 | 广州朗国电子科技有限公司 | Multi-interface unified communication processing method and system based on android mainboard |
CN112333193A (en) * | 2020-11-06 | 2021-02-05 | 珠海格力电器股份有限公司 | Automatic protocol updating method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933425A (en) * | 2006-10-10 | 2007-03-21 | 华为技术有限公司 | Module and method for realizing equipment access interface, equipment access system and method |
CN102223731A (en) * | 2010-04-19 | 2011-10-19 | 中兴通讯股份有限公司 | Interface equipment compatible with various terminals in internet of things and realization method thereof |
CN103944813A (en) * | 2014-04-16 | 2014-07-23 | 北京大学工学院南京研究院 | Gateway and method for achieving general adaptation function |
CN105183484A (en) * | 2015-09-28 | 2015-12-23 | 北京奇虎科技有限公司 | Method and device for compatibility of multi-version application programming interface |
-
2018
- 2018-02-07 CN CN201810122481.1A patent/CN108200090A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933425A (en) * | 2006-10-10 | 2007-03-21 | 华为技术有限公司 | Module and method for realizing equipment access interface, equipment access system and method |
CN102223731A (en) * | 2010-04-19 | 2011-10-19 | 中兴通讯股份有限公司 | Interface equipment compatible with various terminals in internet of things and realization method thereof |
CN103944813A (en) * | 2014-04-16 | 2014-07-23 | 北京大学工学院南京研究院 | Gateway and method for achieving general adaptation function |
CN105183484A (en) * | 2015-09-28 | 2015-12-23 | 北京奇虎科技有限公司 | Method and device for compatibility of multi-version application programming interface |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112311796A (en) * | 2020-10-30 | 2021-02-02 | 广州朗国电子科技有限公司 | Multi-interface unified communication processing method and system based on android mainboard |
CN112333193A (en) * | 2020-11-06 | 2021-02-05 | 珠海格力电器股份有限公司 | Automatic protocol updating method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104636189B (en) | Virtual machine deployment system and method based on Xen | |
US9003179B2 (en) | Wireless internet access module, communication method for host and wireless internet access module, and data card | |
CN110417840A (en) | A kind of information processing method and device | |
CN104965700A (en) | Method and system for implementing driving on SPI equipment under VxWorks operating system | |
CN102117251A (en) | Method for selecting application mode of universal serial bus (USB) equipment and USB equipment | |
CN107318098A (en) | A kind of terminal control method, SIM cards, communication module and terminal | |
CN108200090A (en) | A kind of agreement integration technology for electromechanical equipment | |
CN101662838B (en) | Device, method and USB data card for realizing internet surfing without drive | |
CN105159272B (en) | A kind of vehicle diagnosis function switching method and device | |
CN105635312B (en) | The method for realizing more local area network communications based on WinCE system Single NIC | |
KR20160103110A (en) | Network element data access method and apparatus, and network management system | |
CN104468702B (en) | A kind of general virtual test real object equipment access system | |
CN109873837A (en) | Central apparatus and multi-protocols adaptation system based on android system | |
CN103916427B (en) | First mobile communication terminal and communication means, Internet of things system | |
CN105139053B (en) | Radio-frequency identification reader/writer interface protocol debugging apparatus and method | |
CN107168909A (en) | Interconnecting device, telecommunication system, data transmission method and device | |
CN103117777B (en) | Method and system for synchronizing telephone directory of mobile terminal based on Bluetooth on tablet computer | |
CN102694774A (en) | A design method of an IPv6 micro protocol stack | |
EP3742775A1 (en) | Method and device for terminal to report information, and computer storage medium | |
CN110336641B (en) | Relay protection test method, relay test equipment, storage medium and device | |
CN107819621A (en) | A kind of collocation method of gateway, device and gateway | |
CN116033039B (en) | Equipment access method and device, electronic equipment and storage medium | |
KR200182276Y1 (en) | An installation of data transfer in cellular phone and each anothers | |
Borgviken et al. | Industrial Wireless IPv6 Sensor device | |
KR20110052271A (en) | Protocol interface device, system and method using a text file |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180622 |
|
RJ01 | Rejection of invention patent application after publication |