Summary of the invention
In view of above content, be necessary to provide a kind of film focus processing method, can recording user to the focus of film, and according to the statistics of focus being found to the focus of this film, and intercept corresponding representative sectional drawing.
In view of above content, there is a need to provide a kind of film focus treatment system, can recording user to the focus of film, and according to the statistics of focus being found to the focus of this film, and intercept corresponding representative sectional drawing.
Described film focus processing method comprises step: when the film that client terminal playing server provides, and whether detecting user selects the focus of this film; When detecting user and selecting the focus of this film, in the database of server, record the time that this focus is corresponding in film; According to the number of times of focus record each in database, some focus maximum for the number of times of record are defined as the focus of this film; The sectional drawing corresponding with the focus of this film is intercepted from this film; And after receiving the thumbnail browsing this film or the request watching this film that client sends, the hot spot data of this film and corresponding sectional drawing are sent to client.
Described film focus treatment system comprises: detecting module, and for when the film that client terminal playing server provides, whether detecting user selects the focus of this film; Logging modle, for when detecting user and selecting the focus of this film, records the time that this focus is corresponding in film in the database of server; Some focus maximum for the number of times of record, for the number of times according to focus record each in database, are defined as the focus of this film by determination module; Interception module, for intercepting the sectional drawing corresponding with the focus of this film from this film; And sending module, for after receiving the thumbnail browsing this film or the request watching this film that client sends, the hot spot data of this film and corresponding sectional drawing are sent to client.
Compared to prior art, described film focus processing method and system, user can be allowed to press focus button to select focus for the content of certain time in film, and according to the statistics to the focus of this film, find the focus of this film and intercept out corresponding sectional drawing, to show the focus of this film to user or provide when sharing film this film more representative thumbnail on the time shaft of this film.
Embodiment
Consulting shown in Fig. 1, is the running environment figure of film focus treatment system of the present invention preferred embodiment.Film focus treatment system 10 runs in the webserver 2, and the webserver 2 is connected in one or more client 4(Fig. 1 by network and only illustrates one representatively), for client 4 provides the thumbnail of film or film.Database 20, memory 30 and processor 40 etc. are also comprised in the described webserver 2.
Memory 30 is for storing the data such as the program code of film focus treatment system 10.Described film focus treatment system 10 can be divided into one or more module, and described one or more module is configured to be performed by one or more processor (the present embodiment is a processor 40), to complete the present invention.Module alleged by the present invention has been the computer program code segments of a specific function.
Consulting shown in Fig. 2, is the functional block diagram of film focus treatment system of the present invention preferred embodiment.Described film focus treatment system 10 comprises detecting module 100, logging modle 200, determination module 300, interception module 400 and sending module 500.
Described detecting module 100 for watch the webserver 2 as the user of client 4 and provide film time, whether detecting user selects the focus of this film.In the present embodiment, a focus button (LikePiont is set near the time shaft of film, consult shown in Fig. 3 and Fig. 4), if user likes the content of certain time of this film, in movie to clicking this focus button during this time, detecting module 100 detects the action that user clicks this focus button, is then designated as the focus of this film this time.
Described logging modle 200, for when detecting user and selecting the focus of this film, records the time that this focus is corresponding in film in database 20.In the present embodiment, the time that focus is corresponding in film is accurate to integer second, namely when this time is more than or equal to N second and be less than N+1 second, is all designated as N second.
Some focus maximum for the number of times of record, for the number of times according to focus record each in database 20, are defined as the focus of this film by described determination module 300.In the present embodiment, in determination module 300 pairs of databases 20, the focus of this film of record sorts according to record number of times, and front three maximum for the number of times after sequence is defined as the focus of this film.
Described interception module 400 for intercepting the sectional drawing corresponding with the focus of this film from this film.
The hot spot data of this film and corresponding sectional drawing, for after receiving the request that client 4 sends, are sent to client 4 by described sending module 500.In the present embodiment, client 4 can ask the thumbnail browsing this film, or this film of request viewing.When the thumbnail of this film is browsed in client 4 request, sectional drawing corresponding for the focus of this film also shows for controlling client 4, using the thumbnail as this film by described sending module 500 in the screen of client 4.When client 4 asks this film of viewing, the time shaft shown when described sending module 500 is also for controlling client 4 in this movie marks in the form of a label time point corresponding to the focus of this film (consulting shown in Fig. 3), and when detecting user's mouse beacon and moving on a label, show sectional drawing (consulting shown in Fig. 4) corresponding to the focus at this label place with little figure this label is other.
Consulting shown in Fig. 5, is the flow chart of film focus processing method of the present invention preferred embodiment.Described film focus processing method performs the module 100 ~ 500 shown in Fig. 2 by described processor 40 and realizes.
Step S10, when the user of client 4 watches the film that the webserver 2 provides, described detecting module 100 detects the focus whether user selects this film.In the present embodiment, a focus button being set near the time shaft of film, if user likes the content of certain time of this film, in movie to clicking this focus button during this time, then can being designated as the focus of this film this time.Detecting module 100 detects the action that user clicks this focus button, can learn whether user selects the focus of this film.
Step S12, when detecting user and selecting the focus of this film, described logging modle 200 records this focus time corresponding in film in database 20.In the present embodiment, the time that focus is corresponding in film is accurate to integer second, namely when this time is more than or equal to N second and be less than N+1 second, is all designated as N second.
Step S14, some focus maximum for the number of times of record, according to the number of times of focus record each in database 20, are defined as the focus of this film by described determination module 300.In the present embodiment, in determination module 300 pairs of databases 20, the focus of this film of record sorts according to record number of times, and front three maximum for the number of times after sequence is defined as the focus of this film.
Step S16, described interception module 400 intercepts the sectional drawing corresponding with the focus of this film from this film.
Step S18, after receiving the request that client 4 sends, the hot spot data of this film and corresponding sectional drawing are sent to client 4 by described sending module 500.In the present embodiment, client 4 can ask the thumbnail browsing this film, or this film of request viewing.When the thumbnail of this film is browsed in client 4 request, described sending module 500 controls client 4 and is shown in the screen of client 4 by sectional drawing corresponding for the focus of this film, using the thumbnail as this film.When client 4 asks this film of viewing, described sending module 500 controls time shaft that client 4 shows when this movie marks in the form of a label time point (consulting shown in Fig. 3) corresponding to the focus of this film, and when detecting user's mouse beacon and moving on a label, show sectional drawing (consulting shown in Fig. 4) corresponding to the focus at this label place with little figure this label is other.
Above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not depart from the spirit and scope of technical solution of the present invention.