Data transmission method and device
A technology of a data transmission device and a data transmission method, which is applied in the field of communication, can solve problems such as high complexity of VlanTag, and achieve the effects of reducing the use of logic resources, reducing complexity, and solving high complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] In this embodiment, a data transmission device is also provided, image 3 is a structural block diagram of a data transmission device according to an embodiment of the present invention, such as image 3 As shown, the device includes:
[0041]A preset number of first registers 32 and second registers 34, wherein the preset number of first registers 32 are sequentially cascaded, and the second register 34 is connected to the first-level register 32-1 in the preset number of first registers , the preset number is the number of bytes of the virtual local area network label VlanTag;
[0042] Each first register 32 is used for correspondingly storing a byte of VlanTag, and outputting a byte of stored VlanTag;
[0043] The second register 34 is used to store the input data, and output the input data to the first stage register 32-1;
[0044] Wherein, the data transmission device is used to use the data output by the last stage register 32-n in the first register as the out...
Embodiment 2
[0054] The method embodiment provided in Embodiment 4 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, Figure 4 It is a hardware structural block diagram of a mobile terminal of a data transmission method according to an embodiment of the present invention, such as Figure 4 As shown, the mobile terminal 40 may include one or more (only one is shown in the figure) processor 402 (the processor 402 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), for A memory 404 for storing data, and a transmission device 406 for communication functions. Those of ordinary skill in the art can understand that, Figure 4 The shown structure is only for illustration, and it does not limit the structure of the above-mentioned electronic device. For example, mobile terminal 40 may also include Figure 4 ...
Embodiment 3
[0070] In this embodiment, a data transmission device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has already been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
[0071] Figure 6 is a structural block diagram of a data transmission device according to an embodiment of the present invention, such as Figure 6 As shown, the device includes:
[0072] The writing module 62 is used to write the bytes of the virtual local area network tag VlanTag into a preset number of first registers, wherein the preset number of first registers are cascaded in sequence, and a word of VlanTag is stored in each first re...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


