CN116846841A - Data packet transmission system and method - Google Patents

Data packet transmission system and method Download PDF

Info

Publication number
CN116846841A
CN116846841A CN202310860261.XA CN202310860261A CN116846841A CN 116846841 A CN116846841 A CN 116846841A CN 202310860261 A CN202310860261 A CN 202310860261A CN 116846841 A CN116846841 A CN 116846841A
Authority
CN
China
Prior art keywords
data packet
module
data
information
switch
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
CN202310860261.XA
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.)
Xi'an Mingfuyun Computing Co ltd
Original Assignee
Xi'an Mingfuyun Computing 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 Xi'an Mingfuyun Computing Co ltd filed Critical Xi'an Mingfuyun Computing Co ltd
Priority to CN202310860261.XA priority Critical patent/CN116846841A/en
Publication of CN116846841A publication Critical patent/CN116846841A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • H04L47/365Dynamic adaptation of the packet size
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention relates to the technical field of communication, in particular to a data packet transmission method, which comprises the following steps of; s1, a user terminal sends request information to an exchanger, and the exchanger establishes at least one path of data transmission channel for data interaction among the user terminal, the exchanger and a server terminal according to the request information; s2, the user side distributes the request data packet to the network slicing system to be transmitted to the switch, the switch modulates the tag information of the request data packet according to the request information to obtain a tag data packet, and the tag data packet is sent to the server side for data interaction; before data interaction, a request message is sent to the switch, so that the switch can establish a corresponding data transmission channel according to the length of the data packet to be sent, and meanwhile, the size of the data packet to be sent once is convenient to be dynamically adjusted according to different network quality and transmission by setting a network slicing system, so that the data load of the data packet to be sent once is lower than the upper limit of the data transmission channel, and the transmission efficiency is improved.

Description

Data packet transmission system and method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data packet transmission system and method.
Background
The Internet adopts TCP/IP protocol for interconnection, and the common IP upper layer protocols include TCP, UDP, ICMP and the like; many applications of the internet rely on high-speed IP packet transmission, and the problem of limited bandwidth has been the primary problem for internet applications.
In the existing data transmission process, the data load limit of the data packet transmitted at a time affects the transmission rate due to the limitation of the transmission load.
Therefore, the present invention provides a data packet transmission system and method to solve the existing drawbacks.
Disclosure of Invention
The invention aims to provide a data packet transmission system and a data packet transmission method, which solve the technical problems in the prior art.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a data packet transmission method includes the following steps;
s1, a user terminal sends request information to an exchanger, the exchanger establishes at least one path of data transmission channel according to the request information, and the data transmission channel is used for carrying out data interaction among the user terminal, the exchanger and a server terminal;
s2, the user side distributes the request data packet to a network slicing system for transmission to the switch, the switch modulates label information on the request data packet according to the request information to obtain a label data packet, and then the label data packet is sent to the server side;
s3, the server receives the tag data packet, demodulates and identifies the tag information carried in the tag data packet, and then performs data interaction between the tag data packet and a database according to the identification content of the tag information to obtain a feedback data packet;
s4, the server modulates the feedback data packet to obtain an encrypted data packet, and sends the encrypted data packet to the switch;
s5, after the exchanger receives the encrypted data packet, demodulating the encrypted data packet to obtain a decrypted data packet, and distributing the decrypted data packet to a network merging module for uploading to the user terminal;
s6, after receiving the decrypted data packet, the user side sends confirmation information to the switch, and after receiving the confirmation information, the switch closes the data transmission channel.
Preferably, the request information is the current transmission length of the request data packet, the switch calculates the lengths of the tag data packet and the feedback data packet to be transmitted at this time according to the current transmission length of the request data packet, and establishes one or more corresponding data transmission channels, and the lengths of the data transmission channels are the same.
Preferably, the total length of the data transmission channel is greater than the length of the data packet to be transmitted at this time when data interaction is performed between the user terminal and the switch or between the switch and the server terminal each time.
Preferably, in the step S2, the tag data packet is set to be an upload data packet or a download data packet, where;
the uploading data packet carries uploading storage data;
the download data packet carries download request information.
Preferably, in the step S2, the tag information is set to upload information or download information, where:
in the data interaction process, the switch forms corresponding tag information according to the request information sent by the user side, attaches the uploading information to the uploading data packet, attaches the downloading information to the downloading data packet, and is used for identifying through the identification module in the S3 to obtain identification content of the tag information.
Preferably, in the step S3, the feedback data packet is set to be a first feedback data packet or a second feedback data packet, where;
when the identification module identifies that the tag information is the uploading information, the server receives uploading storage data carried in the uploading data packet, stores the uploading storage data into a database according to a storage type, and obtains the first feedback data packet after the storage is completed;
when the identification module identifies that the tag information is the downloading information, the server receives the downloading request information carried in the downloading data packet, and calls the corresponding data packet in the database according to the downloading request information to obtain the second feedback data packet.
The data packet transmission system performs data interaction by using the data packet transmission method, and comprises a user side, a service side and a switch, wherein the user side is provided with a network slicing system and a network merging module, the switch is provided with a first modem, the service side is provided with a second modem and an identification module, and the switch is respectively connected with the user side and the service side through an RS485 communication line in an Ethernet manner, wherein the first modem is connected with the second modem;
the user terminal is used for sending request information to the switch, the switch is used for establishing at least one path of data transmission channel according to the request information, and the data transmission channel is used for carrying out data interaction among the user terminal, the switch and the server terminal;
the user side is used for distributing a request data packet to the network slicing system and uploading the request data packet to the switch, the switch is used for modulating label information of the sliced request data packet according to the request information through a first modem to obtain a label data packet, and then the label data packet is sent to the server side;
the server is used for receiving the tag data packet, demodulating the tag information carried in the tag data packet through the second modem, identifying the tag information through the identification module, and performing data interaction between the tag data packet and the database according to the identification content of the tag information to obtain a feedback data packet;
the server side is used for modulating the feedback data packet through the second modem to obtain an encrypted data packet, sending the encrypted data packet to the switch through the data transmission channel, demodulating the encrypted data packet through the first modem by the switch to obtain a decrypted data packet, distributing the decrypted data packet to the network merging module and transmitting the decrypted data packet to the user side, wherein the user side is used for receiving the merged decrypted data packet and sending acknowledgement information to the switch, and the switch is used for receiving the acknowledgement information and closing the data transmission channel.
Preferably, the user end is further provided with a first receiving module, a first transmitting module and a primary RS485 communication interface, and the primary RS485 communication interface is respectively and electrically connected with the first receiving module, the first transmitting module, the network slicing system and the network merging module;
the switch is also provided with a second receiving module, a second sending module, a transmission channel loading module and a second-level RS485 communication interface, wherein the second-level RS485 communication interface is respectively and electrically connected with the second receiving module, the second sending module, the transmission channel loading module and the first modem;
the server is further provided with a third receiving module, a third sending module, a data storage module and a three-level RS485 communication interface, wherein the three-level RS485 communication interface is electrically connected with the third receiving module, the third sending module, the data storage module, the second modem and the identification module respectively;
the secondary RS485 communication interface is respectively connected with the primary RS485 communication interface and the tertiary RS485 communication interface through the RS485 communication line;
wherein;
the first sending module is used for sending the request information, the request data packet or the confirmation information to the second receiving module;
the second receiving module is used for receiving the request information, the request data packet and the confirmation information sent by the first sending module;
the second sending module is used for sending a tag data packet to the third receiving module;
the third receiving module is used for receiving the tag data packet sent by the second sending module;
the third sending module is used for sending an encrypted data packet to the second receiving module;
the second receiving module is used for receiving the encrypted data packet sent by the third sending module;
the second sending module is further configured to send a decrypted data packet to the first receiving module;
the first receiving module is used for receiving the decryption data packet sent by the second sending module;
the data storage module is used for constructing the database according to the storage category of the data packet.
Preferably, the network slicing system comprises a monitoring module, a slicing management module, a connection management module and a slicing selection module, wherein the connection management module is respectively connected with the monitoring module, the slicing management module, the slicing selection module and the primary RS485 communication interface;
the monitoring module comprises a plurality of monitoring units, wherein each monitoring unit is used for monitoring network task allocation corresponding to a network side and monitoring whether the network task allocation corresponding to the network side is implemented or not;
the slice management module comprises a network connection unit and a logic network topology unit, wherein the network connection unit is used for applying connection matching to a network side, and after the connection matching is successful, the logic network topology unit releases network slices to the network side according to the requirements of the user side, flexibly distributes request data packets, enables the request data packets to be distributed according to the transmission length of a data transmission channel as required, and preferentially distributes the request data packets according to the use requirements of the user side;
the connection management module comprises a network access unit, wherein the network access unit is used for configuring a network interface and a related route corresponding to the network slice, and connecting the corresponding network slice to distribute a request data packet to be sent to the corresponding network slice for transmission;
the slice selection module comprises a screening unit, and the screening unit is used for selecting a corresponding network slice according to the requirement of the user side to allocate the request data packet as required so as to adjust the length of the data packet transmitted once.
Preferably, the database comprises;
the database is provided with a plurality of data layers according to the type of the data packet;
each data layer is provided with a short data packet, a medium data packet, a long data packet and an ultra-long data packet which correspond to each other;
the length of the short data packet is less than 100 bytes;
the length of the intermediate data packet is between 100 and 500 bytes;
the length of the long data packet is between 501 bytes and 1000 bytes;
the length of the ultralong data packet is greater than 1001 bytes.
Compared with the prior art, the invention has the beneficial effects that:
in the invention, before sending the request data packet, the user side sends a request message to the switch, so that the switch can establish a corresponding data transmission channel according to the length of the data packet to be sent, and meanwhile, the network slicing system is arranged to flexibly distribute the request data packet, thereby being convenient for dynamically adjusting the size of the data packet sent once according to different network quality and transmission, leading the data load of the data packet sent once to be lower than the upper limit of the data transmission channel and improving the transmission efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a data packet transmission method of the present invention;
fig. 2 is a schematic diagram of a frame structure of a packet transmission system according to the present invention;
in the figure: 1. a primary RS485 communication interface, 2, a network slicing system, 3, a network merging module, 4, a first transmitting module, 5, a first receiving module, 6, a secondary RS485 communication interface, 7, a second receiving module, 8, a second transmitting module, the system comprises a first modem (10), a transmission channel loading module (11), a three-stage RS485 communication interface (12), a third receiving module (13), a third transmitting module (14), a second modem (15), an identification module (16) and a data storage module.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention is based on data packet transmission system and method, before the customer end sends the request data packet, send a request message to the exchanger first, make the exchanger set up the correspondent data transmission channel according to the length of the data packet to be sent this time, through setting up the network slice system, carry on the flexible distribution to the request data packet at the same time, facilitate according to different network quality, transmission dynamically adjust the size of the data packet sent once, make the data load of the data packet sent once lower than the upper limit of the data transmission channel, raise the transmission efficiency.
Example 1:
as shown in fig. 1, the present invention provides a data packet transmission method, which includes the following steps;
step one, a user terminal sends request information to an exchanger, the exchanger establishes at least one path of data transmission channel according to the request information, and the data transmission channel is used for data interaction among the user terminal, the exchanger and a server terminal;
step two, the user side distributes the request data packet to a network slicing system to be transmitted to the switch, the switch modulates label information on the request data packet according to the request information to obtain a label data packet, and then the label data packet is transmitted to the server side;
thirdly, the server receives the tag data packet, demodulates and identifies the tag information carried in the tag data packet, and performs data interaction between the tag data packet and the database according to the identification content of the tag information to obtain a feedback data packet;
step four, the server modulates the feedback data packet to obtain an encrypted data packet, and sends the encrypted data packet to the switch;
step five, after the exchanger receives the encrypted data packet, demodulating the encrypted data packet to obtain a decrypted data packet, and distributing the decrypted data packet to a network merging module to be transmitted to a user terminal;
and step six, after receiving the decrypted data packet, the user terminal sends confirmation information to the switch, and after receiving the confirmation information, the switch closes the data transmission channel.
Further, the request information is the transmission length of the request data packet, the switch calculates the lengths of the tag data packet and the feedback data packet to be transmitted according to the transmission length of the request data packet, and establishes one or more corresponding data transmission channels, wherein the lengths of the data transmission channels are the same.
Further, when data interaction is performed between the user terminal and the switch or between the switch and the server terminal, the total length of the data transmission channel is larger than the length of the data packet to be transmitted at this time.
Specifically, the tag data packet is set as an uploading data packet or a downloading data packet, wherein;
the uploading data packet carries uploading storage data;
the download data packet carries download request information.
Specifically, the tag information is set as upload information or download information, wherein:
in the data interaction process, the switch forms corresponding tag information according to the request information sent by the user side, and appends the uploading information to the uploading data packet, and appends the downloading information to the downloading data packet for identification through the identification module 15.
Specifically, the feedback data packet is set as a first feedback data packet or a second feedback data packet, wherein;
when the tag information is uploading information, the server receives uploading storage data carried in an uploading data packet, stores the uploading storage data into a database according to a storage type, and obtains a first feedback data packet after the storage is completed;
when the tag information is the downloading information, the server receives the downloading request information carried in the downloading data packet, and the corresponding data packet in the database is called according to the downloading request information, so as to obtain a second feedback data packet.
Example 2:
as shown in fig. 2, the present invention provides a data packet transmission system, which uses the above data packet transmission method to perform data interaction, including a user side, a server side and a switch;
the user side is provided with a network slicing system 2, a network merging module 3, a first receiving module 5, a first transmitting module 4 and a primary RS485 communication interface 1, wherein the primary RS485 communication interface 1 is electrically connected with the first receiving module 5, the first transmitting module 4, the network slicing system 2 and the network merging module 3 respectively;
the switch is provided with a first modem 9, a second receiving module 7, a second sending module 8, a transmission channel loading module 10 and a second-level RS485 communication interface 6, wherein the second-level RS485 communication interface 6 is electrically connected with the second receiving module 7, the second sending module 8, the transmission channel loading module 10 and the first modem 9 respectively;
the server is provided with a second modem 14, an identification module 15, a third receiving module 12, a third sending module 13, a data storage module 16 and a three-stage RS485 communication interface 11, wherein the three-stage RS485 communication interface 11 is electrically connected with the third receiving module 12, the third sending module 13, the data storage module 16, the second modem 14 and the identification module 15 respectively;
the second-level RS485 communication interface 6 is respectively connected with the first-level RS485 communication interface 1 and the third-level RS485 communication interface 11 through an RS485 communication line in an Ethernet way, and is used for the exchanger to respectively establish a data transmission channel corresponding to the user side and the server side based on application programs;
specifically, the primary RS485 communication interface 1 program establishes communication connection with the secondary RS485 communication interface 6 program based on a communication protocol between the user terminal and the switch, and the secondary RS485 communication interface 6 program establishes communication connection with the tertiary RS485 communication interface 11 program based on a communication protocol between the switch and the server terminal, so as to establish a data transmission channel among the user terminal, the switch and the server terminal.
It should be noted that: the communication protocol of the data transmission channel in the present embodiment is set as follows: UART (universal asynchronous receiver transmitter), I2C (integrated circuit bus), USB2.0/3.0 (universal serial bus), SPI (serial peripheral bus) or Ethernet (Ethernet).
Wherein;
the user side is used for sending request information to the second receiving module 7 of the switch based on the first sending module 4, the switch is used for receiving the request information based on the second receiving module 7, the request information at least comprises the transmission length of the request data packet, so that the switch establishes at least one path of data transmission channel according to the request information, and the data transmission channel is used for carrying out data interaction among the user side, the switch and the server side.
The user side is used for distributing the request data packet to the network slicing system 2 based on the data transmission channel to be transmitted to the switch, and the switch is used for modulating label information on the sliced request data packet according to the request information through the first modem 9 to obtain a label data packet and then transmitting the label data packet to the server side;
the server is used for receiving the tag data packet based on the data transmission channel, demodulating the tag information carried in the tag data packet through the second modem 14, identifying the tag information through the identification module 15, and performing data interaction between the tag data packet and the database according to the identification content of the tag information to obtain a feedback data packet;
the server is used for modulating the feedback data packet through the second modem 14 to obtain an encrypted data packet, sending the encrypted data packet to the switch through the data transmission channel, demodulating the encrypted data packet through the first modem 9 by the switch to obtain a decrypted data packet, distributing the decrypted data packet to the network merging module 3 to be transmitted to the user side, wherein the user side is used for receiving the merged decrypted data packet, sending acknowledgement information to the switch, and receiving the acknowledgement information by the switch and closing the data transmission channel.
Further, the first sending module 4 is configured to send request information, a request packet or acknowledgement information to the second receiving module 7;
the second receiving module 7 is configured to receive the request information, the request data packet, and the acknowledgement information sent by the first sending module 4;
the second sending module 8 is configured to send a tag data packet to the third receiving module 12;
the third receiving module 12 is configured to receive the tag data packet sent by the second sending module 8;
the third sending module 13 is configured to send the encrypted data packet to the second receiving module 7;
the second receiving module 7 is configured to receive the encrypted data packet sent by the third sending module 13;
the second sending module 8 is further configured to send the decrypted data packet to the first receiving module 5;
the first receiving module 5 is configured to receive the decrypted data packet sent by the second sending module 8;
the data storage module 16 is used to construct a database according to the storage class of the data packet.
Specifically, the data storage format of the data packets in the database is continuously stored according to the storage type and length of the data packets, the request data packets after slicing are modulated by the first modem 9 according to the request information before storage, so that each data packet is marked with a corresponding identifier, the tag information carried in the tag data packets is demodulated by the second modem 14, and after the tag information is identified by the identification module 15, the tag data packets are continuously stored in the database according to the identification content of the tag information, or the corresponding data packets are modulated from the database according to the identification content of the tag information.
Furthermore, the user terminal is set as one of microcomputer, notebook computer, PDA or mobile phone, and is connected with the exchange and the service terminal through the above stand-alone equipment.
Further, the database includes;
the database is provided with a plurality of data layers according to the type of the data packet;
each data layer is provided with a short data packet, a medium data packet, a long data packet and an ultra-long data packet which correspond to each other;
the short data packet is less than 100 bytes in length;
the length of the intermediate data packet is between 100 and 500 bytes;
the length of the long data packet is between 501 and 1000 bytes;
the length of the ultra-long data packet is more than 1001 bytes, and the upper limit of the single transmission length of the data packet of the Ethernet at present is 1500 bytes; for this reason, the actual range of the length of the extra long packet in this embodiment is 1001-1500 bytes.
Specifically, in this embodiment, when the user side needs to perform data interaction with the server side, the user side sends request information to the second receiving module 7 through the first sending module 4, so that after the second receiving module 7 receives the request information, the switch establishes a corresponding data transmission channel according to the request information through the transmission channel loading module 10; then the user side distributes the request data packet to the network slicing system 2 for slicing processing, then the sliced request data packet is sent to the second receiving module 7 through the first sending module 4, so that after the second receiving module 7 receives all the request data packets sent by the first sending module 4, the switch modulates label information on the request data packet through the first modem 9 to obtain a label data packet, then the switch sends the label data packet to the third receiving module 12 through the second sending module 8, so that after the third receiving module 12 receives the label data packet, the server side demodulates label information carried by the label data packet through the second modem 14, identifies the label information through the identifying module 15, and then performs data interaction between the label data packet and the database through the data storage module 16 according to the identification content of the label information to obtain a feedback data packet; the label information is uploading information or downloading information;
when the identification module 15 identifies that the tag information is the uploading information, the server receives uploading storage data carried in the uploading data packet, stores the uploading storage data into a database according to a storage category, and obtains a first feedback data packet after the storage is completed;
when the identification module 15 identifies that the tag information is the download information, the server receives the download request information carried in the download data packet, and invokes the corresponding data packet in the database according to the download request information to obtain a second feedback data packet;
then, the server modulates the feedback data packet (may be the first feedback data packet or the second feedback data packet) through the second modem 14 to obtain an encrypted data packet, and sends the encrypted data packet to the second receiving module 7 through the third sending module 13, so that after the second receiving module 7 receives the encrypted data packet, the switch demodulates the encrypted data packet through the first modem 9 to obtain a decrypted data packet, and sends the decrypted data packet to the first receiving module 5 through the second sending module 8, so that the first receiving module 5 distributes the decrypted data packet to the network merging module 3, and then merges each section of decrypted data packet through the network merging module 3 according to the identifier to obtain a continuous decrypted data packet, and then the user end sends acknowledgement information to the second receiving module 7 through the first sending module 4, so that after the second receiving module 7 receives the acknowledgement information, the switch closes the data transmission channel through the transmission channel loading module 10.
Specifically, the network slicing system 2 in this embodiment includes a monitoring module, a slice management module, a connection management module and a slice selection module, where the connection management module is connected with the monitoring module, the slice management module, the slice selection module and the primary RS485 communication interface, respectively;
the monitoring module comprises a plurality of monitoring units, wherein each monitoring unit is used for monitoring network task allocation corresponding to the network side and monitoring whether the network task allocation corresponding to the network side is implemented or not;
the slice management module comprises a network connection unit and a logic network topology unit, wherein the network connection unit is used for applying connection matching to a network side, after the connection matching is successful, the logic network topology unit releases network slices to the network side according to the requirements of a user side, and flexibly distributes request data packets, so that the request data packets can be distributed according to the transmission length of a data transmission channel as required, and the request data packets can be distributed preferentially according to the use requirements of the user side;
the connection management module comprises a network access unit, wherein the network access unit is used for configuring a network interface and a related route corresponding to the network slice, and connecting the corresponding network slice to distribute a request data packet to be sent to the corresponding network slice for transmission;
the slice selection module comprises a screening unit, and the screening unit is used for selecting corresponding network slices according to the requirements of the user end to allocate the request data packets as required so as to adjust the length of the data packets transmitted once.
Specifically, when the request data packets in the embodiment are distributed according to the transmission length of the data transmission channel as required, the request data packets of the same type are divided into data packets with the same length, and continuous transmission is performed; and distributing the request data packets of different types to corresponding data transmission channels according to the data types, and carrying out multichannel synchronous transmission or carrying out single-channel priority transmission according to the use requirements of the user side on the request data packets.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A data packet transmission method is characterized in that: comprises the following steps of;
s1, a user terminal sends request information to an exchanger, the exchanger establishes at least one path of data transmission channel according to the request information, and the data transmission channel is used for carrying out data interaction among the user terminal, the exchanger and a server terminal;
s2, the user side distributes the request data packet to a network slicing system for transmission to the switch, the switch modulates label information on the request data packet according to the request information to obtain a label data packet, and then the label data packet is sent to the server side;
s3, the server receives the tag data packet, demodulates and identifies the tag information carried in the tag data packet, and then performs data interaction between the tag data packet and a database according to the identification content of the tag information to obtain a feedback data packet;
s4, the server modulates the feedback data packet to obtain an encrypted data packet, and sends the encrypted data packet to the switch;
s5, after the exchanger receives the encrypted data packet, demodulating the encrypted data packet to obtain a decrypted data packet, and distributing the decrypted data packet to a network merging module for uploading to the user terminal;
s6, after receiving the decrypted data packet, the user side sends confirmation information to the switch, and after receiving the confirmation information, the switch closes the data transmission channel.
2. A data packet transmission method according to claim 1, wherein: the request information is the transmission length of the request data packet, the switch calculates the lengths of the tag data packet and the feedback data packet to be transmitted according to the transmission length of the request data packet, and establishes one or more corresponding data transmission channels, wherein the lengths of the data transmission channels are the same.
3. A method of transmitting data packets according to claim 2, wherein:
and when data interaction is carried out between the user terminal and the switch or between the switch and the server terminal each time, the total length of the data transmission channel is larger than the length of the data packet to be transmitted at this time.
4. A data packet transmission method according to claim 1, wherein: in the step S2, the tag data packet is set as an upload data packet or a download data packet, where;
the uploading data packet carries uploading storage data;
the download data packet carries download request information.
5. The method for transmitting data packets according to claim 4, wherein: in the step S2, the tag information is set to upload information or download information, where:
in the data interaction process, the switch forms corresponding tag information according to the request information sent by the user side, attaches the uploading information to the uploading data packet, attaches the downloading information to the downloading data packet, and is used for identifying through an identification module in the S3 to acquire identification content of the tag information.
6. The method for transmitting data packets according to claim 5, wherein: in the step S3, the feedback data packet is set to be a first feedback data packet or a second feedback data packet, where;
when the identification module identifies that the tag information is the uploading information, the server receives uploading storage data carried in the uploading data packet, stores the uploading storage data into a database according to a storage type, and obtains the first feedback data packet after the storage is completed;
when the identification module identifies that the tag information is the downloading information, the server receives the downloading request information carried in the downloading data packet, and calls the corresponding data packet in the database according to the downloading request information to obtain the second feedback data packet.
7. A data packet transmission system for data interaction using the data packet transmission method according to any one of claims 1 to 6, characterized in that: the system comprises a user terminal, a service terminal and a switch, wherein the user terminal is provided with a network slicing system and a network merging module, the switch is provided with a first modem, the service terminal is provided with a second modem and an identification module, and the switch is respectively connected with the user terminal and the service terminal through RS485 communication lines, wherein the first modem is connected with the second modem;
the user terminal is used for sending request information to the switch, the switch is used for establishing at least one path of data transmission channel according to the request information, and the data transmission channel is used for carrying out data interaction among the user terminal, the switch and the server terminal;
the user side is used for distributing a request data packet to the network slicing system and uploading the request data packet to the switch, the switch is used for modulating label information of the sliced request data packet according to the request information through a first modem to obtain a label data packet, and then the label data packet is sent to the server side;
the server is used for receiving the tag data packet, demodulating the tag information carried in the tag data packet through the second modem, identifying the tag information through the identification module, and performing data interaction between the tag data packet and the database according to the identification content of the tag information to obtain a feedback data packet;
the server side is used for modulating the feedback data packet through the second modem to obtain an encrypted data packet, sending the encrypted data packet to the switch through the data transmission channel, demodulating the encrypted data packet through the first modem by the switch to obtain a decrypted data packet, distributing the decrypted data packet to the network merging module and transmitting the decrypted data packet to the user side, wherein the user side is used for receiving the merged decrypted data packet and sending acknowledgement information to the switch, and the switch is used for receiving the acknowledgement information and closing the data transmission channel.
8. A data packet transmission system according to claim 7, wherein: the user terminal is also provided with a first receiving module, a first transmitting module and a primary RS485 communication interface, wherein the primary RS485 communication interface is respectively and electrically connected with the first receiving module, the first transmitting module, the network slicing system and the network merging module;
the switch is also provided with a second receiving module, a second sending module, a transmission channel loading module and a second-level RS485 communication interface, wherein the second-level RS485 communication interface is respectively and electrically connected with the second receiving module, the second sending module, the transmission channel loading module and the first modem;
the server is further provided with a third receiving module, a third sending module, a data storage module and a three-level RS485 communication interface, wherein the three-level RS485 communication interface is electrically connected with the third receiving module, the third sending module, the data storage module, the second modem and the identification module respectively;
the secondary RS485 communication interface is respectively connected with the primary RS485 communication interface and the tertiary RS485 communication interface through the RS485 communication line;
wherein;
the first sending module is used for sending the request information, the request data packet or the confirmation information to the second receiving module;
the second receiving module is used for receiving the request information, the request data packet and the confirmation information sent by the first sending module;
the second sending module is used for sending a tag data packet to the third receiving module;
the third receiving module is used for receiving the tag data packet sent by the second sending module;
the third sending module is used for sending an encrypted data packet to the second receiving module;
the second receiving module is used for receiving the encrypted data packet sent by the third sending module;
the second sending module is further configured to send a decrypted data packet to the first receiving module;
the first receiving module is used for receiving the decryption data packet sent by the second sending module;
the data storage module is used for constructing the database according to the storage category of the data packet.
9. A data packet transmission system according to claim 8, wherein: the network slicing system comprises a monitoring module, a slicing management module, a connection management module and a slicing selection module, wherein the connection management module is respectively connected with the monitoring module, the slicing management module, the slicing selection module and the primary RS485 communication interface;
the monitoring module comprises a plurality of monitoring units, wherein each monitoring unit is used for monitoring network task allocation corresponding to a network side and monitoring whether the network task allocation corresponding to the network side is implemented or not;
the slice management module comprises a network connection unit and a logic network topology unit, wherein the network connection unit is used for applying connection matching to a network side, and after the connection matching is successful, the logic network topology unit releases network slices to the network side according to the requirements of the user side, flexibly distributes request data packets, enables the request data packets to be distributed according to the transmission length of a data transmission channel as required, and preferentially distributes the request data packets according to the use requirements of the user side;
the connection management module comprises a network access unit, wherein the network access unit is used for configuring a network interface and a related route corresponding to the network slice, and connecting the corresponding network slice to distribute a request data packet to be sent to the corresponding network slice for transmission;
the slice selection module comprises a screening unit, and the screening unit is used for selecting a corresponding network slice according to the requirement of the user side to allocate the request data packet as required so as to adjust the length of the data packet transmitted once.
10. A data packet transmission system according to claim 8, wherein: the database comprises;
the database is provided with a plurality of data layers according to the type of the data packet;
each data layer is provided with a short data packet, a medium data packet, a long data packet and an ultra-long data packet which correspond to each other;
the length of the short data packet is less than 100 bytes;
the length of the intermediate data packet is between 100 and 500 bytes;
the length of the long data packet is between 501 bytes and 1000 bytes;
the length of the ultralong data packet is greater than 1001 bytes.
CN202310860261.XA 2023-07-13 2023-07-13 Data packet transmission system and method Pending CN116846841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310860261.XA CN116846841A (en) 2023-07-13 2023-07-13 Data packet transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310860261.XA CN116846841A (en) 2023-07-13 2023-07-13 Data packet transmission system and method

Publications (1)

Publication Number Publication Date
CN116846841A true CN116846841A (en) 2023-10-03

Family

ID=88164969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310860261.XA Pending CN116846841A (en) 2023-07-13 2023-07-13 Data packet transmission system and method

Country Status (1)

Country Link
CN (1) CN116846841A (en)

Similar Documents

Publication Publication Date Title
CN101626596B (en) Method, device and system for generating service distributing strategy
US6097720A (en) Enabling multicast distribution efficiencies in a dialup access environment
USRE45570E1 (en) Data transmission method using packet aggregation
US7640020B2 (en) Method and apparatus for assigning backhaul methods
CN101997916B (en) Method and device for file transmission based on network
CN103916275A (en) BFD detection device and method
CN114501469A (en) Method, device and system for configuring network slice
CN103731373B (en) The method of adjustment of bandwidth resources, apparatus and system
CN101427277A (en) Quality of service for transmission of digital content
CN100459545C (en) Method and system for constructing high-speed outgoing telecommunication service
CN101945437B (en) Method for determining traffic distribution strategy, access network equipment and route equipment
CN109688071B (en) Flexible Ethernet message forwarding method and device
CN115914887A (en) Service data transmission method and related equipment
CN112422300A (en) Cloud network private line management method based on block chain, UPF (unified power flow) and area chain platform
CN116846841A (en) Data packet transmission system and method
CN116455817A (en) Software-defined cloud network fusion architecture and route implementation method
CN107113230B (en) Method, equipment and system for determining Generic Routing Encapsulation (GRE) tunnel identifier
RU2005141762A (en) METHOD AND SYSTEM FOR REGISTRATION OF BROADCASTING / GROUP SERVICE IN A HIGH-SPEED SYSTEM WITH SWITCHING DATA PACKAGES
CN110493822B (en) Point-to-multipoint communication device and system
CN107566476A (en) A kind of cut-in method, SDN controllers, forwarding unit and subscriber access system
CN108270638A (en) A kind of error correction method, device and network interface transmission device based on network interface transmission
CN102164114B (en) Processing method for medium access control layer protocol data unit and machine terminal
JP2003283567A (en) Data communication system and method, server device, client device, repeater, and program
CN108173699A (en) One kind is based on Marvell exchange chips CPU high-efficient treatment methods when obtaining message source port
CN114615136B (en) FlexE interface management method for 5G smart grid slice

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