CN105915832A - Recording method and electronic device - Google Patents
Recording method and electronic device Download PDFInfo
- Publication number
- CN105915832A CN105915832A CN201610299399.7A CN201610299399A CN105915832A CN 105915832 A CN105915832 A CN 105915832A CN 201610299399 A CN201610299399 A CN 201610299399A CN 105915832 A CN105915832 A CN 105915832A
- Authority
- CN
- China
- Prior art keywords
- medium data
- cached
- data
- electronic equipment
- duration
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a recording method and an electronic device. The recording method and the electronic device are used for solving the technical problem that the video recording effect of the electronic device is low. The method comprises: buffering the multimedia data according to a presetting time in the process of the multimedia data obtained by the electronic device; receiving the recording instruction of the multimedia data; and generating the recording file corresponding to the recording instruction according to the current multimedia data and buffered multimedia data.
Description
Technical field
The present invention relates to electronic technology field, particularly to a kind of method for recording and electronic equipment.
Background technology
Along with scientific and technological develops the fierceness day by day with the market competition rapidly, performance and the outward appearance of electronic equipment obtain
Promote energetically, wherein notebook computer with its small volume and less weight, be easy to carry, the recreational advantage such as by force is just subject to
To liking of increasing people, become an indispensable part in studying and living.User utilizes electricity
The thing that subset can do also gets more and more, such as: user can be set by the electronics being connected with the webserver
For viewing video, listen music, object for appreciation game etc..
At present, during user uses electronic equipment, can record by using the video in electronic equipment
System should be used for recording corresponding video.Such as, user, can during using mobile phone to carry out video calling
With the video record application by installing in mobile phone, video calling is recorded, it is hereby achieved that accordingly
Recorded video.But, in actual application, user, when recorded video, is commonly to open user to regard
Frequently recording function (such as pressing recording button) starts to record the most afterwards, therefore, runs into some user excellent
Fragment, such as dialogue or action etc., it is desirable to the when of recording, often can missing not in time because of button
Splendid contents before button.
As can be seen here, in prior art there is the technical problem that video record effect is poor in electronic equipment.
Summary of the invention
The application provides a kind of method for recording and electronic equipment, for solving the video record effect of electronic equipment
Poor technical problem.
A kind of method for recording, including:
During electronic equipment obtains multi-medium data, according to preset duration, described multi-medium data is entered
Row cache;
Receive the record command for described multi-medium data;
According to current multi-medium data and the multi-medium data that cached, generate corresponding with described record command
Recorded file.
Optionally, described during electronic equipment obtains multi-medium data, according to preset duration to described
Multi-medium data caches, including:
Determine described electronic equipment obtain described multi-medium data the first moment, and described first moment with work as
The first duration between the front moment;
If described first duration is less than or equal to described preset duration, described multi-medium data is cached.
Optionally, described during electronic equipment obtains multi-medium data, according to preset duration to described
Multi-medium data caches, and also includes:
If it is determined that described first duration is more than described preset duration, before determining described current time and with described
Between current time time a length of described preset duration the second moment;
In the multi-medium data cached described in deletion corresponding time be engraved in the many matchmakers before described second moment
Volume data, and multi-medium data corresponding for described current time is cached.
Optionally, multi-medium data that described basis is current and the multi-medium data cached, generate with described
The recorded file that record command is corresponding, including:
The multi-medium data cached described in reading;
Set according at least some of multi-medium data in the described multi-medium data cached and described electronics
The standby current multi-medium data obtained generates described recorded file.
Optionally, at least some of multi-medium data in the multi-medium data cached described in described basis and
The multi-medium data that described electronic equipment currently obtains generates described recorded file, including:
Receive an operational order;
Destination multimedia data corresponding with described operational order in the multi-medium data cached described in determining,
Duration corresponding to described destination multimedia data is less than or equal to described preset duration;
Based on described destination multimedia data and described current multi-medium data, generate described recorded file.
A kind of electronic equipment, including:
Harvester, is used for obtaining multi-medium data;
Memorizer, is used for storing described multi-medium data;
Processor, is connected with described memorizer, for delaying described multi-medium data according to preset duration
Deposit, receive for the record command of described multi-medium data, and according to current multi-medium data and described in deposit
The multi-medium data cached in reservoir, generates the recorded file corresponding with described record command.
Optionally, described processor is used for:
Determine described electronic equipment obtain described multi-medium data the first moment, and described first moment with work as
The first duration between the front moment;
If described first duration is less than or equal to described preset duration, described multi-medium data is cached.
Optionally, described processor is additionally operable to:
If it is determined that described first duration is more than described preset duration, before determining described current time and with described
Between current time time a length of described preset duration the second moment;
In the multi-medium data cached described in deletion corresponding time be engraved in the many matchmakers before described second moment
Volume data, and multi-medium data corresponding for described current time is cached.
Optionally, described processor is used for:
The multi-medium data cached described in reading;
Set according at least some of multi-medium data in the described multi-medium data cached and described electronics
The standby current multi-medium data obtained generates described recorded file.
Optionally, described processor is used for:
Receive an operational order;
Destination multimedia data corresponding with described operational order in the multi-medium data cached described in determining,
Duration corresponding to described destination multimedia data is less than or equal to described preset duration;
Based on described destination multimedia data and described current multi-medium data, generate described recorded file.
A kind of electronic equipment, including:
Acquisition module, during obtaining multi-medium data at electronic equipment, according to preset duration to institute
State multi-medium data to cache;
Receiver module, for receiving the record command for described multi-medium data;
Operation module, for according to current multi-medium data and the multi-medium data that cached, generates and institute
State the recorded file that record command is corresponding.
In the application, during obtaining multi-medium data at electronic equipment, it is possible to according to preset duration
Multi-medium data is cached, and then when receiving the record command for multi-medium data, it is possible to root
According to current multi-medium data and the multi-medium data that cached, generate the recording literary composition corresponding with record command
Part, therefore recorded file can including, electronic equipment is receiving the recording that user is carried out for multi-medium data
Multimedia data portion before instruction, therefore, even if multi-medium data cannot be recorded by user in time,
So, the data division before record command can be recorded recording literary composition by the multi-medium data by having cached
In part, improve the video record effect of electronic equipment so that Consumer's Experience is higher.
Accompanying drawing explanation
Fig. 1 is the main flow schematic diagram of method for recording in the embodiment of the present invention;
Fig. 2 is electronic devices structure schematic diagram in the embodiment of the present application;
Fig. 3 is electronic devices structure frame diagram in the embodiment of the present application.
Detailed description of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, and the method includes: set at electronics
During standby acquisition multi-medium data, according to preset duration, described multi-medium data is cached;Receive
Record command for described multi-medium data;According to current multi-medium data and the multimedia number that cached
According to, generate the recorded file corresponding with described record command.
In the embodiment of the present invention, during obtaining multi-medium data at electronic equipment, it is possible to according in advance
If multi-medium data is cached by duration, and then when receiving the record command for multi-medium data,
Can generate corresponding with record command according to current multi-medium data and the multi-medium data cached
Recorded file, therefore recorded file can including, electronic equipment is carried out for multi-medium data receiving user
Record command before multimedia data portion, therefore, even if multi-medium data cannot be entered by user in time
Row is recorded, then, can be by the data division record before record command by the multi-medium data cached
In recorded file, improve the video record effect of electronic equipment so that Consumer's Experience is higher.
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that
Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art obtained under not making creative work premise all its
His embodiment, broadly falls into the scope of protection of the invention.
In the embodiment of the present invention, electronic equipment can be PC (personal computer), notebook computer, PAD
The different equipment such as (panel computer), mobile phone, the invention is not limited in this regard.
Optionally, electronic equipment can be provided with multiple application, as Video Applications, Baidu's map application,
Super sheriff application (a kind of video record application) etc., after electronic equipment connects network, as connected
Wi-Fi (Wireless Fidelity, Wireless Fidelity) etc., then user can use the several functions that application provides,
Baidu's map application such as can be used to navigate, or use Video Applications carries out video download, video is broadcast
Put etc..
In actual applications, electronic equipment can also include acquisition module and communication module etc., wherein gathers mould
Block can be photographic head, mike etc., and electronic equipment can be obtained by acquisition module and gather data accordingly,
Such as image file, audio files, or include the video file of image and/or sound etc..Communication module is permissible
For realizing the communication function of electronic equipment, such as voice communication, video communication etc., the present invention does not make specifically
Limit.
It addition, the terms "and/or", a kind of incidence relation describing affiliated partner, expression can
There are three kinds of relations, such as, A and/or B, can represent: individualism A, there is A and B simultaneously,
Individualism B these three situation.It addition, character "/" herein, typically represent forward-backward correlation to as if one
Plant the relation of "or".
Below in conjunction with the accompanying drawings the preferred embodiment of the present invention is described in detail.
As it is shown in figure 1, the open a kind of method for recording of the embodiment of the present invention, the process of this method for recording can be retouched
State as follows.
S11: during electronic equipment obtains multi-medium data, according to preset duration to multi-medium data
Cache.
In the embodiment of the present invention, multi-medium data may refer to the data that electronic equipment gathers, such as the sound recorded
Sound data, video data etc., or, it is also possible to by many acquired in the related application in electronic equipment
Media data, such as video calling, video playback etc..And multi-medium data can include sound, image,
One or more in figure, word, even can also include other data content, and the present invention does not make specifically
Limit.
In actual applications, when user opens and applies accordingly, Video Applications as stronger in real-time, electricity
Subset can obtain corresponding multi-medium data.Such as, when video calling, the video calling of display is drawn
Face can including, mobile phone passes through the multi-medium data that acquisition module gathers at local terminal, user as current in mobile phone
Image, sound etc., and, video calling picture can also include the multimedia number that opposite equip. transmits
According to, such as the image of partner, sound etc..
During obtaining multi-medium data, multi-medium data can be cached.This process of caching can
To be: determine that electronic equipment obtains the first moment of multi-medium data, and between the first moment and current time
The first duration, however, it is determined that the first duration be less than or equal to preset duration, multi-medium data is cached.
Wherein, the first moment may refer to electronic equipment and starts related application, started to obtain multi-medium data
Moment, i.e. initial time.Such as, if user QQ in 09:10:24 is by mobile phone applies, (one is i.e.
Time bitcom) request carries out video calling with good friend, and is successfully established logical in 09:10:32 success with the other side
Letter connection carry out video calling, mobile phone display screen shows corresponding video calling picture, it is determined that this regard
The first moment that frequency call (comprising multi-medium data) is corresponding is 09:10:32, and electronic equipment will be from the
One moment started the content to this video calling (i.e. multi-medium data) and caches.
When multi-medium data is cached, can be in the local disk storing it in electronic equipment,
Such as random access memory (random access memory, RAM), it may be used for temporarily preserving many matchmakers
Volume data, it can be read and write at any time, and speed is quickly, usually used as operating system or other be currently running
In the storage medium of ephemeral data of application.
Optionally, after determining for the first moment, i.e. can determine that based on the moment that electronic equipment is current and carry out
Multi-medium data caching duration, the i.e. first duration.Continuity the example above, in the first moment to multimedia
After data cache, if detecting, the current moment is 09:11:02, then may determine that the first duration is
30 seconds, i.e. current video call is had been carried out the caching of 30 seconds.
And preset duration can be electronic equipment dispatches from the factory and set at once, or can also be that user sets voluntarily
Put.Preset duration can be 30 seconds, 1 minute, 3 minutes etc., the present invention is not specifically limited.
In actual applications, in the case of determining preset duration, electronic equipment can in real time or interval is certain
In the moment that the detection of duration ground is current, to obtain corresponding first duration, and judge whether this first duration is less than
Equal to preset duration, and when determining less than or equal to preset duration, multi-medium data is proceeded caching.
Optionally, however, it is determined that the first duration is more than preset duration, before determining current time and and current time
Between time a length of preset duration the second moment, then delete in the multi-medium data cached the corresponding moment
Multi-medium data before the second moment, and multi-medium data corresponding for current time is cached.
In actual applications, when multi-medium data is cached, corresponding for multi-medium data can be adopted
The collection moment caches in the lump, and each multi-medium data in the multi-medium data the most cached can carry
The corresponding caching moment, thus when determining the first duration more than preset duration, the multimedia that can will have cached
The duration of caching moment distance current time corresponding in data exceedes the multi-medium data of preset duration to be carried out
Delete.
Such as, if preset duration is 1 minute, the first moment was 13:05:10, and current time is 13:06:12,
Then determine when first a length of 1 point 15 seconds, therefore exceed preset duration, the most now, according to preset duration, really
The second moment that the time difference is preset duration between fixed and current time is 13:05:25, the most now needs
Multi-medium data before being engraved in 13:05:25 during corresponding caching in the multi-medium data that will have cached is deleted
Remove, cache with the multi-medium data to current time.
In the embodiment of the present invention, by multi-medium data being cached according to preset duration, consequently facilitating right
The multi-medium data cached is updated so that the multi-medium data of caching is many near current time
Media data.
In actual applications, electronic equipment can also determine corresponding based on the first moment and preset duration
Object time, this object time is the moment after the first moment, and the first moment is between object time
Duration be preset duration, thus electronic equipment only need to detect whether current time arrives object time i.e.
Can.When i.e. the current time in detection does not arrives object time, it is only necessary to current multi-medium data is delayed
Deposit, however, it is determined that current time has reached this object time, then caching current multi-medium data
While, in addition it is also necessary to the multi-medium data that will have cached caches moment distance current time more than preset duration
Multi-medium data delete, thus ensure that the multi-medium data that cached is always the certain time length of caching
Data.
S12: receive the record command for multi-medium data.
In the embodiment of the present invention, record command can be to be applied for the video record in electronic equipment by user
The corresponding instruction carrying out operating and generate, record command is applied multimedia for controlling video record
Data are recorded.
As a rule, during electronic equipment obtains multi-medium data, corresponding display interface can show
There is the button of the relevant video record function for starting electronic equipment.Such as, set by electronics user
For carrying out in video call process, can show a virtual push button in video calling picture, this virtual push button can
For starting operational module or the application in electronic equipment with recording function, then at video call process
In, if this virtual push button of user's touch-control, corresponding record command can be generated, to control electronic equipment to working as
Front video calling is recorded.
S13: according to current multi-medium data and the multi-medium data that cached, generates and record command pair
The recorded file answered.
In the embodiment of the present invention, after receiving record command, electronic equipment can enter recording mode, and
Generate corresponding recorded file, such as video file, recording file etc..
Optionally, the process generating recorded file may include that the multi-medium data that reading has cached, according to
Many matchmakers that at least some of multi-medium data in the multi-medium data cached and electronic equipment currently obtain
Volume data generates recorded file.
Wherein, during at least some of multi-medium data may refer to the multi-medium data cached cache the moment away from
Data close to current time, such as the duration of distance current time is less than the data portion of preset duration
Point.
Optionally, setting according at least some of multi-medium data in the multi-medium data cached and electronics
When the standby current multi-medium data obtained generates recorded file, this process may include that reception one operational order,
Determine destination multimedia data corresponding with operational order in the multi-medium data cached, destination multimedia number
According to corresponding duration less than or equal to preset duration, based on destination multimedia data and current multi-medium data,
Generate recorded file.
Wherein, operational order can be the selection operation correspondence that user's multi-medium data to having cached is carried out
Instruction.Such as, when user presses the virtual push button for recording current video call, electronic equipment is permissible
Showing an information, this information could be for pointing out user setup to need in the multi-medium data that will have cached
Those parts add recorded file to, i.e. select destination multimedia data as a part for recorded file.
In actual applications, when determining destination multimedia data by operational order, including following two side
Formula.
Mode one: the whole of the multi-medium data cached are defined as destination multimedia by operational order,
And merge with the current multi-medium data recorded, generate recorded file.The many matchmakers that i.e. can will cache
Volume data all and receives the current multimedia data generation recorded file that record command is recorded.
Mode two: user select the part in the multi-medium data that cached as destination multimedia data,
And then based on this recorded file of destination multimedia data genaration chosen.
By both above mode, so that determine destination multimedia number in the multi-medium data cached
According to process more flexible, i.e. can need be configured or select according to user.
Such as, if electronic equipment starts to cache the video data of video calling from 11:05:00, preset
Shi Changwei 2 minutes, if user (is conversed for recorded video as clicked on by the first operation in communication process
The operation of virtual push button) call is recorded, and electronic equipment receives corresponding record at 11:09:00
System instruction, then, user is selected in the video data cached by the second operation (such as touch control operation etc.)
Select corresponding target video data, now, the display screen of electronic equipment can show one with cache
Selector bar corresponding to video data, the time span that this selector bar can be corresponding can be preset duration.When
Caching moment corresponding to the video data that cached in front electronic equipment is i.e. for during by 11:07:00 to 11:09:00
Between the data division of section (i.e. 2 minutes).
Now, user can select the whole as target video number of the video data cached according to mode one
According to, such as user can select the option of " choosing entirely ", just can be by the video data cached and 11:09:00
Start the video data video file according to recording generated along of recording, then this video file record has video to lead to
In words by 11:07:00 so video data, terminate until recording.
Or, if user can select one section in selector bar, having cached of this period of corresponding time period
Video data is target video data.Such as user can correspondence caching the moment be 11:07:00 extremely
The selector bar of 11:09:00 select video data corresponding for 11:08:00 to 11:09:00 this section as target
Video data, then this partial video data will generate record in the lump with the video data of the current video call recorded
File processed.It is, of course, also possible to the section At All Other Times in selection selector bar, such as 11:07:30 to 11:08:50 etc.,
The present invention is not specifically limited.
In the embodiment of the present invention, owing to, after video calling starts, electronic equipment can one section of video of automatic recording
Video data be cached to hard disk, the video data the most cached can be record have current point in time before
Video data in a period of time, certainly, the caching duration user of the video data cached can set voluntarily
Put, within typically could be arranged to 1 minute.
And when the user discover that the interesting dialogue of comparison or action, pressing video record button and starting to record
Current video, after having recorded, electronic equipment can automatically by the video data of caching before and press by
Current video data after button is integrated into a video file, or, it is also possible to selected voluntarily by user
Video data one video file of synthesis partly or entirely and currently recorded of the video data of caching.So
The video recorded can include the video before clicking on after start button, it becomes possible to solves user at video calling
Middle discovery some interesting picture or actions, then record situation about having little time, improve the experience of user.
As in figure 2 it is shown, based on same inventive concept, the embodiment of the present invention also provides for a kind of electronic equipment, should
Electronic equipment includes harvester 10, memorizer 20 and processor 30.
Harvester 10 may be used for obtaining multi-medium data;
Memorizer 20 may be used for storing described multi-medium data;
Processor 30 is connected with described memorizer 20, may be used for according to preset duration described multimedia number
According to caching, receive the record command for described multi-medium data, and according to current multi-medium data
And the multi-medium data cached in described memorizer 20, generate the recording literary composition corresponding with described record command
Part.
Optionally, described processor 30 is used for:
Determine described electronic equipment obtain described multi-medium data the first moment, and described first moment with work as
The first duration between the front moment;
If described first duration is less than or equal to described preset duration, described multi-medium data is cached.
Optionally, described processor 30 is additionally operable to:
If it is determined that described first duration is more than described preset duration, before determining described current time and with described
Between current time time a length of described preset duration the second moment;
In the multi-medium data cached described in deletion corresponding time be engraved in the many matchmakers before described second moment
Volume data, and multi-medium data corresponding for described current time is cached.
Optionally, described processor 30 is used for:
The multi-medium data cached described in reading;
Set according at least some of multi-medium data in the described multi-medium data cached and described electronics
The standby current multi-medium data obtained generates described recorded file.
Optionally, processor 30 may be used for:
Receive an operational order;
Destination multimedia data corresponding with described operational order in the multi-medium data cached described in determining,
Duration corresponding to described destination multimedia data is less than or equal to described preset duration;
Based on described destination multimedia data and described current multi-medium data, generate described recorded file.
As it is shown on figure 3, based on same inventive concept, the embodiment of the present invention also provides for a kind of electronic equipment, bag
Include acquisition module 301, receiver module 302 and operation module 303.
Acquisition module 301 is during obtaining multi-medium data at electronic equipment, according to preset duration pair
Described multi-medium data caches;
Receiver module 302 is for receiving the record command for described multi-medium data;
Operation module 303 for according to current multi-medium data and the multi-medium data that cached, generate with
The recorded file that described record command is corresponding.
Optionally, acquisition module 301 may be used for:
Determine described electronic equipment obtain described multi-medium data the first moment, and described first moment with work as
The first duration between the front moment;
If described first duration is less than or equal to described preset duration, described multi-medium data is cached.
Optionally, acquisition module 301 can be also used for:
If it is determined that described first duration is more than described preset duration, before determining described current time and with described
Between current time time a length of described preset duration the second moment;
In the multi-medium data cached described in deletion corresponding time be engraved in the many matchmakers before described second moment
Volume data, and multi-medium data corresponding for described current time is cached.
Optionally, operation module 303 may be used for:
The multi-medium data cached described in reading;
Set according at least some of multi-medium data in the described multi-medium data cached and described electronics
The standby current multi-medium data obtained generates described recorded file.
Optionally, operation module 303 may be used for:
Receive an operational order;
Destination multimedia data corresponding with described operational order in the multi-medium data cached described in determining,
Duration corresponding to described destination multimedia data is less than or equal to described preset duration;
Based on described destination multimedia data and described current multi-medium data, generate described recorded file.
Various variation patterns and the instantiation of the method for recording in earlier figures 1 embodiment are equally applicable to this reality
Executing the electronic equipment of example, by the aforementioned detailed description to method for recording, those skilled in the art can be clear
Know the implementation of electronic equipment in the present embodiment, so succinct for description, the most detailed at this
State.
Specifically, the computer program instructions that the method for recording in the embodiment of the present application is corresponding can be stored
At CD, hard disk, on the storage medium such as USB flash disk, when the computer corresponding with method for recording in storage medium
When programmed instruction is read by an electronic equipment or is performed, comprise the steps:
During electronic equipment obtains multi-medium data, according to preset duration, described multi-medium data is entered
Row cache;
Receive the record command for described multi-medium data;
According to current multi-medium data and the multi-medium data that cached, generate corresponding with described record command
Recorded file.
Optionally, in described storage medium storage and step: electronic equipment obtain multi-medium data mistake
Cheng Zhong, caches described multi-medium data according to preset duration, and corresponding computer instruction is at specifically quilt
During execution, specifically include following steps:
Determine described electronic equipment obtain described multi-medium data the first moment, and described first moment with work as
The first duration between the front moment;
If described first duration is less than or equal to described preset duration, described multi-medium data is cached.
Optionally, in described storage medium storage and step: electronic equipment obtain multi-medium data mistake
Cheng Zhong, caches described multi-medium data according to preset duration, and corresponding computer instruction is at specifically quilt
During execution, specifically include following steps:
If it is determined that described first duration is more than described preset duration, before determining described current time and with described
Between current time time a length of described preset duration the second moment;
In the multi-medium data cached described in deletion corresponding time be engraved in the many matchmakers before described second moment
Volume data, and multi-medium data corresponding for described current time is cached.
Optionally, in described storage medium storage and step: according to current multi-medium data and cached
Multi-medium data, generate the recorded file corresponding with described record command, corresponding computer instruction is at tool
During body is performed, specifically include following steps:
The multi-medium data cached described in reading;
Set according at least some of multi-medium data in the described multi-medium data cached and described electronics
The standby current multi-medium data obtained generates described recorded file.
Optionally, in described storage medium storage and step: according in the described multi-medium data cached
At least some of multi-medium data and the multi-medium data that currently obtains of described electronic equipment generate described record
File processed, corresponding computer instruction, during being specifically performed, specifically includes following steps:
Receive an operational order;
Destination multimedia data corresponding with described operational order in the multi-medium data cached described in determining,
Duration corresponding to described destination multimedia data is less than or equal to described preset duration;
Based on described destination multimedia data and described current multi-medium data, generate described recorded file.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention
Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.
Claims (11)
1. a method for recording, including:
During electronic equipment obtains multi-medium data, according to preset duration to described multi-medium data
Cache;
Receive the record command for described multi-medium data;
According to current multi-medium data and the multi-medium data that cached, generate and described record command pair
The recorded file answered.
2. the method for claim 1, it is characterised in that described in electronic equipment acquisition multimedia
During data, according to preset duration, described multi-medium data is cached, including:
Determine described electronic equipment obtain described multi-medium data the first moment, and described first moment with
The first duration between current time;
If described first duration is less than or equal to described preset duration, described multi-medium data is cached.
3. method as claimed in claim 2, it is characterised in that described in electronic equipment acquisition multimedia
During data, according to preset duration, described multi-medium data is cached, also includes:
If it is determined that described first duration is more than described preset duration, before determining described current time and with institute
State between current time time a length of described preset duration the second moment;
In the multi-medium data cached described in deletion corresponding time be engraved in the many matchmakers before described second moment
Volume data, and multi-medium data corresponding for described current time is cached.
4. the method as described in claim as arbitrary in claim 1-3, it is characterised in that described basis is current
Multi-medium data and the multi-medium data cached, generate the recorded file corresponding with described record command, bag
Include:
The multi-medium data cached described in reading;
Set according at least some of multi-medium data in the described multi-medium data cached and described electronics
The standby current multi-medium data obtained generates described recorded file.
5. method as claimed in claim 4, it is characterised in that the many matchmakers cached described in described basis
The multi-medium data that at least some of multi-medium data in volume data and described electronic equipment currently obtain is raw
Become described recorded file, including:
Receive an operational order;
Destination multimedia number corresponding with described operational order in the multi-medium data cached described in determining
According to duration corresponding to, described destination multimedia data less than or equal to described preset duration;
Based on described destination multimedia data and described current multi-medium data, generate described recorded file.
6. an electronic equipment, including:
Harvester, is used for obtaining multi-medium data;
Memorizer, is used for storing described multi-medium data;
Processor, is connected with described memorizer, for carrying out described multi-medium data according to preset duration
Caching, receives for the record command of described multi-medium data, and according to current multi-medium data and described
The multi-medium data cached in memorizer, generates the recorded file corresponding with described record command.
7. electronic equipment as claimed in claim 6, it is characterised in that described processor is used for:
Determine described electronic equipment obtain described multi-medium data the first moment, and described first moment with
The first duration between current time;
If described first duration is less than or equal to described preset duration, described multi-medium data is cached.
8. electronic equipment as claimed in claim 7, it is characterised in that described processor is additionally operable to:
If it is determined that described first duration is more than described preset duration, before determining described current time and with institute
State between current time time a length of described preset duration the second moment;
In the multi-medium data cached described in deletion corresponding time be engraved in the many matchmakers before described second moment
Volume data, and multi-medium data corresponding for described current time is cached.
9. the electronic equipment as described in claim as arbitrary in claim 6-8, it is characterised in that described processor
For:
The multi-medium data cached described in reading;
Set according at least some of multi-medium data in the described multi-medium data cached and described electronics
The standby current multi-medium data obtained generates described recorded file.
10. electronic equipment as claimed in claim 9, it is characterised in that described processor is used for:
Receive an operational order;
Destination multimedia number corresponding with described operational order in the multi-medium data cached described in determining
According to duration corresponding to, described destination multimedia data less than or equal to described preset duration;
Based on described destination multimedia data and described current multi-medium data, generate described recorded file.
11. 1 kinds of electronic equipments, including:
Acquisition module, during obtaining multi-medium data at electronic equipment, according to preset duration pair
Described multi-medium data caches;
Receiver module, for receiving the record command for described multi-medium data;
Operation module, for according to current multi-medium data and the multi-medium data that cached, generate with
The recorded file that described record command is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610299399.7A CN105915832A (en) | 2016-05-06 | 2016-05-06 | Recording method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610299399.7A CN105915832A (en) | 2016-05-06 | 2016-05-06 | Recording method and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105915832A true CN105915832A (en) | 2016-08-31 |
Family
ID=56748607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610299399.7A Pending CN105915832A (en) | 2016-05-06 | 2016-05-06 | Recording method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105915832A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106303644A (en) * | 2016-09-08 | 2017-01-04 | 康佳集团股份有限公司 | A kind of voice remote controller and the method for voice collecting, system |
CN106531167A (en) * | 2016-11-18 | 2017-03-22 | 北京云知声信息技术有限公司 | Speech information processing method and device |
CN106791909A (en) * | 2016-12-01 | 2017-05-31 | 中央电视台 | Video data processing method and device and server |
CN106792112A (en) * | 2016-12-07 | 2017-05-31 | 北京小米移动软件有限公司 | Video broadcasting method and device |
CN107222699A (en) * | 2017-04-06 | 2017-09-29 | 青岛海信移动通信技术股份有限公司 | Method and capture apparatus that a kind of video preprocessor is shot |
CN107343162A (en) * | 2017-06-30 | 2017-11-10 | 阿里巴巴集团控股有限公司 | A kind of method for recording, device and electronic equipment |
CN110324698A (en) * | 2018-03-28 | 2019-10-11 | 努比亚技术有限公司 | A kind of video recording method, terminal and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060056543A1 (en) * | 2004-09-14 | 2006-03-16 | Ali Corporation | Radio pre-recording apparatus and its method |
CN101742198A (en) * | 2008-11-24 | 2010-06-16 | 联发科技股份有限公司 | Multimedia recording apparatus and method |
CN101778273A (en) * | 2010-01-20 | 2010-07-14 | 中兴通讯股份有限公司 | Method and device for transcribing multimedia radio programs |
CN101841681A (en) * | 2009-03-21 | 2010-09-22 | 中兴通讯股份有限公司 | Method and device for recording mobile multimedia broadcast program |
CN103699309A (en) * | 2013-11-28 | 2014-04-02 | 小米科技有限责任公司 | Method and device for recording synchronous video, and mobile terminal |
-
2016
- 2016-05-06 CN CN201610299399.7A patent/CN105915832A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060056543A1 (en) * | 2004-09-14 | 2006-03-16 | Ali Corporation | Radio pre-recording apparatus and its method |
CN101742198A (en) * | 2008-11-24 | 2010-06-16 | 联发科技股份有限公司 | Multimedia recording apparatus and method |
CN101841681A (en) * | 2009-03-21 | 2010-09-22 | 中兴通讯股份有限公司 | Method and device for recording mobile multimedia broadcast program |
CN101778273A (en) * | 2010-01-20 | 2010-07-14 | 中兴通讯股份有限公司 | Method and device for transcribing multimedia radio programs |
CN103699309A (en) * | 2013-11-28 | 2014-04-02 | 小米科技有限责任公司 | Method and device for recording synchronous video, and mobile terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106303644A (en) * | 2016-09-08 | 2017-01-04 | 康佳集团股份有限公司 | A kind of voice remote controller and the method for voice collecting, system |
CN106303644B (en) * | 2016-09-08 | 2020-03-31 | 康佳集团股份有限公司 | Voice remote controller and voice acquisition method and system thereof |
CN106531167A (en) * | 2016-11-18 | 2017-03-22 | 北京云知声信息技术有限公司 | Speech information processing method and device |
CN106531167B (en) * | 2016-11-18 | 2019-12-10 | 北京云知声信息技术有限公司 | Voice information processing method and device |
CN106791909A (en) * | 2016-12-01 | 2017-05-31 | 中央电视台 | Video data processing method and device and server |
CN106791909B (en) * | 2016-12-01 | 2020-03-17 | 中央电视台 | Video data processing method and device and server |
CN106792112A (en) * | 2016-12-07 | 2017-05-31 | 北京小米移动软件有限公司 | Video broadcasting method and device |
CN107222699A (en) * | 2017-04-06 | 2017-09-29 | 青岛海信移动通信技术股份有限公司 | Method and capture apparatus that a kind of video preprocessor is shot |
CN107343162A (en) * | 2017-06-30 | 2017-11-10 | 阿里巴巴集团控股有限公司 | A kind of method for recording, device and electronic equipment |
CN110324698A (en) * | 2018-03-28 | 2019-10-11 | 努比亚技术有限公司 | A kind of video recording method, terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105915832A (en) | Recording method and electronic device | |
CN104967900B (en) | A kind of method and apparatus generating video | |
CN111314784B (en) | Video playing method and electronic equipment | |
CN107707828B (en) | A kind of method for processing video frequency and mobile terminal | |
CN113014983B (en) | Video playing method and device, storage medium and electronic equipment | |
CN110557566A (en) | Video shooting method and electronic equipment | |
CN110740262A (en) | Background music adding method and device and electronic equipment | |
CN109525707A (en) | A kind of audio frequency playing method and mobile terminal | |
WO2019109900A1 (en) | Video editing method and device and intelligent mobile terminal | |
CN108616771B (en) | Video playing method and mobile terminal | |
CN111986689A (en) | Audio playing method, audio playing device and electronic equipment | |
CN111050070A (en) | Video shooting method and device, electronic equipment and medium | |
CN109753202B (en) | Screen capturing method and mobile terminal | |
CN109257649B (en) | Multimedia file generation method and terminal equipment | |
CN110958485A (en) | Video playing method, electronic equipment and computer readable storage medium | |
CN104091596A (en) | Music identifying method, system and device | |
CN108616775A (en) | The method, apparatus of intelligence sectional drawing, storage medium and intelligent terminal when video playing | |
CN108984143B (en) | Display control method and terminal equipment | |
CN108172247A (en) | Record playing method, mobile terminal and the device with store function | |
CN108763475B (en) | Recording method, recording device and terminal equipment | |
CN106879263A (en) | A kind of image pickup method and mobile device | |
CN111464864B (en) | Reverse order video acquisition method and device, electronic equipment and storage medium | |
CN111104380A (en) | Application file management method and device, mobile terminal and storage medium | |
CN103685349B (en) | A kind of method of information processing and a kind of electronic equipment | |
CN113918522A (en) | File generation method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160831 |
|
RJ01 | Rejection of invention patent application after publication |