CN105635227A - Point to point communication method and system on the basis of serial server - Google Patents

Point to point communication method and system on the basis of serial server Download PDF

Info

Publication number
CN105635227A
CN105635227A CN201410635849.6A CN201410635849A CN105635227A CN 105635227 A CN105635227 A CN 105635227A CN 201410635849 A CN201410635849 A CN 201410635849A CN 105635227 A CN105635227 A CN 105635227A
Authority
CN
China
Prior art keywords
network devices
user terminal
remote network
serial server
terminal identification
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
CN201410635849.6A
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.)
Kyland Technology Co Ltd
Original Assignee
Kyland 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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN201410635849.6A priority Critical patent/CN105635227A/en
Publication of CN105635227A publication Critical patent/CN105635227A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a point to point communication method and system on the basis of a serial server. The method comprises: a request message of setting/obtaining device information sent by a user terminal is analyzed by a remote network device; request content and a user terminal identification are obtained; a request message carrying the user terminal identification is created according to the request content and sent to the serial server; the serial server analyzes the received request message, obtains the request content and the user terminal identification, sets/obtains device information according to the request content, creates response message carrying the user terminal identification and sends the response message to the remote network device; the remote network device analyzes the received response message, obtains the user terminal identification and the device information, sends the device information to the user terminal according to the user terminal identification, and sends a confirmation message to the serial server. According to the method, the user terminal identification is used as information synchronization identification so that consistency of multiple requests and feedbacks is realized.

Description

A kind of Point-to-point Communication Method based on serial server and system
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of Point-to-point Communication Method based on serial server and system.
Background technology
Serial server provides serial ports to turn network function, as it is shown in figure 1, serial server is between Ethernet and serial ports, it is possible to convert RS-232/485/422 serial ports to TCP/IP network interface, it is achieved the data double-way transparent transmission of remote network devices serial port terminal. Wherein, by handshake method (" Req (request)--> Rsp (response)--> Ack (confirmation) ") between remote network devices and serial server, complete once to communicate. Its basic procedure, as in figure 2 it is shown, main equipment receive user terminal send request message after, main equipment (remote network devices) sends a Req message to from equipment (serial server); After receiving Req message from equipment, send a Rsp message to main equipment; After main equipment receives Rsp message, the message content of Rsp message is sent to user terminal, and send Ack message to from equipment; Receiving Ack message from equipment, communication completes.
In prior art, in the network topology of one-to-many, when multiple user terminals pass through multiple interfaces of a main equipment, access multiple from equipment simultaneously. As it is shown on figure 3, when each user terminal access is from equipment, the corresponding task on main equipment will with carry out syllogic from equipment and shake hands. When main equipment is to multiple user terminals transmission Rsp message content, it is possible to be the sequencing sent according to request message, send Rsp message content to multiple user terminals. But, due to network delay, shake hands for many groups and be difficult to synchronize, it is possible to because multiple requests are inconsistent with feedback, cause communication mistake, it is difficult to ensure promptness and the reliability of communication. It addition, when main equipment is to multiple user terminals transmission Rsp message content, it is also possible to it is send all of Rsp message to each user terminal, user terminal selects required Rsp message content. In this case, each user terminal can receive the return information that other user terminals are requested, there is bigger potential safety hazard.
Summary of the invention
The embodiment of the present invention provides a kind of Point-to-point Communication Method based on serial server and system, in order to solve multiple user terminal multiple interfaces by a remote network devices, when accessing multiple serial server simultaneously, owing to network prolongs, cause multiple request inconsistent with feedback, it is difficult to ensure the promptness of communication and the problem of reliability.
The embodiment of the present invention provides a kind of Point-to-point Communication Method based on serial server, and described method includes:
Remote network devices resolves the request message of setting/acquisition facility information that user terminal sends, and obtains request content and user terminal identification, according to described request content, creates the request message carrying described user terminal identification, and sends to serial server;
Described serial server resolves the described request message received, obtain request content and described user terminal identification, according to described request content, arrange/obtain facility information, create the response message carrying described user terminal identification, and send to described remote network devices;
Described remote network devices resolves the described response message received, obtain described user terminal identification and facility information, according to described user terminal identification, send described facility information to corresponding described user terminal, and send confirmation message to described serial server.
Alternatively, described serial server resolves the described request message received, and obtains request content and described user terminal identification, according to described request content, arrange/obtain facility information, create the response message carrying described user terminal identification, and include to the transmission of described remote network devices:
When described serial server listens to described request message, parse request content and described user terminal identification temporary described user terminal identification;
According to described request content, arrange/obtain facility information;
Facility information according to described setting/acquisition and described temporary user terminal identification, construct response message, and send to described remote network devices.
Alternatively, described method also includes:
After described remote network devices sends request message to described serial server, temporary described request message;
When receiving the response message that described serial server returns in Preset Time, delete described request message;
When not receiving the response message that described serial server returns in Preset Time, again send described request message to described serial server.
Alternatively, described method also includes:
After described serial server sends response message to described remote network devices, temporary described response message;
When receiving the confirmation message that described remote network devices returns in Preset Time, delete described response message;
When not receiving the confirmation message that described remote network devices returns in Preset Time, again send response message to described remote network devices.
Alternatively, described method also includes:
After described remote network devices and described serial server network service are set up, described remote network devices is authenticated by described serial server, when certification is passed through, it is allowed to described remote network devices accesses serial port terminal by described serial server; And/or,
After described remote network devices and described serial server network service are set up, decruption key is sent to described remote network devices by described serial server so that described remote network devices can obtain the serial port terminal data of encryption.
The embodiment of the present invention also provides for a kind of Point-to-Point Communication System based on serial server, and described system includes: remote network devices and serial server; Wherein,
Described remote network devices resolves the request message of setting/acquisition facility information that user terminal sends, obtain request content and user terminal identification, according to described request content, create the request message carrying described user terminal identification, and send to serial server;
Described serial server resolves the described request message received, obtain request content and described user terminal identification, according to described request content, arrange/obtain facility information, create the response message carrying described user terminal identification, and send to described remote network devices;
Described remote network devices resolves the described response message received, obtain described user terminal identification and facility information, according to described user terminal identification, send described facility information to corresponding described user terminal, and send confirmation message to described serial server.
Alternatively, described system also includes: when described serial server listens to described request message, parses request content and described user terminal identification temporary described user terminal identification; According to described request content, arrange/obtain facility information; Facility information according to described setting/acquisition and described temporary user terminal identification, construct response message, and send to described remote network devices.
Alternatively, described system also includes: after described remote network devices sends request message to described serial server, temporary described request message; When receiving the response message that described serial server returns in Preset Time, delete described request message; When not receiving the response message that described serial server returns in Preset Time, again send described request message to described serial server.
Alternatively, described system also includes: after described serial server sends response message to described remote network devices, temporary described response message; When receiving the confirmation message that described remote network devices returns in Preset Time, delete described response message; When not receiving the confirmation message that described remote network devices returns in Preset Time, again send response message to described remote network devices.
Alternatively, described system also includes: after described remote network devices and described serial server network service are set up, described remote network devices is authenticated by described serial server, when certification is passed through, it is allowed to described remote network devices accesses serial port terminal by described serial server; And/or,
After described remote network devices and described serial server network service are set up, decruption key is sent to described remote network devices by described serial server so that described remote network devices can obtain the serial port terminal data of encryption.
The method that the embodiment of the present invention provides, user terminal identification is utilized to identify as message synchronization, remote network devices sends the request message carrying user terminal identification to serial server, serial server is by resolving this request message, create the response message carrying user terminal identification, when making remote network devices receive this response message that this serial server sends, the user terminal identification that can carry according to this response message, response message is sent to the user terminal corresponding with this user terminal identification, it is ensured that request and the concordance fed back.
Accompanying drawing explanation
The serial server structural representation that Fig. 1 provides for prior art;
The main equipment that Fig. 2 provides for prior art with from communication between devices mode schematic diagram;
The communication between devices mode schematic diagram of the one-to-many that Fig. 3 provides for prior art;
The Point-to-point Communication Method flow chart based on serial server that Fig. 4 provides for the embodiment of the present invention;
The Point-to-point Communication Method flow chart based on serial server that Fig. 5 provides for the embodiment of the present invention;
The network service connection system structural representation that Fig. 6 provides for the embodiment of the present invention;
The remote network devices end communication means flow chart that Fig. 7 provides for the embodiment of the present invention;
The serial server end communication means flow chart that Fig. 8 provides for the embodiment of the present invention;
The network service connection system structural representation that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
The present invention is in order to realize multiple request and feedback concordance, it is ensured that the promptness of communication and reliability, it is provided that a kind of Point-to-point Communication Method based on serial server.
Below in conjunction with Figure of description, the present invention is described in detail.
Fig. 4 is the Point-to-point Communication Method flow chart based on serial server that the embodiment of the present invention provides. Referring to Fig. 4, this embodiment includes:
401, remote network devices resolves the request message of setting/acquisition facility information that user terminal sends, obtain request content and user terminal identification, according to this request content, create the request message carrying this user terminal identification, and send to serial server.
402, this serial server resolves this request message received, obtain request content and this user terminal identification, according to this request content, arrange/obtain facility information, create the response message carrying this user terminal identification, and send to this remote network devices.
403, this remote network devices resolves this response message received, and obtains this user terminal identification and facility information, according to this user terminal identification, sends this facility information to this corresponding user terminal, and sends confirmation message to this serial server.
The method that the embodiment of the present invention provides, user terminal identification is utilized to identify as message synchronization, remote network devices sends the request message carrying user terminal identification to serial server, serial server is by resolving this request message, create the response message carrying user terminal identification, when making remote network devices receive this response message that this serial server sends, the user terminal identification that can carry according to this response message, response message is sent to the user terminal corresponding with this user terminal identification, it is ensured that request and the concordance fed back.
Alternatively, this serial server resolves this request message received, and obtains request content and this user terminal identification, according to this request content, arrange/obtain facility information, create the response message carrying this user terminal identification, and include to the transmission of this remote network devices:
When this serial server listens to this request message, parse request content and this user terminal identification this user terminal identification temporary;
According to this request content, arrange/obtain facility information;
Facility information according to this setting/acquisition and this temporary user terminal identification, construct response message, and send to this remote network devices.
Alternatively, the method also includes:
After this remote network devices sends request message to this serial server, this request message temporary;
When receiving the response message that this serial server returns in Preset Time, delete this request message;
When not receiving the response message that this serial server returns in Preset Time, again send this request message to this serial server.
Alternatively, the method also includes:
After this serial server sends response message to this remote network devices, this response message temporary;
When receiving the confirmation message that this remote network devices returns in Preset Time, delete this response message;
When not receiving the confirmation message that this remote network devices returns in Preset Time, again send response message to this remote network devices.
Alternatively, the method also includes:
After this remote network devices and this serial server network service are set up, this remote network devices is authenticated by this serial server, when certification is passed through, it is allowed to this remote network devices accesses serial port terminal by this serial server; And/or,
After this remote network devices and this serial server network service are set up, decruption key is sent to this remote network devices by this serial server so that this remote network devices can obtain the serial port terminal data of encryption.
Fig. 5 is the Point-to-point Communication Method flow chart based on serial server that the embodiment of the present invention provides. Being network service process between user terminal, remote network devices and serial server in this embodiment, referring to Fig. 5, this embodiment includes:
501, user terminal sends the request message arranging/obtain facility information to remote network devices.
In embodiments of the present invention, multiple user terminals can pass through multiple interfaces of remote network devices, accesses multiple serial server, arranges/obtain facility information.
502, when this remote network devices receives this request message, resolve this request message, obtain request content and user terminal identification, according to this request content, create the request message carrying this user terminal identification.
Wherein, this user terminal identification can be user terminal ID (Identity, identification number), can also be user terminal MAC (MediaAccessControl, media interviews control) address, can also other can the information of unique identifying subscriber terminal, the embodiment of the present invention is not especially limited.
In embodiments of the present invention, as shown in Figure 6, it is possible to remote network devices is abstracted into client layer, message layer and message layer. Wherein,
This client layer is the interface that user terminal arranged/obtained facility information; Communicate between this message layer with message layer, have two types: request message (Req-Msg), response message (Rsp-Msg); This message layer is positioned at network both sides, for the communication between remote network devices and serial server, has three types: request message (Req-Pkt), response message (Rsp-Pkt) and confirmation message (Ack-Pkt).
In embodiments of the present invention, in remote network devices side, when client layer listens to request message, obtain user terminal identification, as communication synchronization mark, user terminal identification is inserted request message, and message layer sends the request message carrying user terminal identification to message layer; Message layer resolves the request message received, and obtains request content and user terminal identification, creates the request message carrying user terminal identification, sends to serial server.
503, this remote network devices sends this request message to serial server.
Alternatively, after this remote network devices sends request message to this serial server, this request message temporary; When receiving the response message that this serial server returns in Preset Time, delete this request message; When not receiving the response message that this serial server returns in Preset Time, again send this request message to this serial server, to avoid repeating to create identical message, improve communication efficiency.
504, when this serial server receives this request message, this serial server resolves this request message, obtains request content and this ID, according to request content, arranges/obtains facility information, create the response message carrying this user terminal identification.
In embodiments of the present invention, when this serial server listens to this request message, request content and user terminal identification are parsed, it is possible to this user terminal identification temporary; According to this request content, arrange/obtain facility information; Facility information according to this setting/acquisition and this temporary user terminal identification, structure carries the response message of this user terminal identification.
In embodiments of the present invention, as shown in Figure 6, it is possible to serial server is abstracted into message layer, message layer and driving layer. Wherein,
This message layer is positioned at network both sides, for the communication between remote network devices and serial server, has three types: request message (Req-Pkt), response message (Rsp-Pkt) and confirmation message (Ack-Pkt); Communicate between this message layer with message layer, have two types: request message (Req-Msg), response message (Rsp-Msg); This driving layer, in serial server side, is used for arranging/obtain facility information.
In embodiments of the present invention, in serial server side, when message layer listens to request message, parse request content and user terminal identification, this user terminal identification temporary; Message layer sends a request message to drive layer; When driving layer to receive this request message, arrange/obtain facility information, send response message to message layer; After message layer receives this response message, utilize the facility information and temporary user terminal identification that arrange/obtain, construct response message, be sent to remote network devices.
505, this serial server sends this response message to this remote network devices.
Alternatively, after this serial server sends response message to this remote network devices, this response message temporary; When receiving the confirmation message that this remote network devices returns in Preset Time, delete this response message; When not receiving the confirmation message that this remote network devices returns in Preset Time, again send response message to this remote network devices, to avoid repeating to create identical message, improve communication efficiency.
506, when this remote network devices receives this response message, resolve this response message, obtain this user terminal identification and facility information.
In embodiments of the present invention, as shown in Figure 6, when message layer receives response message, resolve this response message, obtaining user terminal identification and facility information, message layer sends response message to client layer so that client layer is according to this user terminal identification, facility information is sent, it is ensured that request and the concordance fed back to this corresponding user terminal.
507, this remote network devices is according to this user terminal identification, sends facility information to this corresponding user terminal.
508, this remote network devices sends confirmation message to this serial server.
509, this network equipment is authenticated by this remote network devices, when certification is passed through, it is allowed to this remote network devices accesses serial port terminal by this serial server.
In prior art, RS232/422/485 agreement is provided solely for directly serial communication. After serial port terminal is embedded into complex network by serial server, lack serial ports access registrar, after remote network devices connects serial server, it is possible to directly access the clear data of serial ports, there is incipient fault for data security. In embodiments of the present invention, after this remote network devices and this serial server network service are set up, this remote network devices is authenticated by this serial server, when certification is passed through, allow this remote network devices to access serial port terminal by this serial server, improve the safety of data access.
It should be noted that this remote network devices is only authenticated by the embodiment of the present invention with serial server, illustrate for the safety improving data access. In fact, in another embodiment of the invention, serial port terminal data can be encrypted by serial server, after this remote network devices is set up with this serial server network service, decruption key is sent to this remote network devices by this serial server, make this remote network devices can obtain the serial port terminal data of encryption, improve the safety of data access. Certainly, in order to improve the safety of data access further, two ways superposition can be used, that is to say, serial port terminal data can be encrypted by serial server, this remote network devices and this serial server are based on after the point-to-point communication of serial server, this remote network devices is authenticated by this serial server, when certification is passed through, decruption key is sent to this remote network devices that certification is passed through by this serial server so that this remote network devices can obtain the serial port terminal data of encryption.
The method that the embodiment of the present invention provides, user terminal identification is utilized to identify as message synchronization, remote network devices sends the request message carrying user terminal identification to serial server, serial server is by resolving this request message, create the response message carrying user terminal identification, when making remote network devices receive this response message that this serial server sends, the user terminal identification that can carry according to this response message, response message is sent to the user terminal corresponding with this user terminal identification, it is ensured that request and the concordance fed back.
In order to the communication process of remote network devices and serial server is expanded on further, set forth concrete communication process respectively from remote network devices side and serial server side separately below.
In remote network devices side, as it is shown in fig. 7, client layer monitoring information, when listening to the request message of setting/acquisition facility information that user terminal sends, resolve and obtain user terminal identification, user terminal identification is inserted request message as communication synchronization mark; Message layer sends the request message carrying user terminal identification to message layer; When message layer listens to request message, create the request message carrying user terminal identification, back up this request message, and send to serial server; When not hearing the response message that serial server returns in Preset Time, again send to this serial server; When listening to the response message that serial server returns in Preset Time, delete this backup request message, and send confirmation message to serial server.
In serial server side, as shown in Figure 8, message layer monitors request message, when listening to request message, parses request content and user terminal identification, this user terminal identification temporary; Message layer creates and sends a request message to drive layer; When driving layer to receive this request message, arrange/obtain facility information, send response message to message layer; After message layer receives this response message, utilize the facility information and temporary user terminal identification that arrange/obtain, structure response message, back up this response message, and it is sent to remote network devices, when not hearing the confirmation message that remote network devices returns in Preset Time, again send to this remote network devices; When listening to the response message that remote network devices returns in Preset Time, delete this backup response message.
Fig. 9 is the Point-to-Point Communication System structural representation based on serial server that the embodiment of the present invention provides. Referring to Fig. 9, this system includes: remote network devices 901 and serial server 902. Wherein,
This remote network devices 901 resolves the request message of setting/acquisition facility information that user terminal sends, obtain request content and user terminal identification, according to this request content, create the request message carrying this user terminal identification, and send to serial server;
This serial server 902 resolves this request message received, and obtains request content and this user terminal identification, according to this request content, arranges/obtains facility information, create the response message carrying this user terminal identification, and send to this remote network devices;
This remote network devices 901 resolves this response message received, and obtains this user terminal identification and facility information, according to this user terminal identification, sends this facility information to this corresponding user terminal, and sends confirmation message to this serial server 902.
Alternatively, this system also includes: when this serial server listens to this request message, parses request content and this user terminal identification this user terminal identification temporary; According to this request content, arrange/obtain facility information; Facility information according to this setting/acquisition and this temporary user terminal identification, construct response message, and send to this remote network devices.
Alternatively, this system also includes: after this remote network devices sends request message to this serial server, this request message temporary; When receiving the response message that this serial server returns in Preset Time, delete this request message; When not receiving the response message that this serial server returns in Preset Time, again send this request message to this serial server.
Alternatively, this system also includes: after this serial server sends response message to this remote network devices, this response message temporary; When receiving the confirmation message that this remote network devices returns in Preset Time, delete this response message; When not receiving the confirmation message that this remote network devices returns in Preset Time, again send response message to this remote network devices.
Alternatively, this system also includes: after this remote network devices and this serial server network service are set up, this remote network devices is authenticated by this serial server, when certification is passed through, it is allowed to this remote network devices accesses serial port terminal by this serial server; And/or,
After this remote network devices and this serial server network service are set up, decruption key is sent to this remote network devices by this serial server so that this remote network devices can obtain the serial port terminal data of encryption.
The system that the embodiment of the present invention provides, user terminal identification is utilized to identify as message synchronization, remote network devices sends the request message carrying user terminal identification to serial server, serial server is by resolving this request message, create the response message carrying user terminal identification, when making remote network devices receive this response message that this serial server sends, the user terminal identification that can carry according to this response message, response message is sent to the user terminal corresponding with this user terminal identification, it is ensured that request and the concordance fed back.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or computer program. Therefore, the application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect. And, the application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The application describes with reference to flow chart and/or the block diagram according to the method for the embodiment of the present application, equipment (system) and computer program. It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame. These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the application, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment. So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the application scope.
Obviously, the application can be carried out various change and modification without deviating from spirit and scope by those skilled in the art. So, if these amendments of the application and modification belong within the scope of the application claim and equivalent technologies thereof, then the application is also intended to comprise these change and modification.

Claims (10)

1. the Point-to-point Communication Method based on serial server, it is characterised in that described method includes:
Remote network devices resolves the request message of setting/acquisition facility information that user terminal sends, and obtains request content and user terminal identification, according to described request content, creates the request message carrying described user terminal identification, and sends to serial server;
Described serial server resolves the described request message received, obtain request content and described user terminal identification, according to described request content, arrange/obtain facility information, create the response message carrying described user terminal identification, and send to described remote network devices;
Described remote network devices resolves the described response message received, obtain described user terminal identification and facility information, according to described user terminal identification, send described facility information to corresponding described user terminal, and send confirmation message to described serial server.
2. method according to claim 1, it is characterized in that, described serial server resolves the described request message received, obtain request content and described user terminal identification, according to described request content, arrange/obtain facility information, create the response message carrying described user terminal identification, and include to the transmission of described remote network devices:
When described serial server listens to described request message, parse request content and described user terminal identification temporary described user terminal identification;
According to described request content, arrange/obtain facility information;
Facility information according to described setting/acquisition and described temporary user terminal identification, construct response message, and send to described remote network devices.
3. method according to claim 1, it is characterised in that described method also includes:
After described remote network devices sends request message to described serial server, temporary described request message;
When receiving the response message that described serial server returns in Preset Time, delete described request message;
When not receiving the response message that described serial server returns in Preset Time, again send described request message to described serial server.
4. method according to claim 1, it is characterised in that described method also includes:
After described serial server sends response message to described remote network devices, temporary described response message;
When receiving the confirmation message that described remote network devices returns in Preset Time, delete described response message;
When not receiving the confirmation message that described remote network devices returns in Preset Time, again send response message to described remote network devices.
5. method according to claim 1, it is characterised in that described method also includes:
After described remote network devices and described serial server network service are set up, described remote network devices is authenticated by described serial server, when certification is passed through, it is allowed to described remote network devices accesses serial port terminal by described serial server; And/or,
After described remote network devices and described serial server network service are set up, decruption key is sent to described remote network devices by described serial server so that described remote network devices can obtain the serial port terminal data of encryption.
6. the Point-to-Point Communication System based on serial server, it is characterised in that described system includes: remote network devices and serial server; Wherein,
Described remote network devices resolves the request message of setting/acquisition facility information that user terminal sends, obtain request content and user terminal identification, according to described request content, create the request message carrying described user terminal identification, and send to serial server;
Described serial server resolves the described request message received, obtain request content and described user terminal identification, according to described request content, arrange/obtain facility information, create the response message carrying described user terminal identification, and send to described remote network devices;
Described remote network devices resolves the described response message received, obtain described user terminal identification and facility information, according to described user terminal identification, send described facility information to corresponding described user terminal, and send confirmation message to described serial server.
7. system according to claim 6, it is characterised in that described system also includes: when described serial server listens to described request message, parses request content and described user terminal identification temporary described user terminal identification; According to described request content, arrange/obtain facility information; Facility information according to described setting/acquisition and described temporary user terminal identification, construct response message, and send to described remote network devices.
8. system according to claim 6, it is characterised in that described system also includes: after described remote network devices sends request message to described serial server, temporary described request message; When receiving the response message that described serial server returns in Preset Time, delete described request message; When not receiving the response message that described serial server returns in Preset Time, again send described request message to described serial server.
9. system according to claim 6, it is characterised in that described system also includes: after described serial server sends response message to described remote network devices, temporary described response message; When receiving the confirmation message that described remote network devices returns in Preset Time, delete described response message; When not receiving the confirmation message that described remote network devices returns in Preset Time, again send response message to described remote network devices.
10. system according to claim 6, it is characterized in that, described system also includes: after described remote network devices and described serial server network service are set up, described remote network devices is authenticated by described serial server, when certification is passed through, it is allowed to described remote network devices accesses serial port terminal by described serial server; And/or,
After described remote network devices and described serial server network service are set up, decruption key is sent to described remote network devices by described serial server so that described remote network devices can obtain the serial port terminal data of encryption.
CN201410635849.6A 2014-11-05 2014-11-05 Point to point communication method and system on the basis of serial server Pending CN105635227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410635849.6A CN105635227A (en) 2014-11-05 2014-11-05 Point to point communication method and system on the basis of serial server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410635849.6A CN105635227A (en) 2014-11-05 2014-11-05 Point to point communication method and system on the basis of serial server

Publications (1)

Publication Number Publication Date
CN105635227A true CN105635227A (en) 2016-06-01

Family

ID=56049705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410635849.6A Pending CN105635227A (en) 2014-11-05 2014-11-05 Point to point communication method and system on the basis of serial server

Country Status (1)

Country Link
CN (1) CN105635227A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110705978A (en) * 2019-08-30 2020-01-17 深圳壹账通智能科技有限公司 Interface service method and device
CN111245877A (en) * 2018-11-29 2020-06-05 北京京东尚科信息技术有限公司 User risk index query method and device, electronic equipment and medium
CN117155711A (en) * 2023-10-30 2023-12-01 北京安盟信息技术股份有限公司 Data security transmission method, system, medium and equipment based on serial port

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459591A (en) * 2007-12-11 2009-06-17 中兴通讯股份有限公司 Method for implementing user interface positioning on passive optical network access equipment
CN101800652A (en) * 2010-02-04 2010-08-11 深圳市金宏威实业发展有限公司 Mode switching method and system of serial port and Ethernet and industrial Ethernet switch
EP2469792A2 (en) * 2010-12-27 2012-06-27 Samsung SDS Co. Ltd. Data transmission system and method using relay server
CN103078871A (en) * 2013-01-18 2013-05-01 武汉迈威实达软件有限公司 Serial port Ethernet protocol conversion method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459591A (en) * 2007-12-11 2009-06-17 中兴通讯股份有限公司 Method for implementing user interface positioning on passive optical network access equipment
CN101800652A (en) * 2010-02-04 2010-08-11 深圳市金宏威实业发展有限公司 Mode switching method and system of serial port and Ethernet and industrial Ethernet switch
EP2469792A2 (en) * 2010-12-27 2012-06-27 Samsung SDS Co. Ltd. Data transmission system and method using relay server
CN103078871A (en) * 2013-01-18 2013-05-01 武汉迈威实达软件有限公司 Serial port Ethernet protocol conversion method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245877A (en) * 2018-11-29 2020-06-05 北京京东尚科信息技术有限公司 User risk index query method and device, electronic equipment and medium
CN110705978A (en) * 2019-08-30 2020-01-17 深圳壹账通智能科技有限公司 Interface service method and device
CN117155711A (en) * 2023-10-30 2023-12-01 北京安盟信息技术股份有限公司 Data security transmission method, system, medium and equipment based on serial port

Similar Documents

Publication Publication Date Title
EP3232634B1 (en) Identity authentication method and device
CN108401011B (en) Acceleration method and device for handshake request in content distribution network and edge node
EP3276917B1 (en) Terminal remote assistance method, device and system
JP2020064668A (en) Network connection automatization
CN103491084A (en) Authentication processing method and device of client side
CN104821940A (en) Method and equipment for sending portal redirected address
CN104010001B (en) In mobile terminal, the method and system connecting communication is carried out in similar networking request
CN101621527B (en) Method, system and device for realizing safety certificate based on Portal in VPN
CN103188332B (en) A kind of remote desktop access control management method, equipment and system
CN112165713B (en) Method, device, system and storage medium for intelligent device to access wireless network
CN105635227A (en) Point to point communication method and system on the basis of serial server
CN105812413B (en) Communication method and device
CN103152199A (en) Method and system for remote batch configuration of network devices
CN103618795A (en) Cross-device file processing method, client sides and server
CN103369000A (en) Data transmission method and data transmission system
CN102647432A (en) Authentication information transmission method, device and authentication middleware
CN106850554B (en) Method and device for dual-system directional connection
CN104936177A (en) Access authentication method and access authentication system
CN103384246A (en) Safety supervision system login assistant method
CN111786989B (en) Communication processing method and device and electronic equipment
CN104468520A (en) Identity authentication method and device
CN106331051B (en) Document transmission method and system and reception file device send file device
CN103677961A (en) Method for setting host name of virtual machine
CN106790364A (en) A kind of remote entry method and device
JP2014026480A (en) Output comparison method for plural information systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601