CN109088882A - A kind of method, apparatus, network controller and the system of data transmission - Google Patents

A kind of method, apparatus, network controller and the system of data transmission Download PDF

Info

Publication number
CN109088882A
CN109088882A CN201811103420.7A CN201811103420A CN109088882A CN 109088882 A CN109088882 A CN 109088882A CN 201811103420 A CN201811103420 A CN 201811103420A CN 109088882 A CN109088882 A CN 109088882A
Authority
CN
China
Prior art keywords
data
data packet
data format
host computer
standard
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
CN201811103420.7A
Other languages
Chinese (zh)
Inventor
范华龙
单华锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinmao Green Building Technology Co Ltd
Original Assignee
Jinmao Green Building 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 Jinmao Green Building Technology Co Ltd filed Critical Jinmao Green Building Technology Co Ltd
Priority to CN201811103420.7A priority Critical patent/CN109088882A/en
Publication of CN109088882A publication Critical patent/CN109088882A/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • 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/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a kind of data transmission methods, device, network controller and system, the described method includes: whether detect in the various communication interfaces has communication interface to receive data packet, when thering is communication interface to receive data packet in detecting the various communication interfaces, received data packet is parsed, to obtain the data format and data content of the data packet, according to transformational relation preset between different data format and standard data format, it is the standard data format by the Data Format Transform of the data packet, the data content is packaged according to the standard data format, the data packet obtained after encapsulation is sent to the host computer by the standard communication interface.Pass through the method, a variety of different communications protocol are converted into a kind of preset standard agreement, the equipment for realizing different communications protocol need to only be realized by a network controller and host computer to be communicated, and greatly reduces communication cost, and facilitate later maintenance.

Description

A kind of method, apparatus, network controller and the system of data transmission
Technical field
The present invention relates to data processing field, more particularly to the method, apparatus of data transmission a kind of, network controller with And system.
Background technique
With the extensive use of various electronic equipments and electromechanical equipment, the type of electronic equipment and electromechanical equipment is also increasingly It is more, and the manufacturer of these equipment is produced not necessarily all using same communications protocol come production equipment, so corresponding to various set Standby communications protocol can also have nothing in common with each other.
In the related technology, if two or more is communicated or needed using the equipment of different communications protocol If being communicated with host computer, a gateway must be just set up therebetween, such as two kinds use different communications protocol Equipment need when being communicated with host computer just to may be implemented to communicate in host computer and two gateways of erection between the two respectively, So user usually buys the identical equipment of communication protocol when purchase is using equipment at present, in order to using a gateway with Host computer realizes communication.But it is smaller to result in user that face may be selected in this way, and in practice, in order to complete different function Can, user needs to buy different equipment, be difficult so that the communications protocol of these equipment be it is same, so user just need for Gateway is respectively configured to realize communication in these equipment, causes communication cost very high.And the maintenance of gateway can only be manufactured by gateway Quotient is responsible for, and causes later maintenance very inconvenient.
Summary of the invention
In view of the above problems, the present invention provides method, apparatus, network controller and the system of a kind of data transmission, solution The prior art of having determined needs to set up many gateways because the different equipment of communications protocol is communicated come the problem of realization.
The present invention is achieved through the following technical solutions:
A kind of data transmission method, is applied to network controller, and the network controller has various communication interfaces and mark Quasi- communication interface, the network controller are connected by a kind of equipment of communication interface communications protocol corresponding to support, the net Network controller also passes through the standard communication interface and connect with host computer, this method comprises:
Whether detect in the various communication interfaces has communication interface to receive data packet;
When thering is communication interface to receive data packet in detecting the various communication interfaces, to received data packet It is parsed, to obtain the data format and data content of the data packet;
According to transformational relation preset between different data format and standard data format, by the data format of the data packet Be converted to the standard data format;
The data content is packaged according to the standard data format;
The data packet obtained after encapsulation is sent to the host computer by the standard communication interface.
Further, the method also includes:
Detect whether the standard communication interface receives the data packet that the host computer is sent, which includes data Content and destination address;
When detecting that the standard communication interface receives the data packet that the host computer is sent, to received number It is parsed according to packet, to obtain the data format and data content of the data packet;
According to the destination address in the data packet, the equipment that the host computer needs to operate is determined;
According to transformational relation preset between different data format and standard data format, by the data format of the data packet Be converted to the data format for the equipment that the host computer needs to operate;
The data format of equipment for needing to operate according to the host computer to the data content and the destination address into Row encapsulation;
The data packet obtained after encapsulation is sent to the equipment that the host computer needs to operate.
Further, the various communication interfaces include: RJ45 interface, RS232 interface, RS485 interface.
Further, the standard data format is the data format that user configures on the network controller.
A kind of data transmission device, is applied to network controller, and the network controller has various communication interfaces and mark Quasi- communication interface, the network controller are connected by a kind of equipment of communication interface communications protocol corresponding to support, the net Network controller also passes through the standard communication interface and connect with host computer, and described device includes:
First detection module, the first parsing module, the first conversion module, the first package module and the first transmission module;
Whether the first detection module has communication interface to receive data packet for detecting in the various communication interfaces, And data packet is transferred to first parsing module;
First parsing module is used for when receiving data packet, is parsed to received data packet, with First turn is given to the data format and data content of the data packet, and by the data format of the data packet and data content transmission Change the mold block;
First conversion module is used for according to transformational relation preset between different data format and standard data format, It is the standard data format by the Data Format Transform of the data packet, and by the data format and data of the normal data packet Content transmission gives the first package module;
First package module will be sealed for being packaged according to the standard data format to the data content The normal data packet installed is transferred to first transmission module;
First transmission module is used to send the normal data packet obtained after encapsulation by the standard communication interface To the host computer.
Further, described device further include:
Second detection module, the second parsing module, the second conversion module, the second package module and the second transmission module;
Second detection module is used to detect whether the standard communication interface to receive the number that the host computer is sent According to packet, which includes data content and destination address, and the normal data packet is transferred to second parsing module;
Second parsing module is used for when receiving the data packet that second detection module is sent, to received Data packet parsed, to obtain the data format and data content of the data packet, second parsing module is according to the number According to the destination address in packet, the equipment that the host computer needs to operate is determined, and by the data format and data of the data packet Content transmission gives second conversion module;
Second conversion module is used for according to transformational relation preset between different data format and standard data format, It is the data format for the equipment that the host computer needs to operate by the Data Format Transform of the data packet, and the host computer is needed The data format and data content transmission for the equipment to be operated give second package module;
Second package module is used to need the data format of the equipment operated to the data according to the host computer Content and the destination address are packaged, and need the data packet of the equipment operated to be transferred to the packaged host computer Second transmission module;
Second transmission module, which is used to the data packet obtained after encapsulation being sent to the host computer, needs what is operated to set It is standby.
A kind of network controller, the network controller include processor, and have various communication interfaces and standard traffic Interface, equipment connection of each communication interface for communications protocol corresponding to supports in the various communication interfaces are described For connecting with host computer, the processor is used for standard communication interface:
Whether detect in the various communication interfaces has communication interface to receive data packet;
When thering is communication interface to receive data packet in detecting the various communication interfaces, to received data packet It is parsed, to obtain the data format and data content of the data packet;
According to transformational relation preset between different data format and standard data format, by the data format of the data packet Be converted to the standard data format;
The data content is packaged according to the standard data format;
The data packet obtained after encapsulation is sent to the host computer by the standard communication interface.
Further, the processor is also used to:
Detect whether the standard communication interface receives the data packet that the host computer is sent, which includes data Content and destination address;
When detecting that the standard communication interface receives the data packet that the host computer is sent, to received number It is parsed according to packet, to obtain the data format and data content of the data packet;
According to the destination address in the data packet, the equipment that the host computer needs to operate is determined;
According to transformational relation preset between different data format and standard data format, by the data format of the data packet Be converted to the data format for the equipment that the host computer needs to operate;
The data format of equipment for needing to operate according to the host computer to the data content and the destination address into Row encapsulation;
The data packet obtained after encapsulation is sent to the equipment that the host computer needs to operate.
Further, the various communication interfaces of the network controller include: that RJ45 interface, RS232 interface, RS485 connect Mouthful.
A kind of data transmission system, the system comprises host computer, network controller and the different communications associations of multiple supports The equipment of view, the network controller have various communication interfaces and standard communication interface, and the network controller passes through one kind The equipment of communication interface communications protocol corresponding to support connects, the network controller by the standard communication interface with it is described Host computer connection, the network controller are used to execute any of the above-described data transmission method.
Compared with the method that the existing equipment for realizing different communications protocol is communicated, a kind of data biography provided by the invention A variety of different communications protocol are converted by defeated method, apparatus, network controller and system by a network controller A kind of preset standard agreement, the equipment for realizing different communications protocol need to only be realized by a network controller and host computer Communication, greatly reduces communication cost, and facilitate later maintenance.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the flow chart of data transmission method of the present invention;
Fig. 2 is another flow chart of data transmission method of the present invention;
Fig. 3 is the schematic diagram of data transmission device of the present invention;
Fig. 4 is another schematic diagram of data transmission device of the present invention;
Fig. 5 is the schematic diagram of inventive network controller;
Fig. 6 is the schematic diagram of data transmission system of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.It should be appreciated that specific embodiment described herein is only to explain this Invention, only a part of the embodiment of the present invention is not intended to limit the present invention instead of all the embodiments.
As shown in Figure 1, the flow chart 1 of data transmission method of the present invention, this method is applied to network controller, the network control There are many communication interface and standard communication interfaces for utensil processed, are all integrated on network controller, wherein each communication interface Can connect an equipment, the equipment of different communications protocol need with the connection of corresponding communication interface, standard communication interface with it is upper Position machine connection, this method can specifically include following steps:
Step 101: whether thering is communication interface to receive data packet in detection various communication interfaces.
It when the equipment of different communications protocol is communicated, is completed by corresponding communication interface, if communication connects Mouth does not correspond to, then communication interface can not receive data packet.
Step 102: when thering is communication interface to receive data packet in detecting various communication interfaces, to received number It is parsed according to packet, to obtain the data format and data content of the data packet.
Include data content and data format in the data packet received, wherein includes address, school in data format Test, specific character string etc., may be used to determine be which kind of communications protocol equipment data packet.
Step 103: according to transformational relation preset between different data format and standard data format, by the data packet Data Format Transform is standard data format.
The different data format of preset in advance and the transformational relation of standard data format are integrated in network controller, wherein Different data formats can all be done according to existing all data formats into the transformational relation, and certain standard data format can To be a kind of self-designed data format of user, it is also possible to user and uses one of existing data format as standard Data format.
Step 104: data content being packaged according to standard data format.
By different Data Format Transforms be setting standard data format after, by standard data format and data content weight Newly it is encapsulated into the data packet of standard.
Step 105: the data packet obtained after encapsulation is sent to host computer by standard communication interface.
Normal data packet after encapsulation is transferred to host computer by standard communication interface, and host computer only need to read data i.e. It can.
Optionally, referring to Fig. 2, another flow chart of data transmission method of the present invention, specifically further includes following steps:
Step 201: whether examination criteria communication interface receives the data packet of host computer transmission, which includes data Content and destination address.
When user needs to operate a certain equipment, user can assign operational order, host computer by host computer Receiving after operational order can include data content and target in the data packet to network controller transmission standard data packet The address of equipment.
Step 202: when detecting that standard communication interface receives the data packet of host computer transmission, to received number It is parsed according to packet, to obtain the data format and data content of the data packet.
The normal data packet received is parsed, to obtain the data format and data content of the normal data packet.
Step 203: according to the destination address in the data packet, determining the equipment that host computer needs to operate.
Network controller needs to be determined according to the destination address in normal data packet to need the equipment operated to be using which A kind of communication protocol.
Step 204: according to transformational relation preset between different data format and standard data format, by the data packet Data Format Transform is the data format for the equipment that host computer needs to operate.
The equipment for specifying communication protocol type, different data format and standard data format further according to preset in advance Standard data format is converted to corresponding data format by transformational relation.
Step 205: needing the data format of the equipment operated to seal data content and destination address according to host computer Dress.
Obtained data format is encapsulated together with data content and destination address, is encapsulated into needing to operate equipment Data packet.
Step 206: the data packet obtained after encapsulation is sent to the equipment that host computer needs to operate.
In the equipment operated needed for packaged data packet is transferred to by corresponding communication interface.
Optionally, referring to Fig. 3, the schematic diagram of data transmission device of the present invention, the various communication interfaces on network controller It include: the interface of RJ45 interface, RS232 interface, RS485 interface and other existing communication agreements, which includes:
First detection module, the first parsing module, the first conversion module, the first package module and the first transmission module;
First detection module is connect with each communication interface and the connection of the first parsing module, is used to detect each communication interface In whether there is communication interface to receive data packet, if there is data packet, data packet is just transferred to the first parsing module.
First parsing module is connect with the first conversion module, is used for when receiving data packet, to received number It is parsed according to packet, to obtain the data format and data content of the data packet, which kind of communications protocol which can be determined that Equipment data packet, but specific data content is not parsed, later by the data format of data packet and data content transmission To the first conversion module.
First conversion module is connect with the first package module, pre- for calling after receiving the data format of data packet If different data format and standard data format between transformational relation, by the Data Format Transform of the data packet be setting mark Quasi- data format gives the data format of normal data packet and data content transmission to the first package module later.
First package module is connect with the first transmission module, and standard data format and data content are packaged, and will Packaged normal data packet is transferred to first transmission module.
First transmission module is connect with standard communication interface, for leading to the normal data packet obtained after encapsulation by standard Communication interface is sent to host computer, for host computer reading.
Optionally, referring to Fig. 4, another schematic diagram of data transmission device of the present invention, the device further include:
Second detection module, the second parsing module, the second conversion module, the second package module and the second transmission module.
Second detection module is connect with standard communication interface and the second parsing module, is for examination criteria communication interface The no data packet for receiving host computer transmission, which is normal data packet, which includes data content and purpose The normal data packet is transferred to the second parsing module later by address.
Second parsing module is connect with the second conversion module, in the data packet for receiving the transmission of the second detection module When, received data packet is parsed, to obtain the data format and data content of the data packet, the second parsing module Also according to the destination address in the data packet, determine the equipment that host computer needs to operate, later by the data format of data packet and Data content transmission gives the second conversion module.
Second conversion module is connect with the second package module, pre- for calling after receiving the data format of data packet If different data format and standard data format between transformational relation, by the Data Format Transform of the data packet be it is described upper Machine needs the data format of equipment operated, and the data format for the equipment that host computer is needed to operate and data content transmission to Second package module.
Second package module is connect with the second transmission module, data format, the data of the equipment that host computer is needed to operate Content and destination address are packaged, and need the data packet of the equipment operated to be transferred to the second transmission packaged host computer Module.
Second transmission module is connect with each communications protocol interface, for the data packet obtained after encapsulation to be sent to host computer The equipment for needing to operate.
Optionally, referring to Fig. 5, the schematic diagram of inventive network controller, network controller includes processor and interface Collection modules, and there is various communication interfaces and standard communication interface, each communication interface in various communication interfaces is used for The equipment of communications protocol corresponding to support connects, and various communication interfaces are connect with set of interfaces module, and set of interfaces module makes Connection between various communication interfaces and processor becomes simple and direct, and standard communication interface with host computer for connecting, network-control The processor of device is for completing following steps:
Step 101: whether thering is communication interface to receive data packet in detection various communication interfaces.
Step 102: when thering is communication interface to receive data packet in detecting various communication interfaces, to received number It is parsed according to packet, to obtain the data format and data content of the data packet.
Step 103: according to transformational relation preset between different data format and standard data format, by the data packet Data Format Transform is standard data format.
Step 104: data content being packaged according to standard data format.
Step 105: the data packet obtained after encapsulation is sent to host computer by standard communication interface.
The processor of the network controller is also used to complete following steps:
Step 201: whether examination criteria communication interface receives the data packet of host computer transmission, which includes data Content and destination address.
Step 202: when detecting that standard communication interface receives the data packet of host computer transmission, to received number It is parsed according to packet, to obtain the data format and data content of the data packet.
Step 203: according to the destination address in the data packet, determining the equipment that host computer needs to operate.
Step 204: according to transformational relation preset between different data format and standard data format, by the data packet Data Format Transform is the data format for the equipment that host computer needs to operate.
Step 205: needing the data format of the equipment operated to seal data content and destination address according to host computer Dress.
Step 206: the data packet obtained after encapsulation is sent to the equipment that host computer needs to operate.
Optionally, referring to Fig. 6, the schematic diagram of data transmission system of the present invention, which includes host computer, network controller And equipment 1, equipment 2, the equipment 3 of the different communications protocol of three supports, network controller have various communication interfaces and standard Communication interface, network controller are connected by a kind of equipment of communication interface communications protocol corresponding to support, and network controller is logical It crosses standard communication interface to connect with host computer, the equipment of different communications protocol is by network controller, such as equipment 1, equipment in Fig. 6 2, equipment 3 is connect with network controller by corresponding communication interface respectively, as there are also other equipment can side by Formula is connect with network controller, and above-described data transmission method is used after connection, realizes the communication with host computer, equally Host computer is realized logical from the equipment of different communications protocol also by network controller using above-described data transmission method News.
Data transmission method and device proposed by the invention, network controller and data transmission system can be applied In energy station equipment, the monitoring of building equipment can also apply and be suitable for the place of this type at other, and the present invention is simultaneously unlimited Make its range.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include the element intrinsic for this process, method.
Above to a kind of method, apparatus, network controller and the system of data transmission provided by the present invention, carry out It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Illustrate to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to According to thought of the invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification It should not be construed as limiting the invention.

Claims (10)

1. a kind of data transmission method, which is characterized in that be applied to network controller, the network controller has a variety of communications Interface and standard communication interface, the network controller are connected by a kind of equipment of communication interface communications protocol corresponding to support It connecing, the network controller also passes through the standard communication interface and connect with host computer, this method comprises:
Whether detect in the various communication interfaces has communication interface to receive data packet;
When having communication interface to receive data packet in detecting the various communication interfaces, received data packet is carried out Parsing, to obtain the data format and data content of the data packet;
According to transformational relation preset between different data format and standard data format, by the Data Format Transform of the data packet For the standard data format;
The data content is packaged according to the standard data format;
The data packet obtained after encapsulation is sent to the host computer by the standard communication interface.
2. the method according to claim 1, wherein the method also includes:
Detect whether the standard communication interface receives the data packet that the host computer is sent, which includes data content And destination address;
When detecting that the standard communication interface receives the data packet that the host computer is sent, to received data packet It is parsed, to obtain the data format and data content of the data packet;
According to the destination address in the data packet, the equipment that the host computer needs to operate is determined;
According to transformational relation preset between different data format and standard data format, by the Data Format Transform of the data packet For the data format for the equipment that the host computer needs to operate;
The data format of the equipment operated is needed to seal the data content and the destination address according to the host computer Dress;
The data packet obtained after encapsulation is sent to the equipment that the host computer needs to operate.
3. the method according to claim 1, wherein the various communication interfaces include: RJ45 interface, RS232 Interface, RS485 interface.
4. the method according to claim 1, wherein the standard data format is user in the network-control The data format configured on device.
5. a kind of data transmission device, which is characterized in that be applied to network controller, the network controller has a variety of communications Interface and standard communication interface, the network controller are connected by a kind of equipment of communication interface communications protocol corresponding to support It connects, the network controller also passes through the standard communication interface and connect with host computer, and described device includes:
First detection module, the first parsing module, the first conversion module, the first package module and the first transmission module;
Whether the first detection module is used to detect in the various communication interfaces has communication interface to receive data packet, and will Data packet is transferred to first parsing module;
First parsing module is used for when receiving data packet, is parsed to received data packet, to be somebody's turn to do The data format and data content of data packet, and give the data format of the data packet and data content transmission to the first modulus of conversion Block;
First conversion module is used for according to transformational relation preset between different data format and standard data format, by this The Data Format Transform of data packet is the standard data format, and by the data format and data content of the normal data packet It is transferred to the first package module;
First package module is used to be packaged the data content according to the standard data format, and will be packaged Normal data packet be transferred to first transmission module;
First transmission module is used to the normal data packet obtained after encapsulation being sent to institute by the standard communication interface State host computer.
6. device according to claim 5, which is characterized in that described device further include:
Second detection module, the second parsing module, the second conversion module, the second package module and the second transmission module;
Second detection module is used to detect whether the standard communication interface to receive the data packet that the host computer is sent, The data packet includes data content and destination address, and the normal data packet is transferred to second parsing module;
Second parsing module is used for when receiving the data packet that second detection module is sent, to received number It is parsed according to packet, to obtain the data format and data content of the data packet, second parsing module is according to the data packet In destination address, determine the equipment that the host computer needs to operate, and by the data format and data content of the data packet It is transferred to second conversion module;
Second conversion module is used for according to transformational relation preset between different data format and standard data format, by this The Data Format Transform of data packet is the data format for the equipment that the host computer needs to operate, and the host computer is needed to grasp The data format and data content transmission of the equipment of work give second package module;
Second package module is used to need the data format of the equipment operated to the data content according to the host computer Be packaged with the destination address, and by the packaged host computer need the equipment operated data packet be transferred to it is described Second transmission module;
Second transmission module is used to the data packet obtained after encapsulation being sent to the equipment that the host computer needs to operate.
7. a kind of network controller, which is characterized in that the network controller includes processor, and have various communication interfaces and Standard communication interface, equipment company of each communication interface for communications protocol corresponding to supports in the various communication interfaces It connects, for connecting with host computer, the processor is used for the standard communication interface:
Whether detect in the various communication interfaces has communication interface to receive data packet;
When having communication interface to receive data packet in detecting the various communication interfaces, received data packet is carried out Parsing, to obtain the data format and data content of the data packet;
According to transformational relation preset between different data format and standard data format, by the Data Format Transform of the data packet For the standard data format;
The data content is packaged according to the standard data format;
The data packet obtained after encapsulation is sent to the host computer by the standard communication interface.
8. network controller according to claim 7, which is characterized in that the processor is also used to:
Detect whether the standard communication interface receives the data packet that the host computer is sent, which includes data content And destination address;
When detecting that the standard communication interface receives the data packet that the host computer is sent, to received data packet It is parsed, to obtain the data format and data content of the data packet;
According to the destination address in the data packet, the equipment that the host computer needs to operate is determined;
According to transformational relation preset between different data format and standard data format, by the Data Format Transform of the data packet For the data format for the equipment that the host computer needs to operate;
The data format of the equipment operated is needed to seal the data content and the destination address according to the host computer Dress;
The data packet obtained after encapsulation is sent to the equipment that the host computer needs to operate.
9. network controller according to claim 7, which is characterized in that the various communication interfaces packet of the network controller It includes: RJ45 interface, RS232 interface, RS485 interface.
10. a kind of data transmission system, which is characterized in that the system comprises host computer, network controller and multiple supports The equipment of different communications protocol, the network controller have various communication interfaces and standard communication interface, the network-control Device is connected by a kind of equipment of communication interface communications protocol corresponding to support, and the network controller passes through the standard traffic Interface is connect with the host computer, and the network controller requires any data transmission method of 1-4 for perform claim.
CN201811103420.7A 2018-09-20 2018-09-20 A kind of method, apparatus, network controller and the system of data transmission Pending CN109088882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811103420.7A CN109088882A (en) 2018-09-20 2018-09-20 A kind of method, apparatus, network controller and the system of data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811103420.7A CN109088882A (en) 2018-09-20 2018-09-20 A kind of method, apparatus, network controller and the system of data transmission

Publications (1)

Publication Number Publication Date
CN109088882A true CN109088882A (en) 2018-12-25

Family

ID=64842140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811103420.7A Pending CN109088882A (en) 2018-09-20 2018-09-20 A kind of method, apparatus, network controller and the system of data transmission

Country Status (1)

Country Link
CN (1) CN109088882A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427321A (en) * 2020-04-17 2020-07-17 长春融成智能设备制造股份有限公司 Multi-protocol-compatible MES data acquisition system and method thereof
CN111756781A (en) * 2019-03-28 2020-10-09 上海新微技术研发中心有限公司 Sensor integrated interaction device and interaction method
CN112084245A (en) * 2020-09-03 2020-12-15 深圳力维智联技术有限公司 Data management method, device and equipment based on micro-service architecture and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201118640Y (en) * 2007-07-20 2008-09-17 核工业理化工程研究院 Multi-interface communication protocol converter
CN101673107A (en) * 2008-09-09 2010-03-17 上海轻工业研究所有限公司 Multi-path serial communication converter and distributed control system applied by same
US20120184354A1 (en) * 2001-04-19 2012-07-19 Igt Open architecture communications in a gaming network
CN104901877A (en) * 2015-06-17 2015-09-09 燕山大学 Multi-interface self-adaptive wireless heterogeneous network protocol conversion method and communication device
CN107342920A (en) * 2017-04-24 2017-11-10 南京龙渊微电子科技有限公司 Things-internet gateway access device and its data interactive method
CN108040005A (en) * 2017-12-05 2018-05-15 大连理工大学 A kind of numerically-controlled machine tool intelligent monitoring gateway based on Internet of Things

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120184354A1 (en) * 2001-04-19 2012-07-19 Igt Open architecture communications in a gaming network
CN201118640Y (en) * 2007-07-20 2008-09-17 核工业理化工程研究院 Multi-interface communication protocol converter
CN101673107A (en) * 2008-09-09 2010-03-17 上海轻工业研究所有限公司 Multi-path serial communication converter and distributed control system applied by same
CN104901877A (en) * 2015-06-17 2015-09-09 燕山大学 Multi-interface self-adaptive wireless heterogeneous network protocol conversion method and communication device
CN107342920A (en) * 2017-04-24 2017-11-10 南京龙渊微电子科技有限公司 Things-internet gateway access device and its data interactive method
CN108040005A (en) * 2017-12-05 2018-05-15 大连理工大学 A kind of numerically-controlled machine tool intelligent monitoring gateway based on Internet of Things

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111756781A (en) * 2019-03-28 2020-10-09 上海新微技术研发中心有限公司 Sensor integrated interaction device and interaction method
CN111756781B (en) * 2019-03-28 2023-08-11 上海新微技术研发中心有限公司 Sensor integrated interaction device and interaction method
CN111427321A (en) * 2020-04-17 2020-07-17 长春融成智能设备制造股份有限公司 Multi-protocol-compatible MES data acquisition system and method thereof
CN112084245A (en) * 2020-09-03 2020-12-15 深圳力维智联技术有限公司 Data management method, device and equipment based on micro-service architecture and storage medium
CN112084245B (en) * 2020-09-03 2024-03-12 深圳力维智联技术有限公司 Data management method, device, equipment and storage medium based on micro-service architecture

Similar Documents

Publication Publication Date Title
CN106878459B (en) Self-adaptive Internet of things intelligent gateway implementation method and equipment thereof
CN105491017B (en) The more equipment multi-protocol analysis method and system of RS485 buses
CN109088882A (en) A kind of method, apparatus, network controller and the system of data transmission
CN107210943B (en) Device access by means of universal communication driver
CN103188122B (en) Communication system and communication method based on CAN (Controller Area Network)
CN202455371U (en) Multi-machine testing system
CN106549863A (en) A kind of things-internet gateway, terminal and its protocol self-adapting method and apparatus
US11435729B2 (en) Method for operating a field device
CN103139017B (en) The test system and method for a kind of network equipment
CN103428627A (en) Method for transferring data in internet of things, internet of things system and corresponding device
DE602005013410D1 (en) Method, apparatus and computer program product for maintaining mapping assignments
SE0103535D0 (en) A system of intelligent devices, a method for providing such a system and a computer data signal
CN104993947A (en) Method for upgrading firmware in batches
CN203734702U (en) General data collection module based on OPC UA
CN104144149A (en) Transmission processing method and system for data of sensing Internet of Things and gateway
CN105897652A (en) Standard protocol based heterogeneous terminal dynamic access method
CN105812368A (en) Universal programming method for multiple communication protocols
CN206212028U (en) Enable the wireless process communication gateway of NFC
CN103326936A (en) Multi-protocol gateway of Internet of Things allowing unified access of various heterogeneous sensing layer networks
CN103117881A (en) Resource management system of Internet of Things
CN103973763A (en) Terminal control system and gateway
CN106130855A (en) Data processing method and device
CN110958590B (en) Heterogeneous equipment integrated system based on multi-protocol edge computing gateway
CN116208727B (en) Video matrix switcher based on multi-user modularization and control method thereof
CN102594871B (en) A kind of data encapsulation method, system, adapter and Internet of things middleware

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: 20181225

RJ01 Rejection of invention patent application after publication