Movatterモバイル変換


[0]ホーム

URL:


CN108536624A - A kind of Multi-serial port server and its implementation - Google Patents

A kind of Multi-serial port server and its implementation
Download PDF

Info

Publication number
CN108536624A
CN108536624ACN201710671324.1ACN201710671324ACN108536624ACN 108536624 ACN108536624 ACN 108536624ACN 201710671324 ACN201710671324 ACN 201710671324ACN 108536624 ACN108536624 ACN 108536624A
Authority
CN
China
Prior art keywords
serial port
usb
mcu
port circuit
circuit
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
CN201710671324.1A
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.)
SHANGHAI HIGH-FLYING ELECTRONICS TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI HIGH-FLYING ELECTRONICS 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 SHANGHAI HIGH-FLYING ELECTRONICS TECHNOLOGY Co LtdfiledCriticalSHANGHAI HIGH-FLYING ELECTRONICS TECHNOLOGY Co Ltd
Priority to CN201710671324.1ApriorityCriticalpatent/CN108536624A/en
Publication of CN108536624ApublicationCriticalpatent/CN108536624A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of Multi-serial port server and its implementation, the Multi-serial port server includes that MCU, USB turn serial port circuit, network processing circuitry, storage chip, no less than 2 groups of serial port circuit and power supply, the MCU turns serial port circuit, network processing circuitry and storage chip with USB and is connected respectively, the power supply turns serial port circuit, network processing circuitry and serial port circuit with MCU, USB and is connected respectively, and the USB turns serial port circuit and is connected with the serial port circuit;As the bridge that serial ports is docked with network, multiple serial equipments can be connected into a network simultaneously, traditional serial data is docked with network data, realize traditional equipment networking, make traditional equipment, traditional facility that can be connected into network, continues to play use value;Using usb expansion serial mode, compare serial ports expansion mode, this extended serial port can independently, stablize, the work of high speed.

Description

A kind of Multi-serial port server and its implementation
Technical field
The present invention relates to field of communication technology more particularly to a kind of Multi-serial port server and its implementation.
Background technology
RS232/RS485/RS422 (American Electronics Industry Association EIA (Electronic IndustryAssociation) serial ports physical interface standards) it is one of major way of legacy device communications.Based on serial communication modeEquipment is also being widely used, and the wiring facilities based on serial communication mode also play use value, replaces new traffic modeCost is huge.But serial communication mode transmission range is short, transmission rate is low.With the development of technology, people need it is farther away fromData transmission from, bigger transmission rate, Ethernet disclosure satisfy that this requirement by special advantage.
Invention content
In view of presently, there are above-mentioned deficiency, the present invention provides a kind of Multi-serial port server and its implementation, can willMultiple serial equipments are connected into network simultaneously, the bridge as serial data and network data intercommunication.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
A kind of Multi-serial port server, the Multi-serial port server include MCU, USB turn serial port circuit, network processing circuitry,Storage chip, no less than 2 groups of serial port circuit and power supply, the MCU turn serial port circuit, network processes electricity with USB respectivelyRoad is connected with storage chip, and the power supply turns serial port circuit, network processing circuitry and serial port circuit with MCU, USB and is connected respectivelyIt connects, the USB turns serial port circuit and is connected with the serial port circuit.
According to one aspect of the present invention, the serial port circuit is to appoint in RS232 circuits, RS485 circuits and RS422 circuitsIt is one or more of.
According to one aspect of the present invention, it includes at least one USB interface and at least two strings that the USB, which turns serial port circuit,Mouth interface.
According to one aspect of the present invention, the MCU includes at least one USB interface and at least one network-side interface,The USB interface that the USB interface of the MCU turns serial port circuit with USB is connected.
According to one aspect of the present invention, the network processing circuitry is connected with the network-side interface of the MCU, willMCU accesses network.
According to one aspect of the present invention, the serial interface is connect simultaneously with no less than 2 groups of serial port circuits.
It is equipped with the USB that can be run in MCU according to one aspect of the present invention, in the storage chip and turns serial port circuitDriver.
According to one aspect of the present invention, the storage chip is connected by SPI interface with MCU.
A kind of implementation method of Multi-serial port server, the implementation method of the Multi-serial port server include the following steps:
Turn serial port circuit by USB and connects several groups serial port circuit;
It one MCU is set is separately connected USB and turn serial port circuit and network processing circuitry;
The another operating system for setting storage chip storage MCU operations and USB turn serial port circuit driver;
Be powered by power supply so that MCU operation corresponding operating system and load USB turn serial port circuit driver withAnd carry out network signal processing;
Turn the connection that serial port circuit driver realizes network signal and serial port circuit by the USB of operation.
According to one aspect of the present invention, the network processing circuitry peripheral hardware network interface is communicated with internet realization.
The advantages of present invention is implemented:Multi-serial port server of the present invention, including MCU, USB turn serial port circuit, networkProcessing circuit, storage chip, no less than 2 groups of serial port circuit and power supply, the MCU turn serial port circuit, net with USB respectivelyNetwork processing circuit is connected with storage chip, and the power supply turns serial port circuit, network processing circuitry and serial ports with MCU, USB respectivelyCircuit is connected, and the USB turns serial port circuit and is connected with the serial port circuit;As the bridge that serial ports is docked with network,Multiple serial equipments can be connected into a network simultaneously, traditional serial data is docked with network data, realizes and passesSystem equipment networking so that traditional equipment, traditional facility can be connected into network, continue to play use value;Use usb expansionSerial mode, compares serial ports expansion mode, this extended serial port can independently, stablize, the work of high speed.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodimentAttached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for abilityFor the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attachedFigure.
Fig. 1 is a kind of Multi-serial port server architecture schematic diagram of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall within the protection scope of the present invention.
Embodiment one
As shown in Figure 1, a kind of Multi-serial port server, the Multi-serial port server includes that MCU, USB turn serial port circuit, networkProcessing circuit, storage chip, no less than 2 groups of serial port circuit and power supply, the MCU turn serial port circuit, net with USB respectivelyNetwork processing circuit is connected with storage chip, and the power supply turns serial port circuit, network processing circuitry and serial ports with MCU, USB respectivelyCircuit is connected, and the USB turns serial port circuit and is connected with the serial port circuit.
In practical applications, the serial port circuit is any or several in RS232 circuits, RS485 circuits and RS422 circuitsKind.
In practical applications, it includes at least one USB interface and at least two serial interfaces that the USB, which turns serial port circuit,.
In practical applications, the MCU includes at least one USB interface and at least one network-side interface, the MCU'sThe USB interface that USB interface turns serial port circuit with USB is connected.
In practical applications, the network processing circuitry is connected with the network-side interface of the MCU, and MCU is accessed netNetwork.
In practical applications, the serial interface is connect simultaneously with no less than 2 groups of serial port circuits.
In practical applications, the USB that being equipped in the storage chip can run in MCU turns the driving journey of serial port circuitSequence.
In practical applications, the storage chip is connected by SPI interface with MCU.
Specifically, there is following case study on implementation:
A kind of Multi-serial port server, the serial server include:MCU, USB turn serial port circuit, network processing circuitry, storageChip, N (N=2,3,4 ...) organize RS232 circuits/RS485 circuits/RS422 circuits and power supply;Wherein, the MCU differenceConnection USB turns serial port circuit and network processing circuitry, the bridge as rs 232 serial interface signal and network signal transmitted in both directions.The present invention is realThe serial server that Multi-serial port turns network is showed.
The MCU of selection is the microprocessor of Cortex M3 kernels.Selected MCU contains USB port, the network port, SPI etc.Abundant interface.The MCU internal operations Free-RTOS real time operating systems ensure that mass data processing and system are real-timeProperty.
The features such as storage chip of selection is NAND flash storages, has capacity big, long lifespan, stability is good.It depositsStorage chip interior contains USB and turns serial ports driver, and storage chip is connected by SPI interface and MCU, MCU load operatingsProgram inside storage chip.The storage chip is also used for storage system program and required data.
It includes 4 global functional serial ports that the USB used, which turns serial port circuit, and each serial ports works independently, can run simultaneously, mutually notIt influences.Selected USB turns serial port circuit and usb signal is converted to 4 road TTL rs 232 serial interface signals.Selected USB turns serial port circuit and meetsIndustrial standard, serial ports rate can reach 12MB/s.
Wherein, RS232 circuits select 232 processing chips, the Transistor-Transistor Logic level rs 232 serial interface signal that USB is turned to serial port circuit to be converted toRS232 level signals.The RS232 circuits contain electrical protection circuit, can resist the external disturbances such as electrostatic, surge.
In addition, RS485/RS422 circuits select 485 processing chips, USB is turned to the Transistor-Transistor Logic level rs 232 serial interface signal of serial port circuitBe converted to RS485/RS422 signals.The RS485/RS422 circuits contain electrical protection circuit, can resist electrostatic, surge etc.External disturbance.
The TTL signal end of the RS232 circuits, RS485 circuits and RS422 circuits is connected all the way by AND gate circuit synthesisTurn a serial ports of serial port circuit to USB.The serial ports that 4 USB turn serial port circuit corresponds to 4 groups of such circuits.Every group of circuit is mutualIt is mutually independent to work at the same time.
The network processes chip of the network processing circuitry is an Ethernet PHY chip, and a 10/100M network is adaptiveAnswer chip.The network processes chip is connected with the network-side interface of MCU, realizes network signal and the intercommunication of MCU.It is describedThe additional network transformer of network chip and RJ45 terminals constitute network processing circuitry, and RJ45 is inserted into cable and is connected into outer net.
The power supply of selection is the additional peripheral circuit of DCDC power supply chips.Selected power supply chip is 5-36V Width funtionsInput, output voltage is adjustable, and output current is up to 2A.
Embodiment two
A kind of implementation method of Multi-serial port server, the implementation method of the Multi-serial port server include the following steps:
Turn serial port circuit by USB and connects several groups serial port circuit;
It one MCU is set is separately connected USB and turn serial port circuit and network processing circuitry;
The another operating system for setting storage chip storage MCU operations and USB turn serial port circuit driver;
Be powered by power supply so that MCU operation corresponding operating system and load USB turn serial port circuit driver withAnd carry out network signal processing;
Turn the connection that serial port circuit driver realizes network signal and serial port circuit by the USB of operation.
Wherein, the network processing circuitry peripheral hardware network interface is communicated with internet realization.
The advantages of present invention is implemented:Multi-serial port server of the present invention, including MCU, USB turn serial port circuit, networkProcessing circuit, storage chip, no less than 2 groups of serial port circuit and power supply, the MCU turn serial port circuit, net with USB respectivelyNetwork processing circuit is connected with storage chip, and the power supply turns serial port circuit, network processing circuitry and serial ports with MCU, USB respectivelyCircuit is connected, and the USB turns serial port circuit and is connected with the serial port circuit;As the bridge that serial ports is docked with network,Multiple serial equipments can be connected into a network simultaneously, traditional serial data is docked with network data, realizes and passesSystem equipment networking so that traditional equipment, traditional facility can be connected into network, continue to play use value;Use usb expansionSerial mode, compares serial ports expansion mode, this extended serial port can independently, stablize, the work of high speed.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, anyThose skilled in the art in technical scope disclosed by the invention, all answer by the change or replacement that can be readily occurred inIt is included within the scope of the present invention.Therefore, protection scope of the present invention should be with the scope of the claimsIt is accurate.

Claims (10)

CN201710671324.1A2017-08-082017-08-08A kind of Multi-serial port server and its implementationPendingCN108536624A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710671324.1ACN108536624A (en)2017-08-082017-08-08A kind of Multi-serial port server and its implementation

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710671324.1ACN108536624A (en)2017-08-082017-08-08A kind of Multi-serial port server and its implementation

Publications (1)

Publication NumberPublication Date
CN108536624Atrue CN108536624A (en)2018-09-14

Family

ID=63488783

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710671324.1APendingCN108536624A (en)2017-08-082017-08-08A kind of Multi-serial port server and its implementation

Country Status (1)

CountryLink
CN (1)CN108536624A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080147935A1 (en)*2006-09-292008-06-19U.S Of America As Represented By The Administrator Of The National Aeronautics And Space Admi.Digital memory storage hub
CN204836439U (en)*2015-07-032015-12-02大连中禹机电设备制造有限公司Television control ware
CN206178790U (en)*2016-08-262017-05-17西安天和海防智能科技有限公司Serial communication port conversion equipment
CN206258791U (en)*2016-12-052017-06-16常州华龙通信科技股份有限公司A kind of serial server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20080147935A1 (en)*2006-09-292008-06-19U.S Of America As Represented By The Administrator Of The National Aeronautics And Space Admi.Digital memory storage hub
CN204836439U (en)*2015-07-032015-12-02大连中禹机电设备制造有限公司Television control ware
CN206178790U (en)*2016-08-262017-05-17西安天和海防智能科技有限公司Serial communication port conversion equipment
CN206258791U (en)*2016-12-052017-06-16常州华龙通信科技股份有限公司A kind of serial server

Similar Documents

PublicationPublication DateTitle
US10198396B2 (en)Master control board that switches transmission channel to local commissioning serial port of the master control board
CN204650513U (en)Distributed structure/architecture equipment and serial port circuit thereof
CN102354171A (en)Remote matrix switch control module having RS422 interface
CN104133799A (en)Multi-network-card NCSI management system
CN106647393A (en)CAN bus automatic coding circuit and method
CN103199617A (en)Representing method of corresponding relationship between virtual circuits and physical ports in secondary circuit graph
CN101594171A (en) A power line chopping communication transceiver circuit
CN108536624A (en)A kind of Multi-serial port server and its implementation
CN208656791U (en)A kind of vehicle-mounted Ethernet exploitation test platform
CN208128284U (en)A kind of Ethernet based on S698PM turns Multi-path synchronous serial interface communication apparatus
CN103607192A (en)Airborne serial interface conversion device and application
CN208580401U (en)A kind of multiplexed port system based on SPI communication
CN109254891A (en)A kind of debugging board
CN205608716U (en)Multiunit optical module communication interface switching circuit
CN201378316Y (en)Universal input/output interface extension circuit and mobile terminal with same
CN209055832U (en)A kind of Internet of things system based on Ethernet
CN104282272B (en)System and method with the transmission data for switching output noise while reduction
CN204440391U (en)A kind of full isolated form RS485 bus transceiver
CN204406395U (en)A kind of high speed communication interacted system of CPCI framework
CN207650628U (en)A kind of cascaded high-voltage frequency converter master control system of multiple processor structure
CN208315205U (en)A kind of circuit of compatible multiple interfaces SSD
CN203632687U (en)Switching circuit for communication encryption
CN207504847U (en)A kind of high speed long arc differential driver and differential data interface system
CN105159861A (en)Anti-jamming apparatus and method for SPI bus
CN203149564U (en)Serial-port automatic switching device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180914


[8]ページ先頭

©2009-2025 Movatter.jp