CN101212334A - Serial port data redirecting system and method - Google Patents

Serial port data redirecting system and method Download PDF

Info

Publication number
CN101212334A
CN101212334A CNA2006101480162A CN200610148016A CN101212334A CN 101212334 A CN101212334 A CN 101212334A CN A2006101480162 A CNA2006101480162 A CN A2006101480162A CN 200610148016 A CN200610148016 A CN 200610148016A CN 101212334 A CN101212334 A CN 101212334A
Authority
CN
China
Prior art keywords
packet
browser
management server
serial data
input information
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
CNA2006101480162A
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.)
Huanda Computer Shanghai Co Ltd
Mitac International Corp
Original Assignee
Mitac International Corp
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 Mitac International Corp filed Critical Mitac International Corp
Priority to CNA2006101480162A priority Critical patent/CN101212334A/en
Publication of CN101212334A publication Critical patent/CN101212334A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a system for redirecting serial data and a method thereof; wherein, the redirection system includes a client; the client is provided with a browser and is connected with a management server through HTTP; the management server is connected with a plurality of managed servers through LAN; the redirection method is achieved by the redirection system and comprises the following steps: the browser judges whether input information is acquired or not; when the browser acquires the input information, the browser can judge whether the input information is disconnection; if when the browser determines the input information is not disconnection, the input information is sent to the managed server through the management server; when the managed server receives the input information, corresponding information is returned to the management server; then monochrome text and color text on the managed server are output and displayed by the browser on the client. Therefore, a vacant serial port and serial cable used for connecting the serial port are not needed, and the invention can be applied conveniently.

Description

The Redirectional system of serial data and the reorientation method of serial data
[technical field]
The invention provides a kind of Redirectional system of serial data and the reorientation method of serial data, particularly a kind of application is the Redirectional system of serial data and the reorientation method of serial data easily.
[background technology]
The control desk redirection function allows to export the maintenance of far end server by being redirected keyboard input and text.The control desk redirection function can be used for the BIOS setting, RAID is provided with, and shows the POST process and executive program under the MS-DOS system.In order to use redirection function, the user can use the serial ports of direct Connection Service device of serial interface cable and client computer usually, but the condition of this kind solution is that idle serial ports and the serial interface cable in order to connect are arranged on the client-server; Also need the such terminal emulator of similar hyper terminal on the client computer simultaneously, and this type of software needs higher version with support direction key and function key.Existing solution implements comparatively limited.
[summary of the invention]
Main purpose of the present invention is to provide a kind of application Redirectional system of serial data and the reorientation method of serial data easily.
For reaching above purpose, the invention provides a kind of Redirectional system of serial data; It comprises some by the pipe server, it is respectively in order to receive the UDP message bag and to convert the UDP message bag that receives to the reception serial data, and, will return UDP message bag and output that serial data converts passback to again according to receiving the corresponding passback of serial data acquisition serial data; All are managed server and are connected a management server by local area network (LAN), and are realized transmitted in both directions between management server and the quilt pipe server, and this management server is in order to change UDP message bag and tcp data bag mutually; This management server connects a client computer by HTTP, realize transmitted in both directions between this client computer and the management server, and this client computer is provided with a browser, the tcp data bag that this browser transmits in order to the receiving management server, and the tcp data bag shown by browser window, and, input information can be exported with the tcp data bag in order to receive input information.
The present invention also provides a kind of reorientation method of serial data, its Redirectional system by serial ports data is to reach, this Redirectional system comprises a client computer, a management server and some by the pipe server, wherein, be provided with a browser in this client computer, and be connected by HTTP between this client computer and the management server, and management server and being connected by local area network (LAN) between the pipe server, and this reorientation method may further comprise the steps: browser judges whether to obtain input information; When browser obtains input information, can judge whether this input information is to disconnect connecting; If it is not when disconnect connecting that browser is judged this input information, then obtains the tcp data bag of transmission according to input information, and the tcp data bag that transmits is sent to by the pipe server by management server; When being received the tcp data bag of transmission by the pipe server, obtain the reception serial data according to the tcp data bag that transmits, and obtain corresponding passback serial data according to receiving serial data, will return the UDP message bag that serial data converts passback to again and send to management server; Management server receives the UDP message bag of passback, and obtains the tcp data bag of passback according to the UDP message bag of passback, and the tcp data bag of passback is sent to browser; Browser receives the tcp data bag of passback, and the output videotex.
Compared to prior art, the present invention comes the connection management server and by the server managed, does not need serial interface cable to connect by local area network (LAN), and the present invention only uses browser to come remotely administered server, need not the client install software, and it is comparatively convenient to use.
[description of drawings]
Fig. 1 is the functional-block diagram of the Redirectional system of serial data of the present invention.
Fig. 2 is the flow chart of the reorientation method of serial data of the present invention.
[embodiment]
See also shown in Figure 1, the Redirectional system of serial data of the present invention comprises some by pipe server 10, these are managed server 10 respectively in order to receive UDP (User Data Protocol, User Datagram Protoco (UDP)) packet, the UDP message bag that receives can be in being become to receive serial data by 10 internal conversions of pipe server, obtain corresponding passback serial data according to receiving serial data again, the passback serial data can be in the UDP message bag and the output that are become passback by 10 internal conversions of pipe server.These are managed server 10 respectively by LAN (Local AreaNetwork, local area network (LAN)) connects a management server 20, and realized transmitted in both directions between management server 20 and the quilt pipe server 10, this management server 20 is in order to change UDP message bag and TCP (TransmissionControl Protocol, transmission control protocol) packet mutually; This management server 20 is by HTTP (Hyper Text Transportation Protocol, HTML (Hypertext Markup Language)) connects a client computer 30, realize transmitted in both directions between this client computer 30 and the management server 20, and this client computer 30 is provided with a browser 31, the tcp data bag that this browser 31 transmits in order to receiving management server 20, and the tcp data bag shown by text message, and, input information can be exported with the tcp data bag in order to receive input information.
See also shown in Figure 2ly, its Redirectional system by the serial data of Fig. 1 is reaching, and this reorientation method may further comprise the steps:
Step 101: browser 31 access management servers 20;
Step 102: management server 20 lines are managed server 10;
Step 103: browser 31 judges whether to obtain input information; If then enter step 104; If not, then continue execution in step 103;
Step 104: browser 31 judges whether this input information is to disconnect connecting; If enter step 109; If not, enter step 105;
Step 105: management server 20 is obtained the tcp data bag of transmission according to input information, and the tcp data bag that transmits is sent to by pipe server 10;
Step 106: managed server 10 when receiving the tcp data bag of transmission, obtain the reception serial data according to the tcp data bag that transmits, and obtain corresponding passback serial data according to receiving serial data, will return the UDP message bag that serial data converts passback to again and send to management server 20;
Step 107: management server 20 receives the UDP message bag of passback, and obtains the tcp data bag of passback according to the UDP message bag of passback, and the tcp data bag of passback is sent to browser 31;
Step 108: browser 31 receives the tcp data bag of passback, the output videotex, and return step 103;
Step 109: management server 20 disconnects and the line of being managed server 10.

Claims (5)

1. the Redirectional system of a serial data; It is characterized in that comprising:
Some by the pipe server, it converts the reception serial data in order to the packet of receiving subscriber data newspaper agreement and with the packet of the User Datagram Protoco (UDP) that receives, and, will return packet and output that serial data converts the User Datagram Protoco (UDP) of passback to again according to receiving the corresponding passback of serial data acquisition serial data; One management server connects all by local area network (LAN) and is managed server, and and realized transmitted in both directions between the pipe server, it is in order to change the packet of User Datagram Protoco (UDP) and the packet of transmission control protocol mutually; One client computer, by HTML (Hypertext Markup Language) connection management server, and and management server between realize transmitted in both directions, and this client computer is provided with a browser, the packet of the transmission control protocol that this browser transmits in order to the receiving management server, and the packet of transmission control protocol shown by text message, and in order to receive input information, can be with the packet output of input information with transmission control protocol.
2. the reorientation method of a serial data, its Redirectional system by serial ports data is to reach, this Redirectional system comprises a client computer, a management server and some by the pipe server, wherein, be provided with a browser in this client computer, and be connected by HTML (Hypertext Markup Language) between this client computer and the management server, and management server and being connected by local area network (LAN) between the pipe server is characterized in that this reorientation method may further comprise the steps:
Browser judges whether to obtain input information;
When browser obtains input information, can judge whether this input information is to disconnect connecting;
If it is not when disconnect connecting that browser is judged this input information, then obtains the packet of the transmission control protocol of transmission according to input information, and the packet of the transmission control protocol that transmits is sent to by the pipe server by management server;
When being received the packet of transmission control protocol of transmission by the pipe server, packet according to the transmission control protocol that transmits is obtained the reception serial data, and obtain corresponding passback serial data according to receiving serial data, will return the packet that serial data converts the User Datagram Protoco (UDP) of passback to again and send to management server; Management server receives the packet of the User Datagram Protoco (UDP) of passback, and obtains the packet of the transmission control protocol of passback according to the packet of the User Datagram Protoco (UDP) of passback, and the packet of the transmission control protocol of passback is sent to browser;
Browser receives the packet of the transmission control protocol of passback, and the output videotex.
3. the reorientation method of serial data according to claim 2 is characterized in that: browser judges whether to obtain before the input information further comprising the steps of, the browser access management server; The management server line is managed server.
4. the reorientation method of serial data according to claim 2 is characterized in that: when judging that as if browser this input information connects for disconnecting, then by the management server disconnection and by the line of pipe server.
5. the reorientation method of serial data according to claim 2 is characterized in that: return step behind the output videotex, browser judges whether to obtain input information.
CNA2006101480162A 2006-12-26 2006-12-26 Serial port data redirecting system and method Pending CN101212334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101480162A CN101212334A (en) 2006-12-26 2006-12-26 Serial port data redirecting system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101480162A CN101212334A (en) 2006-12-26 2006-12-26 Serial port data redirecting system and method

Publications (1)

Publication Number Publication Date
CN101212334A true CN101212334A (en) 2008-07-02

Family

ID=39612035

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101480162A Pending CN101212334A (en) 2006-12-26 2006-12-26 Serial port data redirecting system and method

Country Status (1)

Country Link
CN (1) CN101212334A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271164A (en) * 2011-08-26 2011-12-07 深圳市天和荣视频技术有限公司 Network communication method based on WEB application
CN102768651A (en) * 2012-06-19 2012-11-07 太仓市同维电子有限公司 Display method of serial interfaces base on embedded routing system
CN116932449A (en) * 2023-09-15 2023-10-24 浪潮(山东)计算机科技有限公司 Method, system, equipment and medium for realizing serial port redirection to remote equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271164A (en) * 2011-08-26 2011-12-07 深圳市天和荣视频技术有限公司 Network communication method based on WEB application
CN102768651A (en) * 2012-06-19 2012-11-07 太仓市同维电子有限公司 Display method of serial interfaces base on embedded routing system
CN116932449A (en) * 2023-09-15 2023-10-24 浪潮(山东)计算机科技有限公司 Method, system, equipment and medium for realizing serial port redirection to remote equipment
CN116932449B (en) * 2023-09-15 2023-12-15 浪潮(山东)计算机科技有限公司 Method, system, equipment and medium for realizing serial port redirection to remote equipment

Similar Documents

Publication Publication Date Title
US8726149B2 (en) Method and system for providing reduced-size hypertext content to a limited-display client device
US8788814B2 (en) Secure data transfer using an embedded system
JP4257967B2 (en) System and method for providing universal stateless digital and computer services
US20020083172A1 (en) Systems, methods and computer program products for responding to client requests directed to networked embedded devices via proxy services
CN101291343B (en) Remote controlling method and system based on transparent proxy equipment
CN102447720A (en) Method for remotely controlling personal computer (PC) by mobile phone
WO2010110192A1 (en) Relay device, relay method, and relay device control program
CN101212334A (en) Serial port data redirecting system and method
CN103442028A (en) Mobile application data pushing method based on XMPP
CN101155177B (en) Data channel sharing system and method based on shared protocol
KR100422327B1 (en) Realtime Control System and Method of User Browser
CN100502387C (en) HTTP based network slave equipment management method and system
US20020034963A1 (en) Intelligent communication gateway device
CN100403688C (en) Business data packet tracing realizing method
JP5985377B2 (en) Page synchronous display method and system for displaying private page synchronously among multiple terminals
CN107332922B (en) Data transmission method and system of embedded Web server based on community management
US20090097470A1 (en) Methods and systems for communicating data
CN116095140A (en) Unified access gateway method and system based on WebSocket
CN106487819A (en) A kind of method and apparatus that HTTP request is acted on behalf of by UDP
KR100562148B1 (en) Method for transmitting enormous message in internet edi system
CN105323319A (en) Communication method and system for IOT equipment
Chou et al. An architecture of wireless Web and dialogue system convergence for multimodal service interaction over converged networks
KR100565495B1 (en) Home Appliance Network System
EP2192755A1 (en) Communication system, communication optimizing apparatus and communication network establishing method used in them
KR20020026060A (en) System for Managing Private Branch Exchange Using function of Mobile Communication Terminal Web

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication