Summary of the invention
For the problems referred to above that existing video player exists, now provide a kind of and be intended to realize user and can carry out record to the broadcasting moment of a certain fragment of video, the multimedia player searched to facilitate user and player method thereof.
Concrete technical scheme is as follows:
A kind of multimedia player, in order to playing video file, comprising:
One broadcast unit, in order to access and to play described video file;
One storage element;
One record management unit, connects described broadcast unit and described storage element, is operated the time point information produced, and be stored in described storage element by the described time point information of record in order to record at least one by user when described video file is play;
Described broadcast unit shows the described time point information corresponding with the described video file of current broadcasting in precalculated position in time playing described video file.
Preferably, described record management unit comprises:
Trigger module, is shown in the pre-position of the broadcast interface of described broadcast unit by a viewing area, in order to receive triggering command;
Editor module, connects described trigger module, the time point information of the current broadcasting of described video file of playing corresponding when receiving described triggering command in order to record, and is stored in described storage element by described time point information.
Preferably, described editor module also comprises an inputting interface, in order to receive the text message corresponding with the described time point information of current record of user's input, and described text message is combined into record with corresponding described time point information is stored in described storage element.
Preferably, described record management unit also comprises enquiry module, and described enquiry module inquires about the record of the described video file of corresponding current broadcasting when described broadcast unit displaying video in described storage element.
Preferably, described record management unit also comprises:
Synthesis module, connect described enquiry module, described time point information in described record and described text message are formed corresponding exercisable broadcast nodes by the record in order to inquire according to described enquiry module on the broadcast interface of described broadcast unit, described broadcast nodes operates in order to reception, and in time receiving operation, controls the described time point information place that described broadcast unit is played in described broadcast nodes corresponding start to play described video file.
Preferably, described record management unit also comprises removing module, and described removing module is in order to delete the described record in described storage element;
Described record management unit also comprises modified module, and described modified module is in order to revise the described record in described storage element.
Preferably, described storage element is database, or text.
A player method for multimedia player, is applied to described multimedia player, comprises the steps:
A1. start described broadcast unit, play described video file;
A2. inquire about in described storage element and whether there is the described record corresponding with described video file, if so, perform A3; If not, A4 is performed;
A3. on the broadcast interface of described broadcast unit, the broadcast nodes corresponding with described record content is formed;
A4. described video file is play.
Preferably, also comprise in described step 4:
A41. judge whether to receive described triggering command, if so, perform A42; ;
A42. record the time point information of the current broadcasting of described video file of playing corresponding when receiving described triggering command, and described time point information is stored in described storage element.
The beneficial effect of technique scheme:
In video file playing process, record can be carried out to the broadcasting moment of a certain fragment by record management unit, and show corresponding broadcast nodes at the time point information of video clip, when again accessing this video with person easy to use can quick position to this fragment, to meet the demand of user, person easy to use searches.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all belongs to the scope of protection of the invention.
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
As shown in Figure 1, a kind of multimedia player, in order to playing video file, can comprise:
One broadcast unit 1, in order to access also playing video file;
One storage element 2;
One record management unit 3, connects broadcast unit 1 and storage element 2, is operated the time point information produced, and be stored in storage element 2 by the time point information of record in order to record at least one by user when video file is play;
Broadcast unit 1 shows the time point information corresponding with the video file of current broadcasting in precalculated position when playing video file.
In the present embodiment, time point information that can be corresponding to a certain fragment in video file playing process by record management unit 3 records and stores, when again accessing this video with person easy to use can quick position to this fragment, to meet the demand of user, person easy to use searches.
In a preferred embodiment, record management unit 3 can comprise:
Trigger module 31, is shown in the pre-position of the broadcast interface of broadcast unit 1 by a viewing area, in order to receive triggering command;
Editor module 32, connects trigger module 31, the time point information of the current broadcasting of the video file play corresponding when receiving triggering command in order to record, and is stored in storage element 2 by time point information.
Further, trigger module 31 can be connected with the touch-screen of mobile terminal, is formed at the touch button of the broadcast interface of broadcast unit 1, and user is by clicking the transmission triggering command of this touch button.
The present embodiment is applicable to the actual scene playing local video file, allows user in the process of video playback, sends triggering command by point touching button.
In a preferred embodiment, editor module 32 also can comprise an inputting interface, in order to receive the text message corresponding with the time point information of current record of user's input, and text message and corresponding time point information are combined into record are stored in storage element 2.
When user sends triggering command, user can input corresponding text message at inputting interface, again accesses this video file with person easy to use.
By the content that inputting interface can be corresponding with time point information in (or later stage) edit and storage unit immediately, severals Word messages that user needs to preserve can be added, as a part for this time point information of expression.The form of form can be adopted to represent at the time point information of cell stores and the Word message corresponding with time point information, as shown in table 1, the respective record of table 1 in order to represent that user does this video file in a grammar teaching video.
In table 1 _ id represents this record index value in the memory unit; File name represents video file name; MD5 represents the md5 value of video file, and this value is unique and unduplicated, can identify the uniqueness of file; Mark represents the position of record, i.e. time point information; Content represents that user adds the word content of annotation.
In a preferred embodiment, record management unit 3 also can comprise enquiry module 34, and enquiry module 34 inquires about the record of the video file of corresponding current broadcasting when broadcast unit 1 displaying video in storage element 2.
Utilize enquiry module 34 can obtain the video file play fast and whether there is the record corresponding with it, if having, then on broadcast interface, form the mark corresponding with record content, if do not have, then this video file of normal play.
In a preferred embodiment, record management unit 3 also can comprise:
Synthesis module 35, Connection inquiring module 34, time point information in record and text message are formed corresponding exercisable broadcast nodes by the record in order to inquire according to enquiry module 34 on the broadcast interface of broadcast unit 1, broadcast nodes operates in order to reception, and starts playing video file in receiving the time point information place that operation time control broadcast unit 1 is played in broadcast nodes corresponding.
In the present embodiment, in the broadcast interface of video file, a reproduction time axle can be formed, in order to the playing progress rate of the video file that displays the play, broadcast nodes is formed in the preset frame on time shaft, as shown in Figure 2, first area B2 on time shaft represents the video play, round dot B3 represents current position of playing, during normal play, round dot B3 can constantly move forward, time shaft also have two short vertical bar (B5, B6), represent and twice record (i.e. broadcast nodes) was done to this video file, first vertical bar B5, the prompting frame B4 ejected is in order to show the word content of user's record.The upper right corner is provided with a hover button B1 (being equivalent to touch button), and clicking this hover button B1 to current round dot B3 position, can add time point information and word content.
In a preferred embodiment, record management unit 3 also can comprise removing module 33, and removing module 33 is in order to delete the record in storage element 2;
Record management unit 3 also comprises modified module 36, and modified module 36 is in order to revise the record in storage element 2.
In the present embodiment by removing module 33 and modified module 36 person of the being easy to use subsequent modification to record.
In a preferred embodiment, storage element 2 is database, or text.
As shown in Figure 3, a kind of player method of multimedia player, is applied to multimedia player, can comprise the steps:
A1. broadcast unit 1 is started, playing video file;
A2. inquire about in storage element 2 whether there is the record corresponding with video file, if so, perform A3; If not, A4 is performed;
A3. on the broadcast interface of broadcast unit 1, the broadcast nodes corresponding with record content is formed;
A4. playing video file.
Record can be carried out at any time in the present embodiment to the local video file play, and the information of record is stored in memory cell, when again accessing this video with person easy to use can quick position to this fragment, to meet the demand of user, person easy to use searches.
In a preferred embodiment, also can comprise in step 4:
A41. judge whether to receive triggering command, if so, perform A42; ;
A42. record the time point information of the current broadcasting of the video file play corresponding when receiving triggering command, and time point information is stored in storage element 2.
Achieve the broadcast mode of more accurately locating local video in the present embodiment, user can specific fragment in recording of video file rapidly, and to the corresponding information of interpolation, browse all fragment position of spacer with person easy to use, and support that user deletes the record of one or more fragment.After local video is deleted, relevant sheet segment record is still retained in the memory cell of client, except non-user initiatively deletion record.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection range is limited; to those skilled in the art; should recognize and all should be included in the scheme that equivalent replacement done by all utilizations specification of the present invention and diagramatic content and apparent change obtain in protection scope of the present invention.