A kind of video switching method based on touch technology
[technical field]
The present invention relates to a kind of technology of video switch, especially a kind of video switch technology based on touch technology.
[background technology]
The touch technology people are not strange, and the cash dispenser of bank has touch screen function mostly, and all there is the computer of this touch technology in the hall in a lot of hospitals, library etc., supports that mobile phone, MP3, the digital camera of touch-screen are also a lot.
Touch-control market notion is along with Widonws 7 opens the new trend that touch technology is used; And the coming on stage with glittering appearance of touch-control product such as apple iPad; UI (user interface) market that touching has waken up is sunk into sleep for a long time; Each big market research firm has all produced keen interest to touch-control market, although they are not quite similar with angle to the analysis in market is digital, can find out the vigorous life that touches product.
The portable electronic equipment suppliers must be absorbed in for people provides a kind of experience; And be not only some products; The consumer can not remove to buy mobile device for touch user interface purely; But touching technique becomes a kind of user experience that can excite people's interest the most at last--comprise good user-interface design, application and service, certain product can made or stop to this experience.
Seeing that present touch technology can play the factor of a decision to the life cycle of electronic product, therefore, the application program on the portable equipment will be tending towards supporting the control of touch gradually in the future.What on a lot of portable products, can touch as present user is that picture or the page of application such as Photo Browser, books reader switches and all have based on the control of touch technology.
The function of the video player Switch Video film source that realizes on the portable equipment at present all is based on the switching controls that touch-tone mode realizes the video film source; The screen of some equipment is supported touch-control control; But also only realize the single-point touch function key buttons, trigger two switching push buttons of video player Switch Video film source back and forth.Based on the switching of this technological control of video film source, cause the user when selecting film source, to be in state blindly, do not know the sheet source information of a last step film source and next step film source.If the user does not know the position of film source, the result can only be that one one one one switching is gone down to find and wanted the video play, perhaps can only look for the video film source by return-list; The video switch function of utilizing this technology to realize not only can not be discerned user's gesture operation; Also influenced the time of chip select, had a strong impact on user's operating experience, in electronic equipment environment with keen competition; If with media play is to promote mainly the product of function, with the life cycle of sales volume that has a strong impact on product and sale.
[summary of the invention]
The technical problem that the present invention will solve is to provide a kind of video switching method based on touch technology, and it can utilize gesture control to realize video switch based on touch technology, has improved user's operating experience.
The present invention is achieved in that a kind of video switching method based on touch technology, specifically comprises the steps:
The user carries out the folk prescription at least one road to touch operation, and the touch signal capture module is caught touch operation, generates the touch signal of respective user touch operation;
Touch signal integrated module receives above-mentioned touch signal continuously, and said touch signal is integrated, and to the location track variation of each road touch signal, exports preliminary trajectory signal;
The touch signal processing module is filtered above-mentioned preliminary trajectory signal, forms smooth-out trajectory signal;
Be positioned at the touch signal filtering module on the application layer; Whether judges is under the pattern of operation video player; If, then switch equidirectional trajectory signal in chronological order, carry out sequence by constant duration and take out a little; Generate application layer and can be delivered to the response touch-control module by the identified signal class value, if not then do not respond user's operation;
The response touch-control module is through corresponding two the signal class values of per two adjacent time points; Generate offset information and send video frequency switching module to; Said offset information comprises the directional information that video frequency switching module switches, and the positional information of switching between the positional information of switching between the current video picture, video thumbnails picture or adjacent two video thumbnails;
Video frequency switching module; When the video player playing process; Obtain current video display position and wide high value from video display message module; Obtain a next or last video thumbnails and comprise the video information of title, resolution from the list of videos information module simultaneously according to offset information; And when video player stops to play, according to the video information of current demonstration and offset information from the list of videos information module obtain with respect to it next or Last video thumbnails and comprise the video information of title, resolution;
The information that video display module passes over according to video frequency switching module, with real-time the playing up on display screen of picture, the signal class value processing that generates until user's touch operation finishes.
Further, the opposite direction trajectory signal of the short time of touch signal filtering module filtering wrong report.
The present invention has following advantage:
The present invention utilizes touch technology realization video switch and broadcasts based on realization fast video film source information browse and choosing on the method; Can let the user in displaying video; Utilize gesture control, get into and switch the chip select pattern, make the user oneself to want the video seen as quick the navigating to of browsing pictures; Effectively solve the shortcoming that exists at present in the video switch technology, improved user's operating experience.
[description of drawings]
Combine embodiment that the present invention is further described with reference to the accompanying drawings.
Fig. 1 is the structured flowchart of the required module of the inventive method.
Fig. 2 carries out the sketch map of the processing procedure of touch-control for the inventive method.
The sketch map of the processing procedure of Fig. 3 after for the inventive method response touch trajectory.
Fig. 4 carries out sequence to trajectory signal with constant duration for the inventive method and takes out sketch map a little.
Fig. 5 is the effect sketch map of user's operational instances of the inventive method.
[embodiment]
See also Fig. 1 to shown in Figure 5, embodiments of the invention are carried out detailed explanation.
Like Fig. 1; The needed module of the inventive method comprises: the touch signal capture module that connects successively, touch signal integrated module, touch signal processing module, touch signal filtering module, response touch-control module, video frequency switching module, video display module; Frame of broken lines one is for supporting to carry out the processing procedure of touch-control; Frame of broken lines two is the processing procedure after the support response touch trajectory, realizes the switching of video.
Like Fig. 2; The user carries out the folk prescription at least one road to touch operation; A road, the b road touch operation of from left to right being followed successively by as shown in Figure 2, said a road and b road touch operation can be for parallel to each other, rightabout operation; The a road touch operation of user's operation and b road touch operation can be in section existence simultaneously sometime; The touch operation that the touch operation that is parallel to a road of multichannel also can be arranged or be parallel to the b road exists in section sometime simultaneously, when carrying out touch operation, touch direction can be on the upper side, on the lower side, take back or take over.Said touch signal capture module captures user's a road or b road touch operation, generates the A road touch signal of respective user a road touch operation or the B road touch signal of respective user b road touch operation.These touch signals are delivered to touch signal integrated module.
Said touch signal integrated module receives above-mentioned A road or B road touch signal continuously; The touch signal that the continuous touch operation of incorporates user produces; Location track to each road touch signal changes; Integrate, export preliminary trajectory signal, be i.e. the preliminary track one of corresponding A road touch signal or the preliminary track two of corresponding B road touch signal.
Said touch signal processing module is to the filtration of above-mentioned preliminary trajectory signal through existing necessary prediction algorithm; Remove some because the touch signal that the deviation of physical equipment causes has bigger deviation point in track; Begin to take shape smooth-out trajectory signal; Be that preliminary track one is treated to level and smooth track one, perhaps preliminary track two is treated to level and smooth track two, and these trajectory signals are delivered to the touch signal filtering module on the application layer.
In conjunction with Fig. 3, said touch signal filtering module, whether judges is in the pattern of operation video player; If; Then the touch signal filtering module automatically switches to the filtration treatment flow process relevant with video player and handles, and the touch signal filtering module comprises the Video Applications filter course, after the Video Applications filter course enables through Video Applications; Above-mentioned trajectory signal is carried out sequence by constant duration to be taken out a little; The concrete time interval can be come concrete the setting according to the ability of concrete equipment, and after handling through this, generating application layer can the identified signal class value; If the user is not the pattern that is in the operation video player, then the touch signal filtering module does not respond user's operation; Like Fig. 4, be Δ t with the time interval, track one or track two are taken out a little, obtain the signal class value of corresponding each time point, the coordinate figure of promptly corresponding each time point of said signal class value (x, y) value.The touch signal filtering module simultaneously can the filtering touch-control system the reciprocal trajectory signal of short time (requirement according to concrete application is set, can 1S or still less) of wrong report, and switch equidirectional trajectory signal in order by the time, in Fig. 4, t
0Time point, track are reported to filtering module at the beginning, and filtering module reports to video player with the signal class value of track one, to t
3Time point, track one reports end, and track two is from t
3Time point respective signal class value reports, and like this, track one reports realization in chronological order to switch to the signal class value of track two.
The response touch-control module of said player; Through corresponding two the signal class values of per two adjacent time points; Generation comprises the directional information that video frequency switching module switches; And the positional information of switching between the positional information of switching between the current video picture, video thumbnails picture or adjacent two video thumbnails is at interior offset information, and offset information is delivered to video frequency switching module;
The video frequency switching module of player; Broadcast state according to current player is divided into two kinds: first kind of information that in playing process, receives video switch when video player; Obtain current video display position and wide high value from video display message module, obtain the next one or a last video thumbnails and comprise video informations such as title, resolution from the list of videos information module simultaneously according to offset information; Second kind when video player when stopping to play, according to the video information of current demonstration and offset information from the list of videos information module obtain with respect to it next or Last video thumbnails and comprise video informations such as title, resolution.For example: when the user carries out one-way operation when video player is in broadcast; Be shown as the video pictures and the other video information that video thumbnails is corresponding with other of current broadcast this moment on the equipment picture; When the unidirectional slide of user until video pictures being shifted out fully in the current display frame; Player stops current video being play, and this moment, the user continued the demonstration of the sliding apparatus picture of any direction, then entered into second kind of situation; Be video player in the situation that stops to play, have only this time to show two adjacent video thumbnails and corresponding video information.
The video display module of player, according to the information that video frequency switching module passes over, with real-time the playing up on display screen of picture, the signal class value processing that generates until user's touch operation finishes.Last display frame rests on above some video thumbnails and corresponding video information, if the user can begin to play, the broadcast button of for example clicking above the picture begins to play, and perhaps the user can further carry out slide, searches video.
Like Fig. 5, showed that under this method user operates the design sketch of video switch.The direction of arrow is represented the direction of user's touch operation, and square 1 is for slide the to the right situation of current displaying video of user, like square 2, square 3; Toward moving to right, simultaneously, the video thumbnails of next step film source also slowly shows with other corresponding video information video pictures gradually from left to right gradually; Up to like square 4, switch to the picture of the video thumbnails of next step film source, to the right if the user continues to slide; Like square 5, other video information that two video thumbnails and correspondence then occur is presented on the display screen, through user's switching; Like square 6; Finally can rest on the picture of a video thumbnails, show that is play an icon in the middle of the video thumbnails, if user's clickable icon then begin the broadcast of this film source.
The above is merely preferred embodiment of the present invention, so can not limit the scope that the present invention implements according to this, the equivalence of promptly doing according to claim of the present invention and description changes and modifies, and all should still belong in the scope that the present invention contains.