CN103269319A - Method, device and system for data transmission - Google Patents

Method, device and system for data transmission Download PDF

Info

Publication number
CN103269319A
CN103269319A CN2013101537245A CN201310153724A CN103269319A CN 103269319 A CN103269319 A CN 103269319A CN 2013101537245 A CN2013101537245 A CN 2013101537245A CN 201310153724 A CN201310153724 A CN 201310153724A CN 103269319 A CN103269319 A CN 103269319A
Authority
CN
China
Prior art keywords
data
packet
interface
sent
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013101537245A
Other languages
Chinese (zh)
Inventor
王洪仁
施纯良
王艳龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Innofidei Technology Co Ltd
Original Assignee
Innofidei 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 Innofidei Technology Co Ltd filed Critical Innofidei Technology Co Ltd
Priority to CN2013101537245A priority Critical patent/CN103269319A/en
Publication of CN103269319A publication Critical patent/CN103269319A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, device and system for data transmission in order to reduce hardware resources occupied by the data transmission and reduce power consumption at the same time. The method for the data transmission includes the steps of receiving data of at least two interface types, packing the data of at least two kinds of interface types, generating a data packet to be transmitted, and transmitting the data packet to be transmitted to a receiving terminal through a multiplex interface. According to the method, device and system for the data transmission, the data of at least two interface types can be transmitted through the multiplex interface, therefore, the hardware resources occupied by the data transmission are reduced, and the power consumption is reduced at the same time.

Description

A kind of data transmission method, equipment and system
Technical field
The present invention relates to field of data transmission, particularly relate to a kind of data transmission method, equipment and system.
Background technology
Present most of intelligent mobile terminal adopts different interfaces to transmit the data of different interface type usually, application processor and the transfer of data between the baseband processor with intelligent mobile terminal are example, as shown in Figure 1, the transfer of data of application processor and baseband processor generally need be controlled order (AT Command, AT order) interface, network packet transmission interface and these three kinds of interfaces of debugging interface of modulator-demodulator.AT command interface and debugging interface need two universal asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/Transmitter, UART) interface is realized, the network packet transmission interface takies a network interface or other high speed data transmission interfaces usually.
But, adopt the conventional interface mode of above-mentioned application processor chip and baseband chip to carry out transfer of data, taken more hardware resource, increased the cost input, and power consumption is higher.
Summary of the invention
The invention provides a kind of data transmission method, equipment and system, to reduce the shared hardware resource of transfer of data, reduce power consumption simultaneously.
In order to address the above problem, the invention discloses a kind of data transmission method, comprising:
Receive the data of at least two kinds of interface types;
The data of the described at least two kinds of interface types of packing generate packet to be sent;
Send described packet to be sent by multiplex interface to receiving terminal.
Alternatively, the data of described interface type comprise:
The data of the data of the data of debugging interface type, network packet transmission interface type or AT command interface type.
Alternatively, the data of the described at least two kinds of interface types of packing generate packet to be sent, comprising:
Add identification information for the data of every kind of interface type in described at least two kinds of interface types;
Generate a Frame according to the identification information of the data of every kind of interface type and the data of every kind of interface type, obtain at least two Frames; Wherein, comprise the identification information of the data of described interface type in the frame head of each described Frame, comprise the data of described interface type in the corresponding frame data;
Splice described at least two Frames, generate described packet to be sent.
Alternatively, the packing described at least two kinds of interface types data, generate after the packet to be sent, described send described packet by multiplex interface to receiving terminal before, described method also comprises:
Judge current whether have packet the transmission;
Current have packet when transmission, if formation to be sent is had vacant position, then described packet to be sent added in the described formation to be sent; If described formation to be sent is full, wait for that then described formation to be sent has vacant position;
Current do not have packet when transmission, and formation to be sent is empty, described packet to be sent added in the described formation to be sent, and start transmission;
Describedly send described packet by multiplex interface to receiving terminal, comprising:
Send packet to be sent in the described formation to be sent by described multiplex interface successively to described receiving terminal.
The invention also discloses a kind of data transmission method, comprising:
Packet by the transmission of multiplex interface receiving end/sending end;
Resolve described packet, obtain the data of at least two kinds of interface types;
The processing module of every kind of interface type correspondence in the data of described at least two kinds of interface types sends the data of corresponding interface type.
Alternatively, the described packet of described parsing obtains the data of at least two kinds of interface types, comprising:
Cut apart described packet, obtain at least two Frames; The data of the corresponding a kind of interface type of each described Frame wherein comprise the identification information of the data of described interface type in the frame head of each described Frame, comprise the data of described interface type in the corresponding frame data;
Each Frame obtains the data of corresponding described interface type from described at least two Frames, obtains the data of described at least two kinds of interface types.
Alternatively, the data of described interface type comprise:
The data of the data of the data of debugging interface type, network packet transmission interface type or AT command interface type.
The invention also discloses a kind of transmission equipment, comprising:
Data reception module is for the data that receive at least two kinds of interface types;
The packet generation module, the data for the described at least two kinds of interface types of packing generate packet to be sent;
The packet sending module is used for sending described packet to be sent by multiplex interface to receiving terminal.
Alternatively, described packet generation module comprises:
Add submodule, be used for giving the data of every kind of interface type of described at least two kinds of interface types to add identification information;
The Frame submodule is used for generating a Frame according to the identification information of the data of every kind of interface type and the data of every kind of interface type, obtains at least two Frames; Wherein, comprise the identification information of the data of described interface type in the frame head of each described Frame, comprise the data of described interface type in the corresponding frame data;
The splicing submodule is used for described at least two Frames of splicing, generates described packet to be sent.
Alternatively, also comprise judge module and processing module:
Judge module, be used for the data at the described at least two kinds of interface types of described packet generation module packing, generate after the packet to be sent, before described packet sending module sends described packet by multiplex interface to receiving terminal, judge current whether have packet the transmission;
Processing module has packet when transmitting for current, if formation to be sent is had vacant position, then described packet to be sent is added in the described formation to be sent; If described formation to be sent is full, wait for that then described formation to be sent has vacant position;
Processing module does not also have packet when transmitting for current, and described formation to be sent is empty, described packet to be sent is added in the described formation to be sent, and start transmission;
Described packet sending module, concrete being used for sends described formation to be sent packet to be sent by described multiplex interface successively to described receiving terminal.
The invention also discloses a kind of transmission equipment, comprising:
The packet receiver module is used for the packet that sends by the multiplex interface receiving end/sending end;
Parsing module is used for resolving described packet, obtains the data of at least two kinds of interface types;
Data transmission blocks is used for sending to the processing module of every kind of interface type correspondence of the data of described at least two kinds of interface types the data of corresponding interface type.
Alternatively, described parsing module comprises:
Cut apart submodule, be used for cutting apart described packet, obtain at least two Frames; The data of the corresponding a kind of interface type of each described Frame wherein comprise the identification information of the data of described interface type in the frame head of each described Frame, comprise the data of described interface type in the corresponding frame data;
Analyzing sub-module for the data of obtaining corresponding described interface type at least from described each Frame of two Frames, obtains the data of described at least two kinds of interface types.
The invention also discloses a kind of data transmission system, comprise the transmission equipment of transmitting terminal and the transmission equipment of receiving terminal, the transmission equipment of transmitting terminal adopts first kind of transmission equipment as above, and the transmission equipment of receiving terminal adopts second kind of transmission equipment as above.
Compared with prior art, the present invention includes following advantage:
The present invention can be transmitted the data of at least two kinds of interface types, and is by the data of at least two kinds of interface types of multiplex interface transmission, has reduced the shared hardware resource of transfer of data, has reduced the power consumption of transfer of data simultaneously.
Description of drawings
Fig. 1 is the schematic diagram that application processor and baseband processor are carried out transfer of data in the prior art;
Fig. 2 is the flow chart of a kind of data transmission method of the embodiment of the invention;
Fig. 3 is the flow chart of a kind of data transmission method of another embodiment of the present invention;
Fig. 4 is the structured flowchart of a kind of transmission equipment of the embodiment of the invention;
Fig. 5 is the structured flowchart of a kind of transmission equipment of another embodiment of the present invention;
Fig. 6 is the schematic diagram that embodiment of the invention application processor and baseband processor are carried out transfer of data.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
With reference to Fig. 2, show the flow chart of a kind of data transmission method of the present invention, present embodiment specifically can may further comprise the steps:
Step 100, the data of at least two kinds of interface types of reception.
The data of interface type specifically can comprise in the present embodiment: the data of the data of the data of debugging interface type, network packet transmission interface type or AT command interface type.Practical application is the data that also can receive other interface types, and present embodiment does not limit this.
Step 102, the data of at least two kinds of interface types of packing generate packet to be sent.
Data are that unit transmits with the packet in the present embodiment, can generate packet to be sent to the processing of packing of the data of at least two kinds of interface types.So just the data of at least two kinds of interface types can have been sent simultaneously.
Step 104 sends packet to be sent by multiplex interface to receiving terminal.
Present embodiment sends packet to be sent by multiplex interface to receiving terminal, and the multiplex interface of employing is specifically as follows the secure digital input/output interface, and (Secure Digital Input/Output, SDIO), the SDIO interface has the little characteristics of power consumption.When realizing, can also adopt other interfaces as multiplex interface, USB interface for example, present embodiment is not done concrete restriction to multiplex interface.
Present embodiment is to describe technical scheme of the present invention in transmitting terminal one side, and namely the executive agent of the data transmission method of present embodiment is specifically as follows the transmission equipment of transmitting terminal.
The data transmission method that present embodiment provides can transmit the data of at least two kinds of interface types, and is by the data of at least two kinds of interface types of multiplex interface transmission, has reduced the shared hardware resource of transfer of data, has improved the efficient of transfer of data.Adopt the SDIO interface as multiplex interface in the present embodiment, can reduce the power consumption of transfer of data.
In a preferred embodiment of the present invention, step 102, the data of at least two kinds of interface types of packing generate packet to be sent, specifically can comprise following substep:
Substep 1 adds identification information for the data of every kind of interface type at least two kinds of interface types.When packing, in order to distinguish the data of different interface type, need to give the data of every kind of interface type at least two kinds of interface types to add identification information.Identification information can reflect the interface type of data, for example, can be with the interface type of the data identification information as data, identification information specifically can comprise: data total length, number of data frames, Frame numbering, data frame type and Frame length.
Substep 2 generates a Frame according to the identification information of the data of every kind of interface type and the data of every kind of interface type, obtains at least two Frames; Wherein, comprise the identification information of the data of interface type in the frame head of each Frame, comprise the data of interface type in the corresponding frame data.
Identification information according to explanation in the substep 1 specifically can comprise: data total length, number of data frames, Frame numbering, data frame type and Frame length.With the frame head of identification information as Frame, the data of different interface type generate Frame as the frame data of Frame.The Frame that generates comprises: frame head and frame data, and wherein frame head comprises identification information, frame data comprise the data of at least two kinds of interface types.Be that Frame comprises: data total length, number of data frames, Frame numbering, data frame type, Frame length and frame data.Data frame format is as follows:
<Total?length>+<Frame?amount>+<Frame?ID>+<Frame?type>+<Frame?length>+<Frame?data?payload>
Wherein, Frame type is data frame type, can generate according to interface type, and for example the frame type of debugging interface data is SDIO_DEBUG, and the frame type of network packet transmission interface data is SDIO_IP, and the frame type of AT command interface data is SDIO_AT.Frame length is Frame length, can obtain by the length of frame data and the length addition of frame head; Frame ID is the Frame numbering, is the numbering that different Frames is carried out, in order to distinguish different Frames; Frame amount is number of data frames, the number of the Frame of namely packing, the just number of the Frame that comprises in the last packet that generates; Total length is the data total length, i.e. the length sum of each Frame.Frame data payload is frame data, i.e. the data of interface type.
Substep 3 splices at least two Frames, generates packet to be sent.
Each Frame that substep 2 is generated splices, and generates packet to be sent.Comprise at least two Frames in the packet to be sent that generates.Data packet format is as follows:
|-----Frame0-----|-----Frame1-----|...|------FrameN-------|
(Frame0+Frame1+...+FrameN)
Namely a packet is made of to Frame N Frame 0, and each Frame comprises data total length, number of data frames, Frame numbering, data frame type, Frame length and frame data.Frame in the same packet has identical data total length and number of data frames.
In a preferred embodiment of the present invention, the data at least two kinds of interface types of step 102 packing generate after the packet to be sent, and are before step 104 sends packet by multiplex interface to receiving terminal, further comprising the steps of:
1) judge current whether have packet the transmission.
Can by hardware judge current whether have packet the transmission, namely whether transfer of data is carrying out.When having any data to send, at first need to judge current whether have packet the transmission.
2) current have packet when transmission, if formation to be sent is had vacant position, then packet to be sent added in the formation to be sent; If formation to be sent is full, wait for that then formation to be sent has vacant position.
If current have packet in transmission, need the current data packets for transmission transmission of wait to finish, could send packet to be sent.Can judge earlier whether formation to be sent full, if formation to be sent less than, packet to be sent can be joined in the formation to be sent; If formation to be sent is full, it is medium to be sent to need then to wait for that the packet that will need when formation to be sent is had vacant position to send joins formation to be sent.
3) current do not have packet when transmission, and formation to be sent is empty, packet to be sent is added in the formation to be sent, and start transmission.
After each data packet transmission is finished, can inquiry formation to be sent whether be empty, if formation to be sent is not, then start and send, send the packet to be sent in the formation to be sent, if therefore current do not have packet in transmission, illustrate that formation to be sent this moment is for empty, packet to be sent added in this formation to be sent to getting final product, and start and send.
Need to prove, step 104 sends packet to be sent by multiplex interface to receiving terminal, specifically can send packet to be sent in the formation to be sent successively to receiving terminal by multiplex interface, the transmit mechanism of formation to be sent is to send according to the sequencing of joining the team, the packet to be sent that is introduced into formation to be sent sends earlier, after send after entering the packet to be sent of formation to be sent.
With reference to Fig. 3, show the flow chart of a kind of data transmission method of the present invention, present embodiment specifically can may further comprise the steps:
Step 200 is by the packet of multiplex interface receiving end/sending end transmission.
Can be with the SDIO interface as multiplex interface, by the packet of SDIO interface receiving end/sending end transmission in the present embodiment.The packet that transmitting terminal sends specifically can comprise one or more Frames, and data included in these Frames can be the data of at least two kinds of interface types.
Step 202, the resolution data bag obtains the data of at least two kinds of interface types.
Receive after the packet, carry out dissection process, can obtain the data of at least two kinds of interface types.
Step 204, the processing module of every kind of interface type correspondence in the data of at least two kinds of interface types sends the data of corresponding interface type.
The data of different interface type have corresponding processing module to handle, for example, the corresponding debugging of the data of debugging interface type processing module, the data map network packet handing module of network packet transmission interface type, the data corresponding A T command processing module of AT command interface type.Multiplex interface can be interpreted as an intermediary interface in the present embodiment, multiplex interface can send to the data of different interface type the processing module of every kind of interface type correspondence.
The data receive method that present embodiment provides can receive the packet that comprises at least two kinds of interface type data by multiplex interface, has reduced the hardware input that data receive, and has reduced the power consumption that data receive.
Present embodiment is to describe technical scheme of the present invention in receiving terminal one side, and namely the executive agent of the data transmission method of present embodiment is specifically as follows the transmission equipment of receiving terminal.
In a preferred embodiment of the present invention, step 202 resolution data bag obtains the data of at least two kinds of interface types, specifically can comprise:
1. the partition data bag obtains at least two Frames; The data of the corresponding a kind of interface type of each Frame wherein comprise the identification information of the data of interface type in the frame head of each Frame, comprise the data of interface type in the corresponding frame data.
A packet can comprise one or more Frames, and each Frame comprises: data total length, number of data frames, Frame numbering, data frame type, Frame length and frame data.The data total length of same packet, number of data frames are identical, can cut apart packet according to the length of Frame total length, number of data frames and each Frame, obtain one or more Frames.
2. each Frame obtains the data of corresponding interface type from least two Frames, obtains the data of at least two kinds of interface types.
Each Frame is made up of frame head and frame data, and each frame data is the data of interface type.Resolve resultant at least two Frames of partition data bag, so can be from least two Frames each Frame obtain the data of corresponding interface type.The data of interface type comprise: the data of the data of the data of debugging interface type, network packet transmission interface type or AT command interface type.
Based on the explanation of above-mentioned data transmission method embodiment, the present invention also provides corresponding transmission equipment, realizes the content that said method embodiment describes, and is specific as follows:
With reference to Fig. 4, show the structured flowchart of a kind of transmission equipment of the present invention, present embodiment specifically can comprise: data reception module 10, packet generation module 12 and packet sending module 14.
Wherein data reception module 10 is used for receiving the data of at least two kinds of interface types.For example the data of the interface type that data reception module 10 receives in the present embodiment specifically can comprise: the data of the data of the data of debugging interface type, network packet transmission interface type or AT command interface type.
Packet generation module 12 links to each other with data reception module 10, and packet generation module 12 is used for the data of at least two kinds of interface types of packing data receiver module 10 receptions, generates packet to be sent.Data are that unit transmits with the packet in the present embodiment, and the processing of packing of the data of at least two kinds of interface types that packet generation module 12 can receive data receiver module 10 generates packet to be sent.
Packet sending module 14 links to each other with packet generation module 12, and packet sending module 14 is used for sending the packet to be sent that packet generation module 12 generates by multiplex interface to receiving terminal.Present embodiment packet sending module 14 sends packet to be sent by multiplex interface to receiving terminal, be that unit sends with the packet, the multiplex interface that adopts can be secure digital input/output interface (Secure Digital Input/Output, SDIO), the SDIO interface has the little characteristics of power consumption.
The transmission equipment that present embodiment provides can transmit the data of at least two kinds of interface types, and is by the data of at least two types of multiplex interface transmission, has reduced the shared hardware resource of transfer of data.
In a preferred embodiment of the present invention, packet generation module 12 specifically can comprise: add submodule, Frame submodule and splicing submodule, wherein,
Add submodule and be connected with data reception module 10, add submodule and add identification information for the data of the every kind of interface type of at least two kinds of interface types that receives to data reception module 10.When packing, in order to distinguish the data of different interface type, need to give the data of every kind of interface type at least two kinds of interface types to add identification information.The identification information that adds the submodule interpolation can reflect the interface type of data, for example, can be with the interface type of the data identification information as data, identification information specifically can comprise: data total length, number of data frames, Frame numbering, data frame type and Frame length.
The Frame submodule is connected with data reception module 10 with the interpolation submodule respectively, the Frame submodule is used for generating a Frame according to the data of every kind of interface type of the identification information of the data of the every kind of interface type that adds the submodule interpolation and data reception module 10 receptions, obtains at least two Frames; Wherein, comprise the identification information of the data of interface type in the frame head of each Frame, comprise the data of interface type in the corresponding frame data.The identification information that adds the submodule interpolation specifically can comprise: data total length, number of data frames, Frame numbering, data frame type and Frame length.The Frame submodule can be with the frame head of identification information as Frame, and the data of different interface type generate Frame as the frame data of Frame.The Frame that generates comprises: frame head and frame data, and wherein frame head is identification information, frame data comprise the data of at least two kinds of interface types.Be that Frame comprises: data total length, number of data frames, Frame numbering, data frame type, Frame length and frame data.Data frame format is referring to the associated description among the embodiment one, and present embodiment is not done at this and given unnecessary details.
The splicing submodule is connected with the Frame submodule, and the splicing submodule is used at least two Frames that splicing Frame submodule obtains, and generates packet to be sent.The splicing submodule splices each Frame that the Frame submodule generates, and generates packet to be sent.Comprise at least two Frames in the packet to be sent that generates.Data packet format is referring to the associated description among the embodiment one, and present embodiment is not done at this and given unnecessary details.
Transmission equipment in a preferred embodiment of the present invention also comprises judge module and processing module, wherein,
Judge module links to each other with packet sending module 14 with packet generation module 12 respectively, judge module is used for the data at least two kinds of interface types of packet generation module 12 packings, generate after the packet to be sent, whether before packet sending module 14 sends packet by multiplex interface to receiving terminal, judging currently has packet transmitting.Judge module can by hardware judge current whether have packet the transmission, namely whether transfer of data is carrying out.When having any data to send, at first need to judge current whether have packet the transmission.
Processing module is connected with judge module, and processing module is used for packet being arranged when transmitting when the judge module judgement is current, if formation to be sent is had vacant position, then packet to be sent is added in the formation to be sent; If formation to be sent is full, wait for that then formation to be sent has vacant position.Packet is arranged in transmission if the judge module judgement is current, need the current data packets for transmission transmission of wait to finish, could send packet to be sent.Can judge earlier whether formation to be sent full, if formation to be sent less than, packet to be sent can be joined in the formation to be sent; If formation to be sent is full, it is medium to be sent to need then to wait for that the packet that will need when formation to be sent is had vacant position to send joins formation to be sent.
Processing module does not also have packet when transmitting for current, and formation to be sent is empty, packet to be sent is added in the formation to be sent, and start transmission.Need to prove, when each data packet transmission is finished, need whether inquiry formation to be sent is empty, if formation to be sent is not empty, then start transmission, send the packet to be sent in the formation to be sent, if therefore current do not have packet in transmission, formation to be sent this moment is described for empty, second module to be sent is added packet to be sent to and get final product in this formation to be sent, and starts transmission.
In a preferred embodiment of the present invention, packet sending module 14 is concrete for sending formation to be sent packet to be sent by multiplex interface successively to receiving terminal.The transmit mechanism of formation to be sent is to send according to the sequencing of joining the team, and the packet to be sent that is introduced into formation to be sent sends earlier, after send after entering the packet to be sent of formation to be sent.
For transmission equipment embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of Fig. 2 method embodiment.
With reference to Fig. 5, show the structured flowchart of a kind of transmission equipment of the present invention, present embodiment specifically can comprise: packet receiver module 20, parsing module 22 and data transmission blocks 24, wherein,
The packet that packet receiver module 20 is used for by the transmission of multiplex interface receiving end/sending end.Packet receiver module 20 can be with the SDIO interface as multiplex interface, by the packet of SDIO interface receiving end/sending end transmission in the present embodiment.The packet that transmitting terminal sends specifically can comprise one or more Frames, and data included in these Frames can be the data of at least two kinds of interface types.
Parsing module 22 links to each other with packet receiver module 20, and parsing module 22 is used for the packet that resolution data bag receiver module 20 receives, and obtains the data of at least two kinds of interface types.
Data transmission blocks 24 links to each other with parsing module 22, data transmission blocks 24 is used for resolving according to parsing module 22 data of at least two kinds of interface types that obtain, and the processing module of every kind of interface type correspondence in the data of at least two kinds of interface types sends the data of corresponding interface type.The data of different interface type have corresponding processing module to handle, for example, the corresponding debugging of the data of debugging interface type processing module, the data map network packet handing module of network packet transmission interface type, the data corresponding A T command processing module of AT command interface type.The SDIO interface can be understood as an intermediary interface in the present embodiment, the data of different interface type can be sent to the processing module of every kind of interface type correspondence.
The transmission equipment that present embodiment provides can receive the packet that comprises at least two kinds of interface type data by multiplex interface, has reduced the hardware input that data receive, and has reduced the power consumption that data receive.
In a preferred embodiment of the present invention, parsing module 22 specifically can comprise following submodule and the analyzing sub-module cut apart, wherein,
Cut apart submodule and be connected with packet receiver module 20, cut apart submodule and be used for the packet that partition data bag receiver module 20 receives, obtain at least two Frames; The data of the corresponding a kind of interface type of each Frame wherein comprise the identification information of the data of interface type in the frame head of each Frame, comprise the data of interface type in the corresponding frame data.
A packet can comprise one or more Frames, and each Frame comprises: data total length, number of data frames, Frame numbering, data frame type, Frame length and frame data.The data total length of same packet, number of data frames are identical, and cutting apart submodule can cut apart packet according to the length of Frame total length, number of data frames and each Frame, obtains one or more Frames.
Analyzing sub-module with cut apart submodule and be connected, analyzing sub-module is used for cutting apart the data that each Frame of at least two Frames that obtains obtains corresponding interface type from cutting apart submodule, obtains the data of at least two kinds of interface types.Each Frame is made up of frame head and frame data, and each frame data is the data of interface type.Analyzing sub-module is resolved and to be cut apart resultant at least two Frames of submodule, so can be from least two Frames each Frame obtain the data of corresponding interface type.The data of interface type comprise: the data of the data of the data of debugging interface type, network packet transmission interface type or AT command interface type.This moment, data transmission blocks 24 linked to each other with analyzing sub-module, and data transmission blocks 24 is used for the analysis result according to analyzing sub-module, and the processing module of every kind of interface type correspondence in the data of at least two kinds of interface types sends the data of the interface type of correspondence.
For transmission equipment embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of Fig. 3 method embodiment.
The embodiment of the invention can also provide a kind of data transmission system.Comprise the transmission equipment of transmitting terminal and the transmission equipment of receiving terminal in this data transmission system, wherein the transmission equipment of transmitting terminal specifically can adopt above-mentioned transmission equipment embodiment illustrated in fig. 4, and the transmission equipment of receiving terminal specifically can adopt above-mentioned transmission equipment embodiment illustrated in fig. 5.
Present embodiment is with the transmission equipment of application processor as receiving terminal, and baseband processor is as the transmission equipment of transmitting terminal, and the SDIO interface is example as multiplex interface, and the related content of the above embodiment of the present invention is described.
Be the schematic diagram that embodiment of the invention application processor and baseband processor are carried out transfer of data with reference to Fig. 6, baseband processor 30 inside comprise debugging receiver module 301 in the present embodiment, network packet receiver module 302 and AT order receiver module 303, need to prove, debugging receiver module 301, network packet receiver module 302 and AT order receiver module 303 are virtual modules of realizing by software.
Application processor 32 inside comprise debugging processing module 321 in the present embodiment, network packet processing module 322 and AT command processing module 323, need to prove that debugging processing module 321, network packet processing module 322 and AT command processing module 323 are the virtual module of realizing by software equally.
Application processor 32 at first sends request of data to baseband processor 30, after baseband processor 30 receives data, is that unit sends packet to baseband processor 30 with the packet by the SDIO interface.
Baseband processor 30 is that unit is as follows to the detailed process that baseband processor 30 sends packets with the packet:
At first, baseband processor 30 receives the data of at least two kinds of interface types; Specifically can receive the data of debugging interface type by debugging receiver module 301, by the data of network packet receiver module 302 reception network packet transmission interface types, receive the data of AT command interface type by AT order receiver module 303.
Secondly, the data of at least two kinds of interface types of baseband processor 30 packings generate packet to be sent; Concrete packing process is referring to the associated description among the embodiment one, and present embodiment is not given unnecessary details at this.
At last, baseband processor 30 sends packet to be sent by the SDIO interface to application processor 32.Application processor 32 reception packets and subsequent treatment are as follows:
At first, application processor 32 receives the packet that baseband processor sends by the SDIO interface.
Secondly, application processor 32 resolution data bags obtain the data of at least two kinds of interface types.
At last, the processing module of the every kind interface type correspondence of application processor 32 in the data of at least two kinds of interface types sends the data of corresponding interface type.。Particularly, application processor 32 is sent to debugging processing module 321 with the data of debugging interface type, and the data of network packet transmission interface type are sent to network packet processing module 322, and the data of AT command interface type are sent to AT command processing module 323.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
More than to a kind of data transmission method provided by the present invention, equipment and system, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (13)

1. a data transmission method is characterized in that, comprising:
Receive the data of at least two kinds of interface types;
The data of the described at least two kinds of interface types of packing generate packet to be sent;
Send described packet to be sent by multiplex interface to receiving terminal.
2. method according to claim 1 is characterized in that, the data of described interface type comprise:
The data of the data of the data of debugging interface type, network packet transmission interface type or AT command interface type.
3. method according to claim 1 is characterized in that, the data of the described at least two kinds of interface types of packing generate packet to be sent, comprising:
Add identification information for the data of every kind of interface type in described at least two kinds of interface types;
Generate a Frame according to the identification information of the data of every kind of interface type and the data of every kind of interface type, obtain at least two Frames; Wherein, comprise the identification information of the data of described interface type in the frame head of each described Frame, comprise the data of described interface type in the corresponding frame data;
Splice described at least two Frames, generate described packet to be sent.
4. method according to claim 1 is characterized in that, the packing described at least two kinds of interface types data, generate after the packet to be sent, described send described packet by multiplex interface to receiving terminal before, described method also comprises:
Judge current whether have packet the transmission;
Current have packet when transmission, if formation to be sent is had vacant position, then described packet to be sent added in the described formation to be sent; If described formation to be sent is full, wait for that then described formation to be sent has vacant position;
Current do not have packet when transmission, and formation to be sent is empty, described packet to be sent added in the described formation to be sent, and start transmission;
Describedly send described packet by multiplex interface to receiving terminal, comprising:
Send packet to be sent in the described formation to be sent by described multiplex interface successively to described receiving terminal.
5. a data transmission method is characterized in that, comprising:
Packet by the transmission of multiplex interface receiving end/sending end;
Resolve described packet, obtain the data of at least two kinds of interface types;
The processing module of every kind of interface type correspondence in the data of described at least two kinds of interface types sends the data of corresponding interface type.
6. method according to claim 5 is characterized in that, the described packet of described parsing obtains the data of at least two kinds of interface types, comprising:
Cut apart described packet, obtain at least two Frames; The data of the corresponding a kind of interface type of each described Frame wherein comprise the identification information of the data of described interface type in the frame head of each described Frame, comprise the data of described interface type in the corresponding frame data;
Each Frame obtains the data of corresponding described interface type from described at least two Frames, obtains the data of described at least two kinds of interface types.
7. method according to claim 5 is characterized in that, the data of described interface type comprise:
The data of the data of the data of debugging interface type, network packet transmission interface type or AT command interface type.
8. a transmission equipment is characterized in that, comprising:
Data reception module is for the data that receive at least two kinds of interface types;
The packet generation module, the data for the described at least two kinds of interface types of packing generate packet to be sent;
The packet sending module is used for sending described packet to be sent by multiplex interface to receiving terminal.
9. transmission equipment according to claim 8 is characterized in that, described packet generation module comprises:
Add submodule, be used for giving the data of every kind of interface type of described at least two kinds of interface types to add identification information;
The Frame submodule is used for generating a Frame according to the identification information of the data of every kind of interface type and the data of every kind of interface type, obtains at least two Frames; Wherein, comprise the identification information of the data of described interface type in the frame head of each described Frame, comprise the data of described interface type in the corresponding frame data;
The splicing submodule is used for described at least two Frames of splicing, generates described packet to be sent.
10. transmission equipment according to claim 8 is characterized in that, also comprises judge module and processing module:
Described judge module, be used for the data at the described at least two kinds of interface types of described packet generation module packing, generate after the packet to be sent, before described packet sending module sends described packet by multiplex interface to receiving terminal, judge current whether have packet the transmission;
Described processing module has packet when transmitting for current, if formation to be sent is had vacant position, then described packet to be sent is added in the described formation to be sent; If described formation to be sent is full, wait for that then described formation to be sent has vacant position;
Described processing module does not also have packet when transmitting for current, and described formation to be sent is empty, described packet to be sent is added in the described formation to be sent, and start transmission;
Described packet sending module, concrete being used for sends described formation to be sent packet to be sent by described multiplex interface successively to described receiving terminal.
11. a transmission equipment is characterized in that, comprising:
The packet receiver module is used for the packet that sends by the multiplex interface receiving end/sending end;
Parsing module is used for resolving described packet, obtains the data of at least two kinds of interface types;
Data transmission blocks is used for sending to the processing module of every kind of interface type correspondence of the data of described at least two kinds of interface types the data of corresponding interface type.
12. transmission equipment according to claim 11 is characterized in that, described parsing module comprises:
Cut apart submodule, be used for cutting apart described packet, obtain at least two Frames; The data of the corresponding a kind of interface type of each described Frame wherein comprise the identification information of the data of described interface type in the frame head of each described Frame, comprise the data of described interface type in the corresponding frame data;
Analyzing sub-module for the data of obtaining corresponding described interface type at least from described each Frame of two Frames, obtains the data of described at least two kinds of interface types.
13. data transmission system, it is characterized in that, comprise the transmission equipment of transmitting terminal and the transmission equipment of receiving terminal, the transmission equipment of described transmitting terminal adopts the as above arbitrary described transmission equipment of claim 8-10, and the transmission equipment of described receiving terminal adopts as above claim 11 or 12 described transmission equipments.
CN2013101537245A 2013-04-27 2013-04-27 Method, device and system for data transmission Pending CN103269319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101537245A CN103269319A (en) 2013-04-27 2013-04-27 Method, device and system for data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101537245A CN103269319A (en) 2013-04-27 2013-04-27 Method, device and system for data transmission

Publications (1)

Publication Number Publication Date
CN103269319A true CN103269319A (en) 2013-08-28

Family

ID=49012928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101537245A Pending CN103269319A (en) 2013-04-27 2013-04-27 Method, device and system for data transmission

Country Status (1)

Country Link
CN (1) CN103269319A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017092394A1 (en) * 2015-12-03 2017-06-08 中兴通讯股份有限公司 Data transmission method and apparatus
CN108417181A (en) * 2018-01-19 2018-08-17 昆山国显光电有限公司 The interface of driving circuit defines method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464755A (en) * 2002-06-28 2003-12-31 华为技术有限公司 Communication method between base station of radio communication system
EP1503546A2 (en) * 2003-07-29 2005-02-02 Matsushita Electric Industrial Co., Ltd. Data transmission method, data transmission system, and data transmission apparatus
CN101102506A (en) * 2007-08-01 2008-01-09 北京创毅视讯科技有限公司 A multi-media broadcast data transmission method, device and system
CN101155181A (en) * 2006-09-25 2008-04-02 华为技术有限公司 Data flow multiplexing method, device and system
CN101309269A (en) * 2008-06-17 2008-11-19 北京锐安科技有限公司 Method and system for silent hiding network transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464755A (en) * 2002-06-28 2003-12-31 华为技术有限公司 Communication method between base station of radio communication system
EP1503546A2 (en) * 2003-07-29 2005-02-02 Matsushita Electric Industrial Co., Ltd. Data transmission method, data transmission system, and data transmission apparatus
CN101155181A (en) * 2006-09-25 2008-04-02 华为技术有限公司 Data flow multiplexing method, device and system
CN101102506A (en) * 2007-08-01 2008-01-09 北京创毅视讯科技有限公司 A multi-media broadcast data transmission method, device and system
CN101309269A (en) * 2008-06-17 2008-11-19 北京锐安科技有限公司 Method and system for silent hiding network transmission

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗改龙等: "基于端口复用技术的木马研究", 《计算机工程》, vol. 33, no. 15, 31 August 2007 (2007-08-31) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017092394A1 (en) * 2015-12-03 2017-06-08 中兴通讯股份有限公司 Data transmission method and apparatus
CN106844251A (en) * 2015-12-03 2017-06-13 中兴通讯股份有限公司 Data transmission method and device
CN106844251B (en) * 2015-12-03 2022-03-22 中兴通讯股份有限公司 Data transmission method and device
CN108417181A (en) * 2018-01-19 2018-08-17 昆山国显光电有限公司 The interface of driving circuit defines method and apparatus
CN108417181B (en) * 2018-01-19 2021-05-25 昆山国显光电有限公司 Interface definition method and device of driving circuit

Similar Documents

Publication Publication Date Title
KR101536141B1 (en) Apparatus and method for converting signal between ethernet and can in a vehicle
US20180102978A1 (en) Data transmission method and apparatus in optoelectronic hybrid network
CN111050361B (en) Message transmission method, device and system
JP6076480B2 (en) Service processing method and apparatus
CN104935641B (en) A kind of method and apparatus for accelerating file transmission
CN112769794B (en) Data conversion method and device
WO2018171641A1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN102012796B (en) Spliced wall control command transmission method and device
TWI672961B (en) Data processing method, device, device and computer readable storage medium
CN109417533A (en) Send the method and forwarding device of data
CN109688606B (en) Data processing method and device, computer equipment and storage medium
CN104067581A (en) Multiple gateway device, multiple line communication system, multiple line communication method and program
US20160080842A1 (en) Data transmission method, apparatus, and system
US20180146077A1 (en) Method and apparatus for determining processing mode for data packet
CN113609059B (en) Communication system and communication method
CN109688071B (en) Flexible Ethernet message forwarding method and device
CN103269319A (en) Method, device and system for data transmission
CN111913817A (en) Data transmission method, system and equipment and computer readable storage medium
CN103138894A (en) Method and nodes and data network of data transmission
CN103297474A (en) Batching processing sub-packet method and batching processing sub-packet system
CN109600837B (en) System information generation method and device
CN109768905A (en) A kind of method, system, equipment and the storage medium of PPPoE message transmissions
CN104303590A (en) Method and device for across-system interoperation
CN109495371A (en) Network connectivity devices towards DTN/IP protocol stack
JP2015509684A (en) Layer 2 adapter selection system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130828