A kind of data transmission method, device and data receive method and device
Technical field
The present invention relates to the mobile communication technology field, relate in particular to a kind of data transmission method, device and data receive method and device.
Background technology
In recent years, digital mobile multimedia broadcasting technology and standard evolution are rapid, for example, DVB-H (the Digital Video Broadcast Handheld in Europe, the digital video broadcast-handheld formula receives), the MediaFLO of the U.S. (Media Forward Link Only, the single forward link of medium) and China CMMB (China Mobile Multimedia Broadcasting, Mobile Multimedia Broadcasting) etc., various standards provide multiple service content for the terminal use, as: advertisement, weather forecast, news, sports cast, variety, programs such as multimedia broadcasting play and film, the user can select the service program of Mobile Multimedia Broadcasting according to the hobby of oneself.
China mobile multi-media broadcasting technology adopts time division multiplexing mode to send multi-media broadcasting service, and the duration of its broadcast channel frame is 1 second, is made up of 40 25 milliseconds time slot, and one or more time slots can transmit the data of a multiplexed frame encapsulation.As shown in Figure 1, in the multiplexed frame structure of Mobile Multimedia Broadcasting, multiplexed frame is divided into multiplex frame head, multiplexed frame payload and fills three parts.The mode that China mobile multi-media broadcasting technology adopts control information to separate with business datum sends, and as shown in Figure 2, when time slot during as control channel, corresponding multiplexed frame (MF_ID=0) encapsulates control information; As described in Figure 3, when time slot during as data channel, corresponding multiplexed frame (multiplexed frame MF_ID ≠ 0) encapsulation business datum, the service integration frame is divided into a plurality of multiplexed sub frames again, each subframe encapsulate video section, audio section and data segment.Business of each multiplexed sub frame carrying, and the data segment in the multiplexed sub frame is used for the encapsulation of packet.
Data service in the Mobile Multimedia Broadcasting (stock information and info web etc. are provided) is based on the data transmission technology realization.Data transmission technology mainly is divided into stream mode and file mode, stream mode is meant that business datum transmits in the mode of Continuous Flow, the sequential requirement is arranged usually, transmit free label indication or data flow inside synchronous requirement is arranged, but require lower to the data integrality, for example, stock information, audio stream and video flowing etc.; File mode is meant that business datum transmits in the mode of discrete data file, does not have the sequential requirement usually, transmit no time tag or synchronous requirement, but to the requirement of data integrality than higher, for example, picture, webpage and plug-in unit etc.The packet of data service generally is encapsulated in the data segment of multiplexed frame.
In multimedia broadcasting, the data of different business are separate, and promptly a multiplexed sub frame only transmits a business, and each business takies certain time sequence, transmits data in its shared sequential.And if certain professional data volume is less or can not pass data the time, the less data of even not carrying of the data that the data segment of the corresponding multiplexed sub frame of this business carries, this has just caused waste of radio resources.In addition, the transfer of data of data broadcast service, the length of the data segment that each is professional is fixed, and for the transmission of the especially big file of file, speed is slow, and information updating is untimely.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of data transmission method, device and data receive method and device, the problem of the waste of radio resources that business of a multiplexed sub frame transmission of solution employing causes, realization makes full use of Radio Resource, improves data transmission bauds.
For solving the problems of the technologies described above, a kind of data transmission method of the present invention comprises:
Multiplexer after receiving the packet of data service, encapsulated data packet in the multiplexed sub frame of this data service correspondence, and search multiplexed sub frame, the packet of encapsulation of data business in the idle data section of the multiplexed sub frame that finds with idle data section; And
The multiplexed sub frame that is the packet of encapsulation of data business in multiplexing allocation list inserts or expansion " professional index value " field, and the field value of " professional index value " field is set to identical; Multiplexed sub frame is encapsulated into multiplexed frame;
Modulator is modulated to multiplexed frame on the electromagnetic wave of physical channel, is transmitted in the air by transmitter.
Further, receiving equipment receives electromagnetic wave, and the electromagnetic wave that receives is sent to tuner, and tuner is tuned as multiplexed frame with electromagnetic wave, and multiplexed frame is sent to demultiplexing module;
Demultiplexing module is resolved the control multiplexed frame, obtains multiplexing allocation list;
User-selected number is during according to business, data processing module is searched the identical multiplexed sub frame of field value with " professional index value " field of the corresponding multiplexed sub frame of user-selected data service, multiplexed sub frame according to the user-selected data service of carrying, obtain the traffic ID of user-selected data service, condition of acceptance is set;
Demultiplexing module is resolved the service integration frame, obtains data cell, the data cell decapsulation is obtained packet, and send to data processing module;
Data processing module is handled the packet that receives, and obtains the data of user-selected data service, and sends to application module;
Application module is given the user with the data display of user-selected data service.
Further, the reserved field under multiplexer is described the multiplexed sub frame under the multiplexed frame parameter under the multiplexing allocation list expands to " professional index value " field.
Further, a kind of data transmission device comprises: multiplexer, modulator and transmitter, wherein:
Multiplexer, be used for after receiving the packet of data service, encapsulated data packet in the multiplexed sub frame of this data service correspondence, and search multiplexed sub frame, the packet of encapsulation of data business in the idle data section of the multiplexed sub frame that finds with idle data section; And the multiplexed sub frame that is the packet of encapsulation of data business in multiplexing allocation list inserts or expansion " professional index value " field, and the field value of " professional index value " field is set to identical; Multiplexed sub frame is encapsulated into multiplexed frame;
Modulator is used for multiplexed frame is modulated to the electromagnetic wave of physical channel, is transmitted in the air by transmitter.
Further, this device also comprises: receiving equipment, tuner, demultiplexing module, data processing module and application module, wherein:
Receiving equipment is used to receive electromagnetic wave, and the electromagnetic wave that receives is sent to tuner;
Tuner is used for electromagnetic wave is tuned as multiplexed frame, and the tuning multiplexed frame that obtains is sent to demultiplexing module;
Demultiplexing module is used for resolving the control multiplexed frame, obtains multiplexing allocation list; Resolve the service integration frame, obtain data cell, the data cell decapsulation is obtained packet, and send to data processing module;
Data processing module, be used at user-selected number during according to business, search the identical multiplexed sub frame of field value with " professional index value " field of the corresponding multiplexed sub frame of user-selected data service, multiplexed sub frame according to the user-selected data service of carrying, obtain the traffic ID of user-selected data service, condition of acceptance is set; And the packet that receives handled, obtain the data of user-selected data service, and send to application module;
Application module is used for giving the user with the data display of user-selected data service.
Further, the reserved field under multiplexer is described the multiplexed sub frame under the multiplexed frame parameter under the multiplexing allocation list expands to " professional index value " field.
Further, a kind of data receive method comprises:
Receiving equipment receives electromagnetic wave, and the electromagnetic wave that receives is sent to tuner, and tuner is tuned as multiplexed frame with electromagnetic wave, and multiplexed frame is sent to demultiplexing module;
Demultiplexing module is resolved the control multiplexed frame, obtains multiplexing allocation list;
Data processing module is at user-selected number during according to business, demultiplexing module is searched the identical multiplexed sub frame of field value with " professional index value " field of the corresponding multiplexed sub frame of user-selected data service, multiplexed sub frame according to the user-selected data service of carrying, obtain the traffic ID of user-selected data service, condition of acceptance is set;
Demultiplexing module is resolved the service integration frame, obtains data cell, the data cell decapsulation is obtained packet, and send to data processing module;
Data processing module is handled the packet that receives, and obtains the data of user-selected data service, and sends to application module;
Application module is given the user with the data display of user-selected data service.
Further, during the multiplexed sub frame under the multiplexed frame parameter of " professional index value " field extension under multiplexing allocation list is described.
Further, a kind of data sink comprises: receiving equipment, tuner, demultiplexing module and application module, wherein:
Receiving equipment is used to receive electromagnetic wave, and the electromagnetic wave that receives is sent to tuner;
Tuner is used for electromagnetic wave is tuned as multiplexed frame, and the tuning multiplexed frame that obtains is sent to demultiplexing module;
Demultiplexing module is used for resolving the control multiplexed frame, obtains multiplexing allocation list; Resolve the service integration frame, obtain data cell, the data cell decapsulation is obtained packet, and send to data processing module;
Data processing module, be used at user-selected number during according to business, search the identical multiplexed sub frame of field value with " professional index value " field of the corresponding multiplexed sub frame of user-selected data service, multiplexed sub frame according to the user-selected data service of carrying, obtain the traffic ID of user-selected data service, condition of acceptance is set; And the packet that receives handled, obtain the data of user-selected data service, and send to application module;
Application module is used for giving the user with the data display of user-selected data service.
Further, during the multiplexed sub frame under the multiplexed frame parameter of " professional index value " field extension under multiplexing allocation list is described.
In sum, in mobile many matchmakers broadcast system, utilize the data of the bigger business of the data segment transmission data volume of multiplexed sub frame free time, improved the utilance and the file downloading speed of radio channel resource, guarantee the promptness of Data Update, improved the quality of information service on the whole.
Description of drawings
Fig. 1 is the structure chart of mobile multimedia broadcasting multiplex frame in the prior art;
Fig. 2 is the structure chart of the multiplexed frame payload of mobile multimedia broadcasting multiplex frame 0 in the prior art;
Fig. 3 encapsulates the structure chart of the multiplexed frame payload of professional data multiplexing frame for Mobile Multimedia Broadcasting in the prior art;
Fig. 4 is the flow chart of the handling process of data transmission method of the present invention in front end system;
Fig. 5 is the flow chart of the data of data service server encapsulation of data business;
Fig. 6 is the schematic diagram of the multiplexing allocation list of expansion " professional index value " field among the present invention;
Fig. 7 is the Organization Chart of the front end system of data transmission device of the present invention;
Fig. 8 is the flow chart of data receive method of the present invention;
Fig. 9 is the Organization Chart of data sink of the present invention.
Embodiment
The present invention is to having the data service of larger data amount, adopts the data of the data segment transmission business of other multiplexed sub frame free time outside the multiplexed sub frame of this data service correspondence, realizes making full use of and improve data transmission bauds Radio Resource.
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described.
Fig. 4 is the handling process of data transmission method of the present invention in front end system, comprising:
401: broadcast data server is divided into blocks of files with the data of the file mode of a data service, blocks of files is divided into the file sheet, the file sheet is encapsulated as packet, or is packet, and packaged packet is sent to multiplexer the data encapsulation of stream mode;
Fig. 5 is the flow process of the data processing in the broadcast data server, and data service server is divided into blocks of files with the data of file mode, blocks of files is divided into the file sheet again, then the file sheet is packaged into packet; The data of stream mode directly are encapsulated as packet.Packet can be XPE (ExtensibleProtocol Encapsulation, the Extended Protocol encapsulation) bag also can be XPE-FEC (encapsulation-forward error correction of an ExtensibleProtocol Encapsulation-Forward Error Correction Extended Protocol) bag.
402: multiplexer installs to data envelope in the multiplexed sub frame of this data service correspondence, and searches the multiplexed sub frame with idle data section, encapsulated data packet in the data segment of free time;
403: multiplexer is that the multiplexed sub frame of the packet of the above-mentioned data service of encapsulation inserts or expansion " professional index value " field in multiplexing allocation list, and the field value of " professional index value " field of multiplexed sub frame is set to identically, and multiplexed sub frame is encapsulated into multiplexed frame;
Reserved field under multiplexer is described the multiplexed sub frame under the multiplexed frame parameter under the multiplexing allocation list expands to " professional index value " field.
End side can be known the multiplexed sub frame of the packet that carries same business by " professional index value " field, and then knows the service identification (ID) of multiplexed sub frame, realizes the reception of data.
Figure 6 shows that the schematic diagram that the reserved field of multiplexing allocation list is expanded to " professional index value " field, multiplexing allocation list is encapsulated in the control multiplexed frame, the reserved field of 4 bits in the multiplexing allocation list is expanded to " professional index value " field, can represent 16 kinds of types of service at most, as, can adopt the stock business in " 0 " expression data broadcast service, adopt " 1 " expression ESG etc.
404: modulator is modulated to encapsulated integration frame on the electromagnetic wave of physical channel, and by transmitter this electromagnetic wave is transmitted in the air.
Fig. 7 is for realizing front end system device of the present invention.Mainly comprise broadcast data server, multiplexer, modulator and transmitter, wherein:
Broadcast data server, be used for the data of the file mode of a data service are divided into blocks of files, blocks of files is divided into the file sheet, the file sheet is encapsulated as packet, or be packet, and packaged packet is sent to multiplexer with the data encapsulation of stream mode;
Multiplexer is used for data envelope is installed to the multiplexed sub frame of this data service correspondence, and searches the multiplexed sub frame with idle data section, encapsulated data packet in the data segment of free time; Multiplexed sub frame for the packet of the above-mentioned data service of encapsulation in multiplexing allocation list inserts or expansion " professional index value " field, and the field value of " professional index value " field of multiplexed sub frame is set to identically, and multiplexed sub frame is encapsulated into multiplexed frame; Reserved field under multiplexer is described the multiplexed sub frame under the multiplexed frame parameter under the multiplexing allocation list expands to " professional index value " field.
Modulator is used for the electromagnetic wave that encapsulated integration frame is modulated to physical channel, and by transmitter this electromagnetic wave is transmitted in the air.
Fig. 8 is the handling process of data transmission method of the present invention in end side, comprising:
801: receiving equipment sends to tuner with the electromagnetic wave signal that receives, and tuner is tuned as multiplexed frame with electromagnetic wave, and multiplexed frame is sent to demultiplexing module;
802: demultiplexing module is resolved the multiplexed frame of MF_ID==0, obtains multiplexing allocation list;
803: when the user selects certain type data service, data processing module is searched the multiplexed sub frame of this data service, value according to " professional index value " field in the multiplexing allocation list, search the identical multiplexed sub frame of field value with " professional index value " field of the multiplexed sub frame of user-selected data service, the multiplexed sub frame that finds is the multiplexed sub frame of the same data service of carrying;
804: data processing module (comprising: the multiplexed sub frame of multiplexed sub frame that finds and user-selected data service correspondence) according to the multiplexed sub frame of this data service of carrying, from multiplexing allocation list, find the traffic ID of this data service, condition of acceptance is set according to traffic ID;
The traffic ID that multiplexed sub frame under the multiplexed frame parameter of data processing module under multiplexing allocation list is searched multiplexed sub frame describing.
When a plurality of multiplexed sub frames carried same data service, the traffic ID of this data service was a plurality of.
805: receiving equipment sends to tuner with the electromagnetic wave that receives, and tuner is tuned as multiplexed frame (MF_ID==0) with electromagnetic wave, and multiplexed frame is sent to demultiplexing module;
806: demultiplexing module is resolved the multiplexed frame that receives, and obtains data cell, the data cell decapsulation is obtained packet, and give data processing module, and data processing module is handled packet, if the data of stream mode, decapsulation obtains data; If the data of file mode, decapsulation obtains file sheet, blocks of files successively, is combined into the data of file mode at last, and the data of data service are sent to application module;
807: application module represents the data that receive, as stock information or Weather information etc.
Fig. 9 is a data sink of the present invention, comprising: receiving equipment (antenna), tuner, demultiplexing module, and data processing module and application module, wherein:
Receiving equipment, the electromagnetic wave signal that is used for receiving sends to tuner.
Tuner is used for electromagnetic wave is tuned as multiplexed frame, and multiplexed frame is sent to demultiplexing module.
Demultiplexing module is used to resolve the multiplexed frame of MF_ID==0, obtains multiplexing allocation list; Resolve the service integration frame, obtain data cell, the data cell decapsulation is obtained packet, and give data processing module.
Data processing module, be used for when the user selects certain type data service, search the multiplexed sub frame of this data service, value according to " professional index value " field in the multiplexing allocation list, search the identical multiplexed sub frame of field value with " professional index value " field of the multiplexed sub frame of user-selected data service, the multiplexed sub frame that finds is the multiplexed sub frame of the same data service of carrying; Multiplexed sub frame according to this data service of carrying (comprising: the multiplexed sub frame of multiplexed sub frame that finds and user-selected data service correspondence), find the traffic ID of this data service from multiplexing allocation list, according to traffic ID condition of acceptance is set; Simultaneously, packet is handled, if the data of stream mode, decapsulation obtains data; If the data of file mode, decapsulation obtains file sheet, blocks of files successively, is combined into the data of file mode at last, and the data of data service are sent to application module.
Application module is used to represent the data that receive, as stock information or Weather information etc.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those skilled in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.