CN203204813U - Data transmission unit - Google Patents

Data transmission unit Download PDF

Info

Publication number
CN203204813U
CN203204813U CN 201220749352 CN201220749352U CN203204813U CN 203204813 U CN203204813 U CN 203204813U CN 201220749352 CN201220749352 CN 201220749352 CN 201220749352 U CN201220749352 U CN 201220749352U CN 203204813 U CN203204813 U CN 203204813U
Authority
CN
China
Prior art keywords
data
data transmission
dtu
processor
control module
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.)
Expired - Lifetime
Application number
CN 201220749352
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.)
Chongqing Chuanyi Automation Co Ltd
Original Assignee
Chongqing Chuanyi Automation 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 Chongqing Chuanyi Automation Co Ltd filed Critical Chongqing Chuanyi Automation Co Ltd
Priority to CN 201220749352 priority Critical patent/CN203204813U/en
Application granted granted Critical
Publication of CN203204813U publication Critical patent/CN203204813U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model provides a data transmission unit which is characterized by comprising a first data transmission interface, a central processing unit (CPU) control module, a first processor, a wireless communication module and a power module, wherein the first processor is connected with the CPU control module, receives first data, performs print time stamping and data encryption processing on the first data to obtain second data and transmits the second data. The date transfer unit (DTU) realizes the data transmission function and has the functions of performing the print time stamping and encryption processing on the data and the like, the design with high requirements on the DTU is met, and the problems that the DTU only can realize the data transmission function and the high design can not be met in the prior art are solved.

Description

Data transmission unit
Technical field
The utility model relates to the communications field, is specifically related to a kind of data transmission unit.
Background technology
Continuous progress along with society, all adopt data transmission unit DTU(Data Transfer unit in many designs, DTU), wireless transport module is saved cost in order to reduce wiring in family or industry, adopt wireless transport module that information is transmitted usually.
DTU (Data Transfer unit) is converted to serial data the TCP/IP data or the TCP/IP data is converted to serial data for being specifically designed to, and transmits the wireless terminal device of data by cordless communication network.
Existing DTU only can transmit the data that customer equipment is uploaded, and can not be further processed data, can't satisfy the design that DTU is had high requirements.
The utility model content
The utility model provides a kind of data processing unit, can be further processed data.
A kind of data transmission unit comprises:
Link to each other with customer equipment, receive first data transmission interface that customer equipment sends;
Receive the CPU control module of described first data;
Link to each other with described CPU control module, receive described first data and described first data are printed timestamp and handle and to obtain second data with carrying out data encryption, and send the first processor of described second data;
Link to each other the wireless communication module of accepting described second data and described second data being sent with wireless form with described first processor;
Link to each other with described CPU control module, described wireless communication module and described first processor, described CPU control module, described wireless communication module and described first processor are provided the power module of power supply supply.
Preferably, described DTU also comprises:
Reception server sends second data transmission interface of control command;
One end links to each other with described CPU control module, and an end links to each other with described wireless communication module, receives the control command that described wireless communication module sends, and described control command is issued to second processor of described CPU control module.
The utility model discloses a kind of data transmission unit, the utility model receives first data of customer equipment by first data transmission interface, and by the CPU control module with first data transmission to first processor, first processor receives described first data and described first data is printed timestamp and carry out data encryption and handle and to obtain second data, and send described second data to wireless communication module, wireless communication module transmits second data, adopts power module to power to each module.The utility model has increased a first processor by the hardware configuration that has changed DTU, this processor has the function that data are printed timestamp and carry out the data encryption processing, therefore make DTU except realizing data-transformation facility, also data are printed functions such as timestamp and encryption, satisfy the design that DTU is had higher demand, solved that DTU only can realize data-transformation facility in the prior art, can't satisfy the problem of higher design.
Description of drawings
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is embodiment more of the present utility model, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of the disclosed data transmission unit of the utility model embodiment;
Fig. 2 is the structural representation of the disclosed another data transmission unit of the utility model embodiment.
Embodiment
Below in conjunction with the accompanying drawing among the utility model embodiment, the technical scheme among the utility model embodiment is clearly and completely described, obviously, described embodiment only is the utility model part embodiment, rather than whole embodiment.Based on the embodiment in the utility model, those of ordinary skills are not making the every other embodiment that obtains under the creative work prerequisite, all belong to the scope of the utility model protection.
As shown in Figure 1, the utility model provides a kind of data transmission unit, comprising:
First data transmission interface 100 is used for linking to each other with customer equipment, receives first data that customer equipment sends;
The utility model DTU links to each other with customer equipment by first transmission interface 100, and customer equipment is uploaded first data that needs transmit, and DTU receives first data that customer equipment is uploaded by first transmission interface.
CPU control module 200 is used for receiving described first data;
DTU is stored to the CPU control module with first data, by the CPU control module first data is carried out frame format packing transmission, and transmits it to first processor.
First processor 300 is used for linking to each other with described CPU control module, receives described first data and described first data are printed timestamp to obtain second data with carrying out the data encryption processing, and send described second data;
DTU receives second data that the CPU control module is uploaded with the frame format packing in the utility model; and second data are carried out data resolve; obtain second data; the second data time-write interval was stabbed; so that be uploaded to the time that the information of background server can be learnt these second data; DTU also carries out data encryption to second data to be handled, in order to protect the security of second data.
Wireless communication module 400 is used for linking to each other with described first processor, accepts described second data and also described second data is sent with wireless form;
Wireless communication module links to each other with first processor, receives first processor second data after treatment, then second data is converted to the TCP/IP data, and the TCP/IP data are transmitted by cordless communication network.
Power module 500 is used for linking to each other with described CPU control module, described wireless communication module and described first processor, provides power supply to supply with to described CPU control module, described wireless communication module and described first processor.Power module is used for each module of DTU is powered.
DTU also prints functions such as timestamp, data parsing and encryption in the utility model to data except realizing data-transformation facility, satisfies the design that DTU is had higher demand.
As shown in Figure 2, described DTU also comprises:
Second data transmission interface 600 is used for reception server and sends control command;
The control command that wireless communication module sends by the second data transmission interface reception server, and issue control command.
Second processor 700 is used for an end and links to each other with described CPU control module, and an end links to each other with described wireless communication module, receives the control command that described wireless communication module sends, and described control command is issued to described CPU control module.Power module also is used for second processor is powered.
DTU can receive control command in the utility model except realizing data-transformation facility, and control command is sent and transmits, and satisfies the design that DTU is had higher demand.
DTU also can realize in the utility model, following function:
1, suspension reconnects mechanism automatically
Under normal TCP/IP suspension situation, system can just send connection request according to the TCP/IP port shutdown order of receiving after the judgement, enter the mechanism of reconnecting; As when improper suspension situation takes place, generally can not receive TCP/IP port shutdown order, at this moment the heartbeat message of system just can not receive the affirmation information of server, at this moment just enters the mechanism of reconnecting.Reconnect and ask again after exactly machine-processed as long-time nothing responds the timing length of then mourning in silence, if still request gets nowhere, then system enters timeout treatment, does request again after the long period of interval.Heart time can be customized by the user, and the default reference time is the automatic suspension time of mobile operator.
2, bag size adaptation bag forwarding mechanism abandons automatically above threshold value
In order to tackle the forwarding of big packet, can not produce the situation that buffering is overflowed again, in design, added the self-adaptation forwarding mechanism.When the packet size satisfies constraint condition, transmit output automatically or resolve temporary; When the packet size does not satisfy constraint condition, if length surpasses threshold value, then packet is abandoned, prevent to cushion the normal operation of effect of flood program.
3, support transparent transmission and two kinds of transmission of data frame encapsulation
In order to tackle different customer demands, can customize the form of DTU data packet transmission, comprise two kinds of transparent transmission and package transmission.Transparent transmission is to say the user by Frame of input end input, and DTU does not carry out any processing, directly sends from output terminal; Package transmission is to say the user by Frame of input end input, and DTU carries out frame head, frame length, postamble interpolation, makes Frame through handling the data layout requirement of satisfying the far-end receiving end end to end.Frame head, the postamble data of adding can be designed voluntarily by the user.
4, state machine communication is reliably handled
The detection of wireless device communication state and the processing of corresponding states are that the main points of design also are the cores of design.The design has adopted state machine design architecture as a whole, a plurality of states such as Physical layer initialization, netinit, network internet, network communication, heartbeat communication, data interaction, timeout treatment, suspension processing, mistake processing have been designed respectively, treatment measures, status change constraint and front and back state have been designed again at each state, handled the various variations that DTU takes place reliably, safely, timely in operational process, thereby guaranteed that whole network moves reliably.
5, important parameter is configurable
In order to be adapted to various application occasions and different user's requests, a plurality of important parameters have all adopted the mechanism of overall buffering.The user can arrange delay time, heavily join number of times, data interaction time-delay, Target IP and port, DTU equipment of itself number, frame head, postamble, whether transparent transmission, heartbeat retention time, externally PORT COM type, process data transmission cycle etc. according to self needs.
6, frame is sent to and is confirmed and the timeout mechanism processing
According to ICP/IP protocol, Frame design has adopted frame to arrive receiving end from DTU, sends to affirmation, if in time-out time, does not receive that Frame sends to mark, then changes timeout mechanism automatically over to and handles.The timeout mechanism processing comprises to be attempted retransmitting and abandons sending and reaffirm two kinds of processing modes of network state.
7, buffering interlocking logic and current control
In order effectively to avoid far-end to the repeatedly high frequent degree request that DTU initiates, can catch the Link State between far-end and the DTU again more in time, carried out buffering interlocking logical design and current control design in the program.Comprise read-write synchronously with the read-write mutual exclusion protection in mutual exclusion, data relay district, buffering locking and release, the buffering bypass mechanism of protected state.Current control can be avoided because of under the improper situation of server or by rogue attacks the time the too fast and DTU data of request in real time to transmit the limited contradiction of too fast and wireless buffer zone and cause the endless loop phenomenon.
8, externally various ports design
In order to be adapted to various application occasions and different user's requests, the external communication interface of DTU has adopted the various ports design, comprise RS232, more definite and other communication interface connected modes of RS485, by the different peripheral port of carry, the user sets external communication type, and the port of finishing program switches.
Each embodiment adopts the mode of going forward one by one to describe in this instructions, and what each embodiment stressed is and the difference of other embodiment that same or similar part is mutually referring to getting final product between each embodiment.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the utility model.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from spirit or scope of the present utility model in other embodiments herein.Therefore, the utility model will can not be restricted to these embodiment shown in this article, but will meet the wideest scope consistent with principle disclosed herein and features of novelty.

Claims (2)

1. a data transmission unit is characterized in that, comprising:
Link to each other with customer equipment, receive first data transmission interface that customer equipment sends;
Receive the CPU control module of described first data;
Link to each other with described CPU control module, receive described first data and described first data are printed timestamp and handle and to obtain second data with carrying out data encryption, and send the first processor of described second data;
Link to each other the wireless communication module of accepting described second data and described second data being sent with wireless form with described first processor;
Link to each other with described CPU control module, described wireless communication module and described first processor, described CPU control module, described wireless communication module and described first processor are provided the power module of power supply supply.
2. data transmission unit as claimed in claim 1 is characterized in that, described data transmission unit also comprises:
Reception server sends second data transmission interface of control command;
One end links to each other with described CPU control module, and an end links to each other with described wireless communication module, receives the control command that described wireless communication module sends, and described control command is issued to second processor of described CPU control module.
CN 201220749352 2012-12-31 2012-12-31 Data transmission unit Expired - Lifetime CN203204813U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220749352 CN203204813U (en) 2012-12-31 2012-12-31 Data transmission unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220749352 CN203204813U (en) 2012-12-31 2012-12-31 Data transmission unit

Publications (1)

Publication Number Publication Date
CN203204813U true CN203204813U (en) 2013-09-18

Family

ID=49148902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220749352 Expired - Lifetime CN203204813U (en) 2012-12-31 2012-12-31 Data transmission unit

Country Status (1)

Country Link
CN (1) CN203204813U (en)

Similar Documents

Publication Publication Date Title
CN102821050B (en) A kind of RSTP is applied to the processing method of Single-ring network topology
CN101572702B (en) Method for scheduling high-speed bus master and slave network communication
CN103064815B (en) A kind of single spi bus controls the control method of many CAN interface
US20170193702A1 (en) Head-mounted display device and method for interaction between head-mounted display device and intelligent terminal
CN101957808B (en) Communication method among various CPUs (Central Processing Units), system and CPU
CN103095703B (en) A kind of method, equipment and system realizing network and serial port data interactive
CN104270344A (en) Quintillion gatekeeper
CN104185196B (en) wireless controller disaster recovery method and system
CN102355414B (en) Automatic protection switching state machine processing method and device
CN105515829A (en) Intelligent wiring system
CN203204813U (en) Data transmission unit
CN104486188B (en) A kind of method to set up and device for receiving and dispatching separate threads
CN206039231U (en) Motion control system and robot system
CN101287244B (en) Method and system for mutual waking up between double processors by global functional serial port
JP2006100906A5 (en)
CN101626331B (en) Ethernet communication control method for steel and iron continuous annealing system
CN202334587U (en) Gateway device for mutual conversion of messages of buses
CN104135447B (en) The transmission method and device of a kind of packet
CN202799185U (en) WiFi router possessing ZigBee communication function
CN102548053B (en) A kind of wireless router and its implementation based on 2.4G
CN203277915U (en) Multifunctional communication conjunction box
CN203277916U (en) A junction box
CN202385129U (en) Communication module in direct-current power-transmission projects
CN201867797U (en) Printer interface device based on wireless sensing network
CN204597987U (en) A kind of electric power system two-node cluster hot backup communication work station equipment

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20130918