Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The method of the invention is executed based on the scene under mobile vulnerable network environment, such as bus scene, in bus
Hardware device is installed, such as streaming media server executes the program code realized based on the method for the invention by the server.Please
It refering to fig. 1, is a kind of flow chart of stream media live broadcasting method based on mobile vulnerable network environment provided in an embodiment of the present invention,
It the described method comprises the following steps:
S100: ground digital television broadcast DTMB signal is received, generates TS transport stream after demodulation, wherein is each described
TS transport stream packets contain multiple live streaming subflows;
DTMB (DigitalTelevision Terrestrial Multimedia Broadcasting, digital multimedia
Broadcasting-Terrestrial national digital television broadcast standard), it is the standard that China is used for ground digital television broadcast covering.
Specifically, which is executed by the DTMB signal receiving module being built in server, and the DTMB signal is by each
The more signal transmitting towers on ground emit, and the more signal transmitting towers form single frequency network, and the DTMB signal receiving module passes through
Antenna receives DTMB signal.In specific embodiment, the DTMB signal is generated by following system module:
1, live video transmits stream processing unit and received live telecast signal is converted to various video stream, including
MPEG-2, H264, SD TS/IP stream, high definition TS/IP stream etc.;
2, the various video stream is carried out by volume trans-coding system compiling transcoding processing, generation meets mobile terminal video format
Video flowing, the usually video flowing of H264 format;
3, the video flowing that received multirouting compiles trans-coding system output is converted into combined-flow by multiplex system;
4, the composite flow, which crosses distributor and is sent to signal transmitting tower, is converted into DTMB signal, by putting for driver
Greatly, emitted by transmitter.
Emitted after the DTMB signal is modulated by launching tower, it is corresponding, it is first corresponded to after receiving DTMB signal
Demodulation operation, radiofrequency signal is converted into accessible baseband signal, i.e., DTMB signal is converted into TS transport stream, specifically
Ground, the TS transport stream (Transport streams) are multi-program transmission stream, include multiple live streaming subflows, each live streaming
Stream is corresponding, and program stream, every road program stream are combined by corresponding audio stream, video flowing and caption information stream etc. all the way.At other
In embodiment, the live streaming subflow can also be the subflow of the different code rates of any program stream, as program 1 has high definition, mark respectively
Clearly, several clarity such as ultra high-definition, smoothness, then the program stream of the program 1 respectively corresponds different code rates, the program of different code rates
The corresponding different live streaming subflow of stream, is converted into TS transport stream after being multiplexed.
Since DTMB signal is generated by digital microwave technology, and corresponding exclusive microwave frequency band, each frequency point corresponds to several
Programs, reception device achieve that stable DTMB signal transmits by receiving the signal of corresponding frequency point.It therefore, it can be achieved that will
TV programme live signal is converted into the stable DTMB signal of transmission performance, is reduced to TS by receiving DTMB signal and demodulating
Transmission stream signal realizes that mobile terminal receives TV programme live signal.
S200: to the TS transmission flow demultiplexing, to generate the live streaming subflow of multiple synchronizations;
The TS transport stream is by one or more groups of program streams at each program stream is by corresponding audio stream, video flowing, word
Curtain information flow etc. is combined.Specifically, the TS transport stream is made of the TS packet of specific length, it is preferred that the specific length
Degree is 188 bytes.
The TS transmission flow demultiplexing refers to the subflow that different programme televised lives are separated from TS transport stream and/or same program
Different code rates subflow.Specifically, the TS transport stream demultiplexing the following steps are included:
1, TS data are received, are parsed with 188 for basic unit, after entirely receiving buffer area and being parsed, after continued access
Data are received, next circulation is started;
2, PID (identity code transmission packet Packet Identifier) is obtained, finds the TS packet of PID=0, that is, carry
The TS packet of pat table (Program Association Table Program Association Table);
3, pat table is analyzed, the PID for having the TS packet of carrying pmt table of several programs and every programs is found;
4, PID is obtained according to step 3, finding the carrying pmt tables of all programs, (program hints obliquely at table Program Map
Table TS packet), analysis PMT find the PID of audio-video TS packet;
5, audio-video TS packet is unpacked, obtains audio-video ES (Elementary streams primary flow), gives birth to again
At PES (primary flow that Packetized Elementary streams is packaged), in addition DTS (decoded time stamp) and PTS are (aobvious
Show timestamp) etc. timestamp informations facilitate for safeguarding the TS package counting facility with identical PID and generate TS packet;
6, pmt table is regenerated, the audio-video TS package informatin of oneself generation is described, maintenance carries the TS packet PID of pmt table;
7, pat table is regenerated, description the inside only has a programs, and the TS packet for the carrying pmt table that step 6 is generated
Pat table is written in PID, generates TS packet for safeguarding that the TS packet PID for carrying pat table facilitates.
After the TS transmission flow demultiplexing, the live streaming subflow of multiple synchronizations is generated, the live streaming subflow includes multiple and different
The subflow of multiple and different code rates of the subflow of program and/or a program.
S300: the multiple live streaming subflow is distributed to different terminals.
The terminal refers specifically to the equipment such as mobile terminal, including mobile phone, IPad, tablet computer.Live streaming subflow is passed through into view
Frequency microtomy generates a series of virtual video slices.Video segment is transmitted to terminal, is carried out by the application program of terminal installation
Rendering plays.In the present embodiment, the distribution of the multiple live streaming subflow is executed by a server cluster, including centromere
Point, fringe node, live streaming node etc., wherein each live streaming node is cut into a series of slices to local live streaming subflow is stored in
File, and an index file is generated, specific slice process is as follows:
(1) HLS video segmentation is generated;
(2) creation distribution file;
(3) index file is created;
(4) to video segmentation file encryption;
(5) the slice file of tile format M3U8/TS is generated.
Parsing is scanned to the live streaming subflow using HLS slice tool, is executed according to the slice time interval of configuration
The sectioning of HLS format generates HLS video segmentation, while generating distribution file and index file;Using slice key pair view
Frequency slice is encrypted, and the slice file cocurrent for ultimately generating tile format M3U8/TS is sent to the terminal and plays out.
The present invention is converted to video segment by the way that subflow will be broadcast live, and asks for slice of data on demand by terminal, increases terminal
Buffering, network fluctuation problem is alleviated to a certain extent, so that smoothness still may be implemented under mobile vulnerable network environment
Net cast.
The transmission of video segment described in the embodiment of the present invention supports two kinds of transport protocols of UDP and TCP in transport layer, specific real
It applies in example, since Transmission Control Protocol is sensitive to packet loss, is preferentially broadcast live data transmission using UDP, while supporting UDP and TCP
Switching at runtime, to realize more stable transmission of video.Further, the transmission of video segment supports P2P/HTTP in application layer
Agreement, RTMP agreement, P2P/RTMFP agreement, HLS protocol.Specifically, when the terminal is Windows PC system, application
Layer is supported to transmit video segment data using Flash P2P/HTP, Flash P2P/RTMFP or Fash/RTMP agreement;When described
When terminal is Mac and IOS terminal, application layer is supported to transmit video segment data using HLS protocol;When the terminal is
When Android terminal, support to transmit video segment data using P2P/RTMFP, P2P/HTTP, HLS.
Further, the embodiment of the present invention the method also includes:
Detect the end message and the network information of the terminal;Wherein, the end message includes terminal models, terminal point
Resolution, decoding process, the network information include network bandwidth.Wherein, the terminal can be determined by the terminal models
The information such as screen size, device memory, CPU frequency.According to the terminal resolution ratio and network bandwidth of the terminal, determination is distributed to
The video code rate of the live streaming subflow of the terminal determines live streaming for being distributed to the terminal according to the decoding process of the terminal
The coding mode of stream.Wherein, a live streaming subflow corresponds to a kind of video code rate.
It specifically, is the screen of adaptation various sizes and the hardware chip of various terminals, end of the distribution module according to terminal
The decoding process automatic adaptation different coding automatic adaptation different video rate of holding resolution ratio, network bandwidth and terminal to support and
The live streaming subflow (H.264 and H.265) of coding mode so that in the case where heterogeneous networks bandwidth, different terminals resolution ratio reconciliation
The code terminal automatic adaptation different video rate of mode and the live streaming subflow of coding mode.Further, according to the terminal of acquisition
After information determines matched code rate, cloud server is sent this information to, it is corresponding by cloud server record end message
Code rate, and front end system is notified to generate the program stream of the code rate, to be transmitted to user by DTMB signal.When there is new code rate to need
When asking, then the record information of synchronized update cloud server, and front end system is notified to generate the program stream of the new code rate.
When needing to increase the different code rates of program or same program, it is only necessary to increase a live streaming subflow, subflow is broadcast live
It is distributed in different live streaming nodes, can not only realize same direct broadcast band 1+1 backup, but also can realize that the same direct broadcast band includes more
The code stream of a different coding code rate, so as to be pushed according to information such as terminal resolution ratio, network bandwidth and decoding processes to terminal
The live streaming subflow of phase code rate.
In an alternative embodiment, the method also includes:
WLAN is set up using WIFI module, to establish the wireless connection with terminal by the WLAN.
Specifically, WLAN is set up by built-in WIFI module, when mobile terminal recognizes WIFI signal, request access should
WLAN.Optionally, by popping up WIFI connection authentication interface, the information such as the account number cipher of user's input, verifying are received
The relevant information of user, what is be proved to be successful then allows to establish wireless connection;Otherwise do not allow to establish connection.Further, to head
The user that secondary request accesses the WLAN provides register interface, receives the registration information of user, the registration information includes
The information such as user account, password, gender, phone number, date of birth.
Preferably, in an alternative embodiment, the method also includes:
Receive the hotspot connection request that the terminal is sent;
According to the hotspot connection request, the terminal is authenticated.
In the present embodiment, the account and password that the terminal of the hotspot is connected by checking request carry out the terminal
Authentication;If failed authentication, the terminal is prompted to be registered;If authenticating successfully, according to the authorized permission of the terminal, really
It is fixed whether to allow the terminal access direct broadcast band transport stream;For example, there is VIP member's program when the terminal is VIP member
Viewing permission and with viewing live streaming and program request permission;When the terminal is regular member, there is viewing program request
Permission.
In an alternative embodiment, the method also includes:
Current location information is positioned, to determine the information on services for pushing to terminal based on current location information.Specifically, it adopts
Current location is positioned with GPS module, determines the information for pushing to the terminal.The pushed information includes current location
Weather condition, shopping information, road section information etc..By taking bus scene as an example, the location information of current bus, Xiang Cheng are positioned
The current Weather information in the mobile phone push this area of visitor, passenger can check current weather condition, including temperature, humidity, rainfall
The information such as amount;Information, the passengers such as market shopping information, hotel, the restaurant near current location are pushed to passenger can be according to corresponding
Information selection goes nearby to consume;The traffic information of current location is pushed to passenger, passenger can pass through the traffic information of current road segment
Predict the time arrived at the destination, it is determined whether need replacing vehicles etc..
In an alternative embodiment, the method also includes following steps:
The DTMB signal is sampled, with according to the intensity value of the corresponding DTMB signal of different location, adjustment is used for
Receive the sensitivity of the antenna of DTMB signal.
Due to will affect the power of signal under mobile vulnerable network scene, it is therefore desirable to adjust as the case may be.For example,
When the intensity value of the DTMB signal of current location is lower, the antenna sensitivity of DTMB signal receiving module is improved, enhancing is realized
The intensity of DTMB signal, avoiding the occurrence of signal blind zone influences the information reception of terminal.
In an alternative embodiment, the method for the invention is further comprising the steps of:
Step1: the user information that terminal is sent is received;
LTE module is used to provide free Internet access service for user, when user applies for access internet, pop-up
Authentication interface is connected, the information of user's input is received.Wherein, the information include user account, password, gender, phone number,
The information such as date of birth.
The relevant information for verifying user, what is be proved to be successful then allows to establish wireless connection;Otherwise do not allow to establish connection.Into
One step, the user for accessing the WLAN to request for the first time provides register interface, receives the registration information of user, the note
Volume information includes the information such as user account, password, gender, phone number, date of birth.
Further, open visit permission direct for the user authenticated by aforementioned WIFI, allows to be directly switch into
Mobile data accesses internet.
Step2: the user information is transmitted to cloud server, with managing user information.
The information such as the user information of the acquisition, including user account, password, gender, phone number, date of birth.Into
One step further includes the facility information of user terminal, including device model, device resolution, MAC Address, decoding process, adaptation
The information such as live video code rate.The user information and facility information are transmitted to cloud server, and are user distribution one
It is a for being different from the mark titles of other users, such as user 1, one by one by the mark title and user information and facility information
Corresponding storage generates map listing, to facilitate management user data.When user information, facility information and the former record got
When list information is not identical, the corresponding information in list is updated.
In conclusion the present invention obtains the TS transport stream of live television programs by receiving DTMB signal, TS is demultiplexed
For the live streaming subflow of the different code rates of the live streaming subflow or same program of multiple programs, then live streaming subflow passed through into video segment skill
Art is sent to mobile terminal, realizes that mobile terminal can play glibly under the impacted vulnerable network environment of wireless communication
Video effectively increases the effect that user under mobile vulnerable network environment watches high definition video.
Referring to Fig. 2, it is that a kind of Streaming Media based on mobile vulnerable network environment that further embodiment of this invention provides is straight
The structural schematic diagram of broadcasting device.The live streaming media device is applied to the streaming media server on bus, including with lower die
Block:
DTMB signal receiving module 1 generates TS transmission for receiving ground digital television broadcast DTMB signal after demodulation
Stream, wherein each TS transport stream packets contain multiple live streaming subflows;
DTMB (DigitalTelevision Terrestrial Multimedia Broadcasting, digital multimedia
Broadcasting-Terrestrial national digital television broadcast standard), it is the standard that China is used for ground digital television broadcast covering.
Specifically, which is executed by built-in DTMB signal receiving module, and the DTMB signal is believed by more of various regions
The transmitting of number launching tower, the more signal transmitting towers form single frequency network, and the receiving module passes through antenna reception DTMB signal.Tool
In body embodiment, the DTMB signal is generated by following system module:
1, live video transmits stream processing unit and received live telecast signal is converted to various video stream, including
MPEG-2, H264, SD TS/IP stream, high definition TS/IP stream etc.;
2, the various video stream is carried out by volume trans-coding system compiling transcoding processing, generation meets mobile terminal video format
Video flowing, the usually video flowing of H264 format;
3, the video flowing that received multirouting compiles trans-coding system output is converted into combined-flow by multiplex system;
4, the composite flow, which crosses distributor and is sent to signal transmitting tower, is converted into DTMB signal, by putting for driver
Greatly, emitted by transmitter.
Launched after the DTMB signal is modulated by launching tower, it is corresponding, it is first carried out after receiving DTMB signal
Corresponding demodulation operation, is converted into accessible baseband signal for radiofrequency signal, i.e., DTMB signal is converted into TS transport stream.
Specifically, the TS transport stream (Transport streams) is multi-program transmission stream, includes multiple live streaming subflows, Mei Gezhi
Broadcasting subflow correspondence, program stream, every road program stream are combined by corresponding audio stream, video flowing and caption information stream etc. all the way.?
In other embodiments, the live streaming subflow can also be the subflow of the different code rates of any program stream, as program 1 has height respectively
Clearly, several clarity such as SD, ultra high-definition, smoothness, then the program stream of the program 1 respectively corresponds different code rates, different code rates
Program stream correspond to different live streaming subflows, TS transport stream is converted into after being multiplexed.
Since DTMB signal is generated by digital microwave technology, and corresponding exclusive microwave frequency band, each frequency point corresponds to several
Programs, reception device achieve that stable DTMB signal transmits by receiving the signal of corresponding frequency point.It therefore, it can be achieved that will
TV programme live signal is converted into the stable DTMB signal of transmission performance, is reduced to TS by receiving DTMB signal and demodulating
Transmission stream signal realizes that mobile terminal receives TV programme live signal.
Demultiplexing module 2 is used for the TS transmission flow demultiplexing, to generate the live streaming subflow of multiple synchronizations;
The TS transport stream is by one or more groups of program streams at each program stream is by corresponding audio stream, video flowing, word
Curtain information flow etc. is combined.Specifically, the TS transport stream is made of the TS packet of specific length, it is preferred that the specific length
Degree is 188 bytes.
The TS transmission flow demultiplexing refers to the subflow that different programme televised lives are separated from TS transport stream and/or same program
Different code rates subflow.Specifically, the TS transport stream demultiplexing the following steps are included:
1, TS data are received, are parsed with 188 for basic unit, after entirely receiving buffer area and being parsed, after continued access
Data are received, next circulation is started;
2, PID (identity code transmission packet Packet Identifier) is obtained, finds the TS packet of PID=0, that is, carry
The TS packet of pat table (Program Association Table Program Association Table);
3, pat table is analyzed, the PID for having the TS packet of carrying pmt table of several programs and every programs is found;
4, PID is obtained according to step 3, finding the carrying pmt tables of all programs, (program hints obliquely at table Program Map
Table TS packet), analysis PMT find the PID of audio-video TS packet;
5, audio-video TS packet is unpacked, obtains audio-video ES (Elementary streams primary flow), gives birth to again
At PES (primary flow that Packetized Elementary streams is packaged), in addition DTS (decoded time stamp) and PTS are (aobvious
Show timestamp) etc. timestamp informations facilitate for safeguarding the TS package counting facility with identical PID and generate TS packet;
6, pmt table is regenerated, the audio-video TS package informatin of oneself generation is described, maintenance carries the TS packet PID of pmt table;
7, pat table is regenerated, description the inside only has a programs, and the TS packet for the carrying pmt table that step 6 is generated
Pat table is written in PID, generates TS packet for safeguarding that the TS packet PID for carrying pat table facilitates.
After the TS transmission flow demultiplexing, the live streaming subflow of multiple synchronizations is generated, the live streaming subflow includes multiple and different
The subflow of multiple and different code rates of the subflow of program and/or a program.
Distribution module 3, for the multiple live streaming subflow to be distributed to different terminals.
The terminal refers specifically to the equipment such as mobile terminal, including mobile phone, IPad, tablet computer.Live streaming subflow is passed through into view
Frequency microtomy generates a series of virtual video slices.Video segment is transmitted to terminal, is carried out by the application program of terminal installation
Rendering plays.In the present embodiment, the distribution of the multiple live streaming subflow is executed by a server cluster, including centromere
Point, fringe node, live streaming node etc., wherein each live streaming node is cut into a series of slices to local live streaming subflow is stored in
File, and an index file is generated, specific slice process is as follows:
(1) HLS video segmentation is generated;
(2) creation distribution file;
(3) index file is created;
(4) to video segmentation file encryption;
(5) the slice file of tile format M3U8/TS is generated.
Parsing is scanned to the live streaming subflow using HLS slice tool, is executed according to the slice time interval of configuration
The sectioning of HLS format generates HLS video segmentation, while generating distribution file and index file;Using slice key pair view
Frequency slice is encrypted, and the slice file cocurrent for ultimately generating tile format M3U8/TS is sent to the terminal and plays out.
The present invention is converted to video segment by the way that subflow will be broadcast live, and asks for slice of data on demand by terminal, increases terminal
Buffering, network fluctuation problem is alleviated to a certain extent, so that smoothness still may be implemented under mobile vulnerable network environment
Net cast.
The transmission of video segment described in the embodiment of the present invention supports two kinds of transport protocols of UDP and TCP in transport layer, specific real
It applies in example, since Transmission Control Protocol is sensitive to packet loss, is preferentially broadcast live data transmission using UDP, while supporting UDP and TCP
Switching at runtime, to realize more stable transmission of video.Further, the transmission of video segment supports P2P/HTTP in application layer
Agreement, RTMP agreement, P2P/RTMFP agreement, HLS protocol.Specifically, when the terminal is Windows PC system, application
Layer is supported to transmit video segment data using Flash P2P/HTP, Flash P2P/RTMFP or Fash/RTMP agreement;When described
When terminal is Mac and IOS terminal, application layer is supported to transmit video segment data using HLS protocol;When the terminal is
When Android terminal, support to transmit video segment data using P2P/RTMFP, P2P/HTTP, HLS.
Further, described device of the embodiment of the present invention further include:
Detection module, for detecting the end message and the network information of the terminal;Wherein, the end message includes eventually
Model, terminal resolution ratio, decoding process are held, the network information includes network bandwidth.It wherein, can be with by the terminal models
Determine the information such as the screen size, device memory, CPU frequency of the terminal.Code rate determining module, for the end according to the terminal
Resolution ratio and network bandwidth are held, the video code rate for being distributed to the live streaming subflow of the terminal is determined, according to the decoding of the terminal
Mode determines the coding mode for being distributed to the live streaming subflow of the terminal.Wherein, a live streaming subflow corresponds to a kind of video code rate.
It specifically, is the hardware chip for the screen and various terminals for adapting to various sizes, the distribution module 3 is according to terminal
Terminal resolution ratio, the decoding process automatic adaptation different coding automatic adaptation different video speed supported of network bandwidth and terminal
The live streaming subflow (H.264 and H.265) of rate and coding mode so that in the case where heterogeneous networks bandwidth, different terminals resolution ratio
With the terminal automatic adaptation different video rate of decoding process and the live streaming subflow of coding mode.Further, according to acquisition
After end message determines matched code rate, cloud server is sent this information to, end message pair is recorded by cloud server
The code rate answered, and front end system is notified to generate the program stream of the code rate, to be transmitted to user by DTMB signal.When there is new code
When rate demand, then the record information of synchronized update cloud server, and front end system is notified to generate the program stream of the new code rate.
When needing to increase the different code rates of program or same program, it is only necessary to increase a live streaming subflow, subflow is broadcast live
It is distributed in different live streaming nodes, can not only realize same direct broadcast band 1+1 backup, but also can realize that the same direct broadcast band includes more
The code stream of a different coding code rate, so as to be pushed according to information such as terminal resolution ratio, network bandwidth and decoding processes to terminal
The live streaming subflow of phase code rate.
In an alternative embodiment, the live streaming media device based on mobile vulnerable network environment further includes WIFI
Module, for setting up WLAN, to establish the wireless connection with terminal by the WLAN.Specifically, pass through
The WIFI module for being built in server sets up WLAN, and when mobile terminal recognizes WIFI signal, request accesses the nothing
Line local area network.Optionally, by popping up WIFI connection authentication interface, the information such as the account number cipher of user's input are received, verifying is used
The relevant information at family, what is be proved to be successful then allows to establish wireless connection;Otherwise do not allow to establish connection.Further, to for the first time
The user that request accesses the WLAN provides register interface, receives the registration information of user, and the registration information includes using
The information such as family account, password, gender, phone number, date of birth.
Preferably, in an alternative embodiment, the live streaming media device based on mobile vulnerable network environment is also
Include:
Connection request module, the hotspot connection request sent for receiving the terminal;
Authentication module, for being authenticated to the terminal according to the hotspot connection request.
In the present embodiment, the account and password that the terminal of the hotspot is connected by checking request carry out the terminal
Authentication;If failed authentication, the terminal is prompted to be registered;If authenticating successfully, according to the authorized permission of the terminal, really
It is fixed whether to allow the terminal access direct broadcast band transport stream;For example, there is VIP member's program when the terminal is VIP member
Viewing permission and with viewing live streaming and program request permission;When the terminal is regular member, there is viewing program request
Permission.
In an alternative embodiment, the live streaming media device based on mobile vulnerable network environment further includes positioning
Module, for positioning current location information, to determine the information on services for pushing to terminal based on current location information.Specifically,
Current location is positioned using GPS module, determines the information for pushing to the terminal.The pushed information includes present bit
Weather condition, shopping information, road section information for setting etc..By taking bus scene as an example, the location information of current bus is positioned, to
The current Weather information in the mobile phone push this area of passenger, passenger can check current weather condition, including temperature, humidity, drop
The information such as rainfall;Information, the passengers such as market shopping information, hotel, the restaurant near current location are pushed to passenger can be according to phase
Information selection is answered to go nearby to consume;The traffic information of current location is pushed to passenger, passenger can be believed by the road conditions of current road segment
The time that breath prediction arrives at the destination, it is determined whether need replacing vehicles etc..
In an alternative embodiment, the live streaming media device based on mobile vulnerable network environment further include:
Signal sampling module, for being sampled to the DTMB signal, according to the corresponding DTMB signal of different location
Intensity value, adjust the sensitivity for receiving the antenna of DTMB signal.
Due to will affect the power of signal under mobile vulnerable network scene, it is therefore desirable to adjust as the case may be.For example,
When the intensity value of the DTMB signal of current location is lower, the antenna sensitivity of DTMB signal receiving module is improved, enhancing is realized
The intensity of DTMB signal, avoiding the occurrence of signal blind zone influences the information reception of terminal.
In an alternative embodiment, the live streaming media device of the present invention based on mobile vulnerable network environment is also
Include:
Receiving module, for receiving the user information of terminal transmission;
LTE module is used to provide free Internet access service for user, when user applies for access internet, pop-up
Authentication interface is connected, receiving module is called to receive the information of user's input.Wherein, the information includes user account, password, property
Not, the information such as phone number, date of birth.
The relevant information for verifying user, what is be proved to be successful then allows to establish wireless connection;Otherwise do not allow to establish connection.Into
One step, the user for accessing the WLAN to request for the first time provides register interface, receives the registration information of user, the note
Volume information includes the information such as user account, password, gender, phone number, date of birth.
Further, open visit permission direct for the user authenticated by aforementioned WIFI, allows to be directly switch into
Mobile data accesses internet.
Sending module, for the user information to be transmitted to cloud server, with managing user information.
The information such as the user information of the acquisition, including user account, password, gender, phone number, date of birth.Into
One step further includes the information such as the facility information of user terminal, including device model, device resolution, MAC Address, decoding process.
The user information and facility information are transmitted to cloud server by sending module, and distribute one for being different from for the user
The mark title and user information and facility information are corresponded storage and generated by the mark title of other users such as user 1
Map listing, to facilitate management user data.When the list information not phase of the user information, facility information and original record that get
Meanwhile updating the corresponding information in list.
It include: processing the embodiment of the invention also provides a kind of live streaming media device based on mobile vulnerable network environment
Device, memory and storage in the memory and the computer program that can run on the processor, such as Streaming Media
Program is broadcast live.The processor realizes the step in above-mentioned each stream media live broadcasting method embodiment when executing the computer program
Such as step S100~S300 shown in FIG. 1 suddenly,.Alternatively, being realized when the processor execution computer program above-mentioned each
The function of each module/unit in Installation practice, such as DTMB signal receiving module, demultiplexing module, distribution module.
Illustratively, the computer program can be divided into one or more module/units, one or more
A module/unit is stored in the memory, and is executed by the processor, to complete the present invention.It is one or more
A module/unit can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing institute
State implementation procedure of the computer program in the live streaming media device based on mobile vulnerable network environment.For example, the meter
Calculation machine program can be divided into for receiving ground digital television broadcast DTMB signal, generate TS transport stream after demodulation
DTMB signal receiving module, wherein each TS transport stream packets contain multiple live streaming subflows;For being demultiplexed to the TS transport stream
With to generate the demultiplexing module of the live streaming subflow of multiple synchronizations, for the multiple live streaming subflow to be distributed to different terminals
Distribution module.
The live streaming media device based on mobile vulnerable network environment can be desktop PC, notebook, palm
Computer and cloud server etc. calculate equipment.It is described to may include based on the live streaming media device for moving vulnerable network environment, but not
It is only limitted to, processor, memory.It will be understood by those skilled in the art that the schematic diagram is only based on mobile vulnerable network ring
The example of the live streaming media device in border does not constitute the restriction to the live streaming media device based on mobile vulnerable network environment,
It may include perhaps combining certain components or different components, such as described based on shifting than illustrating more or fewer components
The live streaming media device of dynamic vulnerable network environment can also include input-output equipment, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
It is the control centre of the live streaming media device based on mobile vulnerable network environment Deng, the processor, utilizes various interfaces
The various pieces of live streaming media device with connection entirely based on mobile vulnerable network environment.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
The various functions of live streaming media device based on mobile vulnerable network environment.The memory can mainly include storing program area and
Storage data area, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (such as sound according to mobile phone
Frequency evidence, phone directory etc.) etc..In addition, memory may include high-speed random access memory, it can also include non-volatile deposit
Reservoir, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital
(Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other
Volatile solid-state part.
Wherein, if the module/unit integrated based on the live streaming media device for moving vulnerable network environment is with software
The form of functional unit is realized and when sold or used as an independent product, can store in a computer-readable storage
In medium.Based on this understanding, the present invention realizes all or part of the process in above-described embodiment method, can also pass through meter
Calculation machine program is completed to instruct relevant hardware, and the computer program can be stored in a computer readable storage medium
In, the computer program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the calculating
Machine program includes computer program code, and the computer program code can be source code form, object identification code form, can hold
Style of writing part or certain intermediate forms etc..The computer-readable medium may include: that can carry the computer program code
Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications letter
Number and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be managed according to the administration of justice
Local legislation and the requirement of patent practice carry out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent
Practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
Compared with the existing technology, the present invention DTMB signal stable by transmission performance, is converted into network for TV signal
Data flow, and WLAN is set by Network Traffic Data Flows to user terminal, it realizes impacted in wireless communication
Mobile terminal can play video glibly under vulnerable network environment, effectively increase user under mobile vulnerable network environment and watch high definition
The effect of clear degree video.
It is the preferred embodiment of the present invention above, it is noted that for those skilled in the art,
Various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as this hair
Bright protection scope.