[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106656595B - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN106656595B
CN106656595B CN201611191320.5A CN201611191320A CN106656595B CN 106656595 B CN106656595 B CN 106656595B CN 201611191320 A CN201611191320 A CN 201611191320A CN 106656595 B CN106656595 B CN 106656595B
Authority
CN
China
Prior art keywords
data
configuration file
clock frequency
data transmission
data type
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
CN201611191320.5A
Other languages
Chinese (zh)
Other versions
CN106656595A (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.)
Shenzhen Hengxin Data Ltd By Share Ltd
Original Assignee
Shenzhen Hengxin Data Ltd By Share 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 Shenzhen Hengxin Data Ltd By Share Ltd filed Critical Shenzhen Hengxin Data Ltd By Share Ltd
Priority to CN201611191320.5A priority Critical patent/CN106656595B/en
Publication of CN106656595A publication Critical patent/CN106656595A/en
Application granted granted Critical
Publication of CN106656595B publication Critical patent/CN106656595B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • 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/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Communication Control (AREA)

Abstract

The invention is applicable to the technical field of data transmission, and provides a data transmission method and a data transmission device. The method comprises the following steps: receiving original data; determining a data type of the raw data, wherein the data type comprises a 10G LAN, a 10G WAN or a 10G POS; selecting a corresponding configuration file according to the data type; generating a corresponding data transmission channel and a clock frequency based on the configuration file; and performing data transmission processing based on the corresponding data transmission channel and clock frequency to output target data, wherein the clock frequency is the clock frequency corresponding to the data type of the received original data. The method can realize the access of the data in three formats of the 10G interface network on the same physical interface, thereby effectively solving the problems that the physical interface is incompatible and equipment with three different types of physical interfaces is required to be configured to receive the data, the equipment utilization rate is reduced and the equipment cost is increased.

Description

Data transmission method and device
Technical Field
The invention belongs to the technical field of data transmission, and particularly relates to a data transmission method and device.
Background
In recent years, with the rapid development of information technology and the increasing variety of communication services, the demand of users on networks is increasing. The interface types of the 10G interface network in the operator backbone network are mainly 3, namely data in three formats of 10G LAN, 10G WAN and 10G POS. The data in the three formats of 10G LAN, 10G WAN and 10G POS carry different contents or interface frequencies. At present, data access in three formats, namely 10G LAN, 10G WAN and 10G POS, is usually implemented by three different types of physical interface devices, because data frame formats of data messages are different and frequency point requirements of a local clock at a line side are also different. However, in many cases, data of 3 formats need to be accessed simultaneously, and since physical interfaces are incompatible, devices with three different types of physical interfaces need to be configured to receive data, thereby reducing device utilization and increasing device cost.
Therefore, a new technical solution is needed to solve the above technical problems.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data transmission method and apparatus, so as to solve the problems in the prior art that a physical interface is incompatible with a device having three different types of physical interfaces, and needs to configure the device to receive data, thereby reducing the device utilization rate and increasing the device cost.
In a first aspect of embodiments of the present invention, a data transmission method is provided, where the method includes:
receiving original data;
determining a data type of the raw data, wherein the data type comprises a 10G LAN, a 10G WAN or a 10G POS;
selecting a corresponding configuration file according to the data type;
generating a corresponding data transmission channel and a clock frequency based on the configuration file;
and performing data transmission processing based on the corresponding data transmission channel and clock frequency to output target data, wherein the clock frequency is the clock frequency corresponding to the data type of the received original data.
In a second aspect of the embodiments of the present invention, there is provided an apparatus, including:
the receiving module is used for receiving original data;
a determining module, configured to determine a data type of the raw data, where the data type includes 10G LAN, 10G wan, or 10G POS;
the selection module is used for selecting a corresponding configuration file according to the data type;
the generating module is used for generating a corresponding data transmission channel and a clock frequency based on the configuration file;
and the processing module is used for carrying out data transmission processing based on the corresponding data transmission channel and clock frequency so as to output target data, wherein the clock frequency is the clock frequency corresponding to the data type of the received original data.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the embodiment of the invention receives original data; determining a data type of the raw data, wherein the data type comprises a 10G LAN, a 10G WAN or a 10G POS; selecting a corresponding configuration file according to the data type; generating a corresponding data transmission channel and a clock frequency based on the configuration file; and performing data transmission processing based on the corresponding data transmission channel and clock frequency to output target data, wherein the clock frequency is the clock frequency corresponding to the data type of the received original data. The method can realize the access of the data in three formats of the 10G interface network on the same physical interface, thereby effectively solving the problems that equipment with three different types of physical interfaces is required to be configured to receive the data, the utilization rate of the equipment is reduced and the cost of the equipment is increased because the physical interfaces are incompatible.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a data transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart of an implementation of step S40 in the data transmission method shown in fig. 1;
fig. 3 is a flowchart of an implementation of step S30 in the data transmission method shown in fig. 1;
fig. 4 is a first functional block diagram of an FPGA in the data transmission method according to the embodiment of the present invention;
fig. 5 is a functional block diagram ii of an FPGA in the data transmission method according to the embodiment of the present invention;
fig. 6 is a functional block diagram of an FPGA in the data transmission method according to the embodiment of the present invention;
fig. 7 is a schematic diagram illustrating FPGA loading in the data transmission method according to the embodiment of the present invention;
fig. 8 is a block diagram of a data transmission apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a data transmission method. The data transmission method comprises the following steps: receiving original data; determining a data type of the raw data, wherein the data type comprises a 10G LAN, a 10G WAN or a 10G POS; selecting a corresponding configuration file according to the data type; generating a corresponding data transmission channel and a clock frequency based on the configuration file; and performing data transmission processing based on the corresponding data transmission channel and clock frequency to output target data, wherein the clock frequency is the clock frequency corresponding to the data type of the received original data. In order to explain the data transmission method provided by the present invention, the following description is made by using specific embodiments.
Example one
Fig. 1 shows a flowchart of an implementation of a data transmission method according to an embodiment of the present invention, which is detailed as follows:
s10: raw data is received.
The raw data accessed includes one of three data types, 10G LAN, 10G WAN or 10G POS. The three interfaces correspond to three data types, and corresponding data types are accessed when different interfaces are accessed. When the interface connected with the FPGA physical interface on the hardware single board is a 10G LAN interface, the accessed original data is the 10G LAN, namely the data received by the FPGA physical interface is the 10G LAN; when the interface connected with the FPGA physical interface on the hardware single board is a 10G WAN interface, the accessed original data is 10G WAN, and the received data is 10G WAN; when the interface connected with the FPGA physical interface on the hardware single board is a 10G POS interface, the accessed original data is a 10G POS, and the received data is the 10G POS.
The 10G LAN is a 10G Ethernet local area network, the data rate is 10.3125Gbps, and the clock frequency is 10.3125 GHZ; 10G WAN, 10G Ethernet wide area network, data rate 9.953Gbps, clock frequency 9.953 GHZ; the POS system is 10G POS, wherein the POS system is called PPP over SONET/SDH (SONET is called Synchronous Optical Network) and is composed of a whole set of hierarchical standard Digital transmission structure and suitable for transmission on various adaptive net load physical media, and the SDH is called Synchronous Digital Hierarchy and is a comprehensive information transmission Network which integrates the functions of multiplexing, line transmission and switching and is operated by a unified Network management system). The 10G POS interface is IP encapsulated to SDHSTM-64 through PPP: is a standard SDH with a data rate of 9.953Gbps and a clock frequency of 9.953 GHZ.
S20: determining a data type of the raw data, the data type comprising 10G LAN, 10G WAN or 10 GPOS.
The received original data is one of three data types, namely 10G LAN, 10G WAN or 10G POS, and is accessed to a corresponding interface, namely one original data is received. Firstly, distinguishing whether an interface is a 10G LAN or other interfaces by analyzing the rate of received original data, and when the interface rate is detected to be 10.3125G, determining that the interface is a 10GE LAN interface, namely the type of the accessed original data is 10GE LAN; when the interface rate is detected to be 9.953G, judging whether the original data type is 10G WAN or 10G POS by analyzing C2 overhead in SDH, and the steps are as follows:
when the value of C2 is 1A in 16-system, the interface is a 10G WAN interface, namely the data type is 10G WAN;
when the value of C2 is 16 or CF with 16 system, the interface is 10G POS interface, i.e. the data type is 10 GPOS.
S30: and selecting a corresponding configuration file according to the data type.
Three data types, namely 10G LAN, 10G WAN or 10G POS, are provided, and one data type corresponds to one configuration file. And after the data type of the received original data is determined, selecting a corresponding configuration file. If the received original data is determined to be 10GLAN, selecting a 10G LAN configuration file; if the received original data is determined to be 10G WAN, selecting a 10G WAN configuration file; if the received original data is determined to be 10G POS, a 10G POS configuration file is selected.
S40: and generating a corresponding data transmission channel and a clock frequency based on the configuration file.
Generating a corresponding data transmission channel according to the configuration file; and simultaneously, generating the clock frequency according to the clock frequency which is configured in the configuration file according to the data type. For example, a data transmission channel and clock frequency of 10G LAN 10.3125GHZ is generated from the 10G LAN profile.
S50: and performing data transmission processing based on the corresponding data transmission channel and clock frequency to output target data, wherein the clock frequency is the clock frequency corresponding to the data type of the received original data.
And performing data transmission processing based on the corresponding data transmission channel and the clock frequency to output target data, wherein the clock frequency of the target data is the clock frequency corresponding to the type of the received data. For example, data 10G LAN is transmitted based on a data transmission channel of 10G LAN and a clock frequency of 10.3125GHZ, and the clock frequency of 10.3125GHZ is a clock frequency corresponding to a type of received data, i.e., 10G LAN.
In the data transmission method provided by this embodiment, original data is received; determining a data type of the raw data, wherein the data type comprises a 10G LAN, a 10G WAN or a 10G POS; selecting a corresponding configuration file according to the data type; generating a corresponding data transmission channel and a clock frequency based on the configuration file; and performing data transmission processing based on the corresponding data transmission channel and clock frequency to output target data, wherein the clock frequency is the clock frequency corresponding to the data type of the received original data. The method can realize the access of the data in three formats of the 10G interface network on the same physical interface, thereby effectively solving the problems that equipment with three different types of physical interfaces is required to be configured to receive the data, the utilization rate of the equipment is reduced and the cost of the equipment is increased because the physical interfaces are incompatible.
Fig. 2 shows a flowchart of implementing step S40 in the data transmission method shown in fig. 1, which is detailed as follows:
s401: and generating a corresponding data transmission channel according to the configuration file.
If the configuration file is a 10G LAN configuration file, a 10G LAN data transmission channel is generated; if the configuration file is a 10G WAN configuration file, a 10G WAN data transmission channel is generated; and if the configuration file is a 10G POS configuration file, generating a 10G POS data transmission channel.
S402: and carrying out frequency multiplication on the initial clock frequency according to the configured clock frequency in the configuration file, and determining the clock frequency.
And receiving an initial clock frequency input by the programmable clock module, wherein the initial clock frequency comprises two frequency points of 156.25MHz and 155.52 MHz. When the initial clock frequency input by the receiving programmable clock module is 156.25MHz, namely the data type of the original data is 10G LAN, frequency multiplication is carried out on the initial clock frequency of 156.25MHz to obtain 10.3125GHZ, namely the clock frequency is determined to be 10.3125 GHZ; when the initial clock frequency input by the receiving programmable clock module is 155.52MHZ and the data type of the original data is 10G WAN, carrying out frequency multiplication on the initial clock frequency of 155.52MHZ to obtain 9.953GHZ, namely determining that the programmable clock frequency is 9.953 GHZ; when the initial clock frequency input by the receiving programmable clock module is 155.52MHz and the data type of the original data is 10G POS, the initial clock frequency of 155.52MHz is multiplied to obtain 9.953GHZ, namely, the clock frequency is determined to be 9.953 GHZ.
Fig. 3 shows an implementation flowchart of step S30 in the data transmission method shown in fig. 1, fig. 4 shows a first functional block diagram of an FPGA in the data transmission method provided by the embodiment of the present invention, fig. 5 shows a second functional block diagram of the FPGA in the data transmission method provided by the embodiment of the present invention, fig. 6 shows a third functional block diagram of the FPGA in the data transmission method provided by the embodiment of the present invention, and with reference to fig. 4, fig. 5, and fig. 6, the implementation flowchart of step S30 is detailed as follows:
s301: and if the data type is 10G LAN, selecting a 10G LAN configuration file, wherein a data transmission channel generated by the configuration file comprises a physical coding sublayer and a media intervention control layer.
And if the data type is 10G LAN, selecting a corresponding 10G LAN configuration file. Referring to fig. 4, a 10G LAN data transmission channel generated by a 10G LAN profile includes a physical coding sublayer for performing physical coding and a media access control layer for constructing the physical layer bitstream framing, error checking and providing an access method.
S302: and if the data type is 10G WAN, selecting a 10G WAN configuration file, wherein a data transmission channel generated by the configuration file comprises an SDH de-framer, a WAN interface sublayer, a physical coding sublayer, a media intervention control layer and an SDH framer.
And if the data type is 10G WAN, selecting a corresponding 10G WAN configuration file. Referring to fig. 5, the 10G WAN data transmission path generated by the 10G WAN profile includes a sync header for finding SDH frames while removing various overheads and passing data streams, a SDH deframer for generating ethernet data streams adapted to a specific transmission format, a physical coding sublayer for performing physical coding, a media intervention control layer for constructing the physical layer bit stream framing, error checking and providing access methods, and a SDH framer for adding various transmission overheads of SDH to the outside of a virtual container.
S303: if the data type is 10G POS, selecting a 10G POS configuration file, wherein a data transmission channel generated by the configuration file comprises an SDH deframer, a POS demapper, a high-level data link control module, a protocol conversion module, a media intervention control layer, a POS mapper and an SDH framer.
And if the data type is 10G POS, selecting a corresponding 10G POS configuration file. Referring to fig. 6, the 10G POS data transmission channel generated by the 10G POS configuration file includes an SDH deframer for finding a synchronization header of an SDH frame while removing various overheads and transferring a data stream, a POS demapper for extracting a payload from a virtual container in SDH and outputting the payload to a high level data link control module, a high level data link control module for implementing a bit oriented data link control protocol function, a protocol conversion module for converting a PPP packet into an ethernet packet so that the data stream passed through the module becomes an ethernet frame, a media intervention control layer for constructing said physical layer bit stream framing, error checking and providing access methods, a data stream for outputting said high level data link control module, a POS mapper for loading into a virtual container in SDH and a SDH framer for adding various transport overheads of SDH outside the virtual container.
Preferably, selecting the corresponding configuration file according to the data type further includes:
judging whether the data type is a default type;
if yes, based on the default model;
and if not, manually configuring a configuration file corresponding to the data type, and generating the data transmission channel and the clock frequency based on the configuration file.
The default data type is set as the data type of the FPGA physical interface that has been accessed last time on the hardware board, for example, the data type that has been accessed last time is 10G LAN.
With reference to figure 7 of the drawings,
the signal definition on the FPGA side is taken as an example for explanation:
Figure BDA0001187059070000081
SCL is known as Serial Clock Line, i.e., I2C Serial Clock Line;
SDA is known as Serial Data Line, i.e., I2C Serial Data Line;
I2C is all called Inter-Integrated Circuit.
The loading mode of the FPGA is set as a Slave Serial Configuration (Slave Serial Configuration), and the CPU uses GPIO to simulate a Configuration interface, namely 5 signals loaded to the FPGA are all simulated by the GPIO signals of the CPU.
After the CPU system is started, the CPU configures 10G LAN for the FPGA by default. The CPU configures the frequency of the programmable clock to be the frequency point 156.25MHz required by the 10G LAN through I2C, and the CPU loads the 10G LAN configuration file of the 10G LAN to the FPGA.
After the system is up, if the type of the accessed data is judged not to be 10G LAN but 10G POS, then: the CPU pulls down a signal of 'Program _ B' simulated by the GPIO; the CPU configures the frequency of the programmable clock to be the frequency point 155.52MHZ required by 10G POS through I2C; and the CPU loads a 10G POS configuration file of the 10G POS into the FPGA.
In order to achieve the effect that the required working mode can be automatically loaded after the system is powered on again or reset only by once configuration during application. Preferably, any one of the three 10G LAN, 10G WAN or 10G POS is set as default starting item according to actual needs.
The configuration files of the FPGA are a 10G LAN configuration file, a 10G WAN configuration file and a 10G POS configuration file. The 10G LAN profile includes 10G LAN data type required files, the 10G WAN profile includes 10G WAN data type required files, and the 10G POS profile includes 10G POS data type required files. The configuration file memory is used for storing a 10G LAN configuration file, a 10G WAN configuration file and a 10G POS configuration file of the FPGA.
Preferably, the data transmission method further includes: clock debounce the clock frequency.
The jitter of the clock recovered from the line is very large, so that the requirement of a system cannot be met, the recovered clock needs to be subjected to jitter removal to achieve the purpose of reducing the jitter of the clock, and then the jitter-removed clock is transmitted to each relevant unit.
Corresponding to the data transmission method described in the above embodiment, fig. 8 shows a structural block diagram of the data transmission device provided in the embodiment of the present invention, which is detailed as follows:
referring to fig. 8, the apparatus includes:
a receiving module 80, configured to receive original data;
a determining module 81, configured to determine a data type of the original data, where the data type includes 10G LAN, 10GWAN, or 10G POS;
a selecting module 82, configured to select a corresponding configuration file according to the data type;
a generating module 83, configured to generate a corresponding data transmission channel and a clock frequency based on the configuration file;
and a processing module 84, configured to perform data transmission processing based on the corresponding data transmission channel and a clock frequency, so as to output target data, where the clock frequency is a clock frequency corresponding to the data type of the received original data.
Optionally, the generating module 83 includes:
a generating unit 830, configured to generate a corresponding data transmission channel according to the configuration file;
and a frequency doubling unit 831, configured to frequency-double the initial clock frequency according to the configured clock frequency in the configuration file, and determine the clock frequency.
Optionally, the selection module 82 includes:
a first selecting unit 821 for selecting a 10G LAN configuration file if the data type is a 10G LAN. The data transmission channel generated by the configuration file comprises a physical coding sublayer and a media intervention control layer;
a second selecting unit 822, configured to select a 10G WAN profile if the data type is a 10G WAN. The data transmission channel generated by the configuration file comprises an SDH de-framer, a WAN interface sublayer, a physical coding sublayer, a media intervention control layer and an SDH framer;
a third selecting unit 823, configured to select a 10G POS configuration file if the data type is a 10G POS. The data transmission channel generated by the configuration file comprises an SDH de-framer, a POS de-mapper, a high-level data link control module, a protocol conversion module, a media intervention control layer, a POS mapper and an SDH framer.
Optionally, the selecting module 82 further includes:
820 judging unit, configured to judge whether the data type is a default type;
if yes, based on the default model;
and if not, manually configuring a configuration file corresponding to the data type, and generating the data transmission channel and the clock frequency based on the configuration file.
Optionally, the apparatus further comprises;
a debounce module 85 configured to perform clock debounce on the clock frequency.
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 system embodiments are merely illustrative, and for example, the described unit or division of units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components 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 units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units 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 units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be implemented in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method of data transmission, comprising:
receiving original data;
determining the data type of the original data according to the rate of the original data, wherein the data type comprises 10G LAN, 10G WAN or 10G POS, and when the interface rate is 9.953G, judging whether the original data type is 10G WAN or 10G POS by analyzing C2 overhead in SDH, wherein the method comprises the following steps:
when the value of C2 is 1A in 16, the data type is 10G WAN;
when the value of C2 is 16 or CF in 16 system, the data type is 10G POS;
selecting a corresponding configuration file according to the data type;
generating a corresponding data transmission channel and a clock frequency based on the configuration file;
and performing data transmission processing based on the corresponding data transmission channel and clock frequency to output target data, wherein the clock frequency is the clock frequency corresponding to the data type of the received original data.
2. The method of claim 1, wherein the generating the corresponding data transmission channel and clock frequency based on the configuration file comprises:
generating a corresponding data transmission channel according to the configuration file;
and carrying out frequency multiplication on the initial clock frequency according to the configured clock frequency in the configuration file, and determining the clock frequency.
3. The method of claim 1, wherein said selecting a corresponding profile based on said data type comprises:
if the data type is 10GLAN, selecting a 10G LAN configuration file, wherein a data transmission channel generated by the configuration file comprises a physical coding sublayer and a media intervention control layer;
if the data type is 10GWAN, selecting a 10GWAN configuration file, wherein a data transmission channel generated by the configuration file comprises an SDH de-framer, a WAN interface sublayer, a physical coding sublayer, a media intervention control layer and an SDH framer;
if the data type is 10G POS, selecting a 10G POS configuration file, wherein a data transmission channel generated by the configuration file comprises an SDH deframer, a POS demapper, a high-level data link control module, a protocol conversion module, a media intervention control layer, a POS mapper and an SDH framer.
4. The method of claim 3, wherein said selecting a corresponding profile based on said data type further comprises:
judging whether the data type is a default type;
if yes, based on the default model;
and if not, manually configuring a configuration file corresponding to the data type, and generating the data transmission channel and the clock frequency based on the configuration file.
5. The method of claim 1, wherein the method further comprises: clock debounce the clock frequency.
6. A data transmission apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving original data;
a determining module, configured to determine a data type of the raw data according to a rate of the raw data, where the data type includes 10G LAN, 10G WAN, or 10G POS, and when an interface rate of 9.953G is detected, determine whether the raw data type is 10G WAN or 10G POS by analyzing a C2 overhead in SDH, where the determining module includes:
when the value of C2 is 1A in 16, the data type is 10G WAN;
when the value of C2 is 16 or CF in 16 system, the data type is 10G POS;
the selection module is used for selecting a corresponding configuration file according to the data type;
the generating module is used for generating a corresponding data transmission channel and a clock frequency based on the configuration file;
and the processing module is used for carrying out data transmission processing based on the corresponding data transmission channel and clock frequency so as to output target data, wherein the clock frequency is the clock frequency corresponding to the data type of the received original data.
7. The apparatus of claim 6, wherein the generating module comprises:
the generating unit is used for generating a corresponding data transmission channel according to the configuration file;
and the frequency multiplication unit is used for carrying out frequency multiplication on the initial clock frequency according to the configured clock frequency in the configuration file and determining the clock frequency.
8. The apparatus of claim 6, wherein the selection module comprises:
a first selecting unit, configured to select a 10G LAN configuration file if the data type is 10GLAN, where a data transmission channel generated by the configuration file includes a physical coding sublayer and a media access control layer;
a second selecting unit, configured to select a 10GWAN configuration file if the data type is 10GWAN, where a data transmission channel generated by the configuration file includes an SDH deframer, a WAN interface sublayer, a physical coding sublayer, a media intervention control layer, and an SDH framer;
and a third selecting unit, configured to select a 10G POS configuration file if the data type is 10G POS, where a data transmission channel generated by the configuration file includes an SDH deframer, a POS demapper, a high-level data link control module, a protocol conversion module, a media access control layer, a POS mapper, and an SDH framer.
9. The apparatus of claim 8, wherein the selection module further comprises:
the judging unit is used for judging whether the data type is a default type or not;
if yes, based on the default model;
and if not, manually configuring a configuration file corresponding to the data type, and generating the data transmission channel and the clock frequency based on the configuration file.
10. The apparatus of claim 6, wherein the apparatus further comprises;
and the jitter removing module is used for carrying out clock jitter removal on the clock frequency.
CN201611191320.5A 2016-12-21 2016-12-21 Data transmission method and device Active CN106656595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611191320.5A CN106656595B (en) 2016-12-21 2016-12-21 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611191320.5A CN106656595B (en) 2016-12-21 2016-12-21 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN106656595A CN106656595A (en) 2017-05-10
CN106656595B true CN106656595B (en) 2020-02-14

Family

ID=58834536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611191320.5A Active CN106656595B (en) 2016-12-21 2016-12-21 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN106656595B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051213B (en) * 2021-03-02 2023-09-22 长沙景嘉微电子股份有限公司 Processor, data transmission method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852215A (en) * 2005-12-31 2006-10-25 华为技术有限公司 Method and apparatus for realizing transmission of local-network signal in optical transmission network
CN106027195A (en) * 2015-12-29 2016-10-12 深圳市恒扬数据股份有限公司 Method and device for recognizing channel structure and protocol type of SDH line

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401728C (en) * 2003-06-21 2008-07-09 中兴通讯股份有限公司 A multi-speed optical signal interface board
CN101814976B (en) * 2010-04-08 2012-10-17 北京恒光创新科技股份有限公司 Multi-type network data transmission method and device
CN102064987B (en) * 2010-12-17 2013-11-06 曙光信息产业股份有限公司 Mixed-mode high-speed front end network access processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852215A (en) * 2005-12-31 2006-10-25 华为技术有限公司 Method and apparatus for realizing transmission of local-network signal in optical transmission network
CN106027195A (en) * 2015-12-29 2016-10-12 深圳市恒扬数据股份有限公司 Method and device for recognizing channel structure and protocol type of SDH line

Also Published As

Publication number Publication date
CN106656595A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US7200153B2 (en) Method and apparatus for autosensing LAN vs WAN to determine port type
EP2557736B1 (en) Method, service board and system for transmitting keyboard, video, mouse data
WO2017012453A1 (en) Method and device for data transmission
US11196675B2 (en) Flexible-ethernet data processing method and related device
EP3883183A1 (en) Virtualization management method and device
CN103259733A (en) Daughter card unit dynamic adaptation method and line-card board
US11381335B2 (en) Method and apparatus for spectrum defragmentation, device, and system
US8923347B2 (en) Data transmission involving multiplexing and demultiplexing of embedded clock signals
CN105717997B (en) Computing element mounting and dismounting system and computing element mounting and dismounting method
CN101902221B (en) Automatically synchronizing ring oscillator frequency of a receiver
CN102866925A (en) Communication method and system for middleware and user interface
CN106656872A (en) Mixed physical coding sublayer and data transmitting and receiving method
TWI445374B (en) Remote management system and remote management method
CN106656595B (en) Data transmission method and device
CN108270623B (en) Method and system for TDM business network management automatic configuration based on packet transport network
US10263807B2 (en) Hierarchical statistics acceleration
CN103501239B (en) A kind of port status synchronous method, relevant device and system
CN105656716B (en) Protocol module performance test method and system
CN111162864B (en) Transmission method, device and equipment of low-rate signal and storage medium
US8665912B2 (en) Method and system for transmitting a clock rate on an Ethernet network link and applications thereof
EP2498446A1 (en) Method and apparatus compatible with 10ge lan port and wan port
KR101958374B1 (en) Services, systems and methods for precisely estimating a delay within a network
CN102510484B (en) Video optical transceiver, and video transmission system and method
CN106911545B (en) Method and device for transmitting ST _ BUS data through Ethernet
WO2024021045A1 (en) System and method for improving efficiency of yang based configuration of devices

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A data transmission method and device

Effective date of registration: 20220701

Granted publication date: 20200214

Pledgee: Bank of Communications Limited Shenzhen Branch

Pledgor: Shenzhen Hengyang Data Co.,Ltd.

Registration number: Y2022340000011

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20200214

Pledgee: Bank of Communications Limited Shenzhen Branch

Pledgor: Shenzhen Hengyang Data Co.,Ltd.

Registration number: Y2022340000011

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A data transmission method and device

Granted publication date: 20200214

Pledgee: Bank of Communications Limited Shenzhen Branch

Pledgor: Shenzhen Hengyang Data Co.,Ltd.

Registration number: Y2024980039790

PE01 Entry into force of the registration of the contract for pledge of patent right