CN101795270A - Server control method based on serial port - Google Patents

Server control method based on serial port Download PDF

Info

Publication number
CN101795270A
CN101795270A CN201010011849A CN201010011849A CN101795270A CN 101795270 A CN101795270 A CN 101795270A CN 201010011849 A CN201010011849 A CN 201010011849A CN 201010011849 A CN201010011849 A CN 201010011849A CN 101795270 A CN101795270 A CN 101795270A
Authority
CN
China
Prior art keywords
data
serial ports
byte
serial
correct
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.)
Granted
Application number
CN201010011849A
Other languages
Chinese (zh)
Other versions
CN101795270B (en
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Shandong High-End Server & Storage Research Institute
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 Shandong High-End Server & Storage Research Institute filed Critical Shandong High-End Server & Storage Research Institute
Priority to CN201010011849.0A priority Critical patent/CN101795270B/en
Publication of CN101795270A publication Critical patent/CN101795270A/en
Application granted granted Critical
Publication of CN101795270B publication Critical patent/CN101795270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a server control method based on serial port. The method has the function that communication protocol is made, the required data is sent out by serial port communication program according to the requirement of protocol, and then a control terminal is utilized to display the data or to control the server. The invention has the benefit that: the communication protocol is made and program is realized, thus later project for controlling operation of server can be easily and fast realized by modifying a small quantity of communication protocol or program, both a control terminal and other equipment of the control terminal can achieve effect of controlling the server. Serial port communication is realized at the bottom layer, thus realizing the aim of controlling the server by the serial port.

Description

A kind of server control method based on serial ports
Technical field
The present invention mainly relates to utilize various terminals by in the various projects of serial ports Control Server, especially the basic operation of Control Server or obtaining various information from server is presented at method on the terminal.
Background technology
The most frequently used interface of embedded system is exactly the RS-232 serial ports at present, and the CommAPI of SUN provides respectively the RS232 serial port commonly used and the support of IEEE1284 parallel port communication.RS-232-C (claiming EIARS-232-C again, hereinafter to be referred as RS232) is by EIA (EIA) associating Bell System, the common standard of formulating that is used for serial communication of modulator-demodulator producer and terminal manufacturer in 1970.RS232 is the communications protocol of a full duplex, and it can carry out the work of Data Receiving and transmission simultaneously.At present, common Java serial ports is surrounded by SUN and also has third party RXTX project that Windows is provided at serial communication API:comm2.0.jar (under the Windows), the comm3.0.jar (Linux/Solaris) of issue in 1998, Linux, Macos X, the realization of compatible javax.comm serial communication bag API under the solaris operating system provides suitable convenience for other research staff research and develop the serial ports application under this type systematic.At the (SuSE) Linux OS platform of x86 architecture, the deployment of RXTX comprises following several document:
* the javax.comm of RXTXcomm.jar RXTX oneself realizes
* the bottom serial ports database documents called by RXTXcomm.jar of librxtxSerial.so
* the bottom parallel port database documents called by RXTXcomm.jar of librxtxParallel.so
* the class configuration documentation that drives of javax.comm.properties RXTX, content is Driver=gnu.io.RXTXCommDriver
When we in test time, find the driving bag that sun company provides, when bottom sends numeral 10, will go wrong in the time of transmission.His bottom layer realization is the data of a multiple byte automatically.So usefulness is the rxtx bag now.He examines configuration file to come this employed port.With the rxtx bag, the program of modification does not need big change.
Summary of the invention
Content of the present invention is exactly to utilize the operation of control terminal Control Server, or the information that obtains is presented on the control terminal from server,
The objective of the invention is to realize in the following manner, the data packet format of definition serial port communicating protocol, wherein definition comprises the form of transmission and the form that sends, sends the baud rate and the character code that adopt, requirement according to agreement sends needed data by serial communication program, be shown on the control terminal or by control terminal and utilize serial communication program to realize Control Server, the specific implementation step is as follows:
One, customizes the serial port protocol rule, comprise the parameter of serial ports
When sending data to system, serial ports is meant that control terminal is provided with desired data by response events, the information of data is sent to system with the form of character, below logical one abbreviate " serial is to system " as, when system after the data that serial ports sends response are meant that effective information is received by system, the corresponding result of making, the result is sent to serial ports with the form of character, and below unified to abbreviate " system is to serial " as still be serial from system to serial to system all is that form transmission and character code with character all is Unicode;
A: definition serial initialization parameter, the baud rate unification is set to 9600; 8 of data bit, position of rest 1, parity check does not have;
B: definition sends data to the data format of system from control terminal by serial ports, has defined packet header, order, message length, information bit, data, the bag tail, verification and;
Regulation packet header is unified with # number, and the FGVCRDT letter is used in order respectively, and message length is the summation of the byte number of statistical information position and data;
Information bit: be after judging the data correctness be subjected to and receiving correct data, executive system order correctness, flag bit is E when will receive bad command, returns F and return T correct the time when the executive system order makes mistakes;
Data bit: in the time of data, return actual data, when there not being data to return 0 bag tail: * number;
Verification and: refer to all from packet header the summation of ASCII character to the bag tail, in like manner dispose from system and also be divided into packet header by the data format that serial ports sends to the control terminal configuration, order, message length, information bit, data, the bag tail, verification and, but is different from system by information bit and the data that serial ports sends to control terminal, and other all the same is because whether the flag bit here represents the order of executive system correct, the data that data bit representative will be got, from packet header to the ascii sign indicating number of bag tail and be with four byte representations;
Two: the configuration driven program
RXTX be one provide serial ports and and the java class libraries of increasing income of port communications, all follow the LGPL agreement by the file of this project issue;
A: revise the class configuration file that javax.comm.properties RXTX drives, content is that Driver=gnu.io.RXTXCommDriver serpath0=/dev/ttyS0 the ttys0 representative here is a serial ports 1, is that serial ports 2 sides are modified as ttysl;
B: behind the rxtx decompress(ion) of downloading, the catalogue that also has linux/solaris/windows/mac in addition, this is the dynamic link library of RXTX at different platform, processor is i386, so be exactly so file librxtxParallel.so under the i686-unknown-linux-gnu, two files of librxtxSerial.so are examined under the $JAVA_HOME/lib/, are examining<java_home simultaneously 〉/jre/lib/i386 under;
C: the javax.comm.properties file is examined under the $JAVA_HOME/jre/lib;
D: at last RXTXCommon.jar is added in your engineering;
Attention: with the method for ide instrument eclipse compiling with the top; Compile with order: under RXTXCommon.jar Kao Beidao $JAVA_HOME/jre/lib/ext catalogue;
Three: initialization serial ports program
The initialization that the background program that the initialization here refers to carries out, the port numbers that comprises the initialization serial ports, the transmission rate of serial ports, time-out time during port, the data bit of serial ports, the position of rest of serial ports, because we are incidents that the operation control terminal triggers, so allow this class of succession erialPortEventListener of serial ports, allowing him realize then is such this method of public void serialEvent (SerialPortEvent serialevent), allow action listener be registered in the serial ports class then: serialport.addEventListener (this), the most important thing is to obtain input and output stream, in=serialport.getInputStream (); Out=serialport.getOutputStream (); The data of utilizing iostream to operate to obtain and export are successfully returned this serial ports object when initialization all, must close serial ports after having called, out.close (),
in.close();
Four: the Optimizing operation of data format
When receiving data by serial ports, data are returned to Business Logic come deal with data, used the operation of a large amount of optimization data here, comprise following content:
A: judge whether the data that receive are correct, use
Pattern.compile (" #[T, D, R, C, V, G, F] 0200 * d+ "); Mate correct packet, the matching process of herein using is exactly the form of communications protocol definition, directly the data format that sends to serial ports according to copper palpus protocol definition returns a false command when unmatched the time, be that the Information sign position is E, the data that expression receives have problem, when correct the time, this correct character string is returned to public booleanmesglength (Stringm) judge verification and whether correct, incorrect also is to be flag bit E, calls public String realString (String m) after correct the character string of correct packet is set to global variable;
B: carry out public String getCommand (String m), decomposite the command keyword that to carry out, then according to the order of the bottom of the execution of the different manner of execution correspondence of command calls, after underlying object is obtained data, information bit is changed to F or T, represent execution error respectively and carry out correct sign, the data that obtain are put on the data bit;
C: serial ports calls publicFlagBean syscommand (String m) and calls fill order just now by initialization service logic class public class HandleString, return one not tape verifying and the character string of data packet format;
D: after class ReturnString is optimized in initialization, call public byte[] returnbytes (FlagBeanflag), the packet character string that obtained just now, be the correct or wrong public byte[that all calls] covbyte (FlagBean flag), distinguish different data according to different orders exactly and send form, form according to communications protocol is optimized, their tuning is become corresponding byte format, comprise an integer type is converted to a byte, execute and return to a byte arrays, the byte arrays of this moment is exactly a complete data packet format, but not tape verifying and, then returnbytes calculate according to this array verification and, unified being put in the byte arrays, return to the serial ports transmitting terminal, serial ports transmitting terminal public voidwritePort2 (byte[] result);
Monitor the method that reading of data and serial ports send data, the basis for estimation of monitoring is exactly just to accept in the time of data: serialevent.DATA_AVAILABLE==serialevent.getEventType (), established a byte buffer area when accepting, send out data when data being arranged is put in the buffer area at every turn, wherein be exactly the verification that sends of control terminal and be the float type, after will converting him to float when acceptance is come, merge the back together in data he is passed to Business Logic with the front, when after Business Logic is data processing, sending back, be responsible for data are passed on the control terminal by serial ports by serial ports public void writePort (byte[] result), call public void writePort (byte b) then, out.write (b); Out.flush (); With writing the serial ports byte, remove buffer area then, guarantee that like this data that at every turn all send are up-to-date.
Excellent effect of the present invention is: the function of this method is by the custom communication agreement, needed data is sent by serial communication program according to the requirement of agreement, utilizes control terminal can show data then and also can come Control Server.The benefit of this method is that the customization of this cover communication protocol and the realization of program have been arranged, later in the relevant item relevant for the operation of Control Server, a spot of communications protocol of modification or program that can both be very fast just can easily realize, no matter control terminal is control terminal or other some equipment, can reach the effect of Control Server.Because he all be in bottom layer realization the communication of serial ports, thereby realized the purpose of Control Server by serial ports.
Description of drawings
Fig. 1 is based on the step schematic diagram of the method for serial ports Control Server.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention more clear,, the present invention is done following detailed description below in conjunction with drawings and Examples:
The contents are as follows:
A: customization serial port protocol rule.(parameter that comprises serial ports), main customization is from the data packet format of serial ports transmission and the data packet format that sends from serial ports.
B: the configuration driven program, the load driver program package, the configuration file that the configuration serial ports needs, and make calling program find corresponding driving bag.
C: initialization serial ports program refers to background program initialization serial ports, and opens serial ports, registration monitoring incident.
D: the Optimizing operation of data format refers to send data data-optimized operation before.
Embodiment
One: customization serial port protocol rule.(parameter that comprises serial ports)
Be meant that when serial ports sends data to system control terminal is provided with desired data by response events, the information of data is sent to system with the form of character.Below logical one abbreviate " serial is to system " as.When system after the data that serial ports sends response are meant that effective information is received by system, the corresponding result of making sends to serial ports to the result with the form of character.It is below unified that to abbreviate " system is to serial " as still be serial from system to serial to system all is that form transmission and character code with character all is Unicode
A: definition serial initialization parameter, the baud rate setting: unified all being set to is 9600.
8 of data bit, position of rest 1, parity check does not have.
B: definition sends data to the data format of system by serial ports from control terminal.Defined packet header, the order, message length, information bit, data, the bag tail, verification and.Strict definition could guarantee when being subjected under the situation of the external world or interference like this, might the data omission or the situation of makeing mistakes under, just may guarantee the integrality of data.We stipulate that packet header is unified with # number, the FGVCRDT letter is used in order respectively, message length is the summation of the byte number of statistical information position and data, be to guarantee like this when having made mistakes, but verification and the verification with correct time the just are with the same the time, this verification has been arranged, with the preciseness that can guarantee data.Information bit: be after judging the data correctness that is subjected to and receiving correct data, executive system order correctness.Flag bit is E when will receive bad command, returns F and return T correct the time when the executive system order makes mistakes.Data bit: in the time of data, return actual data, when there not being data to return 0. bag tail: * number.Verification and: refer to all from packet header summation (4 bytes of ASCII character (decimal system) to the bag tail, if during not enough 4 bytes, the byte of front mends 0) in like manner dispose from system and also be divided into packet header by the data format that serial ports sends to the control terminal configuration, order, message length, information bit, data, the bag tail, verification and.But is different from system by information bit and the data that serial ports sends to control terminal, other all the same because whether the flag bit here represent the order of executive system correct, data bit represent to get data.Verification and still calculate from packet header to the ascii sign indicating number of bag tail and, also be with four byte representations.
Two: the configuration driven program
RXTX be one provide serial ports and and the java class libraries of increasing income of port communications, all follow the LGPL agreement by the file of this project issue.
A: revise the class configuration file that javax.comm.properties RXTX drives, content is that Driver=gnu.io.RXTXCommDriver serpath0=/dev/ttyS0 the ttys0 representative here is a serial ports 1.If your usefulness is that serial ports 2 is just passable being modified as ttys1 here.
B: behind the rxtx decompress(ion) of downloading, also have the catalogue of linux/solaris/windows/mac in addition, this is the dynamic link library of RXTX at different platform.My processor is i386, so be exactly so file librxtxParallel.so under the i686-unknown-linux-gnu, two files of librxtxSerial.so are examined under the $JAVA_HOME/lib/, is examining simultaneously
<java_home 〉/jre/lib/i386 under.
C: the javax.comm.properties file is examined under the $JAVA_HOME/jre/lib.
D: at last RXTXCommon.jar is added in your engineering.
Attention: if you can with the method for top with ide instrument such as eclipse compiling.If with order compiling: you also under the RXTXCommon.jar Kao Beidao $JAVA_HOME/jre/lib/ext catalogue.Could use the order compiling.
Three: initialization serial ports program
The initialization here refer to the initialization carried out of background program, comprise the port numbers of initialization serial ports, the transmission rate of serial ports, time-out time during port, the data bit of serial ports, the position of rest of serial ports.Because we are incidents of triggering of operation control terminal, so allow this class of succession erialPortEventListener of serial ports.Allowing him realize then is such this method of public void serialEvent (SerialPortEvent serialevent).Allow action listener be registered in the serial ports class then:
serialport.addEventListener(this)。The most important thing is to obtain input and output stream, as: in=serialport.getInputStream (); Out=serialport.getOutputStream (); The data of utilizing iostream to operate to obtain and export.Successfully return this serial ports object when initialization all, after having called, must close serial ports, out.close (), in.close ().Here mainly say the method for monitoring reading of data and serial ports transmission data.The basis for estimation of monitoring is exactly just to accept in the time of data:
serialevent.DATA_AVAILABLE==serialevent.getEventType()。Established a byte buffer area when accepting, send out data when data being arranged is put in the buffer area at every turn, little skill is wherein arranged is exactly the verification that sends of control terminal and be the float type, after will converting him to float when acceptance is come, merge the back together in data he is passed to Business Logic with the front.When after Business Logic is data processing, sending back, be responsible for data are passed on the control terminal by serial ports by serial ports public void writePort (byte[] result) method, the method is called public void writePort (byte b) method, this method out.write (b) then; Out.flush (); With writing the serial ports byte, remove buffer area then, guarantee that like this data that at every turn all send are up-to-date.
Four: the Optimizing operation of data format
When receiving data by serial ports, data are returned to Business Logic come deal with data, used the operation of a large amount of optimization data here.
A: judge whether the data that receive are correct, use
Pattern.compile (" #[T, D, R, C, V, G, F] 0200 * d+ "); Mate correct packet, the matching process of herein using is exactly the form of communications protocol definition, directly the data format that sends to serial ports according to copper palpus protocol definition returns a false command when unmatched the time, and promptly the Information sign position is E, and the data that expression receives have problem.When correct the time, this correct character string is returned to this method of public booleanmesglength (String m), the method is to judge verification and whether correct, incorrect also is to be flag bit E.Call public String realString (String m) method after correct, the method is that the character string of correct packet is set to global variable.
B: carry out public String getCommand (String m) method, the method is to decomposite the command keyword that will carry out, then according to the order of the bottom of the execution of the different manner of execution correspondence of command calls, after underlying object is obtained data, information bit is changed to F or T, represent execution error respectively, carry out correct sign.The data that obtain are put on the data bit.
C: serial ports is by initialization service logic class public class HandleString, call publicFlagBean syscommand (String m) method, the method is called exectorial just now method exactly, the method return one not tape verifying and the character string of data packet format.
D: after class ReturnString is optimized in initialization, call public byte[] returnbytes (FlagBeanflag) method, the method is exactly the packet character string that obtained just now, no matter be correct or wrong can call the method, it is a universal method, the method can be called public byte[] covbyte (FlagBean flag) method, for being exactly distinguishes different data according to different orders to send form, form according to communications protocol is optimized, their tuning is become corresponding byte format, comprise an integer type is converted to a byte, this does the serial ports program optimization than in the past, data were issued serial ports when character string, the serial ports bottom is oneself conversion then in the past, and the method is accomplished on the bottom.Execute the method and return to a byte arrays, the byte arrays of this moment is exactly a complete data packet format, but not tape verifying and, then the returnbytes method calculate according to this array verification and, unified being put in the byte arrays, return to the serial ports transmitting terminal, and serial ports transmitting terminal public void writePort2 (byte[] result) method.Be exactly a complete process this moment.

Claims (2)

1. server control method based on serial ports, it is characterized in that, the data packet format of definition serial port communicating protocol, wherein definition comprises the form of transmission and the form that sends, sends the baud rate and the character code that adopt, requirement according to agreement sends needed data by serial communication program, be shown on the control terminal or by control terminal and utilize serial communication program to realize Control Server, the specific implementation step is as follows:
One, customizes the serial port protocol rule, comprise the parameter of serial ports
When sending data to system, serial ports is meant that control terminal is provided with desired data by response events, the information of data is sent to system with the form of character, below logical one abbreviate " serial is to system " as, when system after the data that serial ports sends response are meant that effective information is received by system, the corresponding result of making, the result is sent to serial ports with the form of character, and below unified to abbreviate " system is to serial " as still be serial from system to serial to system all is that form transmission and character code with character all is Unicode;
A: definition serial initialization parameter, the baud rate unification is set to 9600; 8 of data bit, position of rest 1, parity check does not have;
B: definition sends data to the data format of system from control terminal by serial ports, has defined packet header, order, message length, information bit, data, the bag tail, verification and;
Regulation packet header is unified with # number, and the FGVCRDT letter is used in order respectively, and message length is the summation of the byte number of statistical information position and data;
Information bit: be after judging the data correctness be subjected to and receiving correct data, executive system order correctness, flag bit is E when will receive bad command, returns F and return T correct the time when the executive system order makes mistakes;
Data bit: in the time of data, return actual data, when there not being data to return 0 bag tail: * number;
Verification and: refer to all from packet header the summation of ASCII character to the bag tail, in like manner dispose from system and also be divided into packet header by the data format that serial ports sends to the control terminal configuration, order, message length, information bit, data, the bag tail, verification and, but is different from system by information bit and the data that serial ports sends to control terminal, and other all the same is because whether the flag bit here represents the order of executive system correct, the data that data bit representative will be got, from packet header to the ascii sign indicating number of bag tail and be with four byte representations;
Two: the configuration driven program
RXTX be one provide serial ports and and the java class libraries of increasing income of port communications, all follow the LGPL agreement by the file of this project issue;
A: revise the class configuration file that javax.comm.properties RXTX drives, content is that Driver=gnu.io.RXTXCommDriver serpath0=/dev/ttyS0 the ttys0 representative here is a serial ports 1, is that serial ports 2 sides are modified as ttys1;
B: behind the rxtx decompress(ion) of downloading, the catalogue that also has linux/solaris/windows/mac in addition, this is the dynamic link library of RXTX at different platform, processor is i386, so be exactly so file librxtxParallel.so under the i686-unknown-linux-gnu, two files of librxtxSerial.so are examined under the $JAVA_HOME/lib/, are examining<java_home simultaneously 〉/jre/lib/i386 under;
C: the javax.comm.properties file is examined under the $JAVA_HOME/jre/lib;
D: at last RXTXCommon.jar is added in your engineering;
Attention: with the method for ide instrument eclipse compiling with the top; Compile with order: under RXTXCommon.jar Kao Beidao $JAVA_HOME/jre/lib/ext catalogue;
Three: initialization serial ports program
The initialization that the background program that the initialization here refers to carries out, the port numbers that comprises the initialization serial ports, the transmission rate of serial ports, time-out time during port, the data bit of serial ports, the position of rest of serial ports, because we are incidents that the operation control terminal triggers, so allow this class of succession erialPortEventListener of serial ports, allowing him realize then is such this method of public void serialEvent (SerialPortEvent serialevent), allow action listener be registered in the serial ports class then: serialport.addEventListener (this), the most important thing is to obtain input and output stream, in=serialport.getInputStream (); Out=serialport.getOutputStream (); The data of utilizing iostream to operate to obtain and export are successfully returned this serial ports object when initialization all, must close serial ports after having called, out.close (),
in.close();
Four: the Optimizing operation of data format
When receiving data by serial ports, data are returned to Business Logic come deal with data, used the operation of a large amount of optimization data here, comprise following content:
A: judge whether the data that receive are correct, use
Pattern.compile (" #[T, D, R, C, V, G, F] 0200 * d+ "); Mate correct packet, the matching process of herein using is exactly the form of communications protocol definition, directly the data format that sends to serial ports according to copper palpus protocol definition returns a false command when unmatched the time, be that the Information sign position is E, the data that expression receives have problem, when correct the time, this correct character string is returned to public booleanmesglength (String m) judge verification and whether correct, incorrect also is to be flag bit E, calls public String realString (String m) after correct the character string of correct packet is set to global variable;
B: carry out public String getCommand (String m), decomposite the command keyword that to carry out, then according to the order of the bottom of the execution of the different manner of execution correspondence of command calls, after underlying object is obtained data, information bit is changed to F or T, represent execution error respectively and carry out correct sign, the data that obtain are put on the data bit;
C: serial ports calls publicFlagBean syscommand (String m) and calls fill order just now by initialization service logic class public class HandleString, return one not tape verifying and the character string of data packet format;
D: after class ReturnString is optimized in initialization, call public byte[] returnbytes (FlagBeanflag), the packet character string that obtained just now, be the correct or wrong public byte[that all calls] covbyte (FlagBean flag), distinguish different data according to different orders exactly and send form, form according to communications protocol is optimized, their tuning is become corresponding byte format, comprise an integer type is converted to a byte, execute and return to a byte arrays, the byte arrays of this moment is exactly a complete data packet format, but not tape verifying and, then returnbytes calculate according to this array verification and, unified being put in the byte arrays, return to the serial ports transmitting terminal, serial ports transmitting terminal public voidwritePort2 (byte[] result).
2. monitor the method that reading of data and serial ports send data, it is characterized in that, the basis for estimation of monitoring is exactly just to accept in the time of data: serialevent.DATA_AVAILABLE==serialevent.getEventType (), established a byte buffer area when accepting, send out data when data being arranged is put in the buffer area at every turn, wherein be exactly the verification that sends of control terminal and be the float type, after will converting him to float when acceptance is come, merge the back together in data he is passed to Business Logic with the front, when after Business Logic is data processing, sending back, be responsible for data are passed on the control terminal by serial ports by serial ports public void writePort (byte[] result), call public void writePort (byte b) then, out.write (b); Out.flush (); With writing the serial ports byte, remove buffer area then, guarantee that like this data that at every turn all send are up-to-date.
CN201010011849.0A 2010-01-12 2010-01-12 Server control method based on serial port Active CN101795270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010011849.0A CN101795270B (en) 2010-01-12 2010-01-12 Server control method based on serial port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010011849.0A CN101795270B (en) 2010-01-12 2010-01-12 Server control method based on serial port

Publications (2)

Publication Number Publication Date
CN101795270A true CN101795270A (en) 2010-08-04
CN101795270B CN101795270B (en) 2014-11-05

Family

ID=42587695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010011849.0A Active CN101795270B (en) 2010-01-12 2010-01-12 Server control method based on serial port

Country Status (1)

Country Link
CN (1) CN101795270B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568459A (en) * 2010-12-20 2012-07-11 福建星网视易信息系统有限公司 External KTV guiding/antiphonal singing switching device, system and communication protocol
CN103595503A (en) * 2013-10-25 2014-02-19 福建升腾资讯有限公司 Frequency encoding and decoding communication system based on serial port device
CN103676937A (en) * 2013-12-10 2014-03-26 中联重科股份有限公司 Method and device for processing control parameters in controller
CN106209858A (en) * 2016-07-15 2016-12-07 厦门博聪信息技术有限公司 A kind of serial communication protocol controlled for ball machine
CN106970883A (en) * 2017-02-17 2017-07-21 湖北兴业华德威安全信息技术股份有限公司 Intelligent internet of things monitoring and warning main frame and the terminal device means of communication
CN107817979A (en) * 2017-10-13 2018-03-20 西安钛克韦尔信息科技有限公司 The control method and mobile terminal of a kind of mobile terminal
CN107871059A (en) * 2016-09-23 2018-04-03 广州康昕瑞基因健康科技有限公司 Gene sequencer runs analogy method and system
CN109194442A (en) * 2018-08-08 2019-01-11 济南浪潮高新科技投资发展有限公司 A kind of serial port data forwarding device, method and system
CN109474493A (en) * 2018-12-05 2019-03-15 歌尔股份有限公司 Communication means and system with self-checking function
CN109783417A (en) * 2019-01-11 2019-05-21 四川长虹电器股份有限公司 A kind of serial communication device and method
CN109814482A (en) * 2019-02-13 2019-05-28 珠海格力智能装备有限公司 The controller and its control method and industrial robot of robot
CN111475318A (en) * 2020-04-29 2020-07-31 中国人民解放军军事科学院国防科技创新研究院 Serial port communication device, method and system supporting multi-user access
CN111694368A (en) * 2020-06-04 2020-09-22 哈尔滨工业大学 Six-degree-of-freedom platform control method
CN112309110A (en) * 2019-11-05 2021-02-02 戚建民 Congestion detection system based on big data communication
CN114301992A (en) * 2021-12-29 2022-04-08 北京半导体专用设备研究所(中国电子科技集团公司第四十五研究所) Data transmission method and storage medium
CN115596988A (en) * 2022-12-13 2023-01-13 四川凯德源科技有限公司(Cn) LNG gas station control system

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568459A (en) * 2010-12-20 2012-07-11 福建星网视易信息系统有限公司 External KTV guiding/antiphonal singing switching device, system and communication protocol
CN103595503A (en) * 2013-10-25 2014-02-19 福建升腾资讯有限公司 Frequency encoding and decoding communication system based on serial port device
CN103595503B (en) * 2013-10-25 2016-08-17 福建升腾资讯有限公司 A kind of frequency encoding and decoding communication system based on serial port device
CN103676937A (en) * 2013-12-10 2014-03-26 中联重科股份有限公司 Method and device for processing control parameters in controller
CN106209858A (en) * 2016-07-15 2016-12-07 厦门博聪信息技术有限公司 A kind of serial communication protocol controlled for ball machine
CN107871059A (en) * 2016-09-23 2018-04-03 广州康昕瑞基因健康科技有限公司 Gene sequencer runs analogy method and system
CN106970883A (en) * 2017-02-17 2017-07-21 湖北兴业华德威安全信息技术股份有限公司 Intelligent internet of things monitoring and warning main frame and the terminal device means of communication
CN107817979A (en) * 2017-10-13 2018-03-20 西安钛克韦尔信息科技有限公司 The control method and mobile terminal of a kind of mobile terminal
CN109194442A (en) * 2018-08-08 2019-01-11 济南浪潮高新科技投资发展有限公司 A kind of serial port data forwarding device, method and system
CN109474493B (en) * 2018-12-05 2020-12-22 歌尔光学科技有限公司 Communication method and system with self-checking function
CN109474493A (en) * 2018-12-05 2019-03-15 歌尔股份有限公司 Communication means and system with self-checking function
CN109783417A (en) * 2019-01-11 2019-05-21 四川长虹电器股份有限公司 A kind of serial communication device and method
CN109783417B (en) * 2019-01-11 2022-03-15 四川长虹电器股份有限公司 Serial port communication device and method
CN109814482A (en) * 2019-02-13 2019-05-28 珠海格力智能装备有限公司 The controller and its control method and industrial robot of robot
CN109814482B (en) * 2019-02-13 2021-09-03 珠海格力智能装备有限公司 Controller of robot, control method of controller and industrial robot
CN112309110A (en) * 2019-11-05 2021-02-02 戚建民 Congestion detection system based on big data communication
CN111475318A (en) * 2020-04-29 2020-07-31 中国人民解放军军事科学院国防科技创新研究院 Serial port communication device, method and system supporting multi-user access
CN111475318B (en) * 2020-04-29 2021-02-23 中国人民解放军军事科学院国防科技创新研究院 Serial port communication device, method and system supporting multi-user access
CN111694368A (en) * 2020-06-04 2020-09-22 哈尔滨工业大学 Six-degree-of-freedom platform control method
CN114301992A (en) * 2021-12-29 2022-04-08 北京半导体专用设备研究所(中国电子科技集团公司第四十五研究所) Data transmission method and storage medium
CN115596988A (en) * 2022-12-13 2023-01-13 四川凯德源科技有限公司(Cn) LNG gas station control system
CN115596988B (en) * 2022-12-13 2023-04-21 四川凯德源科技有限公司 LNG gas station accuse system

Also Published As

Publication number Publication date
CN101795270B (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN101795270A (en) Server control method based on serial port
CN100435094C (en) System and method for building mixed mode execution environment for component applications
US7676786B2 (en) System and method and apparatus for using UML tools for defining web service bound component applications
US8005878B2 (en) Providing processing instructions for updating schema
US9608893B2 (en) Methods and systems for parsing data objects
CN109460223B (en) API gateway management system and method thereof
US6971093B1 (en) Techniques for maintaining compatibility of a software core module and an interacting module
US20080282222A1 (en) Xml push and remote execution of a wireless applications
US8291373B2 (en) Generating LoadRunner scripts
US8756407B2 (en) Configuration rule prototyping tool
CN104346184A (en) Application packaging device and application packaging method
CN102395950A (en) Communicating with data storage systems
CN109408247A (en) Interaction data processing method and device
CN107622006B (en) Mobile device testing system and method for testing mobile device
US20180189165A1 (en) Method for assisting with debugging, and computer system
CN113434175A (en) Data processing method, device, storage medium and equipment
US10606569B2 (en) Declarative configuration elements
WO2023151397A1 (en) Application program deployment method and apparatus, device, and medium
CN110443034A (en) The recognition methods of risk program file, calculates equipment and medium at device
CN102609253A (en) Method and system for implementing smart card application
CN115934093A (en) Applet cross-terminal application method, related device and computer storage medium
CN110399187A (en) A kind for the treatment of method and apparatus of language resource
CN114265638A (en) Communication method, device, equipment and storage medium based on plug-in compatibility
KR102223336B1 (en) Platform of Smart Factory
CN108255849A (en) JavaBean is converted into the method, apparatus and system of XML file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: SHANDONG LANGCHAO HUICAI INVESTMENT HOLDING CO., L

Free format text: FORMER OWNER: SHANDONG HIGH-END SERVER + STORAGE RESEARCH INSTITUTE

Effective date: 20120921

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 250014 JINAN, SHANDONG PROVINCE TO: 250101 JINAN, SHANDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20120921

Address after: Xinluo Avenue high tech Zone of Ji'nan City, Shandong province 250101 No. 1768 Qilu Software building B block 3 layer

Applicant after: Shandong wave color Klc Holdings Ltd

Address before: 250014 No. 224 mountain road, Lixia District, Shandong, Ji'nan

Applicant before: Shandong High-End Server & Storage Research Institute

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: LANGCHAO ELECTRONIC INFORMATION INDUSTRY CO., LTD.

Free format text: FORMER OWNER: SHANDONG LANGCHAO HUICAI INVESTMENT HOLDING CO., LTD.

Effective date: 20130724

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20130724

Address after: 250101 Shandong Province, Ji'nan City hi tech Development Zone, Nga Road No. 1036

Applicant after: Langchao Electronic Information Industry Co., Ltd.

Address before: Xinluo Avenue high tech Zone of Ji'nan City, Shandong province 250101 No. 1768 Qilu Software building B block 3 layer

Applicant before: Shandong wave color Klc Holdings Ltd

C14 Grant of patent or utility model
GR01 Patent grant