CN105049916A - Video recording method and device - Google Patents

Video recording method and device Download PDF

Info

Publication number
CN105049916A
CN105049916A CN201510374399.4A CN201510374399A CN105049916A CN 105049916 A CN105049916 A CN 105049916A CN 201510374399 A CN201510374399 A CN 201510374399A CN 105049916 A CN105049916 A CN 105049916A
Authority
CN
China
Prior art keywords
video
interface
current display
preview interface
new thread
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.)
Granted
Application number
CN201510374399.4A
Other languages
Chinese (zh)
Other versions
CN105049916B (en
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 CN201510374399.4A priority Critical patent/CN105049916B/en
Publication of CN105049916A publication Critical patent/CN105049916A/en
Application granted granted Critical
Publication of CN105049916B publication Critical patent/CN105049916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention relates to the technical field of intelligent terminals, particularly to a video recording method and device. The video recording method includes: playing a video in a firs preview interface; and detecting whether the first preview interface is a current display interface in real time, if yes, recording the video that is played in the current display interface, and if no, developing a new thread, and recording the video that is played in the first preview interface in the new thread. According to the video recording method provided by the invention, when an interface of another application is detected to cover the playing interface of the video to be recorded, the new thread is developed and is used to record the covered video to be recorded, so that other applications are allowed to be operated in a video recording process without influencing a recording result of the video.

Description

A kind of video recording method and device
Technical field
The present invention relates to intelligent terminal technical field, particularly relate to a kind of video recording method and device.
Background technology
The progress of science and technology, makes mobile terminal enter into the every aspect of people's life.Mobile terminal is widely deployed in office, amusement, leisure etc. that people are daily.
Because the portability of mobile terminal, increasing user likes watching some live videos with mobile terminal, with mobile terminal viewing live video not by the restriction in time place, as long as there is the mobile terminal of a network-connectable, as long as arrived the net cast time, user just can watch live video.Wherein a lot of user is when watching live video, prefers this live video to record to facilitate again to share this live video with relatives and friends, and need not go for the resource of seeking this live video more specially and again download.
At present, terminal, for the recording of the video play thereon, is adopt screen shot to obtain continuous print picture mostly, then carries out the mode of encoding and decoding synthetic video to continuous print picture.The mode of this recorded video, does not allow the operation having any other in recording process, and recording picture can not be blocked by other interfaces, is responsible for recording unnecessary image information, causes the video that the video non-user recorded is wanted.
Summary of the invention
Main purpose of the present invention is to propose a kind of video recording method and device, and the present invention allows to carry out operating other application in the process of video record, and other application do not affect the recording of video, and user still can be recorded to the video wanted.
The technical scheme that the present invention solves the problems of the technologies described above is as follows:
A kind of video recording method, comprising:
Displaying video in the first preview interface;
Whether described first preview interface of real-time detection is current display interface, if so, then records described current display interface; If not, then open new routes journey, in described new thread, records the video play in described first preview interface.
Further, described described current display interface to be recorded, comprising:
Detect the gesture motion in described current display interface;
Obtain view data and the voice data of described current display interface respectively;
Described gesture motion is rendered in described view data to generate final image data;
Described final image data and described voice data are carried out simultaneously match with generating video file.
Further, described gesture motion comprises: the generation moment of gesture, initial click location and sliding trace.
Further, described in open up new thread, in described new thread, the video play is recorded, comprising in described first preview interface:
Open new routes journey;
View data and the voice data of described first preview interface is obtained respectively in described new thread;
In described new thread, the view data of described first preview interface and voice data are carried out simultaneously match with generating video file.
Further, described view data and the voice data obtaining described first preview interface in described new thread respectively, is specially:
Obtain the image data stream that described first preview interface exports, described image data stream is cached in internal memory, according to time and frame per second, the view data obtaining the first preview interface is encoded to described image data stream;
Obtain the audio data stream that described first preview interface exports, described audio data stream is cached in internal memory, according to time and frame per second, the voice data obtaining the first preview interface is encoded to described audio data stream.
For a device for video record, comprising:
Video playback unit, for displaying video in the first preview interface;
Whether detecting unit is current display interface for detecting described first preview interface in real time;
Current display interface recording elements, during for detecting that described first preview interface is current display interface when described detecting unit, then records described current display interface;
New thread recording elements, during for described first preview interface being detected when described detecting unit not for current display interface, then open new routes journey, in described new thread, records the video play in described first preview interface.
Further, described current display interface recording elements, comprising:
Gesture motion detecting unit, for detecting the gesture motion in described current display interface;
The image data acquisition unit of current display interface, for obtaining the view data of described current display interface;
The voice data acquiring unit of current display interface, for obtaining the voice data of described current display interface;
Final image data generating unit, to generate final image data in the view data that the image data acquisition unit that the gesture motion for being detected by described gesture motion detecting unit is rendered into described current display interface gets;
Video file generation unit, carries out simultaneously match with generating video file for the voice data final image data of described final image data generating unit and the voice data acquiring unit of described current display interface got.
Further, described gesture motion comprises: the generation moment of gesture, initial click location and sliding trace.
Further, described new thread recording elements, comprising:
New thread opens up unit, for the journey that opens new routes;
New thread image data acquisition unit, for obtaining the view data of described first preview interface in described new thread;
New thread voice data acquiring unit, for obtaining the voice data of described first preview interface in described new thread;
New thread video file generation unit, for in described new thread, the voice data of the first preview interface that the view data of the first preview interface described new thread image data acquisition unit got and new thread voice data acquiring unit get carries out simultaneously match with generating video file.
Further, described new thread image data acquisition unit, specifically for obtaining the image data stream that described first preview interface exports, described image data stream being cached in internal memory, according to time and frame per second, the view data obtaining the first preview interface is encoded to described image data stream;
Described new thread voice data acquiring unit, specifically for obtaining the audio data stream that described first preview interface exports, described audio data stream is cached in internal memory, according to time and frame per second, the voice data obtaining the first preview interface is encoded to described audio data stream.
A kind of video recording method of the present invention comprises: displaying video in the first preview interface; Whether described first preview interface of real-time detection is current display interface, if so, then records the video play in described current display interface; If not, then open new routes journey, in described new thread, records the video play in described first preview interface.The present invention is when the interface detecting that other are applied shelters from the broadcast interface for recorded video, open new routes journey, recording the video for recording be blocked by this new thread, making in the process of video record, allow other application of operation, and the recording result of video can not be had influence on.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart of a kind of video recording method embodiment one of the present invention;
Fig. 4 is the flow chart of a kind of video recording method embodiment two of the present invention;
Fig. 5 is the flow chart of a kind of video recording method embodiment three of the present invention;
Fig. 6 is the block diagram of a kind of device embodiment four for video record of the present invention;
Fig. 7 is the block diagram of a kind of device embodiment five for video record of the present invention;
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desktop computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input unit 120, user input unit 130, sensing cell 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO ) the digit broadcasting system receiving digital broadcast of Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in memory 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth tM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (global positioning system).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating location and temporal information uses three satellites and by the error of the position that uses an other satellite correction calculation to go out and temporal information.In addition, GPS module 115 can carry out computational speed information by Continuous plus current location information in real time.
A/V input unit 120 is for audio reception or vision signal.A/V input unit 120 can comprise camera 121 and microphone 1220, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display module 151.Picture frame after camera 121 processes can be stored in memory 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 1210 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of audio signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display module 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power subsystem 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other jockey.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, audio signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display module 151, dio Output Modules 152, alarm modules 153 etc.
Display module 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display module 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display module 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display module 151 and touch pad as a layer superposed on one another to form touch-screen time, display module 151 can be used as input unit and output device.Display module 151 can comprise at least one in liquid crystal display (LCD), thin-film transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific execution mode wanted, mobile terminal 100 can comprise two or more display modules (or other display unit), such as, mobile terminal can comprise outside display module (not shown) and inner display module (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in memory 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loud speaker, buzzer etc.
Alarm modules 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm modules 153 can provide in a different manner and export with the generation of notification event.Such as, alarm modules 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incomingcommunication) time, alarm modules 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm modules 153 also can provide the output of the generation of notification event via display module 151 or dio Output Modules 152.
Memory 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, memory 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of audio signal.
Memory 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type memory (such as, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 1810 for reproducing (or playback) multi-medium data, and multi-media module 1810 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power subsystem 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various execution mode described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, execution mode described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such execution mode can be implemented in controller 180.For implement software, the execution mode of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memory 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to the communication system that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA), code division multiple access (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC2750.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several global positioning system (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Touch operation method of the present invention, is specially adapted to narrow frame or Rimless mobile terminal, first the Touch Zone of mobile terminal is divided into special subregion and common subregion same as the prior art, and distributes an input equipment for each subregion; When receiving touch control operation, judging which subregion this touch control operation occurs in, when occurring in special subregion, then reporting touch control operation by the input equipment that special section post is corresponding, when occurring in common subregion, then report touch control operation by the input equipment that common section post is corresponding; Finally, the touch control operation that the input equipment that mobile terminal is corresponding to special section post reports carries out special processing, and the touch control operation that the input equipment corresponding to common section post reports, as prior art, carries out normal process.
Describedly special processing is carried out to touch control operation can be understood as unconventional process or improper process are carried out to touch control operation, as ignored this touch control operation, generating special efficacy according to this touch control operation, or other processing mode self-defining.For example, unconventional process or improper process, can do following understanding: further when user clicks a certain application icon, and normal process or conventional treatment start this application, and improper process or unconventional process are then to start this application.
Be described in detail below by way of specific embodiment.
Embodiment one
See the flow chart that Fig. 3, Fig. 3 are a kind of video recording method embodiments one of the present invention.
A kind of video recording method, comprising:
S101, in the first preview interface displaying video.
Whether S102, in real time described first preview interface of detection are current display interface, if so, then perform S103; Otherwise, perform S104.
In step S102, whether the first preview interface of real-time detection displaying video is current display interface, the broadcast interface of the video namely detected for recording blocks with or without the interface of being applied by other, if do not blocked, then the direct video to playing in current display interface is recorded; If the broadcast interface for the video recorded has been blocked at the interface having other to apply, then opened new routes journey, records the video be blocked for recording by this new thread; Reach with this: in video record process, allow to carry out other operations and do not affect the effect of video record.
S103, described current display interface to be recorded.
In step S103, to displaying video in described current display interface, the current display interface of displaying video is recorded.
S104, open new routes journey, in described new thread, records the video play in described first preview interface.
The present invention allows to carry out operating other application in the process of video record, and other application do not affect the recording of video, and user still can be recorded to the video wanted.
Embodiment two
The application scenarios of the present embodiment is: user demonstrates the relevant use study course of a certain application program in terminal, and user wants this process to record.Such as, user wants to record the video playing " bird of indignation " clearance, is described in further detail method of the present invention below in conjunction with this application scenarios.
See the flow chart that Fig. 4, Fig. 4 are a kind of video recording method embodiments two of the present invention.
A kind of video recording method, comprising:
S210, in the first preview interface displaying video.
In the first preview interface, in step S210, play " bird of indignation " video.
S220, detect that described first preview interface is current display interface.
In step S220, detect that the first preview interface is current display interface, namely current display interface plays " bird of indignation " video, and the interface of also namely playing " bird of indignation " video is not blocked by the interface of other application.
Following S231-S233, step in no particular order.
S231, the gesture motion detected in described current display interface.
In step S231, in the present embodiment, " indignation bird " video is play in current display interface, and user can carry out associative operation to video, and such as, user to slide out a track at the relevant position of current display interface.The present invention can detect the gesture motion in described current display interface, and this gesture motion is rendered in video file, so the present invention can record the study course class video of gesture motion.
This step detecting gesture motion, comprising: detecting user sends moment of gesture motion, the initial click location of gesture motion, the sliding trace of gesture motion.
S232, obtain the view data of described current display interface.
View data described in step S232 is the view data of the video that current display interface is play.
S233, obtain the voice data of described current display interface.
Voice data described in step S233 is the voice data of the video that current display interface is play.
S240, described gesture motion to be rendered in described view data to generate final image data.
In step S240, the gesture motion that step S231 detects is rendered into the view data that step S232 obtains.
S250, described final image data and described voice data are carried out simultaneously match with generating video file.
In step S250, the voice data that the final image data generate step S240 and step S233 obtain carries out simultaneously match with generating video file, and this video file is the video file be recorded to.
The present invention can will be rendered in video file to the gesture operation at interface, and the present invention can record the study course class video of gesture motion.
Embodiment three
The application scenarios of the present embodiment is: user records in the process of being somebody's turn to do " live video A " on viewing " live video A " limit, terminal top, phone is had to call in, now, user needs to receive calls, but do not want the recording interrupting " live video A ", in this case, the invention provides following examples.
See the flow chart that Fig. 5, Fig. 5 are a kind of video recording method embodiments three of the present invention.
A kind of video recording method, comprising:
S310, in the first preview interface displaying video.
In step S310, in the first preview interface, play " live video A ".
S320, described first preview interface non-present display interface detected.
In step S320, in the process recording " live video A ", there is phone to call in, user receives calls, then current display interface becomes call interface, namely first preview interface of " live video A " block by call interface, now the present invention open new routes journey with in described new thread to " the live video A " that play in described first preview interface proceed record.Method provided by the invention, allow to receive calls in the process that " live video A " records, receive calls and do not affect the recording of " live video A ", user still can be recorded to " live video A " while receiving calls.
S330, open new routes journey.
In step S330, the journey that opens new routes is to record " the live video A " that play in described first preview interface.
S340-S350 is the concrete mode that new thread records " live video A ":
S340, the view data obtaining described first preview interface in described new thread respectively and voice data.
The view data of the first preview interface described in step S340 and voice data, refer to view data and the voice data of " the live video A " play in the first preview interface, not comprise in the first preview interface other view data and voice data.
The view data obtaining described first preview interface is specially: obtain the image data stream that " the live video A " that play in described first preview interface exports, described image data stream is cached in internal memory, described image data stream is encoded to the view data of " the live video A " that obtain playing in the first preview interface according to time and frame per second.
The voice data obtaining described first preview interface is specially: obtain the audio data stream that " the live video A " that play in described first preview interface exports, described audio data stream is cached in internal memory, described audio data stream is encoded to the voice data of " the live video A " that obtain playing in the first preview interface according to time and frame per second.
S350, in described new thread, the view data of described first preview interface and voice data are carried out simultaneously match with generating video file.
In step S350, after S340 gets the view data of " live video A " and the voice data of " live video A " respectively, in new thread, carry out simultaneously match with generating video file to the view data of " live video A " and the voice data of " live video A ", the video file of this generation is " the live video A " that be recorded to.
The present invention is when the interface detecting that other are applied shelters from the broadcast interface for recorded video, open new routes journey, recording the video for recording be blocked by this new thread, making in the process of video record, allow other application of operation, and the recording result of video can not be had influence on.
Embodiment four
See the block diagram that Fig. 6, Fig. 6 are a kind of device embodiments four for video record of the present invention.
For a device for video record, comprising:
Video playback unit 10, for displaying video in the first preview interface.
Whether detecting unit 20 is current display interface for detecting described first preview interface in real time.
Current display interface recording elements 30, for when described detecting unit 20 detects that described first preview interface is current display interface, then records described current display interface.
New thread recording elements 40, during for described first preview interface being detected when described detecting unit 20 not for current display interface, then open new routes journey, in described new thread, records the video play in described first preview interface.
The present invention is when the interface detecting that other are applied shelters from the broadcast interface for recorded video, open new routes journey, recording the video for recording be blocked by this new thread, making in the process of video record, allow other application of operation, and the recording result of video can not be had influence on.
Embodiment five
See the block diagram that Fig. 7, Fig. 7 are a kind of device embodiments five for video record of the present invention.
For a device for video record, comprising:
Video playback unit 10, for displaying video in the first preview interface.
Whether detecting unit 20 is current display interface for detecting described first preview interface in real time.
Current display interface recording elements 30, for when described detecting unit 20 detects that described first preview interface is current display interface, then records described current display interface.
Current display interface recording elements 30 comprises:
Gesture motion detecting unit 301, for detecting the gesture motion in described current display interface.
Described gesture motion comprises: the initial click location of gesture and sliding trace.
The image data acquisition unit 302 of current display interface, for obtaining the view data of described current display interface.
The voice data acquiring unit 303 of current display interface, for obtaining the voice data of described current display interface.
Final image data generating unit 304, to generate final image data in the view data that the image data acquisition unit 302 that the gesture motion for being detected by described gesture motion detecting unit 301 is rendered into described current display interface gets.
Video file generation unit 305, carries out simultaneously match with generating video file for the voice data final image data of described final image data generating unit 304 and the voice data acquiring unit 303 of described current display interface got.
New thread recording elements 40, during for described first preview interface being detected when described detecting unit 20 not for current display interface, then open new routes journey, in described new thread, records the video play in described first preview interface.
New thread recording elements 40 comprises:
New thread opens up unit 401, for the journey that opens new routes.
New thread image data acquisition unit 402, for obtaining the view data of described first preview interface in described new thread.
Described new thread image data acquisition unit 402, specifically for obtaining the image data stream that described first preview interface exports, described image data stream is cached in internal memory, according to time and frame per second, the view data obtaining the first preview interface is encoded to described image data stream.
New thread voice data acquiring unit 403, for obtaining the voice data of described first preview interface in described new thread.
Described new thread voice data acquiring unit 403, specifically for obtaining the audio data stream that described first preview interface exports, described audio data stream is cached in internal memory, according to time and frame per second, the voice data obtaining the first preview interface is encoded to described audio data stream.
New thread video file generation unit 404, for in described new thread, the voice data that the view data of the first preview interface described new thread image data acquisition unit 402 got and described new thread voice data acquiring unit 403 get carries out simultaneously match with generating video file.
The present invention is when the interface detecting that other are applied shelters from the broadcast interface for recorded video, open new routes journey, recording the video for recording be blocked by this new thread, making in the process of video record, allow other application of operation, and the recording result of video can not be had influence on.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a video recording method, is characterized in that, comprising:
Displaying video in the first preview interface;
Whether described first preview interface of real-time detection is current display interface, if so, then records described current display interface; If not, then open new routes journey, in described new thread, records the video play in described first preview interface.
2. a kind of video recording method according to claim 1, is characterized in that, describedly records described current display interface, comprising:
Detect the gesture motion in described current display interface;
Obtain view data and the voice data of described current display interface respectively;
Described gesture motion is rendered in described view data to generate final image data;
Described final image data and described voice data are carried out simultaneously match with generating video file.
3. a kind of video recording method according to claim 2, is characterized in that, described gesture motion comprises: the generation moment of gesture, initial click location and sliding trace.
4. a kind of video recording method according to claim 1, is characterized in that, described in open up new thread, in described new thread, the video play is recorded, comprising in described first preview interface:
Open new routes journey;
View data and the voice data of described first preview interface is obtained respectively in described new thread;
In described new thread, the view data of described first preview interface and voice data are carried out simultaneously match with generating video file.
5. a kind of video recording method according to claim 4, is characterized in that, described view data and the voice data obtaining described first preview interface in described new thread respectively, is specially:
Obtain the image data stream that described first preview interface exports, described image data stream is cached in internal memory, according to time and frame per second, the view data obtaining the first preview interface is encoded to described image data stream;
Obtain the audio data stream that described first preview interface exports, described audio data stream is cached in internal memory, according to time and frame per second, the voice data obtaining the first preview interface is encoded to described audio data stream.
6. for a device for video record, it is characterized in that, comprising:
Video playback unit, for displaying video in the first preview interface;
Whether detecting unit is current display interface for detecting described first preview interface in real time;
Current display interface recording elements, during for detecting that described first preview interface is current display interface when described detecting unit, then records described current display interface;
New thread recording elements, during for described first preview interface being detected when described detecting unit not for current display interface, then open new routes journey, in described new thread, records the video play in described first preview interface.
7. a kind of device for video record according to claim 6, is characterized in that, described current display interface recording elements, comprising:
Gesture motion detecting unit, for detecting the gesture motion in described current display interface;
The image data acquisition unit of current display interface, for obtaining the view data of described current display interface;
The voice data acquiring unit of current display interface, for obtaining the voice data of described current display interface;
Final image data generating unit, to generate final image data in the view data that the image data acquisition unit that the gesture motion for being detected by described gesture motion detecting unit is rendered into described current display interface gets;
Video file generation unit, carries out simultaneously match with generating video file for the voice data final image data of described final image data generating unit and the voice data acquiring unit of described current display interface got.
8. a kind of device for video record according to claim 7, it is characterized in that, described gesture motion comprises: the generation moment of gesture, initial click location and sliding trace.
9. a kind of device for video record according to claim 6, is characterized in that, described new thread recording elements, comprising:
New thread opens up unit, for the journey that opens new routes;
New thread image data acquisition unit, for obtaining the view data of described first preview interface in described new thread;
New thread voice data acquiring unit, for obtaining the voice data of described first preview interface in described new thread;
New thread video file generation unit, for in described new thread, the voice data of the first preview interface that the view data of the first preview interface described new thread image data acquisition unit got and new thread voice data acquiring unit get carries out simultaneously match with generating video file.
10. a kind of device for video record according to claim 9, it is characterized in that, described new thread image data acquisition unit, specifically for obtaining the image data stream that described first preview interface exports, described image data stream is cached in internal memory, according to time and frame per second, the view data obtaining the first preview interface is encoded to described image data stream;
Described new thread voice data acquiring unit, specifically for obtaining the audio data stream that described first preview interface exports, described audio data stream is cached in internal memory, according to time and frame per second, the voice data obtaining the first preview interface is encoded to described audio data stream.
CN201510374399.4A 2015-06-30 2015-06-30 A kind of video recording method and device Active CN105049916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510374399.4A CN105049916B (en) 2015-06-30 2015-06-30 A kind of video recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510374399.4A CN105049916B (en) 2015-06-30 2015-06-30 A kind of video recording method and device

Publications (2)

Publication Number Publication Date
CN105049916A true CN105049916A (en) 2015-11-11
CN105049916B CN105049916B (en) 2019-03-01

Family

ID=54456039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510374399.4A Active CN105049916B (en) 2015-06-30 2015-06-30 A kind of video recording method and device

Country Status (1)

Country Link
CN (1) CN105049916B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791136A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 A kind of video record processing method, device and terminal
CN109168076A (en) * 2018-11-02 2019-01-08 北京字节跳动网络技术有限公司 Method for recording, device, server and the medium of online course
CN110314375A (en) * 2019-06-25 2019-10-11 努比亚技术有限公司 A kind of method for recording of scene of game, terminal and computer readable storage medium
CN113852774A (en) * 2021-09-01 2021-12-28 维沃移动通信(杭州)有限公司 Screen recording method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724466A (en) * 2012-05-25 2012-10-10 深圳市万兴软件有限公司 Video recording method and device
US20140068503A1 (en) * 2012-08-29 2014-03-06 Samsung Electronics Co., Ltd. Screen recording method and apparatus in terminal
CN103870141A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN104156135A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Screen recording method and device
CN104424022A (en) * 2013-08-30 2015-03-18 腾讯科技(深圳)有限公司 Screen recording method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724466A (en) * 2012-05-25 2012-10-10 深圳市万兴软件有限公司 Video recording method and device
US20140068503A1 (en) * 2012-08-29 2014-03-06 Samsung Electronics Co., Ltd. Screen recording method and apparatus in terminal
CN103870141A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN104156135A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Screen recording method and device
CN104424022A (en) * 2013-08-30 2015-03-18 腾讯科技(深圳)有限公司 Screen recording method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791136A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 A kind of video record processing method, device and terminal
CN109168076A (en) * 2018-11-02 2019-01-08 北京字节跳动网络技术有限公司 Method for recording, device, server and the medium of online course
CN109168076B (en) * 2018-11-02 2021-03-19 北京字节跳动网络技术有限公司 Online course recording method, device, server and medium
CN110314375A (en) * 2019-06-25 2019-10-11 努比亚技术有限公司 A kind of method for recording of scene of game, terminal and computer readable storage medium
CN113852774A (en) * 2021-09-01 2021-12-28 维沃移动通信(杭州)有限公司 Screen recording method and device

Also Published As

Publication number Publication date
CN105049916B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN105100892A (en) Video playing device and method
CN104951206A (en) Icon hiding method and device
CN105260083A (en) Mobile terminal and method for realizing split screens
CN105100482A (en) Mobile terminal and system for realizing sign language identification, and conversation realization method of the mobile terminal
CN104883658A (en) Virtual card information processing method and system
CN104883430A (en) Mobile terminal, processing method of unread superscripts of mobile terminal, and processing device of unread superscripts of mobile terminal
CN105760057A (en) Screenshot device and method
CN106941443A (en) One population historical record checks terminal and method
CN105718071A (en) Terminal and method for recommending associational words in input method
CN104796956A (en) Mobile terminal network switching method and mobile terminal
CN104731480A (en) Image display method and device based on touch screen
CN105430258B (en) A kind of method and apparatus of self-timer group photo
CN105049637A (en) Device and method for controlling instant communication
CN105243126A (en) Cross-screen screen capture method and apparatus
CN106873936A (en) Electronic equipment and information processing method
CN104850325A (en) Mobile terminal application processing method and device
CN105187664A (en) Control device and method for audio output equipment
CN106028090A (en) Mobile terminal and video recording method thereof
CN104968027A (en) Wi-Fi control method and apparatus
CN104636043A (en) Virtual key display method and virtual key display device
CN104917965A (en) Shooting method and device
CN107360214A (en) A kind of message push processing method, message sink processing method and processing device
CN105245938A (en) Device and method for playing multimedia files
CN104811565A (en) Voice change communication realization method and terminal
CN106254617A (en) A kind of mobile terminal and control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant