Adapter terminal system carries out the method and system of video playback
Technical field
The application relates to the video playback field of mobile terminal, concrete, and the terminal system relating to a kind of adapter mobile terminal carries out the method and system of video playback.
Background technology
In terminal, when especially carrying out video playback on mobile terminal (as: mobile phone), the player that depends in terminal system or the APP that runs in terminal system is needed to play.
So, if user is when browsing pages, if when having found effective broadcast address, startup APP has been accessed this broadcast address and has carried out video playback by user, and whole process is more loaded down with trivial details; Equally, if user is when using mobile phone chats, there is the Word message (as: film, TV play title) be associated with video, user also can only start corresponding video APP and search for this Word message, and then play, equally, whole process will expend the more time.
That is, be do not support to play in time in prior art, user always needs the mode by starting separately APP/ player to carry out retrieving rear broadcasting.
Therefore, how can improve the real-time of displaying video in the terminal, be convenient to user in the terminal displaying live view or word mutual time find related text video rapidly, become the technical problem that prior art needs solution badly.
Summary of the invention
The object of the invention is to propose the method and system that a kind of adapter terminal system carries out video playback, mobile terminal can be made when web page browsing or chat, relevant video can be searched out with finding, and the page at current place need not be exited.
For reaching this object, the present invention by the following technical solutions:
Adapter terminal system carries out a method for video playback, comprises the steps:
Suspended window step display: run video player thread, and show with the form of suspended window on the display interface of mobile terminal;
Drag information acquisition step: user needed the video related information play to drag in suspended window, obtain described video related information;
Video playback step: the video obtained according to described video related information is play.
Preferably, after dragging information acquisition step with before video playback step, also there is following step respectively:
Determining step: judge that described video related information is video file or video link, or Word message, if Word message, then enters video frequency searching step, if video file or video link, then directly enter video playback step and the video obtained is play;
Video frequency searching step: carry out video frequency searching in the server as keyword using the Word message received, retrieval obtains multiple result, then enters video playback step.
Preferably, after retrieval obtains multiple result, also there is result coupling step, in multiple results that retrieval obtains, select the video mated most, directly enter video playback step, and result for retrieval can not be shown to user.
Or, after retrieval obtains multiple result, also there is list generation step, generate playlist according to multiple results that retrieval obtains, carry out second selecting for user, according to the selection of user, enter video playback step.
Preferably, in video playback step, also reduce video-frequency playing content code check to carry out fast cache, realize the quick broadcasting of video.
The invention also discloses the system that a kind of adapter terminal system carries out video playback, comprise as lower unit:
Suspended window display unit: run video player thread, and show with the form of suspended window on the display interface of mobile terminal;
Drag information obtainment unit: user needed the video related information play to drag in suspended window, obtain described video related information;
Video playback unit: the video obtained according to described video related information is play.
Preferably, between dragging information obtainment unit and video playback unit, also there is following unit respectively:
Judging unit, judges that described video related information is video file or video link, or Word message, if Word message, then enter video frequency searching unit, if video file or video link, then directly enter video playback unit and the video obtained is play;
Video frequency searching unit: carry out video frequency searching in the server as keyword using the Word message received, retrieval obtains multiple result, then enters video playback unit.
Preferably, after retrieval obtains multiple result, also there is result matching unit, in multiple results that retrieval obtains, select the video mated most, directly enter video playback unit, and result for retrieval can not be shown to user;
Or, after retrieval obtains multiple result, also there is list generation unit, generate playlist according to multiple results that retrieval obtains, carry out second selecting for user, according to the selection of user, enter video playback unit.
Preferably, in video playback unit, also reduce video-frequency playing content code check to carry out fast cache, realize the quick broadcasting of video.
The invention also discloses a kind of mobile terminal, use above-mentioned adapter terminal system to carry out the method for video playback, or there is the system that above-mentioned adapter terminal system carries out video playback.
Suspended window of the present invention is always presented on the display interface of mobile terminal, make user without the need to opening video APP, also without the need to interrupting the current page, go to find relevant APP in other page, or according to related text content removal search and video, thus save the time, also convenient for users to use, the experience sense that improve user is subject to, and achieves the quick broadcasting of mobile terminal video.
Accompanying drawing explanation
Fig. 1 is the flow chart that adapter terminal system according to the present invention carries out a specific embodiment of the method for video playback;
Fig. 2 is the flow chart that adapter terminal system according to the present invention carries out another specific embodiment of the method for video playback;
Fig. 3 is the installation drawing that adapter terminal system according to the present invention carries out a specific embodiment of the system of video playback;
Fig. 4 is the installation drawing that adapter terminal system according to the present invention carries out another specific embodiment of the system of video playback.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not entire infrastructure.
Because user is when using mobile terminal, the page of interruption current operation of being often unwilling, this often causes the impression reducing Consumer's Experience greatly.Therefore, the present invention arranges suspended window in the display page of mobile terminal, and this suspended window backstage connects player, and this player can use third party's player.Suspended window can simultaneously and the page of APP that uses of user coexist, thus facilitate user to watch and search for video.
Embodiment 1:
See Fig. 1, disclose the flow chart that adapter terminal system according to the present invention carries out a specific embodiment of the method for video playback, comprise the steps:
Suspended window step display S100: run video player thread, and show with the form of suspended window on the display interface of mobile terminal;
Drag information acquisition step S110: user needed the video related information play to drag in suspended window, obtain described video related information;
Video playback step S160: the video obtained according to described video related information is play.
Therefore, because suspended window is always presented on the display interface of mobile terminal, make user without the need to opening video APP, also without the need to interrupting the current page, go to find relevant APP in other page, according to related text content removal search and video, thus save the time, also convenient for users to use, the experience sense that improve user is subject to.
Embodiment 2:
Embodiment 2 is the further improvement of embodiment 1.See Fig. 2, disclose the flow chart that adapter terminal system according to the present invention carries out another specific embodiment of the method for video playback.In this embodiment, specifically distinguished the relevant information of video, described video related information can be Word message can be also directly video file.
To judge further, described video related information is video file or video link, or Word message, if video file or video link, broadcast unit is then direct to be play obtaining video.
If Word message, then this Word message is retrieved, obtain the video file of being correlated with according to the result of retrieval, thus play.
Such as, when user is when using mobile phone terminal to carry out the Word message in written communication or browsing pages, the Word message relevant to video can be chosen by user, directly be drawn in suspended window, the thread on corresponding backstage can carry out video frequency searching in the server according to the Word message received, and is play in mobile phone terminal by the video retrieved.
When video playback, do not affect the operation of other APP, namely user simultaneously can also in other APP browsing content, the word browsed to is chosen after copying, is drawn in suspended window and plays.
For the backstage retrieving playing thread, the Word message using user to choose is retrieved as keyword.The video mated most can be selected in the multiple results retrieved to play-over, and result for retrieval can not be shown to user.Or, in a further mode of operation, also can adopt the mode generating playlist, carry out second selecting for user, then select to play according to user.
Comprise the steps:
Suspended window step display S100: run video player thread, and show with the form of suspended window on the display interface of mobile terminal;
Drag information acquisition step S110: user needed the video related information play to drag in suspended window, obtain described video related information;
Video playback step S160: the video obtained according to described video related information is play.
Preferably, after dragging information acquisition step S110 with before video playback step S170, also there is following step respectively:
Determining step S120, judge that described video related information is video file or video link, or Word message, if Word message, then enter video frequency searching step S130, if video file or video link, then directly enter video playback step S160 and the video obtained is play;
Video frequency searching step S130: carry out video frequency searching in the server as keyword using the Word message received, retrieval obtains multiple result, then enters video playback step S160;
Preferred further, after retrieval obtains multiple result, also there is result coupling step S140, in multiple results that retrieval obtains, select the video mated most, directly enter video playback step S160, and result for retrieval can not be shown to user.
Or, further preferably, after retrieval obtains multiple result, also there is list generation step S150, generate playlist according to multiple results that retrieval obtains, carry out second selecting for user, according to the selection of user, enter video playback step S160.
Meanwhile, further preferably, in video playback step S160, fast cache can also be carried out to the reduction of video-frequency playing content code check, realize the quick broadcasting of video in mobile phone app.
Wherein, described suspended window can be arranged on any position of display interface, can also drag arbitrarily.
Described suspended window display mode comprises opaque mode and translucent mode, especially when the display mode of suspended window is set to opaque mode, not only can strengthen visual effect, nor affects the normal use of application program.
Further preferably, described video player thread operates in the system background of mobile terminal all the time.
Therefore, the present invention arranges a suspended window at the page of mobile terminal, and user by the information relevant with video, can comprise Word message or be directly dragged in suspended window by video file, then passes through the video retrieved and directly obtain being correlated with and plays.Depart from current page without the need to user, carry out searching step without the need to user, do not interrupt user's current operation, the convenient greatly use of user, achieves the quick broadcasting of mobile terminal video.
Further, the invention also discloses the system that a kind of adapter terminal system carries out video playback.
Embodiment 3:
See Fig. 3, disclose the installation drawing that adapter terminal system according to the present invention carries out a specific embodiment of the system of video playback, comprise as lower unit:
Suspended window display unit 200: run video player thread, and show with the form of suspended window on the display interface of mobile terminal;
Drag information obtainment unit 210: user needed the video related information play to drag in suspended window, obtain described video related information;
Video playback unit 260: the video obtained according to described video related information is play.
Therefore, because suspended window is always presented on the display interface of mobile terminal, make user without the need to opening video APP, also without the need to interrupting the current page, go to find relevant APP in other page, or according to related text content removal search and video, thus save the time, also convenient for users to use, the experience sense that improve user is subject to.
Embodiment 4:
Embodiment 4 is the further improvement of embodiment 3.See Fig. 4, disclose the installation drawing that adapter terminal system according to the present invention carries out another specific embodiment of the system of video playback.
Comprise as lower unit:
Suspended window display unit 200: run video player thread, and show with the form of suspended window on the display interface of mobile terminal;
Drag information obtainment unit 210: user needed the video related information play to drag in suspended window, obtain described video related information;
Video playback unit 260: the video obtained according to described video related information is play.
Preferably, between dragging information obtainment unit 210 and video playback unit 270, also there is following unit respectively:
Judging unit 220, judges that described video related information is video file or video link, or Word message, if Word message, then enter video frequency searching unit 230, if video file or video link, then directly enter video playback unit 260 and the video obtained is play;
Video frequency searching unit 230: carry out video frequency searching in the server as keyword using the Word message received, retrieval obtains multiple result, then enters video playback unit 260;
Preferred further, after retrieval obtains multiple result, also there is result matching unit 240, in multiple results that retrieval obtains, select the video mated most, directly enter video playback unit 260, and result for retrieval can not be shown to user.
Or, further preferably, after retrieval obtains multiple result, also there is list generation unit 250, generate playlist according to multiple results that retrieval obtains, carry out second selecting for user, according to the selection of user, enter video playback unit 260.
Meanwhile, further preferably, in video playback unit 260, video-frequency playing content code check can also be reduced to carry out fast cache, realize the quick broadcasting of mobile phone app.
Wherein, described suspended window can be arranged on any position of display interface, can also drag arbitrarily.
Described suspended window display mode comprises opaque mode and translucent mode, especially when the display mode of suspended window is set to opaque mode, not only can strengthen visual effect, nor affects the normal use of application program.
Further preferably, described video player thread operates in the system background of mobile terminal all the time.
Embodiment 5:
The invention also discloses a kind of mobile terminal, use adapter terminal system disclosed in above-mentioned specification to carry out the method for video playback, or there is adapter terminal system disclosed in above-mentioned specification carry out the system of video playback.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each unit or each step can realize with general calculation element, they can concentrate on single calculation element, alternatively, they can realize with the executable program code of computer installation, thus they storages can be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to the combination of any specific hardware and software.
Above content is in conjunction with concrete preferred implementation further description made for the present invention; can not assert that the specific embodiment of the present invention is only limitted to this; for general technical staff of the technical field of the invention; without departing from the inventive concept of the premise; some simple deduction or replace can also be made, all should be considered as belonging to the present invention by submitted to claims determination protection range.