CN106227422A - Video player control method and relevant apparatus - Google Patents

Video player control method and relevant apparatus Download PDF

Info

Publication number
CN106227422A
CN106227422A CN201610561044.0A CN201610561044A CN106227422A CN 106227422 A CN106227422 A CN 106227422A CN 201610561044 A CN201610561044 A CN 201610561044A CN 106227422 A CN106227422 A CN 106227422A
Authority
CN
China
Prior art keywords
gesture operation
view layer
event information
control
information
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
Application number
CN201610561044.0A
Other languages
Chinese (zh)
Inventor
聂建宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610561044.0A priority Critical patent/CN106227422A/en
Publication of CN106227422A publication Critical patent/CN106227422A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

nullThe embodiment of the invention discloses a kind of video player control method and relevant apparatus,It is when the problem that the peculiar control solving video player based on multilamellar View structure combines with third party's player,When the gesture operation received is responded by the first view layer being provided with described peculiar control,Record the event information of this gesture operation,And after the first view layer has responded,Judge whether this gesture operation meets and preset condition of transmitting,When meeting this default condition of transmitting,Then according to pre-recorded event information,Realize the response to described gesture operation of second view layer,Solve the problem that cannot transmit gesture operation between different views layer under multilamellar View structure in prior art,Thus solve and be uniformly controlled problem between video player and invoked third party's player,Ensure that the concordance that user operation is experienced.

Description

Video player control method and relevant apparatus
Technical field
The present embodiments relate to internet video communication technical field, particularly relate to a kind of video player control method And relevant apparatus.
Background technology
At present, the various video players being applied in the electronic equipment such as mobile phone, panel computer (include having video playback The client software of function and web player) enrich the entertainment life of people greatly;As it is shown in figure 1, every kind of video is broadcast Put device and can have the Video Reservoir of oneself correspondence, may be incorporated into third party's Video Reservoir so that video is broadcast simultaneously Put the video that device is possible not only to directly play in the Video Reservoir of oneself, it is also possible to play by calling third party's player The video that corresponding third party's Video Reservoir provides.Such as, the first video player A both can play the video net of its correspondence The video that the A ' that stands provides, it is also possible to call third party player B, plays third party's video website B of correspondence ' regarding of providing Frequently.
For realizing the interaction with user, video player is provided with view (View) layer, in this View layer, and difference in functionality Corresponding control arranges (outer layer that each child control is positioned at corresponding father's control) from inside to outside according to its filiation;Work as user When performing the gesture operations such as click/double-click/slip, from the beginning of the outermost layer child control at operating position, progressively to corresponding father Control transmits this gesture operation, to determine the control logic corresponding with this gesture operation, and according to the spatial logic pair determined This gesture operation responds.
Inventor finds during realizing the present invention, the function or required that different video players is realized Operation is not quite similar, when the first video player A calls third party player B, it is necessary to by the control of video player A, The particularly A peculiar control relative to B, combines with B, it is achieved being uniformly controlled, to ensure that Consumer's Experience is consistent therebetween. Such as, A has slip zapping function and (by performing slide or to the right slide to the left on screen, switches broadcasting Video), B fricton-tight zapping function;When the video that A plays in Video Reservoir corresponding to B by calling B, for making to use Family still can realize zapping by slide, needs the View layer by control X with B corresponding for slip zapping in A to be combined.
Based on prior art, a kind of combination is that the peculiar control of A directly embeds the View layer of B;But, due to View layer exists filiation, and not in adding the control of any other form between each control, therefore known the In the View layer of tripartite player B on the premise of any one control, can find according to this filiation in the View layer of B The peculiar control added, and after detecting, stops the broadcasting of current video by force, i.e. causes corresponding third party's video cannot Play.Another kind of combination is, a newly-built View layer adds the peculiar control of A in this newly-built View layer, and this is new Build View layer and be covered on original View layer of third party player B, form multilamellar View structure;Due to different View layers it Between control there is not the incidence relations such as father and son, although so that third party's player can not detect is positioned at newly-built View layer In peculiar control, but be positioned at the gesture motion that outermost newly-built View layer receives and also cannot close according to the father and son between control System is transferred in original View layer of third party's player, and the most above-mentioned the second combination can cause the former of third party's player There is View layer cannot receive and respond the gesture operation of user.
Visible, based on prior art, it is impossible to ensure therebetween when the first video player calls third party's player Be uniformly controlled, thus cause the discernible gesture operation of system when calling third party's player, with the first video player Original gesture operation there are differences, and user operation is experienced inconsistent.
Summary of the invention
The embodiment of the present invention provides a kind of video player control method and relevant apparatus, broadcasts solving the first video Put the problem that is uniformly controlled between device and its third party's player called, ensure the concordance that user operation is experienced.
Embodiment of the present invention first aspect provides a kind of video player control method;The method includes:
When receiving user to the gesture operation of video player, obtain and be arranged at the described video player the superiors First view layer;
Control described first view layer and respond described gesture operation, and record the event information that described gesture operation is corresponding;
Judge whether described gesture operation meets and preset condition of transmitting;
When described gesture operation meets described default condition of transmitting, obtain the be arranged under described first view layer Two view layers;
According to described event information, control described second view layer and respond described gesture operation.
In conjunction with first aspect, in the first feasible embodiment of first aspect, according to described event information, control Described second view layer responds described gesture operation, including:
According to the default gesture identification standard that described second view layer is corresponding, described event information is carried out pretreatment;
By pretreated event information according to the filiation between control at the controls at different levels of described second view layer Between transmit, to determine one or more target controls relevant to the event information after described process in described second view layer Part;
Perform the control logic that described target widget is corresponding.
In conjunction with first aspect, or the first feasible embodiment of first aspect, the second in first aspect can In the embodiment of row, described event information includes: operating position information that described gesture operation is corresponding and action type information In at least one.
In conjunction with the embodiment that the second of first aspect is feasible, at the third feasible embodiment of first aspect In, it is judged that whether described gesture operation meets presets condition of transmitting, including following at least one:
Judge whether described operating position information is predetermined operational location information, when described operating position information is to preset behaviour When making positional information, it is determined that described gesture operation meets presets condition of transmitting;
Judge whether described action type information is predetermined registration operation type information, when described action type information is to preset behaviour When making type information, it is determined that described gesture operation meets presets condition of transmitting;
Wherein, described predetermined operational location information includes, each total control of described first view layer and the second view layer The operating position information that part is corresponding;Described predetermined registration operation type information includes, the action type that each total control described is corresponding Information.
In conjunction with first aspect, or the first feasible embodiment of first aspect, can the 4th kind of first aspect In the embodiment of row, record the event information that described gesture operation is corresponding, including:
According to receptance function performed during the described first view layer described gesture operation of response, extract described gesture operation Corresponding event information, and record the described event information extracted.
Embodiment of the present invention second aspect provides a kind of video player, including:
First response module, for when receiving user to the gesture operation of video player, acquisition is arranged at First view layer of the described video player the superiors, and control the described first view layer described gesture operation of response;
Event information logging modle, for recording the event information that described gesture operation is corresponding;
Interlayer transmission judge module, is used for judging whether described gesture operation meets and presets condition of transmitting;
Second response module, for when described gesture operation meets described default condition of transmitting, acquisition is arranged at The second view layer under described first view layer, and according to described event information, control described second view layer response described Gesture operation.
In conjunction with second aspect, in the first feasible embodiment of second aspect, described second response module, Including:
Pretreatment module, for the default gesture identification standard corresponding according to described second view layer, believes described event Breath carries out pretreatment;
Layer in transmission control module, for by pretreated event information according to the filiation between control described Transmit between the controls at different levels of the second view layer, relevant to the event information after described process to determine in described second view layer One or more target widget;
Target logic performs module, for performing the control logic that described target widget is corresponding.
In conjunction with second aspect, or the first feasible embodiment of second aspect, the second in second aspect can In the embodiment of row, the event information that described event information logging modle is recorded includes:
At least one in operating position information that described gesture operation is corresponding and action type information.
In conjunction with the embodiment that the second of second aspect is feasible, at the third feasible embodiment of second aspect In, described interlayer transmission judge module is specifically configured to, and performs at least one judgement following and operates:
Judge whether described operating position information is predetermined operational location information, when described operating position information is to preset behaviour When making positional information, it is determined that described gesture operation meets presets condition of transmitting;
Judge whether described action type information is predetermined registration operation type information, when described action type information is to preset behaviour When making type information, it is determined that described gesture operation meets presets condition of transmitting;
Wherein, described predetermined operational location information includes, each total control of described first view layer and the second view layer The operating position information that part is corresponding;Described predetermined registration operation type information includes, the action type that each total control described is corresponding Information.
In conjunction with second aspect, or the first feasible embodiment of second aspect, can the 4th kind of second aspect In the embodiment of row, described event information logging modle is specifically configured to:
According to receptance function performed during the described first view layer described gesture operation of response, extract described gesture operation Corresponding event information, and record the described event information extracted.
The embodiment of the present invention third aspect also provides for a kind of electronic equipment;This electronic equipment includes:
Processor, and for storing the memorizer of described processor executable;
Wherein, described processor is configured to: when calling and perform the executable instruction stored in described memorizer, hold Row video player control method described in above-mentioned any one of first aspect, it at least includes performing following steps:
When receiving user to the gesture operation of video player, obtain and be arranged at the described video player the superiors First view layer;
Control described first view layer and respond described gesture operation, and record the event information that described gesture operation is corresponding;
Judge whether described gesture operation meets and preset condition of transmitting;
When described gesture operation meets described default condition of transmitting, obtain the be arranged under described first view layer Two view layers;
According to described event information, control described second view layer and respond described gesture operation.
From above technical scheme, the embodiment of the present invention is solving the peculiar of video player based on multilamellar View structure During the problem that control combines with third party's player, it is being provided with the first view layer of described peculiar control hands to receiving When gesture operation responds, record the event information of this gesture operation, and after the first view layer has responded, it is judged that this gesture Whether operation meets is preset condition of transmitting, when meeting this default condition of transmitting, then according to pre-recorded event information, it is achieved The response to described gesture operation of second view layer, solving cannot be at different views layer under multilamellar View structure in prior art Between transmit the problem of gesture operation, thus solve the unified control between video player and invoked third party's player Problem processed, it is ensured that the concordance that user operation is experienced.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The embodiment of the present invention can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present invention Example, and for explaining the principle of the present invention together with description.
Fig. 1 is the network structure supporting video player to realize video playback capability.
Fig. 2 is the logical structure schematic diagram of video player multilamellar View that the embodiment of the present invention provides.
Fig. 3 is the flow chart of a kind of video player control method that the embodiment of the present invention provides.
Fig. 4 is the flow chart of the another kind of video player control method that the embodiment of the present invention provides.
Fig. 5 is the first left sliding operation of view layer response in the video player control method that the embodiment of the present invention provides Effect schematic diagram.
Fig. 6 is the structured flowchart of a kind of video player that the embodiment of the present invention provides.
Fig. 7 is the structured flowchart of the another kind of video player that the embodiment of the present invention provides.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the present invention are consistent.
First the video player control method of the embodiment of the present invention is illustrated.Fig. 2 is that the embodiment of the present invention is corresponding The first video player view layer (View layer) the logical structure schematic diagram when calling third party's player.Such as Fig. 2 institute Showing, when calling third party's player, the first video player at least includes two view layers: be arranged at the second view of lower floor Layer, is original View layer of called third party's player, each original control of carrying third party's player and each The second father and son structure tree is constituted between original control;It is arranged at the first view layer above described second view layer, for described One video player, according to the newly-built View layer of described third party's player, is different from described for carrying the first video player The first father and son structure tree is constituted between the peculiar control of third party's player, and each peculiar control.
(such as mobile phone, put down it should be noted that the video player described in the embodiment of the present invention can be any electronic equipment Plate computer etc.) middle any one video playback client run, regard videoconference client, Tengxun's videoconference client, YouTube as happy Client etc., and for any one video player A, the third party that other any players in addition to A can serve as A broadcasts Put device.
Based on above-mentioned view layer logical structure, embodiments provide a kind of video player control method, such as Fig. 3 Shown flow chart, the method comprises the steps.
S1, detection user's gesture operation to described video player.
S2, when receiving user to the gesture operation of video player, obtain and be arranged at described video player and go up most First view layer of layer.
S3, control described first view layer respond described gesture operation, and record described gesture operation corresponding event letter Breath.
In the embodiment of the present invention, for ensureing that the imperceptible video player of user is calling third party's player and never calling Difference in operation under two kinds of situations of third party's player, when device video to be played is from third party's resources bank, enables shown in Fig. 2 The view layer of multilamellar View structure, and any gesture operation performing user, first by the first view being arranged at the superiors Layer receives and responds.
In one feasible embodiment of the present invention, control the first view layer and respond described gesture operation, specifically can wrap Include:
Obtain and perform receptance function corresponding to described gesture operation (generally call back function), according to described receptance function Control described gesture operation to transmit in the first view layer according to the order by child control to father's control, to determine that described gesture is grasped Make corresponding response control, and perform the control logic that described response control is corresponding, to realize different gesture operations is selected Different control logics responds.
In one feasible embodiment of the present invention, based on above-mentioned first view layer response of step to gesture operation, on State and record the event information that described gesture operation is corresponding, specifically may include that and respond described gesture according to described first view layer Receptance function performed during operation, extracts the event information that described gesture operation is corresponding, and records the described event extracted Information.
Due to the important parameter that event information (event) is its receptance function that gesture operation is corresponding, therefore the present invention Embodiment can directly be extracted from this receptance function described event information record.
S4, judge that whether described gesture operation meets and preset condition of transmitting, if it is satisfied, then perform step S5, otherwise tie Restraint this secondary response to control.
S5, when described gesture operation meets described default condition of transmitting, obtain be arranged under described first view layer The second view layer.
S6, according to described event information, control described second view layer respond described gesture operation.
In the embodiment of the present invention, above-mentioned event information can be passed through, again simulate described gesture operation, and will simulate Gesture operation is transferred to the second view layer, so that this gesture operation simulated enters between each control of the second view layer Row transmission, it is achieved second view layer response process to the gesture operation that this simulates, namely complete the second view layer to user The response of the described gesture operation performed.
From above technical scheme, the embodiment of the present invention is solving the peculiar of video player based on multilamellar View structure During the problem that control combines with third party's player, it is being provided with the first view layer of described peculiar control hands to receiving When gesture operation responds, record the event information of this gesture operation, and after the first view layer has responded, it is judged that this gesture Whether operation meets is preset condition of transmitting, when meeting this default condition of transmitting, then according to pre-recorded event information, it is achieved The response to described gesture operation of second view layer, solving cannot be at different views layer under multilamellar View structure in prior art Between transmit the problem of gesture operation, thus solve the unified control between video player and invoked third party's player Problem processed, it is ensured that the concordance that user operation is experienced.
In other embodiments of the present invention, when the view layer of video player comprises three or more than three View layers, After execution of step S6, it is also possible to continue to transmit described hands to three-view diagram layer, the 4th view layer etc. with reference to step S4 to S6 Gesture operates, it is achieved the gesture transmission between multilamellar View and response in video player, it is ensured that user operation is experienced all the time with the The video player operating experience that one view layer is corresponding is consistent.
The another kind of video player control method flow chart that Fig. 4 provides for the embodiment of the present invention.With reference to Fig. 4, the method Comprise the following steps:
S1, detection user's gesture operation to described video player.
S2, when receiving user to the gesture operation of video player, obtain and be arranged at described video player and go up most First view layer of layer.
S3, control described first view layer respond described gesture operation, and record described gesture operation corresponding event letter Breath.
S4, judge that whether described gesture operation meets and preset condition of transmitting, if it is satisfied, then perform step S5, otherwise tie Restraint this secondary response to control.
S5, when described gesture operation meets described default condition of transmitting, obtain be arranged under described first view layer The second view layer.
S61, according to default gesture identification standard corresponding to described second view layer, described event information is carried out pre-place Reason.
S62, by pretreated event information according at different levels at described second view layer of the filiation between control Transmit between control, to determine one or more targets relevant to the event information after described process in described second view layer Control.
S63, perform the control logic that described target widget is corresponding.
Owing to realizing same control (same function) correspondence in video player and its third party's player called Gesture operation may be not quite similar, therefore in the embodiment of the present invention, can pre-set the gesture identification mark that the second view layer is corresponding Accurate (the most above-mentioned default gesture identification standard), and in step S61, according to this default gesture identification standard, the first view layer is remembered The event information of record carries out pretreatment (including above-mentioned event information is carried out adaptation), the event letter after processing with guarantee Cease the event information corresponding with the second discernible gesture operation of view layer identical (be i.e. equivalent to by user perform gesture operation Be converted to corresponding recognizable gesture operation in the second view layer) so that the second view layer that third party's player is corresponding is permissible Correctly identify and respond the gesture operation of user.
It addition, as shown in step S62 to S63, after incoming second view layer of event information after the pre-treatment, can be according to Filiation between each control in second view layer, is progressively regarded this pretreated event information to second by child control Father's control transmission of figure layer deeper, so that it is determined that relevant to the event information after described process each in described second view layer Individual target widget (can be a child control, it is also possible to for comprising father's control of multiple child control), performs this target control then The control logic that part is corresponding, i.e. completes the response to corresponding gesture operation of second view layer.
Visible, the embodiment of the present invention is according to default gesture identification standard corresponding to the second view layer, to the first view layer note The event information of record carries out pretreatment, it is ensured that the second view layer is correctly completed the identification to corresponding gesture operation and response.
In one feasible embodiment of the present invention, the event information that gesture operation is corresponding can include, described gesture is grasped Make at least one in corresponding operating position information and action type information.
Based on above-mentioned event information, in one feasible embodiment of the present invention, step S4 judges described gesture operation Whether meet and preset condition of transmitting, including following at least one:
Judge whether described operating position information is predetermined operational location information, when described operating position information is to preset behaviour When making positional information, it is determined that described gesture operation meets presets condition of transmitting;
Judge whether described action type information is predetermined registration operation type information, when described action type information is to preset behaviour When making type information, it is determined that described gesture operation meets presets condition of transmitting.
Wherein, described predetermined operational location information includes, each total control of described first view layer and the second view layer The operating position information that part is corresponding;Described predetermined registration operation type information includes, the action type that each total control described is corresponding Information.
Certainly, in other embodiments of the present invention, it is also possible to be predetermined operational location information in described operating position information, And, when described action type information is predetermined registration operation type information, it is determined that described gesture operation meets presets condition of transmitting.
In other embodiments of the present invention, above-mentioned predetermined operational location information, the spy of the first view layer can be set to There is the operating position information that control is corresponding;Accordingly, when described operating position information is not this predetermined operational location information, sentence Fixed described gesture operation meets presets condition of transmitting.In like manner, above-mentioned tongue-tied action type information, it is also possible to be set to first and regard The action type information that the peculiar control of figure layer is corresponding;Accordingly, it not this predetermined registration operation type when described action type information During information, it is determined that described gesture operation meets presets condition of transmitting.
In the embodiment of the present invention, judge whether described gesture operation meets by step S4 and preset condition of transmitting, be equivalent to Judge that whether described gesture operation is the gesture operation that the first view layer of only video player can identify and respond: when described When gesture operation is unsatisfactory for presetting condition of transmitting, illustrate described gesture operation only can by the first view layer identification and respond, the There is not the response control of correspondence in two view layers, therefore after the response that the first view layer completes this gesture operation, it is not necessary to continue Continuing and transmit this gesture operation to the second view layer, this gesture response control terminates;Transmission is preset when described gesture operation meets During condition, illustrate that described gesture operation both can be by the first view layer identification and respond, it is also possible to by the second view layer identification also Response, therefore should continue to transmit this gesture behaviour to the second view layer after the response that the first view layer completes this gesture operation Make, so that the second view layer responds thereto.
For example, it is assumed that the first view layer of video player exists zapping control (this video that the sliding operation of left/right is corresponding Player is different from the peculiar control of third party's player), and the second view layer corresponding to the 3rd player does not exist permissible Respond the control of the sliding operation of this left/right, and the first view layer and the second view layer all exist the action bar that single-click operation is corresponding Control (functionality controls such as the action bar control in the first view layer can include sharing, collection, the action bar in the second view layer The functionality controls such as volume adjusting, playing progress bar can be included).
The first situation, when the gesture operation received can be left sliding operation, it is possible to determine that it is unsatisfactory for presetting biography Passing condition, therefore not to the second view layer transmission, the most only responded this left sliding operation by the first view layer, corresponding display effect is such as Video static state front cover slide handover to the left shown in Fig. 5, but the second view layer below does not perform this handoff procedure;And regarding Frequently when front cover has switched (the video front cover after switching is completely covered video player display interface), identification address to be played by The video source address that original video front cover is corresponding, replaces with the video source address that the video front cover after switching is corresponding so that switching After video corresponding to video front cover commence play out.
The second situation, when the gesture operation received is single-click operation, it is possible to determine that it meets presets condition of transmitting, Therefore after the response that the first view layer completes this single-click operation (the action bar control in the first view layer is revealed), need Continue to transmit this single-click operation to the second view layer, so that the action bar control in the second view layer is also revealed.
Visible, in the embodiment of the present invention, when the first view layer responds gesture operation, record the thing that this gesture operation is corresponding Part information, and determine the need for the second view layer transmission gesture operation based on this event information, and based on this event information Completing the second view layer to the transmission of gesture information and response, solving cannot be in difference under multilamellar View structure in prior art The problem transmitting gesture operation between view layer, thus solve between video player and invoked third party's player It is uniformly controlled problem, it is ensured that the concordance that user operation is experienced.
The structured flowchart of a kind of video player that Fig. 6 provides for the embodiment of the present invention.With reference to Fig. 6, this video player Including:
First response module 100 is configured to, and when receiving user to the gesture operation of video player, obtains It is arranged at the first view layer of the described video player the superiors, and controls the described first view layer described gesture operation of response.
Event information logging modle 200 is configured to, and records the event information that described gesture operation is corresponding.
Interlayer transmission judge module 300 is configured to, it is judged that whether described gesture operation meets is preset condition of transmitting.
Second response module 400 is configured to, and when described gesture operation meets described default condition of transmitting, obtains It is arranged at the second view layer under described first view layer, and according to described event information, controls described second view layer and ring Should described gesture operation.
From above technical scheme, the embodiment of the present invention is solving the peculiar of video player based on multilamellar View structure During the problem that control combines with third party's player, it is being provided with the first view layer of described peculiar control hands to receiving When gesture operation responds, record the event information of this gesture operation, and after the first view layer has responded, it is judged that this gesture Whether operation meets is preset condition of transmitting, when meeting this default condition of transmitting, then according to pre-recorded event information, it is achieved The response to described gesture operation of second view layer, solving cannot be at different views layer under multilamellar View structure in prior art Between transmit the problem of gesture operation, thus solve the unified control between video player and invoked third party's player Problem processed, it is ensured that the concordance that user operation is experienced.
Based on embodiment illustrated in fig. 6, in another embodiment of the present invention shown in Fig. 7, video player also includes the first sound Answer control module 100, event information logging modle 200, interlayer transmission judge module 300 and the second response module 400;Respectively The operable embodiment illustrated in fig. 6 of module effect, here is omitted.
Wherein, in the embodiment shown in fig. 7, the second response module 400 specifically may include that
Pretreatment module 401, for the default gesture identification standard corresponding according to described second view layer, to described event Information carries out pretreatment;
Transmission control module 402 in layer, for existing pretreated event information according to the filiation between control Between the controls at different levels of described second view layer transmit, with determine in described second view layer with described process after event information Relevant one or more target widget;
Target logic performs module 403, for performing the control logic that described target widget is corresponding.
Visible, the embodiment of the present invention utilizes pretreatment module, according to the default gesture identification standard that the second view layer is corresponding, The event information of the first view layer record is carried out pretreatment, it is ensured that the second view layer is correctly completed corresponding gesture operation Identification and response.
In one feasible embodiment of the present invention, above-mentioned event information logging modle 200 specifically can be configured to: root According to receptance function performed during the described first view layer described gesture operation of response, extract the event that described gesture operation is corresponding Information, and record the described event information extracted.
In one feasible embodiment of the present invention, the event information bag that above-mentioned event information logging modle 200 is recorded Include: at least one in operating position information that described gesture operation is corresponding and action type information.
Accordingly, above-mentioned interlayer transmission judge module 300 is specifically configured to, and performs at least one judgement following and operates:
Judge whether described operating position information is predetermined operational location information, when described operating position information is to preset behaviour When making positional information, it is determined that described gesture operation meets presets condition of transmitting;
Judge whether described action type information is predetermined registration operation type information, when described action type information is to preset behaviour When making type information, it is determined that described gesture operation meets presets condition of transmitting;
Wherein, described predetermined operational location information includes, each total control of described first view layer and the second view layer The operating position information that part is corresponding;Described predetermined registration operation type information includes, the action type that each total control described is corresponding Information.
Visible, in the embodiment of the present invention, when the first view layer responds gesture operation, record the thing that this gesture operation is corresponding Part information, and determine the need for the second view layer transmission gesture operation based on this event information, and based on this event information Completing the second view layer to the transmission of gesture information and response, solving cannot be in difference under multilamellar View structure in prior art The problem transmitting gesture operation between view layer, thus solve between video player and invoked third party's player It is uniformly controlled problem, it is ensured that the concordance that user operation is experienced.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The embodiment of the present invention additionally provides a kind of nonvolatile computer storage media;The storage of this non-volatile computer is situated between In matter, storage has executable instruction, when described executable instruction is performed, it is possible to realize described in said method embodiment The part or all of step of video player control method.
It addition, the embodiment of the present invention additionally provides a kind of electronic equipment, it includes but not limited to mobile phone, panel computer etc.. This electronic equipment at least includes: processor, and for storing the memorizer of described processor executable.
Wherein, described processor is configured to: when calling and perform the executable instruction stored in described memorizer, hold Row video player control method described in any of the above-described embodiment of the method, it at least includes performing following steps:
When receiving user to the gesture operation of video player, obtain and be arranged at the described video player the superiors First view layer;
Control described first view layer and respond described gesture operation, and record the event information that described gesture operation is corresponding;
Judge whether described gesture operation meets and preset condition of transmitting;
When described gesture operation meets described default condition of transmitting, obtain the be arranged under described first view layer Two view layers;
According to described event information, control described second view layer and respond described gesture operation.
From above technical scheme, the electronic equipment that the embodiment of the present invention provides, solving based on multilamellar View structure During the problem that the peculiar control of video player combines with third party's player, regard be provided with described peculiar control first When the gesture operation received is responded by figure layer, record the event information of this gesture operation, and respond at the first view layer After completing, it is judged that whether this gesture operation meets is preset condition of transmitting, when meeting this default condition of transmitting, then according to remembering in advance The event information of record, it is achieved second view layer response to described gesture operation, solves multilamellar View structure in prior art The problem that cannot transmit down gesture operation between different views layer, thus solve video player and invoked third party It is uniformly controlled problem, it is ensured that the concordance that user operation is experienced between player.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the present invention Its embodiment.The embodiment of the present invention is intended to any modification, purposes or the adaptations of the present invention, these modification, Purposes or adaptations are followed the general principle of the present invention and include the undocumented the art of the embodiment of the present invention In common knowledge or conventional techniques means.Description and embodiments is considered only as exemplary, the true scope of the present invention and Spirit is pointed out by claim below.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (11)

1. a video player control method, it is characterised in that including:
When receiving user to the gesture operation of video player, obtain and be arranged at the first of the described video player the superiors View layer;
Control described first view layer and respond described gesture operation, and record the event information that described gesture operation is corresponding;
Judge whether described gesture operation meets and preset condition of transmitting;
When described gesture operation meets described default condition of transmitting, acquisition is arranged at second under described first view layer and regards Figure layer;
According to described event information, control described second view layer and respond described gesture operation.
Method the most according to claim 1, it is characterised in that according to described event information, controls described second view layer Respond described gesture operation, including:
According to the default gesture identification standard that described second view layer is corresponding, described event information is carried out pretreatment;
By pretreated event information according to the filiation between control between the controls at different levels of described second view layer Transmission, to determine one or more target widget relevant to the event information after described process in described second view layer;
Perform the control logic that described target widget is corresponding.
Method the most according to claim 1 and 2, it is characterised in that described event information includes: described gesture operation is corresponding Operating position information and action type information at least one.
Method the most according to claim 3, it is characterised in that judge whether described gesture operation meets and preset transmission bar Part, including following at least one:
Judge whether described operating position information is predetermined operational location information, when described operating position information is predetermined registration operation position During confidence breath, it is determined that described gesture operation meets presets condition of transmitting;
Judge whether described action type information is predetermined registration operation type information, when described action type information is predetermined registration operation class During type information, it is determined that described gesture operation meets presets condition of transmitting;
Wherein, described predetermined operational location information includes, each total control pair of described first view layer and the second view layer The operating position information answered;Described predetermined registration operation type information includes, the action type information that each total control described is corresponding.
Method the most according to claim 1 and 2, it is characterised in that record the event information that described gesture operation is corresponding, bag Include:
According to receptance function performed during the described first view layer described gesture operation of response, extract described gesture operation corresponding Event information, and record the described event information that extracts.
6. a video player, it is characterised in that including:
First response module, for when receiving user to the gesture operation of video player, obtain be arranged at described First view layer of the video player the superiors, and control the described first view layer described gesture operation of response;
Event information logging modle, for recording the event information that described gesture operation is corresponding;
Interlayer transmission judge module, is used for judging whether described gesture operation meets and presets condition of transmitting;
Second response module, for when described gesture operation meets described default condition of transmitting, obtains described in being arranged at The second view layer under first view layer, and according to described event information, control described second view layer and respond described gesture Operation.
Video player the most according to claim 6, it is characterised in that described second response module, including:
Pretreatment module, for the default gesture identification standard corresponding according to described second view layer, enters described event information Row pretreatment;
Layer in transmission control module, for by pretreated event information according to the filiation between control described second Transmit between the controls at different levels of view layer, to determine in described second view layer relevant to the event information after described process one Individual or multiple target widget;
Target logic performs module, for performing the control logic that described target widget is corresponding.
8. according to the video player described in claim 6 or 7, it is characterised in that described event information logging modle institute record Event information include:
At least one in operating position information that described gesture operation is corresponding and action type information.
Video player the most according to claim 8, it is characterised in that described interlayer transmission judge module is specifically configured For, perform at least one judgement following and operate:
Judge whether described operating position information is predetermined operational location information, when described operating position information is predetermined registration operation position During confidence breath, it is determined that described gesture operation meets presets condition of transmitting;
Judge whether described action type information is predetermined registration operation type information, when described action type information is predetermined registration operation class During type information, it is determined that described gesture operation meets presets condition of transmitting;
Wherein, described predetermined operational location information includes, each total control pair of described first view layer and the second view layer The operating position information answered;Described predetermined registration operation type information includes, the action type information that each total control described is corresponding.
10. according to the video player described in claim 6 or 7, it is characterised in that described event information logging modle specifically quilt It is configured that
According to receptance function performed during the described first view layer described gesture operation of response, extract described gesture operation corresponding Event information, and record the described event information that extracts.
11. 1 kinds of electronic equipments, it is characterised in that including:
Processor, and for storing the memorizer of described processor executable;
Wherein, described processor is configured to:
When receive user to described electronic equipment in run the gesture operation of video player time, obtain and regard described in being arranged at Frequently the first view layer of the player the superiors;
Control described first view layer and respond described gesture operation, and record the event information that described gesture operation is corresponding;
Judge whether described gesture operation meets and preset condition of transmitting;
When described gesture operation meets described default condition of transmitting, acquisition is arranged at second under described first view layer and regards Figure layer;
According to described event information, control described second view layer and respond described gesture operation.
CN201610561044.0A 2016-07-15 2016-07-15 Video player control method and relevant apparatus Pending CN106227422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610561044.0A CN106227422A (en) 2016-07-15 2016-07-15 Video player control method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610561044.0A CN106227422A (en) 2016-07-15 2016-07-15 Video player control method and relevant apparatus

Publications (1)

Publication Number Publication Date
CN106227422A true CN106227422A (en) 2016-12-14

Family

ID=57519766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610561044.0A Pending CN106227422A (en) 2016-07-15 2016-07-15 Video player control method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN106227422A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753214A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Processing method, device, equipment and machine readable media

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324518A (en) * 2013-05-23 2013-09-25 东莞宇龙通信科技有限公司 Mapping operation method and device
CN104778044A (en) * 2015-04-03 2015-07-15 北京奇虎科技有限公司 Method and device for distributing gesture event flows of touch screen
CN104967899A (en) * 2015-06-29 2015-10-07 天脉聚源(北京)科技有限公司 Method and device for multilevel display of omnimedia data
CN105094763A (en) * 2014-04-30 2015-11-25 广州市动景计算机科技有限公司 Video expansion function method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324518A (en) * 2013-05-23 2013-09-25 东莞宇龙通信科技有限公司 Mapping operation method and device
CN105094763A (en) * 2014-04-30 2015-11-25 广州市动景计算机科技有限公司 Video expansion function method and system
CN104778044A (en) * 2015-04-03 2015-07-15 北京奇虎科技有限公司 Method and device for distributing gesture event flows of touch screen
CN104967899A (en) * 2015-06-29 2015-10-07 天脉聚源(北京)科技有限公司 Method and device for multilevel display of omnimedia data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753214A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Processing method, device, equipment and machine readable media

Similar Documents

Publication Publication Date Title
KR102205412B1 (en) System and method for tracking events and providing feedback in a virtual conference
CN104935980B (en) Interactive information processing method, client and service platform
CN110703913B (en) Object interaction method and device, storage medium and electronic device
CN101198945B (en) Management system for rich media environments
CN108024139A (en) Playback method, device, terminal device and the storage medium of Internet video courseware
KR101989732B1 (en) Information processing method, terminal and computer storage medium
CN106709299A (en) Human verification by contextually iconic visual public turing test
US9112980B2 (en) Systems and methods for selectively reviewing a recorded conference
US20210400093A1 (en) Collaborative remote interactive platform
CN101535973A (en) Methods and apparatuses for dynamically sharing a portion of a display during a collaboration session
CN109478142A (en) It is rendered as method, system and the medium of the user interface of the User Activity customization of prediction
CN109982134B (en) Video teaching method based on diagnosis equipment, diagnosis equipment and system
CN108696765A (en) Auxiliary input method in video playing and device
CN113411652A (en) Media resource playing method and device, storage medium and electronic equipment
CN105991820A (en) Terminal control method and device
CN109830248A (en) A kind of audio recording method and terminal device
CN109146540A (en) Monitoring method, mobile device and the server of the visible exposure of advertisement
CN107038201A (en) Display methods, device, terminal and the server of personal homepage
CN109246455A (en) Realize method, apparatus, system and the computer readable storage medium of interactive advertisement
CN106227422A (en) Video player control method and relevant apparatus
CN109062654A (en) A kind of interaction type learning method and system
CN114598913B (en) Multi-user double-record interaction control method and system
CN105843529A (en) Method and device for sharing content through touch screen
JP5931257B1 (en) Movie playback apparatus and program
CN109819292B (en) Control method of remote media machine and remote media machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161214