CN114466087A - Data transmission method, device, equipment and storage medium - Google Patents

Data transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN114466087A
CN114466087A CN202210157594.1A CN202210157594A CN114466087A CN 114466087 A CN114466087 A CN 114466087A CN 202210157594 A CN202210157594 A CN 202210157594A CN 114466087 A CN114466087 A CN 114466087A
Authority
CN
China
Prior art keywords
frame
virtual container
container frame
preset
positioning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210157594.1A
Other languages
Chinese (zh)
Other versions
CN114466087B (en
Inventor
任永顺
王洪炼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Aoputai Communication Technology Co ltd
Original Assignee
Chongqing Aoputai Communication 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 Chongqing Aoputai Communication Technology Co ltd filed Critical Chongqing Aoputai Communication Technology Co ltd
Priority to CN202210157594.1A priority Critical patent/CN114466087B/en
Publication of CN114466087A publication Critical patent/CN114466087A/en
Application granted granted Critical
Publication of CN114466087B publication Critical patent/CN114466087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation

Abstract

The invention provides a data transmission method, a device, equipment and a storage medium, wherein the method comprises the following steps: analyzing the obtained synchronous digital series data frames to obtain a virtual concatenation group, and extracting at least one virtual container frame from the virtual concatenation group; packaging each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame; packaging a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream; and loading all the fixed code rate data streams into the optical service unit frame for data transmission. In the data transmission method provided by this embodiment, the network bandwidth of the OSU in the OTN network is set according to the transmission rate corresponding to the CBR, so that the percentage of the network bandwidth of the OTN network occupied by the transmission rate of the OSU corresponding to the CBR is reduced, and the utilization rate of bandwidth resources is improved.

Description

Data transmission method, device, equipment and storage medium
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a data transmission method, apparatus, device, and storage medium.
Background
With the rapid development of the internet, the technology of Synchronous Digital Hierarchy (SDH) has been widely applied to the backbone network, the metropolitan area network, and the access network due to its advantages of high reliability, good manageability, and strong network protection and recovery functions.
At present, when an ethernet data transmission Network is implemented based on SDH, ethernet data needs to be encapsulated and mapped to a Virtual Connectivity Group (VCG), the VCG is encapsulated into an SDH frame, then the SDH frame is loaded into an Optical Service Unit (OSU) through a Network device, and the OSU is mapped to an Optical Transport Network (OTN) frame structure and then transmitted in an OTN Network, so that the process of transmitting the SDH frame through the OTN Network is implemented.
However, since the data transmission rate of the SDH frame is high, the transmission rate of the OSU frame corresponding to the SDH frame is also high, and the bandwidths provided when the SDH frame is transmitted in the OTN network are all bandwidths with a large rate. When the data of the VCG itself is small, the VCG encapsulates the SDH frame and obtains the OSU frame corresponding to the SDH frame, and when the OTN frame is transmitted using a large bandwidth, the utilization rate of the bandwidth is low, which causes a waste of bandwidth resources.
Disclosure of Invention
The invention provides a data transmission method, a data transmission device, data transmission equipment and a data transmission storage medium, and improves the utilization rate of OTN network bandwidth resources.
In a first aspect, the present invention provides a data transmission method, including:
analyzing the obtained synchronous digital series data frames to obtain a virtual concatenation group, and extracting at least one virtual container frame from the virtual concatenation group;
packaging each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame;
packaging a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream;
and loading all the fixed code rate data streams into the optical service unit frame for data transmission.
In one possible design, the encapsulating each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame includes:
inserting a preset frame symbol in front of a frame header of each virtual container frame to obtain a positioning virtual container frame; or the like, or, alternatively,
and inserting a preset frame symbol at the frame end of each virtual container frame to obtain a positioned virtual container frame.
In one possible design, the encapsulating a preset number of positioning virtual container frames to obtain at least one fixed-rate data stream includes:
determining the transmission rate of each positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of each virtual container frame;
and performing byte-to-byte insertion multiplexing on the preset number of the positioning virtual container frames to obtain at least one fixed-code-rate data stream, and determining the transmission rate of the fixed-code-rate data stream according to the preset number and the transmission rate of each positioning virtual container frame.
In one possible design, the determining the transmission rate of each positioned virtual container frame according to the data length of the preset frame symbol and the transmission rate of each virtual container frame includes:
if the type of the virtual container frame is a virtual container VC12, determining the transmission rate of a first positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the virtual container VC12 virtual container frame;
if the type of the virtual container frame is a virtual container VC3, determining the transmission rate of a second positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the virtual container VC3 virtual container frame;
and if the type of the virtual container frame is the virtual container VC4, determining the transmission rate of a third positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the virtual container VC4 virtual container frame.
In one possible design, the method further includes:
analyzing any received optical service unit frame to obtain at least one fixed code rate data stream;
searching all the data with fixed code rate according to the preset frame symbol to obtain at least one positioning virtual container frame;
and extracting a virtual container frame from each positioning virtual container frame, combining all the virtual container frames to obtain a virtual concatenation group, and packaging the obtained virtual concatenation group into a synchronous digital series data frame.
In a second aspect, the present invention provides a data transmission apparatus, including:
the analysis module is used for analyzing the acquired synchronous digital series data frames to obtain a virtual concatenation group and extracting at least one virtual container frame from the virtual concatenation group;
a first encapsulation module, configured to encapsulate each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame;
the second encapsulation module is used for encapsulating a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream;
and the transmission module is used for loading all the data streams with the fixed code rate into the optical service unit frame for data transmission.
In one possible design, the first package module is specifically configured to:
inserting a preset frame symbol in front of a frame header of each virtual container frame to obtain a positioning virtual container frame; or the like, or, alternatively,
and inserting a preset frame symbol at the frame end of each virtual container frame to obtain a positioned virtual container frame.
In a third aspect, the present invention provides a network interface device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the data transfer method as described above in the first aspect and in various possible designs of the first aspect.
In a fourth aspect, the present invention provides a computer storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement a data transmission method as described above in the first aspect and various possible designs of the first aspect.
The data transmission method, the device, the equipment and the storage medium provided by the invention obtain VCG by analyzing SDH frames, encapsulate VC extracted from the VCG by using preset frame symbols to obtain a plurality of positioning virtual container frames, obtain data streams with fixed code rate according to the positioning virtual container frames with preset number, load the data streams with fixed code rate on OSU, map the OSU into OTN frames to be transmitted in the OTN network, and set the network bandwidth of the OTN network according to the transmission rate of the data streams with fixed code rate, thereby reducing the percentage of the transmission rate of the OSU corresponding to CBR occupying the network bandwidth of the OTN network and improving the utilization rate of bandwidth resources.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of an ethernet network structure based on SDH implementation according to an embodiment of the present invention;
fig. 2 is a first flowchart of a data transmission method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a virtual container frame structure according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an OSU frame data structure according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a data transmission method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of a network interface device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations and do not violate the good customs of the public order.
In an ethernet network implemented based on SDH, when an ethernet data transmission network implemented based on SDH is used, ethernet data needs to be encapsulated and mapped to a VCG, the VCG is encapsulated into an SDH frame, then the SDH frame is loaded into an OSU through a network device, and the OSU is transmitted in an OTN network after being mapped to an OTN frame structure, thereby implementing a process of transmitting the SDH frame through the OTN network. However, since the data transmission rate of an SDH frame is high, the transmission rate of an OSU frame corresponding to an SDH frame is also high, and the bandwidth provided when an SDH frame is transmitted in an OTN network is a bandwidth with a large rate, such as 155.52Mbps, 622.08Mbps, 2488.32Mbps, 9953.28Mbps, and 39813.12 Mbps. When the data of the VCG itself is small, the VCG encapsulates the SDH frame and obtains the OSU frame corresponding to the SDH frame, and when the OSU frame is transmitted with a large bandwidth, the utilization rate of the bandwidth is low, which causes a waste of bandwidth resources.
In order to solve the above technical problem, the embodiment of the present invention proposes the following technical solutions: the method comprises the steps of analyzing an SDH frame to obtain a VCG, encapsulating a virtual container frame VC extracted from the VCG by using a preset frame symbol to obtain a plurality of positioning virtual container frames, obtaining a Constant Bit Rate (CBR) data stream according to a preset number of the positioning virtual container frames, loading the CBR in an OSU, mapping the OSU into an OTN frame to be transmitted in the OTN, setting a network bandwidth occupied by the OSU in the OTN according to the transmission rate of the CBR, reducing the percentage of the network bandwidth occupied by the transmission rate of the OSU corresponding to the CBR in the OTN, and improving the utilization rate of bandwidth resources. The following examples are given for illustrative purposes.
Fig. 1 is a schematic diagram of an ethernet network structure based on SDH implementation according to an embodiment of the present invention. As shown in fig. 1, in an ethernet network implemented based on SDH, ethernet data is encapsulated and mapped to a VCG by a MAC physical layer, the VCG is encapsulated into an SDH frame, the SDH frame is then loaded into an optical service unit OSU by a network device, and the OSU is transmitted in an OTN network after being mapped to an optical transport network OTN frame structure.
Fig. 2 is a first schematic flow chart of a data transmission method according to an embodiment of the present invention, where an execution main body of the embodiment may be the network interface device shown in fig. 1, and the embodiment is not limited in particular here.
As shown in fig. 2, the method includes:
s201: and analyzing the acquired synchronous digital series data frames to obtain a virtual concatenation group, and extracting at least one virtual container frame from the virtual concatenation group.
In the embodiment of the invention, the SDH frame is analyzed to obtain the virtual concatenation group. A particular SDH frame includes an information payload, a segment overhead, and a management unit pointer. And analyzing the SDH frame according to the standard structure of the SDH frame to obtain an information payload, and obtaining the Virtual Concatenation Group (VCG) from the information payload. After the VCG is extracted, N Virtual Containers (VCs) are extracted from the VCG. In the embodiment of the present invention, the types of virtual containers VC are VC12, VC3, and VC 4. Fig. 3 is a schematic diagram of a virtual container frame structure according to an embodiment of the present invention. Specifically, as shown in fig. 3, VC12 is a frame composed of 4 rows and 35 columns of bytes, VC3 is a frame composed of 9 rows and 85 columns of bytes, and VC4 is a frame composed of 9 rows and 261 columns of bytes. The first columns of VC12, VC3, and VC4 are all overhead bytes, and the other bytes load the payload.
S202: and encapsulating each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame.
In the embodiment of the invention, the preset frame symbols are inserted between the VC frames for distinguishing adjacent VC frames, so that the VC frame structure is prevented from being lost. Illustratively, the length of the preset frame symbol is set to 6 bytes, and the preset frame symbol is 0xF6F 6282828. Specifically, a preset frame symbol is inserted in front of a frame header of each virtual container frame to obtain a positioned virtual container frame, or a preset frame symbol is inserted at a frame end of each virtual container frame to obtain a positioned virtual container frame.
S203: and encapsulating a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream.
In the embodiment of the present invention, the transmission rate of each positioned virtual container frame is determined according to the data length of the preset frame symbol and the transmission rate of each virtual container frame. Exemplarily, if the type of the virtual container frame is VC12, determining the transmission rate of the first positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the VC12 virtual container frame; if the type of the virtual container frame is VC3, determining the transmission rate of a second positioned virtual container frame according to the data length of a preset frame symbol and the transmission rate of a VC3 virtual container frame; if the type of the virtual container frame is VC4, determining the transmission rate of the third positioned virtual container frame according to the data length of the preset frame symbol and the transmission rate of the VC4 virtual container frame.
In the embodiment of the present invention, specifically, in the embodiment of the present invention, since the preset frame symbol is inserted into the VC frame to generate the positioning virtual container frame, the data transmission rate of the VC frame after the preset frame symbol is inserted may be determined according to the data length of the generated positioning virtual container frame. Illustratively, the data transmission rate of a VC12 frame is 2.240Mbps, one VC12 frame has 140 bytes, and after the fixed frame symbol is inserted, the transmission rate of the first positioned virtual container frame, that is, the transmission rate of the positioned virtual container frame corresponding to the VC12 frame is 2.240 × (140+6)/140 ═ 2.336 Mbps. Accordingly, the data rate of the VC3 frame is 48.960Mbps, one VC3 frame has 765 bytes, and after the fixed frame symbol is inserted, the transmission rate of the second positioned virtual container frame, that is, the transmission rate of the positioned virtual container frame corresponding to the VC3 frame is 48.960 × (765+6)/765 49.344 Mbps. The data transmission rate of the VC4 frame is 150.336Mbps, one VC4 frame has 2349 bytes, and after the frame symbol is inserted, the transmission rate of the third positioning virtual container frame, that is, the transmission rate of the positioning virtual container frame corresponding to the VC4 frame is 150.336 × (2349+6)/2349 ═ 150.720 Mbps.
In the embodiment of the invention, after the transmission rate of the positioning virtual container frames is obtained, byte-to-byte insertion multiplexing is carried out on a preset number of positioning virtual container frames to obtain at least one fixed-code-rate data stream, and the transmission rate of the fixed-code-rate data stream is determined according to the preset number and the transmission rate of each positioning virtual container frame. And packaging a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream.
S204: and loading all the fixed code rate data streams into the optical service unit frame for data transmission.
In the embodiment of the invention, CBRs corresponding to different types of VC frames are loaded into optical service unit frames for data transmission. Specifically, the CBR is encapsulated into an OSU frame according to the data structure of the OSU frame. Fig. 4 shows a frame structure of an OSU frame, and fig. 4 is a schematic diagram of the frame structure of the OSU frame according to the embodiment of the present invention. The OSU frame consists of 192 bytes, 185 of which may be used for payload transmission, and the other bytes are overhead. In the embodiment of the present invention, the transmission rate of the OSU frame is determined according to the data transmission rate of the CBR corresponding to the VC frames of different types, specifically, the transmission number C of the OSU frame is determined according to the data transmission rate of the CBR, where the formula for calculating C is shown in formula (1):
Figure BDA0003512824380000071
and (3) rounding up according to the calculation result of the formula (1) to determine the value of C, wherein the transmission rate of the OSU is C × OSU reference transmission rate. After determining the transmission rate of the OSU, the OSU is set to be mapped into the OTN frame in a standard mode and transmitted in the OTN network.
In the data transmission method provided in this embodiment, a VCG is obtained by analyzing an SDH frame, and a virtual container frame VC extracted from the VCG is encapsulated by using a preset frame symbol to obtain a plurality of positioning virtual container frames, and then CBRs are obtained according to a preset number of positioning virtual container frames, and are loaded in an OSU, and the OSU is mapped as an OTN frame to be transmitted in an OTN network, so that the transmission rate of the OSU corresponding to the CBRs occupies the network bandwidth percentage of the OTN network, and the utilization rate of bandwidth resources is improved.
Fig. 5 is a schematic flow chart of a data transmission method according to an embodiment of the present invention. On the basis of the embodiment provided in fig. 2, as shown in fig. 5, the process of parsing the optical service unit frame provided in the embodiment of the present invention is as follows:
s501: and analyzing any received optical service unit frame to obtain at least one data stream with a fixed code rate.
In the embodiment of the invention, the OTN frame received and transmitted by the OTN network is analyzed to obtain the OSU frame, and the OSU frame is analyzed according to the standard format of the OSU frame to obtain the CBR encapsulated in the OSU frame.
S502: and searching all the data with fixed code rate according to the preset frame symbol to obtain at least one positioning virtual container frame.
In the embodiment of the invention, after the CBR is obtained, the CBR is searched according to the preset frame symbol, and the boundary of the adjacent VC frame in the CBR is determined by the preset frame symbol, because a plurality of VC frames included in the CBR are determined. For example, if a predetermined framer is inserted before the header of each virtual container frame to obtain a positioned virtual container frame, after the CBR searches for a byte block identical to the predetermined framer, the data behind the predetermined framer is used as a VC frame according to the data length of the VC frame. Illustratively, if the type of the current VC frame is VC12 and the frame length is 140 bytes, the data with the length of 140 bytes after the preset frame character is searched for as a VC12 frame. Correspondingly, if a preset frame symbol is inserted at the frame end of each virtual container frame to obtain a positioned virtual container frame, the data before the frame symbol is preset as a VC frame. Illustratively, if the type of the current VC frame is VC12 and the frame length is 140 bytes, the data with the length of 140 bytes before the preset frame character is searched as a VC12 frame.
S503: and extracting a virtual container frame from each positioning virtual container frame, combining all the virtual container frames to obtain a virtual concatenation group, and packaging the obtained virtual concatenation group into a synchronous digital series data frame.
This step corresponds to the method implemented in S201 to S202 in the embodiment of fig. 2, and is not described herein again.
The data transmission method provided by this embodiment provides a process of determining VC frames included in a CBR according to a preset frame symbol, thereby avoiding the problem of losing the boundary between adjacent VC frames and ensuring the accuracy of data transmission.
Fig. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention. As shown in fig. 6, the data transmission apparatus includes: a parsing module 601, a first encapsulating module 602, a second encapsulating module 603, and a transmitting module 604.
The analysis module 601 is configured to analyze the acquired synchronous digital series data frames to obtain a virtual concatenation group, and extract at least one virtual container frame from the virtual concatenation group;
a first encapsulating module 602, configured to encapsulate each virtual container frame according to a preset frame symbol, so as to obtain at least one positioning virtual container frame;
a second encapsulating module 603, configured to encapsulate a preset number of positioning virtual container frames to obtain at least one fixed-bitrate data stream;
a transmission module 604, configured to load all data streams with fixed bit rates into an optical service unit frame for data transmission.
In a possible implementation manner, the second encapsulating module 603 is specifically configured to insert a preset framer in front of a frame header of each virtual container frame to obtain a positioning virtual container frame; or, inserting preset frame symbols at the frame end of each virtual container frame to obtain the positioned virtual container frame.
In a possible implementation manner, the second encapsulating module 603 is specifically configured to determine a transmission rate of each positioned virtual container frame according to the data length of the preset frame symbol and the transmission rate of each virtual container frame; and performing byte-to-byte insertion multiplexing on the preset number of the positioning virtual container frames to obtain at least one fixed-code-rate data stream, and determining the transmission rate of the fixed-code-rate data stream according to the preset number and the transmission rate of each positioning virtual container frame.
In a possible implementation manner, the second encapsulating module 603 is specifically configured to determine, if the type of the virtual container frame is a virtual container VC12, a transmission rate of a first positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the virtual container VC12 virtual container frame; if the type of the virtual container frame is a virtual container VC3, determining the transmission rate of a second positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the virtual container VC3 virtual container frame; and if the type of the virtual container frame is the virtual container VC4, determining the transmission rate of a third positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the virtual container VC4 virtual container frame.
In a possible implementation manner, the data transmission apparatus further includes a search module, configured to parse any received optical service unit frame to obtain at least one fixed-bit-rate data stream; searching all the data with fixed code rate according to the preset frame symbol to obtain at least one positioning virtual container frame; and extracting a virtual container frame from each positioning virtual container frame, combining all the virtual container frames to obtain a virtual concatenation group, and packaging the obtained virtual concatenation group into a synchronous digital series data frame.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 7 is a schematic diagram of a hardware structure of a network interface device according to an embodiment of the present invention. As shown in fig. 7, the network interface device of the present embodiment includes: a processor 701 and a memory 702; wherein
A memory 702 for storing computer-executable instructions;
a processor 701 for executing computer-executable instructions stored by the memory to implement the data transmission method as described above. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 702 may be separate or integrated with the processor 701.
When the memory 702 is separately provided, the network interface device further includes a bus 703 for connecting the memory 702 and the processor 701.
The embodiment of the present invention further provides a computer storage medium, where a computer execution instruction is stored in the computer storage medium, and when a processor executes the computer execution instruction, the data transmission method is implemented as described above.
An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the data transmission method described above is implemented. An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the data transmission method described above is implemented.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to implement the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods described in the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in a controller or master device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of data transmission, comprising:
analyzing the obtained synchronous digital series data frames to obtain a virtual concatenation group, and extracting at least one virtual container frame from the virtual concatenation group;
packaging each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame;
packaging a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream;
and loading all the fixed code rate data streams into the optical service unit frame for data transmission.
2. The method according to claim 1, wherein said encapsulating each virtual container frame according to a predetermined frame symbol to obtain at least one positioning virtual container frame comprises:
inserting a preset frame symbol in front of a frame header of each virtual container frame to obtain a positioning virtual container frame; or the like, or, alternatively,
and inserting a preset frame symbol at the frame end of each virtual container frame to obtain a positioned virtual container frame.
3. The method of claim 1, wherein encapsulating a predetermined number of positioning virtual container frames to obtain at least one fixed-rate data stream comprises:
determining the transmission rate of each positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of each virtual container frame;
and performing byte-to-byte insertion multiplexing on the preset number of the positioning virtual container frames to obtain at least one fixed-code-rate data stream, and determining the transmission rate of the fixed-code-rate data stream according to the preset number and the transmission rate of each positioning virtual container frame.
4. The method according to claim 3, wherein determining the transmission rate of each positioned virtual container frame according to the data length of the preset frame symbol and the transmission rate of each virtual container frame comprises:
if the type of the virtual container frame is a virtual container VC12, determining the transmission rate of a first positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the virtual container VC12 virtual container frame;
if the type of the virtual container frame is a virtual container VC3, determining the transmission rate of a second positioned virtual container frame according to the data length of the preset frame symbol and the transmission rate of the virtual container VC3 virtual container frame;
and if the type of the virtual container frame is the virtual container VC4, determining the transmission rate of a third positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the virtual container VC4 virtual container frame.
5. The method of any of claims 1 to 4, further comprising:
analyzing any received optical service unit frame to obtain at least one fixed code rate data stream;
searching all the data with fixed code rate according to the preset frame symbol to obtain at least one positioning virtual container frame;
and extracting a virtual container frame from each positioning virtual container frame, combining all the virtual container frames to obtain a virtual concatenation group, and packaging the obtained virtual concatenation group into a synchronous digital series data frame.
6. A data transmission apparatus, comprising:
the analysis module is used for analyzing the acquired synchronous digital series data frames to obtain a virtual concatenation group and extracting at least one virtual container frame from the virtual concatenation group;
a first encapsulation module, configured to encapsulate each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame;
the second encapsulation module is used for encapsulating a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream;
and the transmission module is used for loading all the data streams with the fixed code rate into the optical service unit frame for data transmission.
7. The apparatus of claim 6, wherein the first encapsulation module is specifically configured to:
inserting a preset frame symbol in front of a frame header of each virtual container frame to obtain a positioning virtual container frame; or the like, or, alternatively,
and inserting a preset frame symbol at the frame end of each virtual container frame to obtain a positioned virtual container frame.
8. The apparatus of claim 6, wherein the second encapsulation module is specifically configured to:
determining the transmission rate of each positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of each virtual container frame;
and performing byte-to-byte insertion multiplexing on the preset number of the positioning virtual container frames to obtain at least one fixed-code-rate data stream, and determining the transmission rate of the fixed-code-rate data stream according to the preset number and the transmission rate of each positioning virtual container frame.
9. A network interface device, comprising: at least one processor and a memory;
the memory stores computer execution instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the data transfer method of any of claims 1 to 5.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, implement the data transmission method of any one of claims 1 to 5.
CN202210157594.1A 2022-02-21 2022-02-21 Data transmission method, device, equipment and storage medium Active CN114466087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210157594.1A CN114466087B (en) 2022-02-21 2022-02-21 Data transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210157594.1A CN114466087B (en) 2022-02-21 2022-02-21 Data transmission method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114466087A true CN114466087A (en) 2022-05-10
CN114466087B CN114466087B (en) 2023-05-30

Family

ID=81416326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210157594.1A Active CN114466087B (en) 2022-02-21 2022-02-21 Data transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114466087B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023231429A1 (en) * 2022-05-31 2023-12-07 中兴通讯股份有限公司 Data transmission method, source end device, sink end device and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001006728A1 (en) * 1999-07-14 2001-01-25 Wuhan Research Institute Of Posts And Telecommunications, M.I.I. Data transmission apparatus and method for transmitting data between physical layer side device and network layer device
CN1464691A (en) * 2002-06-24 2003-12-31 华为技术有限公司 Mapping and demapping method between data packet and SDH frame structure of Ethernet
CN1567867A (en) * 2003-06-09 2005-01-19 华为技术有限公司 A method for implementing service transmission in synchronous digital transmission network
US20050068993A1 (en) * 2002-08-29 2005-03-31 Russell John Paul Frame based data transmission over synchronous digital hierarchy network
CN1652504A (en) * 2005-03-11 2005-08-10 北京华环电子股份有限公司 Virtual cascade communication method with framing function on quasi-synchronous digital series
CN1674478A (en) * 2004-03-23 2005-09-28 华为技术有限公司 Method and apparatus for virtual container frame analysis
CN1681233A (en) * 2004-04-09 2005-10-12 华为技术有限公司 Realizing method of data multiplexing and virtual form
CN1791057A (en) * 2004-12-15 2006-06-21 华为技术有限公司 Method for transmitting data service in OTN and its device
CN101102158A (en) * 2006-08-16 2008-01-09 华为技术有限公司 Method and device for transmitting synchronization digital system service in passive optical network
CN101141826A (en) * 2007-08-08 2008-03-12 中兴通讯股份有限公司 Method and device for implementing link capacity adjusting scheme protocol
CN101272212A (en) * 2008-05-07 2008-09-24 中兴通讯股份有限公司 Ranking method of virtual concatenation group member
CN101389146A (en) * 2007-09-13 2009-03-18 华为技术有限公司 Method and apparatus for synchronous crossed scheduling of optical transmission network
CN106027194A (en) * 2015-12-28 2016-10-12 深圳市恒扬数据股份有限公司 SDH multi-group multi-member fiber-crossing virtual concatenation implementation method, device and system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001006728A1 (en) * 1999-07-14 2001-01-25 Wuhan Research Institute Of Posts And Telecommunications, M.I.I. Data transmission apparatus and method for transmitting data between physical layer side device and network layer device
CN1464691A (en) * 2002-06-24 2003-12-31 华为技术有限公司 Mapping and demapping method between data packet and SDH frame structure of Ethernet
US20050068993A1 (en) * 2002-08-29 2005-03-31 Russell John Paul Frame based data transmission over synchronous digital hierarchy network
CN1567867A (en) * 2003-06-09 2005-01-19 华为技术有限公司 A method for implementing service transmission in synchronous digital transmission network
CN1674478A (en) * 2004-03-23 2005-09-28 华为技术有限公司 Method and apparatus for virtual container frame analysis
CN1681233A (en) * 2004-04-09 2005-10-12 华为技术有限公司 Realizing method of data multiplexing and virtual form
CN1791057A (en) * 2004-12-15 2006-06-21 华为技术有限公司 Method for transmitting data service in OTN and its device
WO2006063529A1 (en) * 2004-12-15 2006-06-22 Huawei Technologies Co., Ltd. Device and method for transmitting data service in optical transmission net
CN1652504A (en) * 2005-03-11 2005-08-10 北京华环电子股份有限公司 Virtual cascade communication method with framing function on quasi-synchronous digital series
CN101102158A (en) * 2006-08-16 2008-01-09 华为技术有限公司 Method and device for transmitting synchronization digital system service in passive optical network
CN101313507A (en) * 2006-08-16 2008-11-26 华为技术有限公司 Method and apparatus for transmitting service of synchronous digital system in passive optical network
CN101141826A (en) * 2007-08-08 2008-03-12 中兴通讯股份有限公司 Method and device for implementing link capacity adjusting scheme protocol
CN101389146A (en) * 2007-09-13 2009-03-18 华为技术有限公司 Method and apparatus for synchronous crossed scheduling of optical transmission network
CN101272212A (en) * 2008-05-07 2008-09-24 中兴通讯股份有限公司 Ranking method of virtual concatenation group member
CN106027194A (en) * 2015-12-28 2016-10-12 深圳市恒扬数据股份有限公司 SDH multi-group multi-member fiber-crossing virtual concatenation implementation method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李昕: "SDH上虚级联方式的数据传输技术", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023231429A1 (en) * 2022-05-31 2023-12-07 中兴通讯股份有限公司 Data transmission method, source end device, sink end device and storage medium

Also Published As

Publication number Publication date
CN114466087B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
US7519080B2 (en) Fibre channel frame-mode GFP with distributed delimiter
CN109842629B (en) Method for realizing self-defined protocol based on protocol analysis framework
CN110505161B (en) Message processing method and device
EP4099712A1 (en) Service bearing method, apparatus and system
CN111010253A (en) HIMAC frame splitting system and method based on HINOC protocol
CN114466087B (en) Data transmission method, device, equipment and storage medium
CN113630206A (en) Service processing method, device, network equipment and storage medium
CN112511921A (en) Service processing method and device in optical transport network and electronic equipment
CN113542934A (en) Service processing method, device, network equipment and storage medium
CN110708133B (en) Method and device for clock synchronization and time synchronization in system based on FPGA
CN110868458B (en) Communication method and device for stable control system
US7272675B1 (en) First-in-first-out (FIFO) memory for buffering packet fragments through use of read and write pointers incremented by a unit access and a fraction of the unit access
US7379467B1 (en) Scheduling store-forwarding of back-to-back multi-channel packet fragments
US20180176114A1 (en) Hierarchical statistics acceleration
US20230106217A1 (en) Web-end video playing method and apparatus, and computer device
CN110504973A (en) Compressing file, decompressing method and device
CN113238982A (en) Data communication method, device, computer equipment and storage medium
CN112272359A (en) Device and method for identifying and extracting signaling based on X86 system
CN113872886B (en) Message encapsulation method and device
CN113473267A (en) Data transmission method, device and communication device
EP4012993B1 (en) Method and apparatus for transmitting service data
US6377578B1 (en) ATM re-assembly circuit and method
CN116545573B (en) Virtual concatenation group member automatic identification method and system based on FPGA
CN112821982B (en) Service channel grouping method, system and storage medium based on optical transport network
CN108270512B (en) Signal transmission method, device and system

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
GR01 Patent grant
GR01 Patent grant