A kind of TV sends the method and system of information to mobile terminal
Technical field
The present invention relates to TV and mobile phone application, be specifically related to a kind of TV sends method and system from information to mobile terminal.
Background technology
TV is that a kind of audient is extensive, has the broadcast medium of extreme influence power.In recent years, along with technical development, occur as various ways such as building advertisement TV, public transport vehicle-mounted TV, mobile TV, IPTV, digital cable TVs.The development of simultaneous TV form, TV programme has occurred that TV shopping, building advertisement etc. utilize TV media to realize the programme content of commercial product recommending and sale, enriches and has expanded the purposes of original TV media.
Promote with advertising and the content be the theme of doing shopping along with this kind of, the interaction between television content and audient becomes a kind of necessary business demand.Current building television advertisement and television shopping channels are all based on brand promotion, with the interaction of audient mainly audient dial phone of doing shopping and complete understanding to commodity and purchase, mutual convenience, real-time are not good, poor user experience.TV audience rating is the important indicator affecting channel value in addition, and at present the statistics of audience ratings is used to the mode of phone random access, sample space is not enough, the poor accuracy of audience rating data.
Universal along with intelligent mobile terminal equipment, is realized with the information interaction of TV as improving original TV and the interactive deficiency of audient provides possibility by the mobile terminal of audient.The interaction that current domestic building television advertisement business have also been made some building advertisements and user is attempted, and the Q mode card of such as Focus Media, by the binding of Q card and user mobile phone, realizes the interaction between building advertisement and audient.But this pattern convenience is poor, and Consumer's Experience is not good, and building advertisement TV needs device upgrade, and implementation cost is high.
It is the basis realizing TV and audient's interaction that TV sends specific information to mobile terminal, and current technical applications does not have a set of perfect implementation method easily.
Summary of the invention
For the defect of above technology, the object of the invention is to propose a kind of TV that conveniently realizes and send the method for information and the system of specific implementation the method to mobile terminal.By method disclosed by the invention, the information that audient's mobile terminal device reception TV sends just can be realized on the basis of original television equipment not being done to any hardware modification, and complete the information interaction of audient and television content, expand the business range of existing TV.
The technical scheme that technical solution problem of the present invention is taked:
The core concept that the TV that the present invention realizes sends information approach to mobile terminal is, the information that TV sends to mobile terminal is generated a kind of audio coding through information of acoustic wave generation module, this audio coding is embedded in original television content, after televising, utilize sound that this information is sent to the mobile terminal of audient, this voice signal of the microphones of the mobile terminal of audient, receives software back by the information of acoustic wave in mobile terminal and goes out the information of transmission and transfer to Service Processing Module to complete follow-up business.Thus realize the information interaction of television content and audient.
The TV that the present invention realizes and the system that information of mobile terminal sends specifically comprise information of acoustic wave generation module, TV, the information of acoustic wave receiver module of mobile terminal and Service Processing Module.
Described information of acoustic wave generation module is made up of information coding module, information of acoustic wave modulation module, audio frequency synthesis module, audio frequency and video synthesis module four part.
The output of information coding module is connected with the input of information of acoustic wave modulation module, and the output of information of acoustic wave modulation module is connected with the input of audio frequency synthesis module, and the output of audio frequency synthesis module is connected with the input of audio frequency and video synthesis module.
Described information coding module can comprise character code modular converter and data packet coding module further.The output of character code modular converter is connected with the input of data packet coding module, and the output of data packet coding module is connected with the input of information of acoustic wave modulation module as the output of information coding module.
The function of information of acoustic wave generation module can be realized on computers by software, also can be that special hardware independently realizes.
Through the audio-video document that information of acoustic wave generation module generates, can be kept in storage card, also can pass through network, cable TV and wireless television system and send.
The feature of described TV is, first there is loud speaker, second has the video file playing function reading and preserve in local storage card, or has the function of playing network streaming media, or plays the TV of the audio/video program function transmitted by wired, wireless broadcast system.Concrete form can be but be not limited to building advertisement TV, IPTV, digital cable TV, satellite television, bus mobile TV etc.
Described mobile terminal can be, but not limited to be that mobile phone, panel computer etc. have portable feature, has the end product of microphone and sound-recording function.
The information of acoustic wave receiver module of mobile terminal is specifically made up of audio collection module, demodulation module, decoder module three part.The output of audio collection module is connected with the input end signal of demodulation module, and the output of demodulation module is connected with the input end signal of decoder module.
Audio collection module can comprise microphone and analog to digital converter (ADC) two parts further, and the output of microphone is connected with the input end signal of ADC, and the output of ADC is connected with the input of demodulation module as the output of audio collection module.
In described information of acoustic wave receiver module, except audio collection module needs mobile terminal hardware supports, other parts are by software simulating.
Described Service Processing Module can be placed on far-end server, and mobile terminal does exchanges data by the database in network and far-end server, also can be that software form is arranged on mobile terminal this locality.
The audio-video document of the embedded information of acoustic wave that information of acoustic wave generation module generates, transfer to televise, the information of acoustic wave receiver module that the audio-frequency information that the loud speaker of TV sends is moved terminal receives reduction, be sent to Service Processing Module process, complete the function of TV to the transmission information of mobile terminal.
The concrete steps of the inventive method are:
Step 1-1. does information coding to the information needing to embed on television.
The character conversion of information, first in character code modular converter, is binary code word by step 1-1-1..
The binary code word of step 1-1-2. to information character does CRC check, after CRC check position is inserted into raw information.Because the transmission and reception condition of TV is poor, sound wave multipath effect is obvious, and the error rate is higher.Consider that an advertisement video length of a film is 15 seconds or 30 seconds in addition, not strict to the requirement of real-time received, so after CRC check, convolution coding is done to the data after raw information and CRC check position merge, utilize the error correcting capability of convolution code like this, improve the receives information effect of mobile terminal.Packet after convolutional encoding inserts one group of lead code for symbol synchronization again, completes packet package.This step realizes in data packet coding module.
The binary data of step 1-2. after coding is fed to information of acoustic wave modulation module, information generated PCM(pulse code modulation) Wave data file.Consider the reception environment of TV and the feature of acoustic communication, have two kinds of modulation systems:
Modulation system one, Gaussian Frequency Shift Keying modulation (GFSK).Coded data is first through gauss low frequency filter, and the output of Gaussian filter is sent to FSK modulation module.The corresponding carrier frequency f1 of code element 1, the corresponding carrier frequency f2 of code element 0.The feature of its GFSK is, in order to not affect effect of televising, f1 and f2 carrier frequency is all greater than 18KHz, meets simultaneously | f1 – f2 | and > 50Hz.
Modulation system two, binary system amplitude-shift keying modulation (2ASK), in order to not affect effect of televising, the following condition of demand fulfillment: (1) carrier frequency is greater than 18KHz; (2) amplitude gradual transition is done between bit1 and bit0.
Above two kinds of modulation systems, according to system requirements, can only select one, the demodulation module in the information of acoustic wave receiver module of corresponding mobile terminal, need to match with modulation system.If namely use GFSK to do modulates information in information of acoustic wave generation module, the information of acoustic wave receiver module of so corresponding mobile terminal will use FSK demodulation.In like manner, if use 2ASK to do modulates information in information of acoustic wave generation module, then the information of acoustic wave receiver module of mobile terminal will use ASK to do demodulation.
The PCM file that step 1-3. information of acoustic wave modulation module exports is fed to audio frequency synthesis module, and the audio frequency of original TV programme does and synthesizes, and merges and saves as new audio file.
The audio file that step 1-4. audio frequency synthesis module obtains is fed to audio frequency and video synthesis module, merges with video data, generates the brand-new TV programme including audio information specific.
The program that what step 1-5. was newly-generated comprise audio information specific can be kept at by television broadcasting in storage card, also can televised by network or wired, wireless broadcast system.
The sound that step 1-6. tv speaker sends is moved terminal audio frequency acquisition module and receives, and is specially microphone and gathers sound and be converted to analog level signal, be converted to audio digital signals through analog-digital converter (ADC).
The above-mentioned audio digital signals of step 1-7. is sent to demodulation module and does demodulation.Corresponding different modulation systems, demodulation method also has two kinds.
Demodulation method one, the signal of corresponding GFSK modulation, does FSK non-coherent demodulation.Implementation is that the digital signal that ADC exports does filtering respectively through two band pass filters that centre frequency is f1 and f2, and the low pass filter that outputs to of band pass filter does envelope restoration, and two envelope results do sampling judgement, obtain FSK demodulation result.The method for sending information of GFSK modulation and demodulation is utilized to please refer to embodiment 1.
Demodulation method two, the signal of corresponding 2ASK modulation, does ASK non-coherent demodulation.Implementation is that the digital signal that DAC exports is sent to the band pass filter that a centre frequency is ASK modulated carriers, be sent to a low pass filter after the data of band pass filter do wave rectification and do envelope detected, the demodulation result that sampling judgement obtains 2ASK is done in the output of low pass filter.The method for sending information of 2ASK modulation and demodulation is utilized to please refer to embodiment 2.
Step 1-8. decodes to demodulation result, after removing lead code, does viterbi decoder and does folding coding, and decode results is by its correctness of CRC check.If CRC check correctly just retains these data, if CRC check mistake, abandon this group data, wait next group data to be decoded.
Step 1-9. has decoded data according to the regular information converting correspondence to of code word, namely restores the information embedded by TV, is sent in Service Processing Module.
Step 1-10. Service Processing Module is according to service feature, and information mobile terminal being received to reduction does corresponding process.So far, the function that TV sends information to mobile terminal completes.
TV disclosed in this invention sends the method for information to mobile terminal, at software simulating used for mobile terminal, in program source, only does simple information processing to broadcast items content, utilizes existing televising, without the need to hardware modification and device upgrade.Realize with low cost, be convenient to practice.Huge commercial value and social value can be createed.
Accompanying drawing explanation
Fig. 1 is TV and information of mobile terminal transmitting system schematic diagram;
Fig. 2 is information of acoustic wave generation module schematic diagram;
Fig. 3 is that mobile terminal information of acoustic wave receives schematic diagram.
Specific implementation
In order to make technical scheme of the present invention and advantage clearer, by reference to the accompanying drawings and specific embodiment, the present invention is described further:
Embodiment 1, dining room advertisement first play by building advertisement TV, uses GFSK modulation and demodulation method, realizes sending this dining room coupon from building advertisement TV to mobile phone.
Concrete performing step is as follows:
The coupon content that step 1-1. sends is FC123456789.In character code modular converter, ASCII coded format is utilized to be converted to binary data the character of coupon.
Step 1-2. does the verification of CRC-8 to above-mentioned binary data, is inserted into after original binary data by CRC check position, as shown in table 1:
Coding after table 1:CRC verification
Step 1-3. does convolutional encoding to above-mentioned data, inserts lead code and complete packet after coding.As shown in table 2:
Table 2: the packet after convolutional encoding
Step 1-4., in information of acoustic wave modulation module, generates PCM sampling point file with GFSK.The carrier frequency that the sample frequency used is 44100Hz, bit 0 is the carrier frequency of 18000Hz, bit1 is 19000Hz.Each bit cycle is at 4ms.Transmit a complete data packet time within 1 second, in order to ensure that audient can receive coupon information in different advertisement section, within 15 seconds, mating with primary advertising length of a film simultaneously, repeating to do 15 pcm encoders to this packet.
The audio frequency of the pcm encoder of information of acoustic wave and primary advertising sheet, in audio frequency synthesis module, does and merges by step 1-5..Merging mode can be utilize left and right acoustic channels to distinguish original audio and information of acoustic wave pcm audio, or directly does PCM superposition.Audio file after merging can save as PCM form, WAV form or compressed format, such as MP3 format, but it should be noted that compressed format will retain the spectrum component of more than 18K.
Audio file after step 1-6. synthesis, in audio frequency and video synthesis module, does with primary advertising video and merges, and notes audio-visual synchronization adjustment, to guarantee not affect result of broadcast.Audio-video document after merging can save as the forms such as MPEG2 form or AVI as required.
Audio-video document after the above-mentioned merging of step 1-7. can be kept in storage card, plays in existing building advertisement TV.Also can pass through network, play in network advertising machine.
Step 1-8. audient is provided with the mobile phone comprising information of acoustic wave receiver module software, collect building advertisement televise this dining room advertisement voice signal after, gathered by audio collection module and be converted to audio digital signals.
The above-mentioned audio digital signals of step 1-9. is sent to demodulation module, obtains code element information by FSK non-coherent demodulation.Concrete steps are: it is do filtering in two band pass filters of 18000Hz and 19000Hz that audio digital signals is sent to centre frequency respectively, and the passband width of band pass filter is 100Hz.The output of two band pass filters is sent to respective low pass filter respectively, and the cut-off frequency of low pass filter is 300Hz.Sampling judgement is done in the output of two low pass filters, obtains code element information.
The code element information that step 1-10. demodulation obtains is through symbol synchronization, remove lead code, be sent to viterbi decoder and do folding coding, the result obtained does CRC-8 verification, if verification is passed through, the raw information of FC123456789 just can be converted to according to the rule of ASCII.If CRC check is not passed through, wait for the decode results of next group code unit.
Step 1-11. information FC123456789 is sent to Service Processing Module, according to service feature, audient's user mobile phone shows the coupon in this dining room.So far, be sent completely by the information of building advertisement TV and mobile phone.
Embed TV station's coding, time and keyed advertising number in the head advertisement of certain cable TV station of embodiment 2., by user's panel computer this information is sent on far-end server and does audience rating statistical and prize drawing voucher.Modulation system uses 2ASK.Specific implementation step is as follows:
The data structure of step 2-1. comformed information position is as shown in table 3, and wherein time encoding dynamically generates according to reproduction time:
Table 3: information bit data structure
Step 2-2., in information coding module, does CRC-16 verification to this coding, completes the data after verification as shown in table 4:
Data structure after table 4:CRC verification
The data of step 2-3. his-and-hers watches 4 do convolutional encoding, insert lead code after convolutional encoding, complete data packet coding.
Step 2-4. is in information of acoustic wave modulation module, and do 2ASK coding to packet, sample frequency is 44100Hz, and carrier frequency is that 19000Hz, bit 1 has been expressed as carrier signal, and bit 0 is defined as does not have carrier signal.In order to prevent data jump from producing plosive, need when data jump to do amplitude gradual transition.In order to ensure the reception of mobile terminal, complete data packet can be done and repeatedly repeat, and controls total PCM document time length and mates with advertisement length of a film.The pcm encoder file of information is obtained after having modulated.
The pcm encoder of information does with original advertisement audio frequency and merges by step 2-5. in audio frequency synthesis module, generates the pcm encoder after merging.
Pcm encoder after merging and the video of former advertisement do and merge by step 2-6., and boil down to MPEG2 video data, transfer to broadcast system to send.Owing to including dynamic temporal information in packet, so step 2-2 to 2-6 completes information of acoustic wave systematic function by a special equipment.
The family wired TV set-top box of step 2-7. is done decoding to above-mentioned advertisement and is play, by advertisement video picture and the sound of televising.
The sound of televising is converted to audio digital signals by the audio collection module of the panel computer of step 2-8. audient, and is sent to demodulation module.
Step 2-9. demodulation module, according to the modulating rule of 2ASK, does demodulation, and concrete steps are that audio digital signals does digital filtering through the band pass filter that a centre frequency is 19000Hz.The data of band pass filter do the rectification of numeric field, take absolute value after removing DC component, are then sent to a low pass filter and do envelope restoration.Finally adjudicated by sampling decision device, obtain complete symbol data.
Step 2-10. is in decoder module, symbol synchronization is done according to lead code, Viterbi decoding is done to the packet removing lead code, decode results verifies through CRC-16, if verification is not passed through, just abandon this packet, until receive the correct bag of CRC check, preserve complete information code word and by network (WIFI or 3G network) this information is sent in far-end server Service Processing Module.
The Service Processing Module of step 2-11. far-end server is according to the information bit data structure of table 3, and associated user information, channel information, temporal information and keyed advertising, complete audience rating statistical.So far, TV completes to customer mobile terminal transmission information.
The above is only the preferred embodiment of the present invention, it should be pointed out that the those skilled in the art for the art, and the present invention can also have various modifications and variations.Under the premise without departing from the principles of the invention, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
The present invention is skillfully constructed, and when not doing HardwareUpgring to existing TV, by embedding specific sonic data coding in program source, the information completed between TV programme and mobile terminal device sends.The present invention can be widely applied to building television advertisement, TV shopping, TV audience rating statistics, TV user ballot participation link etc., greatly can improve the problem of TV and audient's interactive user experience difference.