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

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

Info

Publication number
CN114466087B
CN114466087B CN202210157594.1A CN202210157594A CN114466087B CN 114466087 B CN114466087 B CN 114466087B CN 202210157594 A CN202210157594 A CN 202210157594A CN 114466087 B CN114466087 B CN 114466087B
Authority
CN
China
Prior art keywords
frame
virtual container
container frame
positioning
data
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.)
Active
Application number
CN202210157594.1A
Other languages
Chinese (zh)
Other versions
CN114466087A (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 hierarchy data frames to obtain a virtual concatenation group, and extracting at least one virtual container frame from the virtual concatenation group; encapsulating each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame; encapsulating a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream; and loading all the data streams with the fixed code rate into the optical service unit frame for data transmission. According to the data transmission method provided by the embodiment, the network bandwidth of the OSU in the OTN is set according to the transmission rate corresponding to the CBR, so that the percentage of the transmission rate of the OSU corresponding to the CBR occupying the network bandwidth of the OTN 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 communications technologies, and in particular, to a data transmission method, apparatus, device, and storage medium.
Background
With the rapid development of the internet, the synchronous digital hierarchy (Synchronous Digital Hierarchy, SDH) technology has been widely used in backbone networks, metropolitan area networks, and access networks with the advantages of high reliability, good manageability, and strong network protection and restoration 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 concatenation group (Virtual Concatenation Group, VCG), the VCG is encapsulated into an SDH frame, then the SDH frame is loaded into an optical service unit (Optical Service Unit, OSU) through a network device, the OSU is mapped to an optical transport network (Optical Transport Network, OTN) frame structure, and then is transmitted in the OTN network, so that a 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 is smaller, the VCG is encapsulated into an SDH frame and an OSU frame corresponding to the SDH frame is obtained, and when the OTN frame is transmitted by using a large bandwidth, the bandwidth utilization rate is lower, so that the waste of bandwidth resources is caused.
Disclosure of Invention
The invention provides a data transmission method, a device, equipment and a storage medium, which improve 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 hierarchy data frames to obtain a virtual concatenation group, and extracting at least one virtual container frame from the virtual concatenation group;
encapsulating each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame;
encapsulating a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream;
and loading all the data streams with the fixed code rate into the optical service unit frame for data transmission.
In one possible design, the encapsulating each virtual container frame according to the preset frame symbol to obtain at least one positioning virtual container frame includes:
inserting a preset frame symbol in front of the frame head of each virtual container frame to obtain a positioning virtual container frame; or alternatively, the first and second heat exchangers may be,
and inserting a preset frame character at the end of each virtual container frame to obtain a positioned virtual container frame.
In one possible design, the encapsulating the predetermined number of positioning virtual container frames to obtain at least one fixed code 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 insertion multiplexing on the preset number of 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 positioning 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 a 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 comprises:
analyzing any received optical service unit frame to obtain at least one fixed code rate data stream;
searching all fixed code rate data according to preset frame symbols 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 comprising:
the analysis module is used for analyzing the acquired synchronous digital hierarchy data frames to obtain a virtual concatenation group and extracting at least one virtual container frame from the virtual concatenation group;
the first encapsulation module is used for encapsulating 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 the 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 packaging module is specifically configured to:
inserting a preset frame symbol in front of the frame head of each virtual container frame to obtain a positioning virtual container frame; or alternatively, the first and second heat exchangers may be,
and inserting a preset frame character at the 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 executes computer-executable instructions stored in the memory to cause the at least one processor to perform the data transmission method as described above in the first aspect and the various possible designs of the first aspect.
In a fourth aspect, the present invention provides a computer storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the data transmission method of the first aspect and the various possible designs of the first aspect as described above.
The data transmission method, the device, the equipment and the storage medium provided by the invention are characterized in that the VCG is obtained by analyzing the SDH frame, the virtual container frames VC extracted from the VCG are encapsulated by utilizing the preset frame symbols, a plurality of positioning virtual container frames are obtained, the fixed code rate data stream is obtained according to the preset number of positioning virtual container frames, the fixed code rate data stream is loaded in the OSU, the OSU is mapped into the OTN frame for transmission in the OTN network, and the network bandwidth of the OTN network is set according to the transmission rate of the fixed code rate data stream, so that the network bandwidth percentage 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.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic diagram of an ethernet network structure implemented based on SDH according to an embodiment of the present invention;
fig. 2 is a schematic flow chart 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 diagram of a data transmission method according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
fig. 7 is a schematic hardware structure of a network interface device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. 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.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
In an Ethernet network realized based on SDH, when Ethernet data is transmitted based on SDH, the Ethernet data is required to be encapsulated and mapped to VCG, the VCG is encapsulated into an SDH frame, then the SDH frame is loaded into OSU through network equipment, the OSU is mapped to an OTN frame structure and then transmitted in the OTN network, and the process of transmitting the SDH frame through the OTN network is realized. 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 bandwidth provided when the SDH frame is transmitted in the OTN network is a bandwidth with a large rate, for example, 155.52Mbps, 622.08Mbps, 2488.32Mbps, 9953.28Mbps, and 39813.12Mbps. When the data of the VCG is smaller, the VCG is encapsulated into an SDH frame, and after the OSU frame corresponding to the SDH frame is obtained, the bandwidth utilization rate is lower when the OSU frame is transmitted by using a large bandwidth, so that the waste of bandwidth resources is caused.
In order to solve the technical problems, the embodiment of the invention provides the following technical scheme: 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 character to obtain a plurality of positioning virtual container frames, obtaining a Constant Bit Rate (CBR) data stream according to the preset number of positioning virtual container frames, loading the CBR in an OSU, mapping the OSU into an OTN frame, transmitting the OTN frame in an OTN network, setting network bandwidth occupied by the OSU in the OTN network according to the transmission rate of the CBR, reducing the network bandwidth percentage occupied by the OTN network by the transmission rate of the OSU corresponding to the CBR, and improving the utilization rate of bandwidth resources. The following will explain in detail the embodiments.
Fig. 1 is a schematic diagram of an ethernet network structure implemented based on SDH 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, then the SDH frame is loaded into an optical service unit OSU through a network device, and the OSU is mapped to an OTN frame structure of an optical transport network and then transmitted in the OTN network.
Fig. 2 is a schematic flow chart of a data transmission method according to an embodiment of the present invention, and the execution body of the embodiment may be the network interface device shown in fig. 1, which is not limited herein.
As shown in fig. 2, the method includes:
s201: and analyzing the acquired synchronous digital hierarchy 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. The specific SDH frame includes information payload, segment overhead, and management unit pointers. And analyzing the SDH frame according to the standard structure of the SDH frame to obtain an information payload, and obtaining a Virtual Concatenation Group (VCG) from the information payload. After the VCG is extracted, N virtual containers (Virtual Container, VC) contained in the VCG are extracted from the VCG. In the embodiment of the present invention, the types of virtual containers VC are VC12, VC3, and VC4. 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 constitutes a frame for 4 rows and 35 columns, VC3 constitutes a frame for 9 rows and 85 columns, and VC4 constitutes a frame for 9 rows and 261 columns. Wherein the first column of VC12, VC3, and VC4 are overhead bytes, and the other bytes carry 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 symbol is inserted between the VC frames to distinguish adjacent VC frames, so that the loss of the VC frame structure is prevented. Illustratively, the length of the preset frame is set to 6 bytes and the preset frame is set to 0xF6F6F6282828. Specifically, a preset frame symbol is inserted before the frame head of each virtual container frame to obtain a positioned virtual container frame, or a preset frame symbol is inserted at the frame end of each virtual container frame to obtain a positioned virtual container frame.
S203: and packaging the preset number of positioning virtual container frames to obtain at least one fixed code rate data stream.
In the embodiment of the invention, the transmission rate of each positioning virtual container frame is determined according to the data length of the preset frame symbol and the transmission rate of each virtual container frame. For example, 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 the second positioning virtual container frame according to the data length of the preset frame symbol and the transmission rate of the VC3 virtual container frame; if the type of the virtual container frame is VC4, determining the transmission rate of the third positioning 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 can be determined according to the data length of the generated positioning virtual container frame. For example, the data transmission rate of the VC12 frames is 2.240Mbps, one VC12 frame has 140 bytes, and after inserting the frame fixing symbol, the transmission rate of the first positioning virtual container frame, that is, the transmission rate of the positioning virtual container frame corresponding to the VC12 frame is 2.240 x (140+6)/140= 2.336Mbps. Correspondingly, the data rate of the VC3 frame is 48.960Mbps, one VC3 frame has 765 bytes, and after inserting the frame fixing symbol, the transmission rate of the second positioning virtual container frame, that is, the transmission rate of the positioning virtual container frame corresponding to the VC3 frame is 48.960 x (765+6)/765= 49.344Mbps. The data transmission rate of the VC4 frames is 150.336Mbps, one VC4 frame has 2349 bytes, and after inserting the frame fixing symbol, 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 x (2349+6)/2349= 150.720Mbps.
In the embodiment of the invention, after the transmission rate of the positioning virtual container frames is obtained, performing byte insertion multiplexing on a preset number of 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. And packaging the preset number of positioning virtual container frames to obtain at least one fixed code rate data stream.
S204: and loading all the data streams with the fixed code rate 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 the optical service unit frames for data transmission. Specifically, the CBR is encapsulated into OSU frames according to the data structure of the OSU frames. The frame structure of the OSU frame is shown in fig. 4, and fig. 4 is a schematic diagram of the OSU frame data structure according to the embodiment of the present invention. Wherein the OSU frame is composed of 192 bytes, 185 of which are available for payload transmission, the other bytes being overhead. In the embodiment of the invention, the transmission rate of the OSU frame is determined according to the data transmission rate of the CBR corresponding to different types of VC frames, specifically, the transmission number C of the OSU frame is determined according to the data transmission rate of the CBR, wherein the formula for calculating C is shown in formula (1):
Figure BDA0003512824380000071
and (3) upward rounding to determine the value of C according to the calculation result of the formula (1), wherein the transmission rate of the OSU is C-times the reference transmission rate of the OSU. After determining the transmission rate of the OSU, the OSU is set to map into OTN frames in a standard manner for transmission in the OTN network.
According to the data transmission method provided by the embodiment, the VCG is obtained by analyzing the SDH frame, the virtual container frames VC extracted from the VCG are encapsulated by utilizing the preset frame symbols, a plurality of positioning virtual container frames are obtained, the CBR is obtained according to the preset number of positioning virtual container frames, the CBR is loaded in the OSU, the OSU is mapped into the OTN frame and transmitted in the OTN network, the network bandwidth percentage 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.
Fig. 5 is a schematic diagram 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 analyzing 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 fixed code rate data stream.
In the embodiment of the invention, the OTN network receives the transmitted OTN frame for analysis 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 fixed code rate data 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 a preset frame symbol, and the boundary of the adjacent VC frames in the CBR is determined by the preset frame symbol, so that a plurality of VC frames contained in the CBR are determined. For example, if a predetermined frame symbol is inserted before the frame header of each virtual container frame to obtain a positioned virtual container frame, after searching in the CBR for the same byte block as the predetermined frame symbol, the data following the predetermined frame symbol is regarded as the VC frame according to the data length of the VC frame. For example, if the current VC frame is of the type VC12 and the frame length is 140 bytes, the data of 140 bytes after the preset frame is searched as one VC12 frame. Correspondingly, if a preset frame symbol is inserted at the end of each virtual container frame to obtain a positioned virtual container frame, the data before the preset frame symbol is used as a VC frame. For example, if the current VC frame is of the type VC12 and the frame length is 140 bytes, the data of 140 bytes in length before the preset frame is searched as one 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 will not be described here again.
The data transmission method provided by the embodiment provides a process of determining the VC frames contained in the CBR according to the preset frame symbol, avoids the problem of losing the boundary between adjacent VC frames, and ensures 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: the device comprises a parsing module 601, a first packaging module 602, a second packaging module 603 and a transmission module 604.
The parsing module 601 is configured to parse the obtained sdh data frame to obtain a virtual concatenation group, and extract at least one virtual container frame from the virtual concatenation group;
a first encapsulation module 602, configured to encapsulate each virtual container frame according to a preset frame symbol, to obtain at least one positioning virtual container frame;
a second encapsulation module 603, configured to encapsulate a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream;
and the transmission module 604 is configured to load all the fixed code rate data streams into the optical service unit frame for data transmission.
In one possible implementation manner, the second encapsulation module 603 is specifically configured to insert a preset frame symbol before a frame header of each virtual container frame to obtain a positioning virtual container frame; or, inserting a preset frame character at the end of each virtual container frame to obtain the positioned virtual container frame.
In a possible implementation manner, the second encapsulation module 603 is specifically configured to determine a 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 insertion multiplexing on the preset number of 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 encapsulation module 603 is specifically configured to determine, if the type of the virtual container frame is a virtual container VC12, a 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 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 a 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 implementation manner, the data transmission device further includes a search module, configured to parse any received optical service unit frame to obtain at least one fixed code rate data stream; searching all fixed code rate data according to preset frame symbols 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 device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 7 is a schematic 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 the method comprises the steps of
A memory 702 for storing computer-executable instructions;
the processor 701 is configured to execute computer-executable instructions stored in the memory to implement the data transmission method as described above. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 702 may be separate or integrated with the processor 701.
When the memory 702 is provided separately, the network interface device further comprises a bus 703 for connecting said memory 702 to the processor 701.
The embodiment of the invention also provides a computer storage medium, wherein computer execution instructions are stored in the computer storage medium, and when a processor executes the computer execution instructions, the data transmission method is realized.
The embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements a data transmission method as described above. The embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements a data transmission method as described above.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The units formed by the modules can be realized in a form of hardware or a form of hardware and software functional units.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform some of the steps of the methods described in various embodiments of the present application.
It should be understood that the above processor may be a central processing unit (Central Processing Unit, abbreviated as CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, abbreviated as DSP), application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as 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 for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings 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 nonvolatile 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 disk. 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. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). It is also possible that the processor and the storage medium reside as discrete components in a controller or master device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
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 invention.

Claims (10)

1. A data transmission method, comprising:
analyzing the obtained synchronous digital hierarchy data frames to obtain a virtual concatenation group, and extracting at least one virtual container frame from the virtual concatenation group;
encapsulating each virtual container frame according to a preset frame symbol to obtain at least one positioning virtual container frame;
encapsulating a preset number of positioning virtual container frames to obtain at least one fixed code rate data stream;
and loading all the data streams with the fixed code rate into the optical service unit frame for data transmission.
2. The method of claim 1, wherein 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 the frame head of each virtual container frame to obtain a positioning virtual container frame; or alternatively, the first and second heat exchangers may be,
and inserting a preset frame character at the end of each virtual container frame to obtain a positioned virtual container frame.
3. The method of claim 1, wherein encapsulating the 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 insertion multiplexing on the preset number of 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. A method according to claim 3, wherein said determining the transmission rate of each located virtual container frame based on the data length of the predetermined 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 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 a 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 according to any one 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 fixed code rate data according to preset frame symbols 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 hierarchy data frames to obtain a virtual concatenation group and extracting at least one virtual container frame from the virtual concatenation group;
the first encapsulation module is used for encapsulating 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 the 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 the frame head of each virtual container frame to obtain a positioning virtual container frame; or alternatively, the first and second heat exchangers may be,
and inserting a preset frame character at the 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 insertion multiplexing on the preset number of 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 memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the data transmission method of any one of claims 1 to 5.
10. A computer readable storage medium having stored therein computer executable instructions 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 CN114466087A (en) 2022-05-10
CN114466087B true 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)

Families Citing this family (1)

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

Citations (12)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050068993A1 (en) * 2002-08-29 2005-03-31 Russell John Paul Frame based data transmission over synchronous digital hierarchy network

Patent Citations (14)

* 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
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
WO2006063529A1 (en) * 2004-12-15 2006-06-22 Huawei Technologies Co., Ltd. Device and method for transmitting data service in optical transmission net
CN1791057A (en) * 2004-12-15 2006-06-21 华为技术有限公司 Method for transmitting data service in OTN and its device
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上虚级联方式的数据传输技术;李昕;《中国优秀硕士学位论文全文数据库 信息科技辑》;全文 *

Also Published As

Publication number Publication date
CN114466087A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
US8989222B1 (en) Justification insertion and removal in generic mapping procedure in an optical transport network
CN109842629B (en) Method for realizing self-defined protocol based on protocol analysis framework
EP3826204A1 (en) Method and apparatus for transporting client signal in optical transport network
CN110505161B (en) Message processing method and device
CN114466087B (en) Data transmission method, device, equipment and storage medium
CN105573711B (en) A kind of data cache method and device
CN111010253A (en) HIMAC frame splitting system and method based on HINOC protocol
CN113630206A (en) Service processing method, device, network equipment and storage medium
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
CN113542934A (en) Service processing method, device, network equipment and storage medium
US5535219A (en) Sonet/SDH pointer calculation circuit
US7379467B1 (en) Scheduling store-forwarding of back-to-back multi-channel packet fragments
US20230106217A1 (en) Web-end video playing method and apparatus, and computer device
CN111061927B (en) Data processing method and device and electronic equipment
CN112187669B (en) Data interaction method, device and equipment and readable storage medium
CN112966596A (en) Video optical character recognition system method and system
CN110502736A (en) A kind of bus data analysis method and device
CN113872886B (en) Message encapsulation method and device
CN116545573B (en) Virtual concatenation group member automatic identification method and system based on FPGA
EP4012993B1 (en) Method and apparatus for transmitting service data
CN112272359A (en) Device and method for identifying and extracting signaling based on X86 system
CN115309349B (en) Deep learning sparse data storage method, computer device and storage medium
US6377578B1 (en) ATM re-assembly circuit and method
CN116893983B (en) Data caching method, device and medium
WO2024066414A1 (en) Service transmission method, and device and medium

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