CN106534989A - Media data stream recording device and method - Google Patents

Media data stream recording device and method Download PDF

Info

Publication number
CN106534989A
CN106534989A CN201610978389.6A CN201610978389A CN106534989A CN 106534989 A CN106534989 A CN 106534989A CN 201610978389 A CN201610978389 A CN 201610978389A CN 106534989 A CN106534989 A CN 106534989A
Authority
CN
China
Prior art keywords
data flow
media data
recording
elements
recording medium
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
CN201610978389.6A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610978389.6A priority Critical patent/CN106534989A/en
Publication of CN106534989A publication Critical patent/CN106534989A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations

Abstract

A media data stream recording device disclosed by the present invention comprises an obtaining module used for obtaining a media data stream sent by a television; a determination module used for determining whether the media data stream contains an advertisement element when a recording instruction for recording the media data stream is detected; a deleting module used for deleting the advertisement element if the media data stream contains the advertisement element to obtain a to-be-recorded media data stream; a recording module used for recording the to-be-recorded media data stream into a video or an audio according to the recording instruction. The present invention also discloses a media data stream recording method. According to the present invention, the video or audio recorded by a mobile terminal does not contain an advertisement, the recorded audio or video accords with the user demands better, and the user experience degree is improved.

Description

Media data flow record device and method
Technical field
The present invention relates to technical field of communication network, more particularly to a kind of media data flow record device and method.
Background technology
With the development of science and technology, TV is also more and more ripe with the interaction technique of mobile terminal.When broadcasting in TV Or be stored with media data flow, mobile terminal can obtain the media data flow televised or store, will be acquired Media data flow record into again video or audio frequency.
But, due in the media data flow televising or store containing substantial amounts of ad elements, these advertisements units Element can reduce the Experience Degree that user watches video.Therefore, during mobile terminal records acquired media data flow again, How to remove the ad elements in media data flow, be have problem to be solved.
The content of the invention
Present invention is primarily targeted at proposing a kind of media data flow record device and method, it is intended to solve mobile terminal How the technical problem of ad elements in media data flow is removed in recording medium data flow.
For achieving the above object, a kind of media data flow record device that the present invention is provided, the media data flow are recorded Device includes:
Acquisition module, for obtaining the media data flow of TV transmission;
Judge module, for when the record command for recording the media data flow is detected, judging the media data Whether ad elements are contained in stream;
Removing module, if for containing ad elements in the media data flow, deleting the ad elements, being treated Recording medium data flow;
Module is recorded, for treating that recording medium data flow record into video or audio frequency by described according to the record command.
Alternatively, the judge module includes:
Comparison unit, for the media data flow is contrasted with the element in the ad elements storehouse for prestoring;
Identifying unit, for when there is the element in the ad elements storehouse in the media data flow, judging described Contain ad elements in media data flow;During element in it there is no the ad elements storehouse in the media data flow, sentence Ad elements are not contained in the fixed media data flow.
Alternatively, the media data flow record device also includes:
Determining module, for, the time required to treating recording medium data flow described in calculating recording, being determined according to the time and being recorded Recording medium data flow institute subfam. Spiraeoideae is treated described in system;
The judge module is additionally operable to judge whether mobile terminal dump energy treats recording medium data more than described in recording Stream institute subfam. Spiraeoideae;
If the recording module is additionally operable to the dump energy and treats recording medium data flow institute subfam. Spiraeoideae more than described in recording, Then treat that recording medium data flow record into video or audio frequency by described according to the record command.
Alternatively, the media data flow record device also include output module, if for the dump energy be less than or Person is equal to described in recording and treats recording medium data flow institute subfam. Spiraeoideae, then export information, points out mobile terminal electricity described in user Amount is not enough.
Alternatively, the media data flow record device also includes update module, for regularly updating the ad elements Storehouse.
Additionally, for achieving the above object, the present invention also proposes a kind of media data flow method for recording, the media data flow Method for recording includes:
Obtain the media data flow that TV sends;
When the record command for recording the media data flow is detected, whether contain in judging the media data flow wide Accuse element;
If containing ad elements in the media data flow, the ad elements are deleted, obtain treating recording medium data Stream;
Treat that recording medium data flow record into video or audio frequency by described according to the record command.
Alternatively, it is described to include the step of whether judge in the media data flow containing ad elements:
The media data flow is contrasted with the element in the ad elements storehouse for prestoring;
During element in it there is the ad elements storehouse in the media data flow, contain in judging the media data flow There are ad elements;
During element in it there is no the ad elements storehouse in the media data flow, in judging the media data flow Ad elements are not contained.
Alternatively, if containing ad elements in the media data flow, the ad elements are deleted, obtains waiting to record After the step of media data flow processed, also include:
Calculate the time required to treating recording medium data flow described in recording, the matchmaker to be recorded according to the time determines recording Volume data stream institute subfam. Spiraeoideae;
Judge whether mobile terminal dump energy treats recording medium data flow institute subfam. Spiraeoideae more than described in recording;
If the dump energy treats recording medium data flow institute subfam. Spiraeoideae more than described in recording, perform according to the recording Instruction treats the step of recording medium data flow records into video or audio frequency by described.
Alternatively, it is described to judge whether mobile terminal dump energy is electric needed for recording medium data flow more than treating described in recording After the step of amount, also include:
If the dump energy less than or equal to recording medium data flow institute subfam. Spiraeoideae is treated described in recording, point out by output Information, points out mobile terminal not enough power supply described in user.
Alternatively, the media data flow method for recording also includes:
Timing updates the ad elements storehouse.
The present invention is by when the record command for recording from TV the media data flow for obtaining is detected, judging the media Whether ad elements are contained in data flow.When ad elements are contained in the media data flow, the advertisement is deleted, is treated According to the record command, recording medium data flow, will treat that recording medium data flow records into video or audio frequency.So that mobile whole Advertisement is not contained in the final video or audio frequency for recording gained in end so that the audio frequency recorded or video more meet user to be needed Ask, lift the Experience Degree of user.
Description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the module diagram of media data flow record device first embodiment of the present invention;
Fig. 4 is a kind of module diagram of judge module in the embodiment of the present invention;
Fig. 5 is the module diagram of media data flow record device 3rd embodiment of the present invention;
Fig. 6 is the module diagram of media data flow record device fourth embodiment of the present invention;
Fig. 7 is the schematic flow sheet of media data flow method for recording first embodiment of the present invention;
Fig. 8 is to judge whether a kind of flow process containing ad elements is illustrated in the media data flow in the embodiment of the present invention Figure;
Fig. 9 is the schematic flow sheet of media data flow method for recording 3rd embodiment of the present invention;
Figure 10 is the schematic flow sheet of media data flow method for recording fourth embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be explained in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For representing the suffix of such as " module ", " part " or " unit " of element only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " mixedly can be used with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 is illustrated Mobile terminal with various assemblies, it should be understood that being not required for implementing all components for illustrating.Can be alternatively Implement more or less of component.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and which allows mobile terminal 1 00 and radio communication device Or the radio communication between network.For example, wireless communication unit can include mobile communication module 112 and wireless Internet mould Block 113 etc..
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can including WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include 121 He of camera Microphone 122, the static images that 121 pairs, camera is obtained by image capture apparatus in Video Capture pattern or image capture mode Or the view data of video is processed.Picture frame after process is may be displayed on display unit 151.Jing cameras 121 are processed Carry out sending out during picture frame afterwards can be stored in memory 160 (or other storage mediums) or via wireless communication unit 110 Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Sound (voice data) is received via microphone in record pattern, speech recognition mode etc. operational mode, and can be by so Acoustic processing be voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model can The form output of mobile communication base station is sent to via mobile communication module 112.Microphone 122 can implement various types of making an uproar Sound eliminates (or suppression) algorithm to eliminate the noise or dry that (or suppression) is produced during reception and transmission audio signal Disturb.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection is due to the sensitive component of the change of touched and caused resistance, pressure, electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device with identification module (hereinafter referred to as " identifying device ") can take the form of smart card, therefore, know Other device can be connected with mobile terminal 1 00 via port or other attachment means.Interface unit 170 can be used for receive from The input (for example, data message, electric power etc.) of external device (ED) and the input for receiving is transferred in mobile terminal 1 00 One or more elements can be used for the transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing to pass through which by electricity Power provides the path of mobile terminal 1 00 from base or can serve as allowing from base the various command signals being input into pass through which It is transferred to the path of mobile terminal.Can serve as recognizing that mobile terminal is from the various command signals or electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include showing Unit 151, dio Output Modules 152 etc..
The information that display unit 151 is processed in may be displayed on mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia files Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when the display unit 151 and touch pad touch-screen with formation superposed on one another in the form of layer, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display devices), for example, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection and touch Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or in memory 160 The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed. Dio Output Modules 152 can include sound pick-up, buzzer etc..
Memory 160 can store software program for the process and control operation performed by controller 180 etc., Huo Zheke With the data (for example, telephone directory, message, still image, video etc.) for temporarily storing own Jing outputs or will export.And And, memory 160 can be storing the vibration of various modes with regard to exporting when touching and being applied to touch-screen and audio signal Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or it is so structured that and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input for performing on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.For hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment. For software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) write with any appropriate programming language Implement, perform during software code can be stored in memory 160 and by controller 180.
So far, own Jing describes mobile terminal according to its function.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data it is all if any Line and radio communication device and satellite-based communicator are operating.
The communicator that mobile terminal wherein of the invention is operable to is described referring now to Fig. 2.
Such communicator can use different air interfaces and/or physical layer.For example, used by communicator Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress Put (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under The description in face is related to cdma communication device, but such teaching is equally applicable to other types of device.
With reference to Fig. 2, cdma wireless communication device can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station via back haul link.Backhaul If circuit can be constructed according to any one in the interface that Ganji knows, the interface includes such as E1/T1, ATM, IP, PPP, Frame relay, HDSL, ADSL or xDSL.It will be appreciated that device can include multiple BSC275 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion that line is covered is radially away from BS270.Or, each subregion can by for diversity reception two or more Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution with specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersect can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver Device (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in device 100.In fig. 2 it is shown that several global pick device (GPS) satellites 300.Satellite 300 helps position multiple mobile terminal 1s 00 At least one of.
In fig. 2, multiple satellites 300 are depicted, but it is understood that, it is possible to use any number of satellite is obtained Useful location information.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use mobile terminal can be tracked Position other technologies.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb biography It is defeated.
Used as a typical operation of radio communication device, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti- Processed in specific BS270 to link signal.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of the coordination including the soft switching process between BS270.BSC275 is also by the number for receiving According to MSC280 is routed to, which is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, the inventive method each embodiment is proposed.
With reference to Fig. 3, Fig. 3 is the module diagram of media data flow record device first embodiment of the present invention.
It is emphasized that it will be apparent to those skilled in the art that module map shown in Fig. 3 is only a preferred embodiment Exemplary plot, the module of media data flow record device of the those skilled in the art shown in Fig. 3 can be carried out new easily The supplement of module;The title of each module is self-defined title, is only used for aiding in understanding the media data flow record device each Program function block, is not used in restriction technical scheme, and the core of technical solution of the present invention is, the mould of each self-defined title Block function to be reached.
The present embodiment proposes a kind of media data flow record device, and media data flow record device includes:
Acquisition module 10, for obtaining the media data flow of TV transmission;
Judge module 20, for when the record command of recording medium data flow is detected, in judging media data flow being It is no containing ad elements;
Mobile terminal sets up communication connection with TV.When mobile terminal need to obtain the media data flow that stored of TV or During the media data flow that person is playing, acquisition module 10 sends request instruction to TV, when television reception to mobile terminal is sent out During the request instruction for sending, media data flow of the TV according to required for request instruction is by mobile terminal is sent to mobile terminal.
It should be noted that the media data streaming between mobile terminal and TV can propagate skill using video data stream Media data streaming between art, but mobile terminal and TV includes being not limited to video data stream communications.Media number It is a kind of technology of transmission data according to stream communications, data can form the data flow of steady and continuous Jing after processing.In TV Include but be not limited to TCP (Transmission Control with the host-host protocol used by mobile terminal transmission media data flow Protocol, transmission control protocol), UDP (User Datagram Protocol, UDP) and RTP (Real- Time Transport Protocol, RTP), TCP be it is a kind of it is connection-oriented, reliable, based on byte stream Transport layer communication protocol;During UDP is OSI (Open System Interconnection, open system interconnection) reference model A kind of connectionless transport layer protocol, it is mainly used in the transmission for do not require order of packets arrival, is grouped the inspection of transmission sequence Look into and completed by application layer with sequence, there is provided towards the simple unreliable information transmission service of affairs;RTP is provided for data to be had The end-to-end transfer service of real-time characteristic, the interactive video audio frequency or analogue data such as under multicast or unicast network services.
After acquisition module 10 gets the media data flow of TV transmission, the matchmaker is recorded when judge module 20 is detected During the record command of volume data stream, whether judge module 20 contains ad elements in judging acquired media data flow.
It should be noted that acquisition module 10 and judge module 20 are arranged in Fig. 1 in controller 180.
Removing module 30, if for containing ad elements in media data flow, deleting ad elements, obtains matchmaker to be recorded Volume data stream;
Module 40 is recorded, for treating that recording medium data flow records into video or audio frequency according to record command.
When judge module 20 determines contains ad elements in media data flow, removing module 30 deletes the ad elements, Obtain treating recording medium data flow.Module 40 is recorded according to the record command for being received, will treat that recording medium data flow is recorded into Video or audio frequency.When judge module 20 determines does not contain ad elements in media data flow, then from the media acquired in TV Data flow is and treats recording medium data flow, records module 40 directly according to the record command detected by acquired in from TV Treat that recording medium data flow records into video or audio frequency.
Further, module 40 is recorded during it will treat that recording medium data flow records into video or audio frequency, if Receive instruction for previewing, mobile terminal is then included the video or audio frequency of recording on mobile terminal display interface, for Family is checked.
Further, mobile terminal can pre-set and record the original position and stop bits for the treatment of recording medium data flow Put, or the recording time that this treats recording medium data flow is recorded in setting.The record of recording medium data flow is being treated when module 40 is recorded During making audio frequency or video, according to the original position and end position that pre-set, or recording time, this is treated Recorded video data flow records into video or audio frequency.After mobile terminal obtains the video or the audio frequency that record, according to pre- The store path for first setting, storage record the video or audio frequency of gained.
It should be noted that removing module 30 and recording module 40 are arranged in the controller 180 in Fig. 1.
The present embodiment is by when the record command for recording from TV the media data flow for obtaining is detected, judging media number Whether ad elements are contained according in stream.When ad elements are contained in media data flow, advertisement is deleted, obtains treating recording medium number According to stream, will treat that recording medium data flow records into video or audio frequency according to record command.So that mobile terminal finally records gained Video or audio frequency in do not contain advertisement so that the audio frequency recorded or video more meet user's request, lift the body of user Degree of testing.
Further, propose media data flow record device second embodiment of the present invention.
Media data flow record device second embodiment with the difference of media data flow record device first embodiment is, With reference to Fig. 4, judge module 20 includes:
Comparison unit 21, for media data flow is contrasted with the element in the ad elements storehouse for prestoring;
Identifying unit 22, for when there is the element in ad elements storehouse in media data flow, judging media data flow In contain ad elements;When there is no the element in ad elements storehouse in media data flow, do not contain in judging media data flow There are ad elements.
Whether, containing during ad elements in media data flow is judged, comparison unit 21 is by media for judge module 20 Data flow is contrasted with the element in the ad elements storehouse for prestoring.Element in it there is ad elements storehouse in media data flow When, identifying unit 22 contains ad elements in judging media data flow;When not existing in ad elements storehouse in media data flow During element, identifying unit 22 does not contain ad elements in judging media data flow.
It should be noted that ad elements storehouse is the feature that various advertisements are extracted from huge advertising database, obtain The ad elements of various advertisements, by the ad elements composition ad elements storehouse of various advertisements.In mobile terminal by media data flow During being contrasted with the element in the ad elements storehouse for prestoring, matching algorithm can be adopted.When certain in media data flow When in individual element and ad elements storehouse, the similarity of element is more than default similarity, then it is assumed that the element in media data flow is Ad elements;When the similarity of element in certain element in media data flow with ad elements storehouse is less than or equal to default phase When seemingly spending, then it is assumed that the element in media data flow is non-ad elements, is normal media data flow.The default similarity Can be configured according to specific needs, such as could be arranged to 70%, 80% or 90%.
The present embodiment is determined media number by media data flow contrasts with the element in the ad elements storehouse for prestoring Whether contain ad elements according in stream, prevent the video or audio frequency of recording gained from containing ad content.
Further, propose media data flow record device 3rd embodiment of the present invention.
Media data flow record device 3rd embodiment with the difference of media data flow record device first embodiment is, With reference to Fig. 5, media data flow record device also includes:
Determining module 50, for calculating the time required to recording treats recording medium data flow, determines to record according to the time and waits to record Media data flow institute processed subfam. Spiraeoideae;
Judge module 20 is additionally operable to judge whether mobile terminal dump energy is treated needed for recording medium data flow more than recording Electricity;
Recording medium data flow institute subfam. Spiraeoideae is treated more than recording if recording module 40 and being additionally operable to dump energy, according to recording Instruction will treat that recording medium data flow records into video or audio frequency.
After obtaining after recording medium data flow, determining module 50 determines the size for treating recording medium data flow.Determine mould Block 50 is calculated according to the size for treating recording medium data flow to be recorded the time required to this treats recording medium data flow, and should according to recording Determine the time required to band recording medium data flow and record the band recording medium data flow institute subfam. Spiraeoideae.
When determining module 50 determines records this whne recording medium data flow institute subfam. Spiraeoideae, determining module 50 determines mobile whole The dump energy at end, judge module 20 judge whether mobile terminal dump energy treats electricity needed for recording medium data flow more than recording Amount.If mobile terminal dump energy treats recording medium data flow institute subfam. Spiraeoideae more than recording, record module 40 and then referred to according to recording Order will treat that recording medium data flow records into video or audio frequency.
It should be noted that determining module 50 is arranged in the controller 180 in Fig. 1.
Whether the present embodiment treats recording medium data flow institute subfam. Spiraeoideae more than recording by judging mobile terminal dump energy, Recording medium data flow institute subfam. Spiraeoideae is treated more than recording in mobile terminal dump energy, recording medium will be treated according to record command Data flow records into video or audio frequency, prevents in recording medium data flow procedure is treated in recording, due to mobile terminal not enough power supply, This treats that recording medium data flow fails to cause recording.
Further, propose media data flow record device fourth embodiment of the present invention.
Media data flow record device fourth embodiment with the difference of media data flow record device 3rd embodiment is, With reference to Fig. 6, media data flow record device also includes:
Output module 60, if recording medium data flow institute subfam. Spiraeoideae is treated less than or equal to recording for dump energy, Output information, points out customer mobile terminal not enough power supply.
When mobile terminal dump energy is less than or equal to this is recorded whne recording medium data flow institute subfam. Spiraeoideae, mould is exported Block 60 exports information, points out customer mobile terminal dump energy not enough, will matchmaker be recorded according to record command if continued Volume data stream records into video or audio frequency, it will cause to record failure.
It should be noted that the prompting mode of the prompting user of output module 60 is including but not limited to reminded with written form, Or reminded in the form of warning light, or reminded with speech form.
It should be noted that output module 60 is arranged in the output unit 150 in Fig. 1.
The present embodiment is by treating needed for recording medium data flow less than or equal to this is recorded when mobile terminal dump energy During electricity, mobile terminal output information prompting customer mobile terminal dump energy is not enough, and improve mobile terminal will treat Recording medium data flow is recorded into intelligent in video or audio process.
Further, propose the 5th embodiment of media data flow record device of the present invention.
The 5th embodiment of media data flow record device with the difference of media data flow record device first embodiment is, Media data flow record device also includes:
Update module, for regularly updating ad elements storehouse.
Update module timing updates its ad elements storehouse for being stored, so that ad elements contained in ad elements storehouse are more Comprehensively, improve the success rate of ad elements in identification media data flow.
It should be noted that update module is arranged in the controller 180 in Fig. 1.Update module updates ad elements storehouse Time can be set as desired, such as can be arranged on weekly Monday updates the ad elements storehouse, or arranges every 10 My god, or update an ad elements storehouse in 30 days.
The present invention also provides a kind of media data flow method for recording.
With reference to Fig. 7, Fig. 7 is the schematic flow sheet of media data flow method for recording first embodiment of the present invention.
The present embodiment proposes a kind of media data flow method for recording, and media data flow method for recording includes:
Step S10, obtains the media data flow that TV sends;
Whether step S20, when the record command of recording medium data flow is detected, contain in judging media data flow wide Accuse element;
Mobile terminal sets up communication connection with TV.When mobile terminal need to obtain the media data flow that stored of TV or During the media data flow that person is playing, mobile terminal sends request instruction to TV, when television reception to mobile terminal sends Request instruction when, media data flow of the TV according to required for request instruction is by mobile terminal is sent to mobile terminal.
It should be noted that the media data streaming between mobile terminal and TV can propagate skill using video data stream Media data streaming between art, but mobile terminal and TV includes being not limited to video data stream communications.Media number It is a kind of technology of transmission data according to stream communications, data can form the data flow of steady and continuous Jing after processing.In TV Include but be not limited to TCP (Transmission Control with the host-host protocol used by mobile terminal transmission media data flow Protocol, transmission control protocol), UDP (User Datagram Protocol, UDP) and RTP (Real- Time Transport Protocol, RTP), TCP be it is a kind of it is connection-oriented, reliable, based on byte stream Transport layer communication protocol;During UDP is OSI (Open System Interconnection, open system interconnection) reference model A kind of connectionless transport layer protocol, it is mainly used in the transmission for do not require order of packets arrival, is grouped the inspection of transmission sequence Look into and completed by application layer with sequence, there is provided towards the simple unreliable information transmission service of affairs;RTP is provided for data to be had The end-to-end transfer service of real-time characteristic, the interactive video audio frequency or analogue data such as under multicast or unicast network services.
After the media data flow that acquisition for mobile terminal to TV sends, and detect the record for recording the media data flow During system instruction, whether mobile terminal contains ad elements in judging acquired media data flow.
Step S30, if containing ad elements in media data flow, deletes ad elements, obtains treating recording medium data Stream;
According to record command, step S40, will treat that recording medium data flow records into video or audio frequency.
When mobile terminal determines contains ad elements in media data flow, mobile terminal deletes ad elements, is treated Recording medium data flow.Mobile terminal according to the record command for being received, will treat recording medium data flow record into video or Audio frequency.When mobile terminal determines does not contain ad elements in media data flow, then it is from the media data flow acquired in TV Treat recording medium data flow, mobile terminal directly will treat recording medium number acquired in from TV according to the record command detected Video or audio frequency are recorded into according to stream.
Further, mobile terminal be during it will treat that recording medium data flow records into video or audio frequency, if connecing Instruction for previewing is received, mobile terminal then includes the video or audio frequency of recording on mobile terminal display interface, for user Check.
Further, mobile terminal can pre-set and record the original position and stop bits for the treatment of recording medium data flow Put, or the recording time that this treats recording medium data flow is recorded in setting.When mobile terminal is treating the recording of recording medium data flow Into audio frequency or video during, according to the original position and end position that pre-set, or recording time, this is waited to record Video data stream processed records into video or audio frequency.After mobile terminal obtains the video or the audio frequency that record, according to advance The store path for setting, storage record the video or audio frequency of gained.
The present embodiment is by when the record command for recording from TV the media data flow for obtaining is detected, judging media number Whether ad elements are contained according in stream.When ad elements are contained in media data flow, advertisement is deleted, obtains treating recording medium number According to stream, will treat that recording medium data flow records into video or audio frequency according to record command.So that mobile terminal finally records gained Video or audio frequency in do not contain advertisement so that the audio frequency recorded or video more meet user's request, lift the body of user Degree of testing.
Further, propose media data flow method for recording second embodiment of the present invention.
Media data flow method for recording second embodiment with the difference of media data flow method for recording first embodiment is, With reference to Fig. 8, include the step of whether contain ad elements in judging media data flow:
Step S21, media data flow is contrasted with the element in the ad elements storehouse for prestoring;
When step S22, element in it there is ad elements storehouse in media data flow, judge in media data flow containing wide Accuse element;
Step S23, when there is no the element in ad elements storehouse in media data flow, does not contain in judging media data flow There are ad elements.
Whether, containing during ad elements in media data flow is judged, mobile terminal is by media data for mobile terminal Stream is contrasted with the element in the ad elements storehouse for prestoring.During element in it there is ad elements storehouse in media data flow, Mobile terminal contains ad elements in judging media data flow;When there is no the element in ad elements storehouse in media data flow When, mobile terminal does not contain ad elements in judging media data flow.
It should be noted that ad elements storehouse is the feature that various advertisements are extracted from huge advertising database, obtain The ad elements of various advertisements, by the ad elements composition ad elements storehouse of various advertisements.In mobile terminal by media data flow During being contrasted with the element in the ad elements storehouse for prestoring, matching algorithm can be adopted.When certain in media data flow When in individual element and ad elements storehouse, the similarity of element is more than default similarity, then it is assumed that the element in media data flow is Ad elements;When the similarity of element in certain element in media data flow with ad elements storehouse is less than or equal to default phase When seemingly spending, then it is assumed that the element in media data flow is non-ad elements, is normal media data flow.The default similarity Can be configured according to specific needs, such as could be arranged to 70%, 80% or 90%.
The present embodiment is determined media number by media data flow contrasts with the element in the ad elements storehouse for prestoring Whether contain ad elements according in stream, prevent the video or audio frequency of recording gained from containing ad content.
Further, propose media data flow method for recording 3rd embodiment of the present invention.
Media data flow method for recording fourth embodiment with the difference of media data flow method for recording first embodiment is, With reference to Fig. 9, media data flow method for recording also includes:
According to the time, step S50, the time required to recording medium data flow is treated in calculating recording, determines that recording medium number is treated in recording According to stream institute subfam. Spiraeoideae;
Step S60, judges whether mobile terminal dump energy treats recording medium data flow institute subfam. Spiraeoideae more than recording;
If dump energy treats recording medium data flow institute subfam. Spiraeoideae, execution step S40 more than recording.
After mobile terminal is obtained after recording medium data flow, mobile terminal determines the size for treating recording medium data flow. Mobile terminal is calculated according to the size for treating recording medium data flow to be recorded the time required to this treats recording medium data flow, and according to record Determine the time required to making the band recording medium data flow and record the band recording medium data flow institute subfam. Spiraeoideae.
When mobile terminal determines this is recorded whne recording medium data flow institute subfam. Spiraeoideae, determine its dump energy, and judge Whether its dump energy treats recording medium data flow institute subfam. Spiraeoideae more than recording.If mobile terminal dump energy is waited to record more than recording According to record command, media data flow institute processed subfam. Spiraeoideae, mobile terminal then will treat that recording medium data flow records into video or sound Frequently.
Whether the present embodiment treats recording medium data flow institute subfam. Spiraeoideae more than recording by judging mobile terminal dump energy, Recording medium data flow institute subfam. Spiraeoideae is treated more than recording in mobile terminal dump energy, recording medium will be treated according to record command Data flow records into video or audio frequency, prevents in recording medium data flow procedure is treated in recording, due to mobile terminal not enough power supply, This treats that recording medium data flow fails to cause recording.
Further, propose media data flow method for recording fourth embodiment of the present invention.
Media data flow method for recording fourth embodiment with the difference of media data flow method for recording 3rd embodiment is, With reference to Figure 10, media data flow method for recording also includes:
Step S70, if dump energy treats recording medium data flow institute subfam. Spiraeoideae, output prompting less than or equal to recording Information, points out customer mobile terminal not enough power supply.
It is when mobile terminal dump energy is less than or equal to this is recorded whne recording medium data flow institute subfam. Spiraeoideae, mobile whole End output information, points out customer mobile terminal dump energy not enough, if continuing to treat recording medium according to record command Data flow records into video or audio frequency, it will cause to record failure.
It should be noted that the prompting mode of mobile terminal prompting user is including but not limited to reminded with written form, or Person is reminded in the form of warning light, or is reminded with speech form.
The present embodiment is by treating needed for recording medium data flow less than or equal to this is recorded when mobile terminal dump energy During electricity, mobile terminal output information prompting customer mobile terminal dump energy is not enough, and improve mobile terminal will treat Recording medium data flow is recorded into intelligent in video or audio process.
Further, propose the 5th embodiment of media data flow method for recording of the present invention.
The 5th embodiment of media data flow method for recording with the difference of media data flow method for recording first embodiment is, Media data flow method for recording also includes:Timing updates ad elements storehouse.
Mobile terminal timing updates its ad elements storehouse for being stored, so that ad elements contained in ad elements storehouse are more Comprehensively, improve the success rate of ad elements in identification media data flow.
It should be noted that the time in mobile terminal to update ad elements storehouse can be set as desired, can such as set Put and the ad elements storehouse is updated in Monday weekly, or arrange every 10 days, or 30 days update an ad elements storehouse.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, article or system including key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), use so that a station terminal equipment including some instructions (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of media data flow record device, it is characterised in that the media data flow record device includes:
Acquisition module, for obtaining the media data flow of TV transmission;
Judge module, for when the record command for recording the media data flow is detected, in judging the media data flow Whether ad elements are contained;
Removing module, if for containing ad elements in the media data flow, deleting the ad elements, obtains waiting to record Media data flow;
Module is recorded, for treating that recording medium data flow record into video or audio frequency by described according to the record command.
2. media data flow record device as claimed in claim 1, it is characterised in that the judge module includes:
Comparison unit, for the media data flow is contrasted with the element in the ad elements storehouse for prestoring;
Identifying unit, for when there is the element in the ad elements storehouse in the media data flow, judging the media Contain ad elements in data flow;During element in it there is no the ad elements storehouse in the media data flow, institute is judged Ad elements are not contained in stating media data flow.
3. media data flow record device as claimed in claim 1, it is characterised in that the media data flow record device is also Including:
Determining module, for, the time required to treating recording medium data flow described in calculating recording, being determined according to the time and recording institute State and treat recording medium data flow institute subfam. Spiraeoideae;
The judge module is additionally operable to judge whether mobile terminal dump energy treats recording medium data flow institute more than described in recording Subfam. Spiraeoideae;
If the recording module is additionally operable to the dump energy and treats recording medium data flow institute subfam. Spiraeoideae, root more than described in recording Treat that recording medium data flow record into video or audio frequency by described according to the record command.
4. media data flow record device as claimed in claim 3, it is characterised in that the media data flow record device is also Including output module, if recording medium data flow institute subfam. Spiraeoideae is treated less than or equal to described in recording for the dump energy, Information is then exported, mobile terminal not enough power supply described in user is pointed out.
5. the media data flow record device as described in any one of Claims 1-4, it is characterised in that the media data flow Record device also includes update module, for regularly updating the ad elements storehouse.
6. a kind of media data flow method for recording, it is characterised in that the media data flow method for recording includes:
Obtain the media data flow that TV sends;
When the record command for recording the media data flow is detected, in judging the media data flow, whether contain advertisement unit Element;
If containing ad elements in the media data flow, the ad elements are deleted, obtain treating recording medium data flow;
Treat that recording medium data flow record into video or audio frequency by described according to the record command.
7. media data flow method for recording as claimed in claim 6, it is characterised in that in the judgement media data flow The step of whether containing ad elements, includes:
The media data flow is contrasted with the element in the ad elements storehouse for prestoring;
During element in it there is the ad elements storehouse in the media data flow, judge in the media data flow containing wide Accuse element;
During element in it there is no the ad elements storehouse in the media data flow, do not contain in judging the media data flow There are ad elements.
8. media data flow method for recording as claimed in claim 6, it is characterised in that if containing in the media data flow There are ad elements, then delete the ad elements, after obtaining the step for the treatment of recording medium data flow, also include:
Calculate the time required to recording medium data flow being treated described in recording, according to the time determines recording treat recording medium number According to stream institute subfam. Spiraeoideae;
Judge whether mobile terminal dump energy treats recording medium data flow institute subfam. Spiraeoideae more than described in recording;
If the dump energy treats recording medium data flow institute subfam. Spiraeoideae more than described in recording, perform according to the record command The step of recording medium data flow records into video or audio frequency is treated by described.
9. media data flow method for recording as claimed in claim 8, it is characterised in that the judgement mobile terminal dump energy After whether being more than the step for the treatment of recording medium data flow institute subfam. Spiraeoideae described in recording, also include:
If the dump energy less than or equal to recording medium data flow institute subfam. Spiraeoideae is treated described in recording, believe by output prompting Breath, points out mobile terminal not enough power supply described in user.
10. the media data flow method for recording as described in any one of claim 6 to 9, it is characterised in that the media data flow Method for recording also includes:
Timing updates the ad elements storehouse.
CN201610978389.6A 2016-10-31 2016-10-31 Media data stream recording device and method Pending CN106534989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610978389.6A CN106534989A (en) 2016-10-31 2016-10-31 Media data stream recording device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610978389.6A CN106534989A (en) 2016-10-31 2016-10-31 Media data stream recording device and method

Publications (1)

Publication Number Publication Date
CN106534989A true CN106534989A (en) 2017-03-22

Family

ID=58350131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610978389.6A Pending CN106534989A (en) 2016-10-31 2016-10-31 Media data stream recording device and method

Country Status (1)

Country Link
CN (1) CN106534989A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473236A (en) * 2021-07-05 2021-10-01 北京有竹居网络技术有限公司 Processing method and device for screen recording video, readable medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170659A (en) * 2006-10-27 2008-04-30 Lg电子株式会社 Broadcast receiver and method of controlling the same
CN102523500A (en) * 2011-12-21 2012-06-27 Tcl王牌电器(惠州)有限公司 Advertisement filtering method based on cloud computing and advertisement filtering system thereof, and digital television apparatus
CN105208401A (en) * 2014-06-24 2015-12-30 广州市动景计算机科技有限公司 Method and device for identifying advertisement videos

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170659A (en) * 2006-10-27 2008-04-30 Lg电子株式会社 Broadcast receiver and method of controlling the same
CN102523500A (en) * 2011-12-21 2012-06-27 Tcl王牌电器(惠州)有限公司 Advertisement filtering method based on cloud computing and advertisement filtering system thereof, and digital television apparatus
CN105208401A (en) * 2014-06-24 2015-12-30 广州市动景计算机科技有限公司 Method and device for identifying advertisement videos

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473236A (en) * 2021-07-05 2021-10-01 北京有竹居网络技术有限公司 Processing method and device for screen recording video, readable medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105338424B (en) A kind of method for processing video frequency and system
CN104866265B (en) Multi-media file display method and device
CN105357593B (en) A kind of methods, devices and systems of uploaded videos
CN106990828A (en) A kind of apparatus and method for controlling screen display
CN105306457B (en) Data buffer storage device and method
CN105828180A (en) Apparatus and method for caching video frames
CN106231587B (en) The data service switching method and switching device of mobile terminal
CN106250268B (en) Content of text recovery device and method
CN105278995B (en) Management method, system, server and the mobile terminal of application program
CN106534497A (en) Method of adaptively switching sound effect output channels and terminal
CN106850941A (en) Method, photo taking and device
CN106909681A (en) A kind of information processing method and its device
CN106372264A (en) Map data migration device and method
CN106793159A (en) A kind of screen prjection method and mobile terminal
CN104810033B (en) Audio frequency playing method and device
CN106657579A (en) Content sharing method, device and terminal
CN107426282A (en) A kind of picture loading method, terminal and server
CN105117751B (en) Two-dimentional decoding transmission method and device
CN106973090A (en) A kind of terminal, server and contact person's synchronous method
CN104731484B (en) The method and device that picture is checked
CN106484534A (en) Control method for the mobile terminal of displaying and control device
CN106658288A (en) Method for controlling playing of loudspeaker, and mobile terminal
CN106534915A (en) Mobile terminal, and television broadcasting method by mobile terminal
CN105049916A (en) Video recording method and device
CN105391864B (en) Device and method based on pressure control mobile terminal vibration

Legal Events

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

Application publication date: 20170322

RJ01 Rejection of invention patent application after publication