CN107483639A - The method, apparatus and equipment converted between serial data and wireless network data - Google Patents

The method, apparatus and equipment converted between serial data and wireless network data Download PDF

Info

Publication number
CN107483639A
CN107483639A CN201710874126.5A CN201710874126A CN107483639A CN 107483639 A CN107483639 A CN 107483639A CN 201710874126 A CN201710874126 A CN 201710874126A CN 107483639 A CN107483639 A CN 107483639A
Authority
CN
China
Prior art keywords
data
network
wireless network
serial data
converted
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
CN201710874126.5A
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.)
SHANDONG YUWENG INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHANDONG YUWENG INFORMATION 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 SHANDONG YUWENG INFORMATION TECHNOLOGY Co Ltd filed Critical SHANDONG YUWENG INFORMATION TECHNOLOGY Co Ltd
Priority to CN201710874126.5A priority Critical patent/CN107483639A/en
Publication of CN107483639A publication Critical patent/CN107483639A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0272Virtual private networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0485Networking architectures for enhanced packet encryption processing, e.g. offloading of IPsec packet processing or efficient security association look-up
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method that serial data is converted to wireless network data, receive the serial data that user equipment is sent and be encapsulated as first network packet, first network packet is encrypted, by the second network packet that first network packet encapsulation is the call format for meeting default Data Transport Protocol, by wireless network, end equipment sends the second network packet backward again, wherein, AES is generated after the certification by rear end equipment.Wireless network data have passed through AES encryption and be encapsulated as the form of default Data Transport Protocol requirement in transmitting procedure.The security that serial data transmits with wireless network data after wireless network data conversion is ensured.The invention also discloses the device and equipment that a kind of serial data is converted to wireless network data, effect is as above.The invention also discloses the method, apparatus and equipment that a kind of wireless network data is converted to serial data, effect are as described above.

Description

The method, apparatus and equipment converted between serial data and wireless network data
Technical field
The present invention relates to computer communication field, more particularly to a kind of serial data to be converted to the side of wireless network data Method, device and equipment, further relate to method, apparatus and equipment that a kind of wireless network data is converted to serial data.
Background technology
With the development of computer technology and technical device, serial data communication is widely used in every field, main To be used for carrying out the communication of Automated condtrol and equipment room.In instrument or calculating, in communication, the transmission of data is between serial ports Realized by wired mode, this just needs to connect up back and forth, and construction cost is high, and maintenance is also inconvenient.And the number between wireless network It is based on wireless network according to transmitting, the transmission between data is no longer dependent on Wireline realization, and use cost is low, and equipment room leads to Letter is simple.Therefore, in serial data transmittance process, it is often necessary to which serial data is converted into wireless network data or by wirelessly Network data is converted to serial data, so as to realize the communication of equipment room.
In currently used technology, serial data is directly converted into wireless network data or wireless network data is converted to Serial data, and wireless network data is in transmitting procedure, it is possible to it is stolen or changes, its security does not ensure. Therefore, in the prior art, between serial data and wireless network data there is certain risk in translated data transmitting procedure.
Therefore, how to ensure that the security that translated data transmits between serial data and wireless network data turns into this area The current technical issues that need to address of technical staff.
The content of the invention
It is an object of the invention to provide the method, apparatus and equipment that a kind of serial data is converted to wireless network data, string After mouth data are converted to wireless network data, the security of data is improved.It is a further object of the present invention to provide a kind of wireless network Network data are converted to the method, apparatus and equipment of serial data, before wireless network data is converted to serial data, improve data Security.
In order to solve the above-mentioned technical problem, the present invention provides a kind of method that serial data is converted to wireless network data, Including:
The serial data that user equipment is sent is received, and the serial data is encapsulated as first network packet;
The first network packet is encrypted according to AES;
By the second network that the first network packet encapsulation is the call format for meeting default Data Transport Protocol Packet;
By wireless network, end equipment sends second network packet backward;
Wherein, the AES is generated after the certification by the rear end equipment.
Preferably, the Data Transport Protocol is IPSec VPN agreements.
It is preferably, described that by wireless network, end equipment transmission second network packet is specially backward:
Second network packet is sent to the rear end equipment by the encrypted communication tunnel in the wireless network.
Preferably, before receiving the serial data that the user equipment is sent, further comprise:
Examine the connection with the user equipment and whether there is exception with the connection of the rear end equipment;
If connection with the user equipment and without exception with the connection of the rear end equipment, the user is received The serial data that equipment is sent.
Preferably, the AES is national secret algorithm.
The present invention also provides the device that a kind of serial data is converted to wireless network data, including:
First receiving unit, the is encapsulated as receiving the serial data of user equipment transmission, and by the serial data One network packet;
Ciphering unit, for being encrypted according to AES to the first network packet;
Encapsulation unit, for being that the form for meeting default Data Transport Protocol is wanted by the first network packet encapsulation The second network packet asked;
First transmitting element, for end equipment to send second network packet backward by wireless network;
Wherein, the AES is generated after the certification by the rear end equipment.
The present invention also provides the equipment that a kind of serial data is converted to wireless network data, including first processor, described First processor is used to realize that any of the above-described kind of serial data is converted to wireless network when performing the program stored in first memory The step of method of network data.
The present invention also provides a kind of method that wireless network data is converted to serial data, including:
The network data of rear end equipment transmission is received by wireless network, the form of the network data meets default number According to the call format of host-host protocol;
The network data is unpacked according to the form of the Data Transport Protocol;
According to decipherment algorithm to the network data decryption after unpacking;
It is serial data that the network data after decryption, which is unpacked, and the serial data is sent into user equipment.
Wherein, the decipherment algorithm is generated after the certification by the rear end equipment.
The present invention also provides the device that a kind of wireless network data is converted to serial data, including:
Second receiving unit, for receiving the network data of rear end equipment transmission, the network data by wireless network Form meet the call format of default Data Transport Protocol;
Unwrapper unit, the network data is unpacked for the form according to the Data Transport Protocol;
Decryption unit, for according to decipherment algorithm to the network data decryption after unpacking;
Second transmitting element, it is serial data for the network data after decryption to be unpacked, and by the serial ports number According to being sent to user equipment;
Wherein, the decipherment algorithm is generated after the certification by the rear end equipment.
The present invention also provides the equipment that a kind of wireless network data is converted to serial data, including second processor, described Second processor is used to realize that above-mentioned serial data is converted to wireless network data when performing the program stored in second memory Method the step of.
The method that serial data provided by the invention is converted to wireless network data, first receive the serial ports that user equipment is sent Data, serial data is encapsulated as first network packet, first network packet encrypted, by first network packet encapsulation To meet the second network packet of the call format of default Data Transport Protocol, then end equipment is sent out backward by wireless network The second network packet is sent, wherein, AES is generated after the certification by rear end equipment.It is provided by the invention to incite somebody to action wirelessly The method that network data is converted to serial data, the network data of rear end equipment transmission is received by wireless network, according to default The form of Data Transport Protocol network data is unpacked, then to the network data decryption after unpacking, then by the net after decryption Network data are unpacked to be converted into serial data, and the serial data finally is sent into user equipment, wherein, decipherment algorithm is logical Later generated after the certification of end equipment.
As can be seen that during serial data is converted to wireless network data, serial data is first received and by its turn First network packet is changed to, then first network packet is encrypted according to the AES by being generated after certification, then will First network packet encapsulation is the second network packet of the call format for meeting default Data Transport Protocol and is sent to Rear end equipment.Passed it can be seen that wireless network data in transmitting procedure, have passed through AES encryption and be encapsulated as default data The form of defeated protocol requirement, therefore security of the wireless network data in communication process has guarantee, string provided by the invention Mouth data are converted to the device and equipment of wireless network data, and effect is as above.Accordingly, wireless network data is converted into serial ports During data, the network data of rear end equipment transmission is received by wireless network, according to the form of Data Transport Protocol to network number According to unpacking, further according to beforehand through the decipherment algorithm generated after certification to network data decryption, finally by the network number after decryption For serial data and user equipment is sent to according to unpacking.It can be seen that wireless network data is the data of encryption, and according to default number Transmitted according to host-host protocol so that security of the data in communication process has been improved, wireless network data provided by the invention The device and equipment of serial data are converted to, effect is as above.
Brief description of the drawings
In order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in embodiment will be done simply below Introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ordinary skill people For member, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart for the method that a kind of serial data provided in an embodiment of the present invention is converted to wireless network data;
Fig. 2 is the structure chart for the device that a kind of serial data provided in an embodiment of the present invention is converted to wireless network data;
Fig. 3 is the structure chart for the equipment that a kind of serial data provided in an embodiment of the present invention is converted to wireless network data;
Fig. 4 is the flow chart for the method that a kind of wireless network data provided in an embodiment of the present invention is converted to serial data;
Fig. 5 is the structure chart for the device that a kind of wireless network data provided in an embodiment of the present invention is converted to serial data;
Fig. 6 is the structure chart for the equipment that a kind of wireless network data provided in an embodiment of the present invention is converted to serial data.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art on the premise of creative work is not paid, obtained it is all its His embodiment, belongs to the scope of the present invention.
It is an object of the invention to provide the method, apparatus and equipment that a kind of serial data is converted to wireless network data, string After mouth data are converted to wireless network data, the security of data is improved.It is a further object of the present invention to provide a kind of wireless network Network data are converted to the method, apparatus and equipment of serial data, before wireless network data is converted to serial data, improve data Security.
In order that those skilled in the art is better understood from technical solution of the present invention, below in conjunction with the accompanying drawings and it is embodied The present invention is described in further detail for mode.
Fig. 1 is the flow chart for the method that a kind of serial data provided in an embodiment of the present invention is converted to wireless network data, As shown in figure 1, the method that serial data is converted to wireless network data includes:
S10:The serial data that user equipment is sent is received, and serial data is encapsulated as first network packet.
It is connected with user equipment, receives the serial data of user equipment, the connection with user equipment can be connect by RS485 Mouthful, can also be by RS232 interface or USB interface, it is of course also possible to be set by other kinds of serial ports with user Standby connection, the present invention are not limited the particular type of serial ports.
The purpose that serial data is encapsulated as into first network packet is that serial data is converted into network data.
S11:First network packet is encrypted according to AES.
It is understood that after to data encryption, the security of data can be improved.AES can be symmetric cryptography Algorithm or rivest, shamir, adelman, the present invention are not limited the particular type of AES.
S12:By the second network that first network packet encapsulation is the call format for meeting default Data Transport Protocol Packet.
Because the second network packet needs to transmit in the wireless network, so Data Transport Protocol here is Internet Secure communication protocols, it is necessary to be encapsulated as the form of the call format of the agreement when data are transmitted by Data Transport Protocol.
S13:By wireless network, end equipment sends the second network packet backward.
After by wireless network, the second network packet is sent, serial data has also been converted to wireless network number According to.
Wherein, AES is generated after the certification by the rear end equipment.
After AES is the certification by rear end equipment, consult generation with rear end equipment.So, rear end equipment receives To after wireless network data, former data can be obtained to data deciphering using decipherment algorithm.
During serial data is converted to wireless network data, first receives serial data and be converted into the first net Network packet, then first network packet is encrypted according to by the AES that is generated after certification, then by first network number According to the second network packet that encapsulation is the call format for meeting default Data Transport Protocol and it is sent to rear end equipment.Can See, wireless network data have passed through AES encryption and be encapsulated as default Data Transport Protocol requirement in transmitting procedure Form, therefore security of the wireless network data in communication process has guarantee.
In order to further ensure the security of data, preferably embodiment, default Data Transport Protocol are IPSec VPN agreements.When data are transmitted according to IPSec VPN agreements, having transmission mode and tunnel mode, both are optional Pattern.It is understood that the Information Security transmitted under tunnel mode is higher.Therefore, preferably embodiment, passes through End equipment sends the second network packet specifically, to wireless network by the encrypted communication tunnel in wireless network to the back-end backward Equipment sends the second network packet.Encryption tunnel is established after consulting generation AES with rear end equipment.
Preferably embodiment, before receiving the serial data that user equipment is sent, further comprise inspection and user The connection of equipment and with the connection of rear end equipment with the presence or absence of abnormal.
If connection and, string that reception user equipment send without exception with the connection of rear end equipment with user equipment Mouth data.If there is exception with user equipment or with the connection of rear end equipment any one party, no longer receive user equipment hair The data sent.Furthermore it is also possible to ciphering process is examined, if without exception, to receive the number of user equipment transmission with the presence or absence of exception According to.
So, when the connection with user equipment or when having abnormal with the connection of rear end equipment, no longer perform and receive user The step for serial data that equipment is sent and its subsequent step, it can avoid performing a large amount of unnecessary operations, improve effect Rate.
Preferably embodiment, AES are national secret algorithm.National secret algorithm is divided into a variety of, can be symmetric cryptography Algorithm or rivest, shamir, adelman, Hash AES is can also be, the particular type of the invention to national secret algorithm is not Limit.Because national secret algorithm is the domestic cryptographic algorithm that State Commercial Cryptography Administration is assert, data are being passed after being encrypted using national secret algorithm Security during defeated is higher.
Fig. 2 is the structure chart for the device that a kind of serial data provided in an embodiment of the present invention is converted to wireless network data, As shown in Fig. 2 including:
First receiving unit 20, for receiving the serial data of user equipment transmission, and serial data is encapsulated as first Network packet.
Ciphering unit 21, for being encrypted according to AES to first network packet.
Encapsulation unit 22, for being to meet the call format of default Data Transport Protocol by first network packet encapsulation The second network packet.
First transmitting element 23, for end equipment to send the second network packet backward by wireless network.
Wherein, AES is generated after the certification by rear end equipment.
During serial data is converted to wireless network data, the first receiving unit receives serial data and by its turn First network packet is changed to, then ciphering unit adds according to the AES by being generated after certification to first network packet Close, encapsulation unit is by the second network number that first network packet encapsulation is the call format for meeting default Data Transport Protocol According to bag and rear end equipment is sent to by the first transmitting element.Calculated it can be seen that wireless network data in transmitting procedure, have passed through encryption Method is encrypted and is encapsulated as the form of default Data Transport Protocol requirement, therefore safety of the wireless network data in communication process Property has guarantee.
Fig. 3 is the structure chart for the equipment that a kind of serial data provided in an embodiment of the present invention is converted to wireless network data, As shown in figure 3, including:
First memory 30 and first processor 31.
First memory 30, for storing computer program.
First processor 31, during for performing the computer program stored in first memory 30, it is possible to achieve following step Suddenly:
The serial data that user equipment is sent is received, and serial data is encapsulated as first network packet.
First network packet is encrypted according to AES.
By the second network data that first network packet encapsulation is the call format for meeting default Data Transport Protocol Bag.
By wireless network, end equipment sends the second network packet backward.
Wherein, AES is generated after the certification by rear end equipment.
In some embodiments of the invention, above-mentioned first processor 31, can be also used for by performing first memory Computer program in 30 realizes following steps:
By the second network packet that first network packet encapsulation is the call format for meeting IPSec VPN agreements.
In some embodiments of the invention, above-mentioned first processor 31, can be also used for by performing first memory Computer program in 30 realizes following steps:
By the encrypted communication tunnel in wireless network, end equipment sends the second network packet backward.
In some embodiments of the invention, above-mentioned first processor 31, can be also used for by performing first memory Computer program in 30 realizes following steps:
Before receiving the serial data that user equipment is sent, examining with the connection of user equipment and with the connection of rear end equipment is No exist abnormal, if with the connection of user equipment and without exception with the connection of rear end equipment, receives user equipment and sends Serial data.
In some embodiments of the invention, above-mentioned first processor 31, can be also used for by performing first memory Computer program in 30 realizes following steps:
First network packet is encrypted by national secret algorithm.
First processor first receives serial data and is converted into the computer program in performing first memory First network packet, then first network packet is encrypted according to by the AES that is generated after certification, then by first Network packet is encapsulated as the second network packet for meeting the call format of default Data Transport Protocol and is sent to rear end Equipment.It can be seen that wireless network data in transmitting procedure, have passed through AES encryption and be encapsulated as default data transfer association Desired form is discussed, therefore security of the wireless network data in communication process has guarantee.
Fig. 4 is the flow chart for the method that a kind of wireless network data provided in an embodiment of the present invention is converted to serial data, Including
S40:The network data of rear end equipment transmission is received by wireless network, the form of network data meets default number According to the call format of host-host protocol.
Network data is transmitted according to default Data Transport Protocol in the wireless network, therefore the form of network data needs Meet the call format of the Data Transport Protocol.
S41:Network data is unpacked according to the form of Data Transport Protocol;
Network data need not pass through wireless network transmissions again, it is not required that transmitted according to default Data Transport Protocol, Therefore network data is unpacked.
S42:According to decipherment algorithm to the network data decryption after unpacking.
Decipherment algorithm is corresponding with AES, and decipherment algorithm can be symmetrical decipherment algorithm or asymmetric Decipherment algorithm, the present invention are not limited the particular type of decipherment algorithm.
S43:It is serial data that network data after decryption, which is unpacked, and serial data is sent into user equipment.
It can be sent by RS232 interface that serial data is sent into user equipment, can also be sent out by RS485 interfaces Send, can also be sent by USB interface, it is of course also possible to be to send data by other kinds of serial ports, can equally be reached The purpose of the present invention.
Wherein, decipherment algorithm is generated after the certification by rear end equipment.
When wireless network data is converted into serial data, the network number of rear end equipment transmission is received by wireless network According to according to the form of Data Transport Protocol to network data unpacking, further according to beforehand through the decipherment algorithm pair generated after certification Network data decryption, finally the network data after decryption is unpacked as serial data again and is sent to user equipment.It can be seen that wirelessly Network data is the data after encryption, and transmitted according to default Data Transport Protocol so that peace of the data in communication process Full property has been improved.
In order to further ensure the security of data, preferably embodiment, default Data Transport Protocol are IPSec VPN agreements.When data are transmitted according to IPSec VPN agreements, there are two kinds of optional moulds of transmission mode and tunnel mode Formula.And the Information Security of the transmission under tunnel mode is higher.Therefore, preferably embodiment, is connect by wireless network The network data of rear end equipment transmission is received specifically, receiving what rear end equipment was sent by the encrypted communication tunnel in wireless network Network data.Encryption tunnel is established after consulting generation decipherment algorithm with rear end equipment.
Preferably embodiment, before receiving the network data that rear end equipment is sent, further comprise inspection and rear end The connection of equipment and with the connection of user equipment with the presence or absence of abnormal.
If connection and, net that reception rear end equipment send without exception with the connection of user equipment with rear end equipment Network data.
If there is exception with rear end equipment or with the connection of user equipment any one party, no longer receive rear end equipment hair The network data sent.Furthermore it is also possible to decrypting process is examined, if without exception, to receive rear end equipment transmission with the presence or absence of exception Network data.
So, when the connection with rear end equipment or the connection of user equipment have abnormal, no longer perform and pass through wireless network Network receives the step for network data that rear end equipment is sent and its subsequent step, can avoid performing a large amount of unnecessary behaviour Make, improve efficiency.
Preferably embodiment, decipherment algorithm are national secret algorithm.National secret algorithm is divided into a variety of, can symmetrically decrypt Algorithm or asymmetric decipherment algorithm, Hash decipherment algorithm is can also be, the particular type of the invention to national secret algorithm is not Limit.Because national secret algorithm is the domestic cryptographic algorithm that State Commercial Cryptography Administration is assert, is decrypted using national secret algorithm and represent network number Encrypted according to using national secret algorithm, security of such wireless network data in transmitting procedure is higher.
Fig. 5 is the structure chart for the device that a kind of wireless network data provided in an embodiment of the present invention is converted to serial data, As shown in figure 5, including:
Second receiving unit 50, for receiving the network data of rear end equipment transmission by wireless network, network data Form meets the call format of default Data Transport Protocol.
Unwrapper unit 51, network data is unpacked for the form according to Data Transport Protocol.
Decryption unit 52, for according to decipherment algorithm to the network data decryption after unpacking.
Second transmitting element 53, it is serial data for the network data after decryption to be unpacked, and serial data is sent To user equipment.
Wherein, decipherment algorithm is generated after the certification by rear end equipment.
When wireless network data is converted into serial data, the second receiving unit first passes through wireless network and receives rear end equipment The network data of transmission, unwrapper unit unpack further according to the form of Data Transport Protocol to network data, then decryption unit root According to beforehand through the decipherment algorithm generated after certification, to network data decryption, the second last transmitting element is again by the network after decryption Data unpack as serial data and are sent to user equipment.It can be seen that wireless network data is the data after encryption, and according to default Data Transport Protocol transmission so that security of the data in communication process has been improved.
Fig. 6 is the structure chart for the equipment that a kind of serial data provided in an embodiment of the present invention is converted to wireless network data, As shown in fig. 6, including:
Second memory 60 and second processor 61.
Second memory 60, for storing computer program.
Second processor 61, during for performing the computer program stored in second memory 60, it is possible to achieve following step Suddenly:
The network data of rear end equipment transmission is received by wireless network, the form of network data meets default data and passed The call format of defeated agreement.
Network data is unpacked according to the form of Data Transport Protocol.
According to decipherment algorithm to the network data decryption after unpacking.
It is serial data that network data after decryption, which is unpacked, and serial data is sent into user equipment.
Wherein, decipherment algorithm is generated after the certification by rear end equipment.
Second processor first passes through wireless network and receives rear end equipment in the computer program in performing second memory The network data of transmission, then network data is unpacked according to the form of Data Transport Protocol, after beforehand through certification Network data after decryption is finally unpacked as serial data to network data decryption and is sent to use by the decipherment algorithm of generation again Family equipment.It can be seen that wireless network data is the data of encryption, and transmitted according to default Data Transport Protocol so that data exist Security in communication process has been improved.
The method, apparatus and equipment and wireless of wireless network data are converted to serial data provided by the present invention above Network data is converted to the method, apparatus of serial data and equipment is described in detail.Each embodiment uses in specification Progressive mode describes, and each embodiment stresses it is difference with other embodiments, phase between each embodiment With similar portion mutually referring to.
It should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, Some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into the protection domain of the claims in the present invention It is interior.
It should also be noted that, in this manual, such as first and second etc relational terms are used merely to one Individual entity either operates to be made a distinction with another entity or operation, and is not necessarily required and either implied these entities or behaviour Any this actual relation or order between work be present.Moreover, term " comprising ", "comprising" or its any variant are intended to Cover including for nonexcludability, so that process, method, article or equipment including a series of key element not only include that A little key elements, but also other key elements including being not expressly set out, either also include for this process, method, article or set Standby intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element in the process including the key element, method, article or equipment also be present.

Claims (10)

1. a kind of method that serial data is converted to wireless network data, it is characterised in that including:
The serial data that user equipment is sent is received, and the serial data is encapsulated as first network packet;
The first network packet is encrypted according to AES;
By the second network data that the first network packet encapsulation is the call format for meeting default Data Transport Protocol Bag;
By wireless network, end equipment sends second network packet backward;
Wherein, the AES is generated after the certification by the rear end equipment.
2. according to the method for claim 1, it is characterised in that the Data Transport Protocol is IPSec VPN agreements.
3. according to the method for claim 2, it is characterised in that described by wireless network, end equipment sends described the backward Two network packets are specially:
Second network packet is sent to the rear end equipment by the encrypted communication tunnel in the wireless network.
4. according to the method for claim 1, it is characterised in that receive the serial data that the user equipment is sent Before, further comprise:
Examine the connection with the user equipment and whether there is exception with the connection of the rear end equipment;
If connection with the user equipment and without exception with the connection of the rear end equipment, the user equipment is received The serial data sent.
5. according to the method described in any one of Claims 1-4, it is characterised in that the AES is national secret algorithm.
6. a kind of serial data is converted to the device of wireless network data, it is characterised in that including:
First receiving unit, for receiving the serial data of user equipment transmission, and the serial data is encapsulated as the first net Network packet;
Ciphering unit, for being encrypted according to AES to the first network packet;
Encapsulation unit, for being to meet the call format of default Data Transport Protocol by the first network packet encapsulation Second network packet;
First transmitting element, for end equipment to send second network packet backward by wireless network;
Wherein, the AES is generated after the certification by the rear end equipment.
A kind of 7. equipment that serial data is converted to wireless network data, it is characterised in that including first processor, described first Processor realizes that serial data turns as described in any one of claim 1 to 5 when being used to perform the program stored in first memory The step of being changed to the method for wireless network data.
8. a kind of method that wireless network data is converted to serial data, it is characterised in that including:
The network data of rear end equipment transmission is received by wireless network, the form of the network data meets default data and passed The call format of defeated agreement;
The network data is unpacked according to the form of the Data Transport Protocol;
According to decipherment algorithm to the network data decryption after unpacking;
It is serial data that the network data after decryption, which is unpacked, and the serial data is sent into user equipment.
Wherein, the decipherment algorithm is generated after the certification by the rear end equipment.
9. a kind of wireless network data is converted to the device of serial data, it is characterised in that including:
Second receiving unit, for receiving the network data of rear end equipment transmission, the lattice of the network data by wireless network Formula meets the call format of default Data Transport Protocol;
Unwrapper unit, the network data is unpacked for the form according to the Data Transport Protocol;
Decryption unit, for according to decipherment algorithm to the network data decryption after unpacking;
Second transmitting element, it is serial data for the network data after decryption to be unpacked, and the serial data is sent out Give user equipment;
Wherein, the decipherment algorithm is generated after the certification by the rear end equipment.
A kind of 10. equipment that wireless network data is converted to serial data, it is characterised in that including second processor, described Two processors are used to realize that serial data as claimed in claim 8 is converted to wirelessly when performing the program stored in second memory The step of method of network data.
CN201710874126.5A 2017-09-25 2017-09-25 The method, apparatus and equipment converted between serial data and wireless network data Pending CN107483639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710874126.5A CN107483639A (en) 2017-09-25 2017-09-25 The method, apparatus and equipment converted between serial data and wireless network data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710874126.5A CN107483639A (en) 2017-09-25 2017-09-25 The method, apparatus and equipment converted between serial data and wireless network data

Publications (1)

Publication Number Publication Date
CN107483639A true CN107483639A (en) 2017-12-15

Family

ID=60586924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710874126.5A Pending CN107483639A (en) 2017-09-25 2017-09-25 The method, apparatus and equipment converted between serial data and wireless network data

Country Status (1)

Country Link
CN (1) CN107483639A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639721A (en) * 2019-01-08 2019-04-16 郑州云海信息技术有限公司 IPsec message format processing method, device, equipment and storage medium
CN109769220A (en) * 2019-01-16 2019-05-17 安徽升隆电气有限公司 A kind of data conversion wireless terminal device
CN110958224A (en) * 2019-11-05 2020-04-03 郑州信大捷安信息技术股份有限公司 Remote serial port debugging system and method
CN111147476A (en) * 2019-12-23 2020-05-12 乐普(北京)医疗器械股份有限公司 Data analysis method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060436A1 (en) * 2003-09-12 2005-03-17 Juergen Kienhoefer Method and system for providing wireless communications between electronic devices
CN101141327A (en) * 2007-10-11 2008-03-12 中兴通讯股份有限公司 Method for detecting network node abnormality
CN101868049A (en) * 2010-06-03 2010-10-20 华为终端有限公司 Communication methods for host and wireless Internet access module and host communication module
CN201639580U (en) * 2010-03-11 2010-11-17 罗康林 Bidirectional transparent transmission device with wireless serial port
CN101945133A (en) * 2010-09-16 2011-01-12 青岛海信移动通信技术股份有限公司 Data connecting method, device and system for mobile terminal
CN102117537A (en) * 2009-12-31 2011-07-06 深圳先进技术研究院 Meter reading gateway, meter reading system and meter reading method
CN102263651A (en) * 2010-05-28 2011-11-30 烽火通信科技股份有限公司 Method for detecting connection state of local end equipment in SNMP (simple network management protocol) network management system (NMS)
CN205068378U (en) * 2015-10-21 2016-03-02 湖南澳德信息科技有限公司 Multi -functional wireless serial ports device
CN106773960A (en) * 2016-12-19 2017-05-31 中国航空工业集团公司洛阳电光设备研究所 A kind of remote wireless control circuit of intelligent rolling screen door

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060436A1 (en) * 2003-09-12 2005-03-17 Juergen Kienhoefer Method and system for providing wireless communications between electronic devices
CN101141327A (en) * 2007-10-11 2008-03-12 中兴通讯股份有限公司 Method for detecting network node abnormality
CN102117537A (en) * 2009-12-31 2011-07-06 深圳先进技术研究院 Meter reading gateway, meter reading system and meter reading method
CN201639580U (en) * 2010-03-11 2010-11-17 罗康林 Bidirectional transparent transmission device with wireless serial port
CN102263651A (en) * 2010-05-28 2011-11-30 烽火通信科技股份有限公司 Method for detecting connection state of local end equipment in SNMP (simple network management protocol) network management system (NMS)
CN101868049A (en) * 2010-06-03 2010-10-20 华为终端有限公司 Communication methods for host and wireless Internet access module and host communication module
CN101945133A (en) * 2010-09-16 2011-01-12 青岛海信移动通信技术股份有限公司 Data connecting method, device and system for mobile terminal
CN205068378U (en) * 2015-10-21 2016-03-02 湖南澳德信息科技有限公司 Multi -functional wireless serial ports device
CN106773960A (en) * 2016-12-19 2017-05-31 中国航空工业集团公司洛阳电光设备研究所 A kind of remote wireless control circuit of intelligent rolling screen door

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639721A (en) * 2019-01-08 2019-04-16 郑州云海信息技术有限公司 IPsec message format processing method, device, equipment and storage medium
CN109639721B (en) * 2019-01-08 2022-02-22 郑州云海信息技术有限公司 IPsec message format processing method, device, equipment and storage medium
CN109769220A (en) * 2019-01-16 2019-05-17 安徽升隆电气有限公司 A kind of data conversion wireless terminal device
CN110958224A (en) * 2019-11-05 2020-04-03 郑州信大捷安信息技术股份有限公司 Remote serial port debugging system and method
CN111147476A (en) * 2019-12-23 2020-05-12 乐普(北京)医疗器械股份有限公司 Data analysis method
CN111147476B (en) * 2019-12-23 2022-04-29 上海乐普云智科技股份有限公司 Data analysis method

Similar Documents

Publication Publication Date Title
US10187361B2 (en) Method for secure communication using asymmetric and symmetric encryption over insecure communications
CN105577364B (en) A kind of encryption method, decryption method and relevant apparatus
CN107483639A (en) The method, apparatus and equipment converted between serial data and wireless network data
CN104821874B (en) A kind of method that quantum key is applied to Internet of Things data encrypted transmission
CN107104977B (en) Block chain data secure transmission method based on SCTP
CN104618338B (en) A kind of Industrial Ethernet encryption of communicated data transparent transmission module
CN104468560B (en) The acquisition method and system of network security data clear text
CN101707767B (en) Data transmission method and devices
CN208986966U (en) A kind of ciphering terminal and corresponding data transmission system
CN102333093A (en) Data encryption transmission method and system
CN104202158A (en) Data symmetric and asymmetric hybrid encryption and decryption method based on cloud computing
CN103560911A (en) Method and system for financial self-service equipment initiative preventive maintenance
CN107425970A (en) A kind of document transmission method, transmitting terminal, receiving terminal and the medium of P2P networks
CN109714360A (en) A kind of intelligent gateway and gateway communication processing method
CN112672342B (en) Data transmission method, device, equipment, system and storage medium
CN108306853A (en) A kind of intelligent data acquisition unit that supporting block chain and IOT wireless telecommunications and encryption communication method
CN205945769U (en) Quantum key chip
CN108234114A (en) A kind of implementation method of the SSL based on hardware encryption algorithm
CN104732614A (en) Access device for encrypting wiegand protocol signal and encryption and decryption method thereof
CN103200007B (en) Based on the SATA data asymmetric cryptosystem system for implementing hardware of FPGA
CN100464337C (en) Method and equipment for carrying out safety communication between USB device and host
CN106385423A (en) Data encrypting transmission method and system
CN113890890B (en) Efficient data management method applied to intelligent medical system
CN105933332B (en) Transformer remote monitoring system with special encryption and decryption chip and working method thereof
CN104462994A (en) Data encryption and decryption operation method

Legal Events

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

Application publication date: 20171215

RJ01 Rejection of invention patent application after publication