CN103944798A - Data transparency transmission device of heterogeneous network - Google Patents

Data transparency transmission device of heterogeneous network Download PDF

Info

Publication number
CN103944798A
CN103944798A CN201410160795.2A CN201410160795A CN103944798A CN 103944798 A CN103944798 A CN 103944798A CN 201410160795 A CN201410160795 A CN 201410160795A CN 103944798 A CN103944798 A CN 103944798A
Authority
CN
China
Prior art keywords
data
network
protocol
module
microprocessor
Prior art date
Application number
CN201410160795.2A
Other languages
Chinese (zh)
Inventor
胡事民
刘虎球
Original Assignee
清华大学
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 清华大学 filed Critical 清华大学
Priority to CN201410160795.2A priority Critical patent/CN103944798A/en
Publication of CN103944798A publication Critical patent/CN103944798A/en

Links

Abstract

The invention discloses a data transparency transmission device of the heterogeneous network. The data transparency transmission device comprises a micro-processor protocol constructing module for constructing a basic functional protocol, and a network protocol converting module for transmitting or converting data. The micro-processor protocol constructing module and the network protocol converting module are in both-way communication, the micro-processor protocol constructing module constructs, processes and transmits data of original hardware equipment to the network protocol converting module after receiving the data of the original hardware equipment, and the network protocol converting module processes the transmitted data and sends the processed transmitted data to the network. The network protocol converting module processes and transmits the data transmitted from the network to the micro-processor protocol constructing module after receiving the data from the network, and the micro-processor protocol constructing module processes and sends the data transmitted by the network to a user terminal. According to the data transparency transmission device, an original low-speed device can effectively achieve network interconnection, transmission is carried out in a tunnel mode, remote control and access capabilities are enhanced, and transparency transmission of the data is achieved.

Description

—种异构网络数据透明传送装置 - isomers transparent network data transmission apparatus

技术领域 FIELD

[0001] 本发明涉一种异构网络数据透明传送装置,属于通信技术领域。 [0001] The present invention relates to a heterogeneous network a transparent data transfer apparatus belonging to the communication technical field.

背景技术 Background technique

[0002] 随着人类社会和经济的不断发展,信息的交换和传输已经成为人们生活中与衣食住行一样必不可少的一部分。 [0002] As human society and the economy continues to develop, exchange and transmission of information has become the basic necessities of life as an essential part. 为了实现此目的,通信技术在近50年内呈现出异常繁荣的景象,这也带来了多种类型通信网络的共存,即异构型网络(heterogeneous network)。 To achieve this, communication technology in the past 50 years, showing abnormal prosperity, which also brought coexistence of multiple types of communication networks, namely heterogeneous network (heterogeneous network). 随着物联网的发展,异构网络出现的越来越多,例如,以WLAN、3G、4G等技术相融合的无线异构网络已在全球范围内进行覆盖。 With the development of things, more and more heterogeneous network appears, for example, WLAN, 3G, 4G and other wireless technology integration of heterogeneous networks have been covered worldwide. 在异构通信环境中,各种数据可通过异构网络中的不同网络传输至接收端。 Communication in a heterogeneous environment, various data may be transmitted to the receiver in a heterogeneous network different from a network through.

[0003] 一方面越来越多的设备期待连接进入互联网,另一方面,传统的微型处理器缺乏网络直连能力,并且在原有的设计中,大都存在自身独特的内部互联协议,因此设计一种能够在异构网络中进行数据传送,并对原有的微型处理器修改较少,甚至不需修改的情况下完成网络互联和传送无疑是非常有益的。 [0003] On the one hand expect more and more devices are connected into the Internet, on the other hand, the traditional microprocessor lack of network Direct Connect capabilities, and in the original design, there is mostly its own unique internal interconnection agreement, so the design of a species capable of transmitting data in heterogeneous networks, and modify the existing micro-processor less, and even complete network interconnection and transmission without the need to modify is undoubtedly very useful.

[0004] 所谓透明传送,是指原有的微型处理器或设备送给自身的接口进行短距离数据传送,如低速串口。 [0004] The so-called transparent transmission, refers to the original to the microprocessor device itself or the short-distance data transfer interface, such as a low-speed serial. 而使用本方案中的装置后,微型处理器可以直接不需要改变自身的情况下,将数据穿越互联网,传送到遥远的接收端。 After the apparatus according to the present embodiment is used, the microprocessor directly without changing the case itself, the data across the Internet, is transmitted to the remote receiver. 而发送端无需关注,网络的传送的具体实现,甚至不需关心网络的存在与否。 And the sender without paying attention to the specific implementation of the transmission network, even without the presence of a network of care or not.

发明内容 SUMMARY

[0005](一)要解决的技术问题 [0005] (a) To solve technical problems

[0006] 本发明要解决的技术问题是:使原有的低速设备实现网络互联。 [0006] The present invention is to solve the technical problem: so that the original low-speed device for network interconnection.

[0007] (二)技术方案 [0007] (ii) Technical Solution

[0008] 为解决上述技术问题,本发明提供了一种异构网络数据透明传送装置,包括: [0008] In order to solve the above technical problem, the present invention provides a heterogeneous network a transparent data transmission apparatus, comprising:

[0009] 构造基本功能协议的微型处理器协议构造模块,对数据传送或转换的网络协议转换模块; Microprocessor module configured protocol [0009] The basic configuration of functions of the protocol, or data transfer network protocol conversion module converting;

[0010] 所述微处理器协议构造模块、所述网络协议转换模块相互双向通信连接; [0010] The microprocessor configuration protocol module, a network protocol conversion module connected to two-way communication with each other;

[0011] 所述微型处理器协议构造模块接收原有的硬件设备数据后构造处理并传输至网络协议转换模块,所述网络协议转换模块对传送的数据处理后发送至网络;所述网络协议转换模块接收到从网络传输的数据后处理并传输至所述微型处理器协议构造模块,所述微型处理器协议构造模块接收数据并按照协议进行反向解码,然后发送给原有的硬件设备。 The [0011] microprocessor module configured protocol after receiving the original hardware configuration data processed and transmitted to a network protocol conversion module, a network protocol conversion module to transfer data post-processing to the network; the network protocol conversion module receives the processed data transmitted from the network and transmitted to the microprocessor configuration protocol module, a microprocessor module configured to receive data protocol and protocol decoding in reverse, and then transmitted to the existing hardware.

[0012] 其中较优地,所述异构网络数据透明传送装置还包括:用于对网络数据加密、功能选择的配置模块,所述配置模块分别与所述微处理器协议构造模块、所述网络协议转换模块双向通信连接; [0012] wherein Jiaoyou, said heterogeneous network transparent data transfer apparatus further comprises: a configuration module for the network data encryption, the selected function, the configuration module configured protocol respectively to the microprocessor module, the bidirectional network communication protocol conversion module is connected;

[0013] 所述配置模块对所述微处理器协议构造模块的数据加密处理后传输至所述网络协议转换模块;所述配置模块对所述网络协议转换模块接受的数据解密处理后传输至所述微处理器协议构造模块。 [0013] module to transmit the configuration data after the encrypted microprocessor configuration protocol module to the network protocol conversion module; the configuration of the module to the network protocol conversion module receiving a data transmitted to the decryption processing said microprocessor configuration protocol module.

[0014] 其中较优地,所述微型处理器协议构造模块接收原有的硬件设备的数据后构造处理时将数据通过指定的协议构造成可扩展的传输数据,并发送至网络协议转换模块。 After [0014] wherein Jiaoyou, said microprocessor receiving data existing hardware configuration of the protocol processing module configured data structure specified by the data transfer protocol to be extended, and transmits to the network protocol conversion module.

[0015] 其中较优地,所述可扩展的传输数据包含地址、功能码、有效应用数据和校验值。 [0015] wherein Jiaoyou, the transmission of scalable data includes address, function code, a valid application data and a check value.

[0016] 其中较优地,所述微型处理器协议构造模块接收原有的硬件设备的数据后用简单加密方式构造处理。 Simple encryption processing configuration with the [0016] wherein Jiaoyou, said microprocessor receives data protocol module configured original hardware device.

[0017] 其中较优地,所述网络协议转换模块接收到从网络传输的数据是远程控制命令; [0017] wherein Jiaoyou, the network protocol conversion module receives data over a network from a remote control command;

[0018] 网络协议转换模块接收到网络传输的远程控制命令后处理并传输至所述微型处理器协议构造模块,所述微型处理器协议构造模块对远程控制命令按照协议进行反向解码,然后发送给原有的硬件设备执行命令。 [0018] Network protocol converter module receives the network after the transmission of remote control commands processed and transmitted to the microprocessor configuration protocol module, a microprocessor module configured protocol remote control protocol decoded in reverse order, and then sent command to execute the original hardware.

[0019] 其中较优地,所述网络协议转换模块将获得的数据以隧道的形式进行打包,打包后以数据包形式发送至网络。 Data [0019] wherein Jiaoyou, the network protocol conversion module obtained is packaged in the tunnel, the package sent to the network in packets.

[0020] 其中较优地,所述网络协议转换模块对网络中传送的数据发送时按是否加密区分发送。 [0020] wherein Jiaoyou, the encrypted transmitted in distinguishing whether said data network protocol conversion module for transmitting a transmission network.

[0021] 其中较优地,所述按是否加密区分发送通过对发送端口的奇偶性分别传送。 [0021] wherein Jiaoyou, said encrypted distinguished according to whether transmission of transmission by each transmit port parity.

[0022](三)有益效果 [0022] (c) beneficial effect

[0023] 本发明提供的异构网络数据透明传送装置,能够有效使得原有的低速设备实现网络互联,并通过以隧道的形式传送,增强远程控制和访问能力,实现数据的透明传送。 [0023] heterogeneous network according to the present invention provides transparent data transfer apparatus, so that the original can effectively implement a low-speed network interconnection device, and by transmitting in the form of a tunnel, remote control and enhanced access capability to achieve transparent transfer of data.

附图说明 BRIEF DESCRIPTION

[0024] 图1是异构网络数据透明传送装置整体结构示意图; [0024] FIG. 1 is an overall schematic view of a data structure of a heterogeneous network transparent transmission means;

[0025] 图2是本发明实施例1提供的WIFI接入的应用场景不意图; [0025] FIG. 2 is a WIFI access application scenario according to an embodiment provided in the present invention is not intended;

[0026] 图3是本发明实施例2提供的以太网接入的应用场景示意图; [0026] FIG. 3 is a schematic diagram of an application scenario provides Ethernet access according to the second embodiment of the present invention;

[0027] 图4是本发明实施例3提供的混合接入的应用场景示意图。 [0027] FIG. 4 is a schematic application scenario hybrid access according to an embodiment 3 of the present invention.

具体实施方式 Detailed ways

[0028] 下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。 [0028] The following embodiments and the accompanying drawings, specific embodiments of the present invention will be further described in detail. 以下实施例用于说明本发明,但不用来限制本发明的范围。 The following examples serve to illustrate the present invention but are not intended to limit the scope of the present invention.

[0029] 如图1所示,本发明提供一种异构网络数据透明传送装置,其特征在于,包括:构造基本功能协议的微型处理器协议构造模块,对数据传送或转换的网络协议转换模块;所述微处理器协议构造模块、所述网络协议转换模块相互双向通信连接;所述微型处理器协议构造模块接收原有的硬件设备的数据后构造处理后传输至网络协议转换模块,网络协议转换模块对传送的数据处理后发送至网络;网络协议转换模块接收到从网络传输的数据后处理并传输至微型处理器协议构造模块,微型处理器协议构造模块接收网络协议转换模块传输的数据后,按照协议进行反向解码,然后发送给原有的硬件设备。 [0029] As shown, the present invention provides a heterogeneous network a transparent data transfer apparatus comprising: a microprocessor configured protocol module configured basic functions of the protocol, the network protocol conversion of data transfer or conversion module ; the microprocessor configuration protocol module, a network protocol conversion module connected to two-way communication with each other; after the microprocessor protocol module configured to receive data after the original hardware configuration of the processing apparatus to the network transport protocol conversion module, network protocol the network protocol conversion module receives the processed data to the network transmission data from the microprocessor and transmitted to the protocol configuration module, the microprocessor module configured to receive network protocol conversion module transmission protocol; converting module data transmission process after transmitting to the network Based on the protocol reverse decoded and then sent to the existing hardware. 下面对本发明展开详细说明。 Expand the following detailed description of the present invention.

[0030] 微型处理器协议构造模块中,根据用户的功能需求可以设计出基本的功能协议,协议中包含用户所需的基本数据。 [0030] The microprocessor module protocol architecture, according to the functional requirements of the user can design the basic function protocol, the protocol comprising the basic data required by the user. 微型处理器协议构造模块与数据发送原有的硬件设备通过串口连接。 Protocol module and a microprocessor configured to transmit data the original hardware device via the serial port. 该原有的硬件设备一般指一些传感器(例如:温度传感器)。 The original hardware device generally refers to a number of sensors (for example: a temperature sensor). 微型处理器协议构造模块将通过串口接收到原有的硬件设备(数据发送端)发送的数据(网络传感等数据)通过指定的协议构造成可扩展的传输数据,并发送至网络协议转换模块。 Microprocessor module configured protocol data received through the serial port hardware original (data sender) sent (network sensing and other data) may be configured to transmit data expanded by the specified protocol, and protocol conversion module to the network . 该可扩展的传输数据常常包含地址、功能码、有效应用数据和校验值等。 The scalable often contain the transmission data address, function code, application data, and valid checksum values ​​and the like. 微型处理器协议构造模块优选还可以选择使用简单加密方式或明文进行传送,在数据中还可以包含简单的数据校验位,最终数据通过串口将数据进行发送和接收。 The microprocessor module is preferably configured protocol may also choose to use simple encryption or transmit clear text, the data may also include a simple parity bit data, the data will eventually be transmitted and received data through the serial port. 例如,温度传感器网络中每个传感器可以感知温度信息,并通过四个字节Dl、D2、D3、D4将温度返回给接收者,如Dl=2,D2=5, D3=8, D4=0表示检测的温度为25.80摄氏度。 For example, each of the temperature sensor network sensor may sense temperature information, and by four bytes Dl D2, D3, D4 returning the temperature, to the recipient, such as Dl = 2, D2 = 5, D3 = 8, D4 = 0 temperatures are detected as 25.80 degrees. 原有的传感器不具备网络功能,因此无法完成远程访问。 Existing sensors do not have the network function, and therefore can not complete remote access. 在本装置中,首先微型处理器协议构造模块会将D1、D2、D3、D4进行初步构造。 In this apparatus, first, the microprocessor will protocol module configured D1, D2, D3, D4 initial configuration. 例如增加协议标示起始位Sl=0x22,增加地址Al=OxOl,增加功能码Fl=OxOl用于表示温度,然后附加4个字节的数据,最后增加一个字节Cl校验(简单加密方式)。 Flag initiation protocol such as increased Sl = 0x22, address increment Al = OxOl, increasing the function code is used to represent Fl = OxOl temperature, and then 4 bytes of additional data, and finally adding a parity byte Cl (simple encryption) . 即发送DATA=S1A1F1D1D2D3D4C1,共8个字节。 I.e. transmission DATA = S1A1F1D1D2D3D4C1, 8 bytes. 微型处理器协议构造模块接收网络协议转换模块传输的数据后,按照协议进行反向解码,然后发送给原有的硬件设备(数据接收端),使得原有的硬件设备能够在无需升级内部硬件的条件下接收到远端的数据。 After the microprocessor protocol module configured to receive data transfer network protocol conversion module, according to the protocol reverse decoded and then sent to the original hardware (data receiving side), so that existing hardware can be upgraded without the need for internal hardware under the conditions of remote data received. 例如,远端发送的控制命令通过网络传输至原有的硬件设备(下文有详细说明)。 For example, the distal end of the control command sent over the network to the original hardware devices (as detailed below).

[0031] 网络协议转换模块接收微型处理器协议构造模块处理后的可扩展的传输数据后,网络协议转换模块将该可扩展的传输数据通过网络传输。 [0031] Network protocol conversion module, after receiving the transmission data of the scalable microprocessor configuration protocol module for processing the network protocol conversion module scalable transmission data over a network. 在此过程中,网络协议转换模块将获得的微处理器发出的串口数据以隧道的形式进行打包,打包后以数据包形式向网络传输(不对原有的数据进行转换,直接作为数据进行打包)通过此方法,使得各个模块的功能较为独立,同时对传送的数据不存在任何的特殊要求。 In this process, the microprocessor serial data network protocol conversion module will be emitted in the form of a tunnel packaged in packets (not convert the original data, as data is packaged directly) transmitted to the network after the package by this method, so that the function of each module is relatively independent, while the data transmitted does not exist any special requirements. 当网络协议转换模块收到从网络传输的数据时,网络协议转换模块从连接的TCP、UDP网络中获取传送的有效数据。 When the network protocol conversion module receives data transmitted from the network, the network protocol conversion module obtains the valid data transferred from the TCP, UDP network connection. 将该有效数据直接传送给微处理器协议构造模块或可配置模块。 The effective transfer data directly to the microprocessor configuration protocol module or configuration module. 网络协议转换模块,还包括识别网络中传送的数据是否加密区分的功能,主要是通过对发送端端口的奇偶性进行隐形判断。 Network protocol conversion module further comprises data identifying whether the transmitted encrypted network distinguishing feature, is mainly determined by the parity invisible transmission side port. 例如,网络协议转换模块接收到的是PDATA (加密)数据,则网络协议模块将可扩展的传输数据发送到网络中时,使用偶数端口号,同理,接收端收到该数据时,查看发送的端口号发现为偶数时,则视为加密数据,将该数据交给可配置模块进行解密;网络协议转换模块接收到的是DATA (不加密)数据,则使用奇数端口号将可扩展的传输数据发送到网络中。 For example, a network protocol conversion module is received PDATA (encrypted) data, the network protocol module scalable transmission data transmitted to the network when using even port number, the same token, the receiver receives the data, view the transmission It found port number is an even number, the encrypted data is considered, the data module may be configured to decrypt; a network protocol conversion module is received dATA (not encrypted) data, odd port numbers to be transmitted using the extended transmitting data to the network. 使得接收端收到该数据时,查看发送的端口号发现为奇数时,则视为非加密数据,将该数据直接交给微型处理器协议构造模块。 Such that when the receiver receives the data, view the port number is odd discovery transmission, is considered non-encrypted data, the data directly to the microprocessor configuration protocol module. 即接收方接收到数据后,通过查看源端口的奇偶性即可获知数据是否处于加密状态。 That is, after the receiver receives the data, parity by viewing the source port can be known whether the data in an encrypted state.

[0032] 当网络协议转换模块收到从网络传输的数据时,首先进行的是网络协议转换,发现源端口为偶数端口,则传输的数据是密文,则将数据进行解密处理,否则直接将数据交由微处理器协议构造模块。 [0032] When a network protocol conversion module receives data transmitted from the network, the first network protocol conversion is performed, even port source port is found, the data is transmitted ciphertext, decrypt the data is processed, or directly data referred to the microprocessor configuration protocol module.

[0033] 网络协议转换模块将数据包形式向网络传输数据时,将数据作为TCP或UDP的数据,并将数据以网络方式送入互联网,实现远距离数据传送。 [0033] Network protocol conversion module converts data packets to form a data transmission network, the data as TCP or UDP data, the data sent to the Internet network approach, to achieve long-distance data transmission. 传输数据的网络优选包括以太网协议实施的LAN、WLAN网络,以及通过3G网络转换的以太网标准网络。 Data transmission network of the embodiment preferably comprises an Ethernet protocol LAN, WLAN network, and Ethernet standard network converted by the 3G network. 反之网络协议转换模块可以从上述网络接收数据。 Conversely network protocol conversion module may receive data from the network.

[0034] 网络协议转换模块支持TCP、UDP两种数据传送方式。 [0034] Network protocol conversion module supports TCP, UDP two data transfer mode. 其中,对一些延要求较低的实施例中,通过使用TCP连接方式,将数据发送给接收者,由于TCP提供了可靠传输服务,因此发送端的数据发送后可以感知接收方收到发送的数据。 Wherein the extension of some less demanding embodiment, by using the TCP connection, send data to the recipient, since TCP provides a reliable transport service, and therefore the transmission side data transmission may perceive the receiver receives data transmitted. 例如发送成功后通过网络向微处理器协议构造模块发送数据发送成功的信息,如果发生失败则通过网络向微处理器协议构造模块发送数据发送失败的信息。 After successfully transmitting the transmission data, for example, the success information transmitted to the microprocessor through a network protocol module configured to, if the failure occurs in the transmission information data is transmitted to the microprocessor failed modules through a network protocol architecture. 因此网络协议转换模块通过TCP协议对网络传输的数据提供可靠保障。 Thus the network protocol conversion module to provide reliable protection of data transmitted over the network via the TCP protocol. 对一些对时延要求较低,同时可以自主要求数据重传的应用实施例中,协议转换模块在发送后并不关心接收端是否真正收到了该数据,可以使用UDP网络协议。 Some of the low latency requirement, and can customize the application embodiment requires data retransmission embodiment, after the transmission protocol conversion module does not care whether the receiver actually receives this data, network protocol UDP may be used. 该方式使得传送带来的额外开销和延迟较小。 The way that the overhead transmission delay and brought small. 例如,远端需要获知发送端的实时温度,对延迟要求较高,而网络中出现丢包等不可靠性因素时,远端可以直接要求重传,网络只需保证每次获得的数据延迟误差较小即可。 For example, the distal end need to know in real time the temperature of the transmitting end, high-delay, and packet loss, unreliability occurs in the network, the distal end may be directly retransmission is required, only to ensure data network delay errors than CPA small can be. 因此网络协议转换模块通过UDP协议对网络传输的数据提供不可靠保障。 Thus the network protocol conversion module does not provide reliable protection for data transmitted via the network protocol UDP.

[0035] 如图1所示,本异构网络数据透明传送装置还包括用于对网络数据加密、功能选择的配置模块,配置模块分别与微处理器协议构造模块、网络协议转换模块双向通信连接;配置模块对微处理器协议构造模块的数据加密处理后传输至网络协议转换模块;配置模块对网络协议转换模块接受的数据解密处理后传输至微处理器协议构造模块。 [0035] As shown in FIG. 1, the present heterogeneous network data transfer apparatus further comprises a transparent network data encryption, function selection configuration module, a configuration module, a network protocol conversion module connected to the microprocessor bidirectional communication protocol module configured for respectively ; transfer network protocol conversion module to the configuration data encryption module configured for microprocessor protocol processing module; the network configuration module of the protocol conversion module receiving a data transmitted to the decryption processing configuration protocol module microprocessor. 当用户需要将数据发送原有的硬件设备发送的数据在网络中以密文或明文的形式传送时,用户可以选择在该配置模块完成加解密功能配置、功能功能选择。 When a user needs to transmit data the original hardware device when transmitting transmitted as ciphertext or plaintext in the network, the user may choose to complete the encryption and decryption modules disposed in the configuration, function selection function. 例如,将微处理器协议构造模块构造完成的可扩展的传输数据进行加密时,假定选择对称加密方式,配置模块通过调用加密函数,将DATA转换成密文数据PDATA=Pl: P8,长度仍旧为8个字节,然后将PDATA发送给协议转换模块。 For example, the transmission data from the microprocessor scalable configuration protocol module configured to encrypt completed, it is assumed a symmetric cryptosystem, encryption function calls by the configuration module, the data DATA is converted into ciphertext PDATA = Pl: P8, still of length 8 bytes, and then sent to the protocol conversion module PDATA. 反之,如果网络协议转换模块对接收到的数据进行网络协议转换后,发现源端口为偶数端口,则传输的数据是密文(PDATA),则将数据进传输至配置模块行解密处理,将解密处理后的数据交由微处理器协议构造模块处理。 Conversely, if the network protocol conversion module received data network protocol conversion, even port source port is found, then the data transmission is the ciphertext (PDATA), the data is transmitted to the feed line configuration module decryption process, decryption data processing module configured to process protocol referred microprocessor.

[0036] 本异构网络数据透明传送装置还还包括从用户在远端主动向微处理器发送命令数据,即远端用户构造控制命令,通过网络发送。 [0036] The present heterogeneous network data transparent data transfer apparatus further comprises a further active user sends a command to the microprocessor from the distal end, i.e. the distal end user configuration control command sent through the network. 当网络协议转换模块收到该数据后,直接将数据按照源端口的奇偶性传送至可配置模块或微处理器协议构造模块,最终微处理器协议构造模块收到该数据后,将执行改命令。 When the network protocol conversion module receives the data, according to the parity of the data directly to the transmission source port configuration module or the microprocessor may be configured protocol module, the final protocol architecture microprocessor module receives the data change commands will be executed . 例如远端用户希望从数据发送原有的硬件设备返回传感器的状态信息。 Such as the remote user wishes to send the original hardware device returns status information from the sensor data. 下面以上述温度传感器为例,用户希望通过远程命令构造协议标示起始位Sl=0x55,增加地址Al=OxOl,增加功能码Fl=OxOl用于表示温度,然后附加4个字节的命令Ml-M4=0x01,0x01,0x01,0x01,最后增加一个字节Cl校验,即发送DATA=S1A1F1M1M2M3M4C1,共8个字节。 Below an example of the temperature sensor, designated by the user wishes to start remote command protocol configuration bits Sl = 0x55, address increment Al = OxOl, increasing the function code is used to represent Fl = OxOl temperature and then an additional four-byte command Ml- M4 = 0x01,0x01,0x01,0x01, Cl last byte checksum increased, i.e. the transmission DATA = S1A1F1M1M2M3M4C1, 8 bytes. 用户使用TCP网络协议通过奇数端口发出。 User protocol TCP network through odd port emitted. 接收端网络协议构造模块收到上述8个字节,直接交给微处理器协议构造模块,微处理器协议构造模块将接收到的上述信息拆分,得到控制命令Ml-M4=0x01,0x01,0x01,0x01,并根据用户设定,执行该命令,返回当前的温度信息。 Network protocol module configured to receive end receiving the eight bytes directly to the microprocessor configuration protocol module, microprocessor module above protocol architecture splits the received information, to obtain the control command Ml-M4 = 0x01,0x01, 0x01,0x01, according to the user set, this command is executed, returns the current temperature information.

[0037] 下面通过几个实施例对本发明的功能展开详细的说明。 [0037] Next, several embodiments to expand functions of the present detailed description of the invention.

[0038] 实施例1 [0038] Example 1

[0039] 为更好的阐述发明提供的异构网络数据透明传送装置,因此结合图2予以阐述。 [0039] heterogeneous network data is better described invention provides transparent transport means, thus be elaborated in connection with Fig. 如图2所示,原有的硬件设备(如传感器)通过串口与异构网络数据透明传送装置的微型处理器协议构造模块直接相连,进行数据传送,异构网络数据透明传送装置则帮助原有的硬件完成远程数据传送和网络互联功能。 2, the original hardware devices (such as sensors) through a serial data directly connected with the heterogeneous network configuration protocol module microprocessor transparent transmission apparatus, data transfer, transparent data transfer apparatus heterogeneous network original helped hardware with remote data transmission and networking capabilities.

[0040] 在图2中,没有异构网络数据透明传送装置之前,原有的硬件设备(终端A)和原有的硬件设备(终端B)直接通过串口进行设备直接的数据交换,数据传送距离较短。 [0040] In FIG. 2, no transparent heterogeneous network prior to the data transfer means, the original hardware device (terminal A) and the original hardware (terminal B) for direct data exchange apparatus directly through the serial port, the data transfer distance shorter. 通过将串口接入到异构网络数据透明传送装置后,异构网络数据透明传送装置以WIFI的接入的方式实现互联到广域网,此时原有的硬件设备(终端A)和原有的硬件设备(终端B)的传送距离可以穿越广域网实现长距离传输。 By serial access to a heterogeneous network transparent data transfer means, heterogeneous network data transmission apparatus in a manner transparent to the WIFI access to a wide area network are interconnected, at this time the original hardware device (terminal A) and the original hardware transmission distance apparatus (terminal B) can be transmitted long-distance traverse the WAN.

[0041] 实施例2 [0041] Example 2

[0042] 为更好的阐述发明提供的异构网络数据透明传送装置,因此结合图3予以阐述。 [0042] heterogeneous network data is better described invention provides transparent transfer apparatus in conjunction with FIG. 3 thus be explained. 如图3所示,原有的硬件设备(如传感器)通过串口与异构网络数据透明传送装置的微型处理器协议构造模块直接相连,进行数据传送,异构网络数据透明传送装置本则实现网络互联功能。 3, the microprocessor configuration protocol module original hardware devices (such as sensors) through the serial port heterogeneous network transparent data transmission apparatus directly connected, data transfer, transparent data transfer apparatus heterogeneous networks is achieved according to the present network Internet capabilities.

[0043] 在图3中,没有异构网络数据透明传送装置之前,原有的硬件设备(终端A)和原有的硬件设备(终端B)直接通过串口进行设备直接的数据交换,数据传送距离较短。 [0043] In FIG. 3, there is no transparent heterogeneous network before data transfer means, the original hardware device (terminal A) and the original hardware (terminal B) for direct data exchange apparatus directly through the serial port, the data transfer distance shorter. 通过将串口接入到异构网络数据透明传送装置后,异构网络数据透明传送装置以以太网的接入实现互联到广域网,此时原有的硬件设备(终端A)和原有的硬件设备(终端B)的传送距离可以穿越广域网实现长距离传输。 After access to the serial port via the heterogeneous network transparent data transmission apparatus, a heterogeneous network transparent data transfer in the Ethernet access device interconnected to a wide area network, then the original hardware device (terminal A) and the original hardware device (terminal B) can be transferred from the long-distance transmission across the WAN.

[0044] 实施例3 [0044] Example 3

[0045] 为更好的阐述本发明提供的异构网络数据透明传送装置,因此结合图4予以阐述。 [0045] To better described the present invention provides a heterogeneous network transparent data transfer apparatus, and therefore be explained in conjunction with FIG. 如图4所示,原有的硬件设备(如传感器)通过串口与异构网络数据透明传送装置的微型处理器协议构造模块直接相连,进行数据传送,异构网络数据透明传送装置则实现网络互联功能。 4, the original hardware devices (such as sensors) through a serial data directly connected with the heterogeneous network configuration protocol module microprocessor transparent transmission apparatus, data transfer, transparent data transfer apparatus heterogeneous networks is achieved internetworking Features.

[0046] 在图4中,没有本异构网络数据透明传送装置之前,原有的硬件设备(终端A)和原有的硬件设备(终端B)直接通过串口进行设备直接的数据交换,数据传送距离较短。 [0046] In FIG. 4, there is no clear prior to this heterogeneous network data transmission apparatus, the original hardware device (terminal A) and the original hardware (terminal B) for direct data exchange apparatus directly through the serial port, the data transfer distance is shorter. 通过将串口接入本异构网络数据透明传送装置后,异构网络数据透明传送装置分别以WIFI和以太网的方式实现互联到广域网,此时原有的硬件设备(终端A)和原有的硬件设备(终端B)的传送距离可以穿越广域网实现长距离传输。 By this heterogeneous network access serial data transfer means transparent, heterogeneous networks transparent data transmission apparatus respectively and WIFI Ethernet to wide area networks interconnected manner, when the original hardware device (terminal A) and the original transmitting from a hardware device (terminal B) can be transmitted long-distance traverse the WAN.

[0047] 综上所述,本发明提供的异构网络数据透明传送装置,能够使得原有的低速设备实现互联,并通过以隧道的形式传送,使得异构网络实现了互联互通,增强了设备的远程控制和访问能力。 [0047] In summary, the present invention provides a heterogeneous network transparent data transfer device, a low-speed device capable of making the original interconnected, and by transmitting in the form of a tunnel, so to achieve the interoperability of heterogeneous networks, enhanced device remote control and access capabilities.

[0048] 以上实施方式仅用于说明本发明,而并非对本发明的限制,有关技术领域的普通技术人员,在不脱离本发明的精神和范围的情况下,还可以做出各种变化和变型,因此所有等同的技术方案也属于本发明的范畴,本发明的专利保护范围应由权利要求限定。 [0048] The above embodiments are merely illustrative of the present invention, and are not restrictive of the invention, relating to ordinary skill in the art, without departing from the spirit and scope of the present invention, can make various changes and modifications , all equivalent technical solutions also within the scope of the present invention, the scope of the present invention patent is defined by the appended claims.

Claims (9)

1.一种异构网络数据透明传送装置,其特征在于,包括: 构造基本功能协议的微型处理器协议构造模块,对数据传送或转换的网络协议转换模块; 所述微处理器协议构造模块、所述网络协议转换模块相互双向通信连接; 所述微型处理器协议构造模块接收原有的硬件设备数据后构造处理并传输至网络协议转换模块,所述网络协议转换模块对传送的数据处理后发送至网络;所述网络协议转换模块接收到从网络传输的数据后处理并传输至所述微型处理器协议构造模块,所述微型处理器协议构造模块接收数据并按照协议进行反向解码,然后发送给原有的硬件设备。 A heterogeneous network transparent data transmission apparatus, characterized by comprising: a microprocessor configured protocol module configured basic functions of the protocol, the network protocol conversion of data transfer or conversion module; said microprocessor configuration protocol module, the network protocol conversion module bidirectional communication with each other; said micro-processor module configured protocol after receiving the original hardware configuration data processed and transmitted to a network protocol conversion module, after transmitting the network data transfer protocol conversion processing module to a network; the network protocol conversion module receives the processed data transmitted from the network and transmitted to the microprocessor configuration protocol module, a microprocessor module configured to receive data protocol and protocol decoding in reverse, and then sent to the original hardware.
2.如权利要求1所述的异构网络数据透明传送装置,其特征在于,所述异构网络数据透明传送装置还包括:用于对网络数据加密、功能选择的配置模块,所述配置模块分别与所述微处理器协议构造模块、所述网络协议转换模块双向通信连接; 所述配置模块对所述微处理器协议构造模块的数据加密处理后传输至所述网络协议转换模块;所述配置模块对所述网络协议转换模块接受的数据解密处理后传输至所述微处理器协议构造模块。 2. The heterogeneous network according to a data transfer apparatus as claimed in claim transparent, characterized in that said heterogeneous network transparent data transfer apparatus further comprises: a configuration module for the network data encryption, the selected function, the configuration module respectively, the bidirectional communication network protocol conversion module is connected to the microprocessor configuration protocol module; the configuration of the network protocol conversion module to transmit data after the encryption processing module microprocessor configuration protocol module; the module configuration data of the network protocol conversion module to transmit the received protocol configuration module microprocessor after the decryption process.
3.如权利要求1所述的异构网络数据透明传送装置,其特征在于所述微型处理器协议构造模块接收原有的硬件设备的数据后构造处理时将数据通过指定的协议构造成可扩展的传输数据,并发送至网络协议转换模块。 When heterogeneous network transparent data transmission apparatus as claimed in claim 1, wherein said microprocessor is configured protocol module receives the data after the original hardware configuration of data processing by specifying a protocol extension configured to be transmitting data, and transmits to the network protocol conversion module.
4.如权利要求1所述的异构网络数据透明传送装置,其特征在于所述可扩展的传输数据包含地址、功能码、有效应用数据和校验值。 4. The heterogeneous network according to a data transfer apparatus as claimed in claim transparent, wherein said extensible transmission data including the address, function code, a valid application data and a check value.
5.如权利要求1或3所述的异构网络数据透明传送装置,其特征在于所述微型处理器协议构造模块接收原有的硬件设备的数据后用简单加密方式构造处理。 Simple encryption processing structure 5. The heterogeneous network data of claim 1 or claim 3, wherein the transparent transfer means, wherein said microprocessor receives data protocol module configured original hardware device.
6.如权利要求1所述的异构网络数据透明传送装置,其特征在于所述网络协议转换模块接收到从网络传输的数据是远程控制命令; 网络协议转换模块接收到网络传输的远程控制命令后处理并传输至所述微型处理器协议构造模块,所述微型处理器协议构造模块对远程控制命令按照协议进行反向解码,然后发送给原有的硬件设备执行命令。 6. The heterogeneous network according to a data transfer apparatus as claimed in claim transparent, characterized in that said network protocol conversion module receives data over a network from a remote control command; network protocol conversion module receives the remote control command transmitted to the network post-processed and transmitted to the microprocessor configuration protocol module, a microprocessor module configured protocol remote control protocol decoded in reverse order, and then sent to the original hardware execution command.
7.如权利要求1所述的异构网络数据透明传送装置,其特征在于所述网络协议转换模块将获得的数据以隧道的形式进行打包,打包后以数据包形式发送至网络。 7. The data of the heterogeneous network as claimed in claim 1, transparent transmission apparatus, wherein said data network protocol conversion module obtained is packaged in the tunnel, the package sent to the network in packets.
8.如权利要求1所述的异构网络数据透明传送装置,其特征在于所述网络协议转换模块对网络中传送的数据发送时按是否加密区分发送。 Data heterogeneous network as claimed in claim 1, said transparent transport device, wherein the encrypted transmission by distinguishing whether said data network protocol conversion module for transmitting a transmission network.
9.如权利要求1所述的异构网络数据透明传送装置,其特征在于所述按是否加密区分发送通过对发送端口的奇偶性分别传送。 Data heterogeneous network as claimed in claim 1, said transparent transfer means, wherein said encryption distinguished according to whether the transmission of each transmission by a parity transmission port.
CN201410160795.2A 2014-04-21 2014-04-21 Data transparency transmission device of heterogeneous network CN103944798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410160795.2A CN103944798A (en) 2014-04-21 2014-04-21 Data transparency transmission device of heterogeneous network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410160795.2A CN103944798A (en) 2014-04-21 2014-04-21 Data transparency transmission device of heterogeneous network

Publications (1)

Publication Number Publication Date
CN103944798A true CN103944798A (en) 2014-07-23

Family

ID=51192288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410160795.2A CN103944798A (en) 2014-04-21 2014-04-21 Data transparency transmission device of heterogeneous network

Country Status (1)

Country Link
CN (1) CN103944798A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227423A (en) * 2015-10-09 2016-01-06 天维尔信息科技股份有限公司 Contactless inter-network data interaction system, bilateral network transmission system and data interactive method
CN106455013A (en) * 2016-11-16 2017-02-22 国家电网公司 Two-way selection method for heterogeneous wireless network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1560385A1 (en) * 2004-02-02 2005-08-03 Sony International (Europe) GmbH Method for data transfer in a multi-standard network
CN1985220A (en) * 2004-06-08 2007-06-20 罗斯蒙德公司 A remote processing and protocol conversion interface module
CN101101699A (en) * 2007-07-30 2008-01-09 当代天启技术(北京)有限公司 Method and apparatus for data collection and transmission
CN101141419A (en) * 2007-10-19 2008-03-12 广州市聚晖电子科技有限公司;中山大学 Heterogeneous network protocol based communication method between digital household appliances
CN102223731A (en) * 2010-04-19 2011-10-19 中兴通讯股份有限公司 Interface equipment compatible with various terminals in internet of things and realization method thereof
CN103123485A (en) * 2012-12-26 2013-05-29 上海迪爱斯通信设备有限公司 Intelligent data acquisition and control terminal and Internet of Things system with same
CN103532998A (en) * 2012-07-04 2014-01-22 中国科学院计算技术研究所 Protocol/data conversion device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1560385A1 (en) * 2004-02-02 2005-08-03 Sony International (Europe) GmbH Method for data transfer in a multi-standard network
CN1985220A (en) * 2004-06-08 2007-06-20 罗斯蒙德公司 A remote processing and protocol conversion interface module
CN101101699A (en) * 2007-07-30 2008-01-09 当代天启技术(北京)有限公司 Method and apparatus for data collection and transmission
CN101141419A (en) * 2007-10-19 2008-03-12 广州市聚晖电子科技有限公司;中山大学 Heterogeneous network protocol based communication method between digital household appliances
CN102223731A (en) * 2010-04-19 2011-10-19 中兴通讯股份有限公司 Interface equipment compatible with various terminals in internet of things and realization method thereof
CN103532998A (en) * 2012-07-04 2014-01-22 中国科学院计算技术研究所 Protocol/data conversion device and method
CN103123485A (en) * 2012-12-26 2013-05-29 上海迪爱斯通信设备有限公司 Intelligent data acquisition and control terminal and Internet of Things system with same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227423A (en) * 2015-10-09 2016-01-06 天维尔信息科技股份有限公司 Contactless inter-network data interaction system, bilateral network transmission system and data interactive method
CN106455013A (en) * 2016-11-16 2017-02-22 国家电网公司 Two-way selection method for heterogeneous wireless network

Similar Documents

Publication Publication Date Title
CN100486214C (en) Method and system for treating Ethernet data
US7991351B2 (en) Extension of wired controller area networks to wireless personal area networks
US20140378057A1 (en) Low energy bluetooth system with authentication during connectionless advertising and broadcasting
US9489506B2 (en) Linking ad hoc networks
US8533473B2 (en) Method and apparatus for reducing bandwidth usage in secure transactions
CN1879435B (en) A method and apparatus for encrypting radio stations inline and decrypting
US7457410B2 (en) Transmission/reception system
EP1486039B1 (en) Method and apparatus for header compression in a wireless lan
EP1366593A1 (en) Method and apparatus for providing secure streaming data transmission facilities using unreliable protocols
US9596075B2 (en) Transparent serial encryption
JP2002124960A (en) Communication device, communication system, and communication method
CN102577268B (en) Apparatus and method for transmitting a MAC PDU based on MAC header type information
CN1252912A (en) Data transfer method
CN1883154B (en) Method and apparatus of communicating security/encryption information to a physical layer transceiver
CN101027703A (en) Isochronous transmission for IP-oriented network
CN101101699A (en) Method and apparatus for data collection and transmission
CN101156350A (en) User authorization method and system, authorization controlling system and terminal unit
CN101582895A (en) Embedded industrial wireless WIA-PA gateway based on EPA
JP2005102037A (en) Packet communication device
CN102025406B (en) Method, apparatus and system for forwarding frame in wireless communication systems
US8908704B2 (en) Switch with dual-function management port
WO2014110704A1 (en) Method for implementing network access configuration of wifi device by checking length of wifi data packet
US20090245251A1 (en) Frame processing method and frame processing apparatus
US8578149B2 (en) TCP communication scheme
US20130010960A1 (en) Methods to Improve Bluetooth Low Energy Performance

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01