CN107145279A - A kind of control method, device and equipment for being used to control player - Google Patents

A kind of control method, device and equipment for being used to control player Download PDF

Info

Publication number
CN107145279A
CN107145279A CN201710208233.4A CN201710208233A CN107145279A CN 107145279 A CN107145279 A CN 107145279A CN 201710208233 A CN201710208233 A CN 201710208233A CN 107145279 A CN107145279 A CN 107145279A
Authority
CN
China
Prior art keywords
touch
column
player
default control
parameter set
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
CN201710208233.4A
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.)
Beijing Cheetah Mobile Technology Co Ltd
Original Assignee
Beijing Cheetah Mobile Technology 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 Beijing Cheetah Mobile Technology Co Ltd filed Critical Beijing Cheetah Mobile Technology Co Ltd
Priority to CN201710208233.4A priority Critical patent/CN107145279A/en
Publication of CN107145279A publication Critical patent/CN107145279A/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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

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

The embodiments of the invention provide a kind of control method, device and equipment for being used to control player, methods described includes:First touch event of the detection for the broadcasting page of player;When first touch event meets preparatory condition, being included in the broadcasting page presentation default control column, the default control column is used to realize the return key for returning to operation.The operation complexity that player returns to previous page can be reduced by the embodiment of the present invention.

Description

A kind of control method, device and equipment for being used to control player
Technical field
The present invention relates to terminal device and communication technical field, and in particular to a kind of controlling party for being used to control player Method, device and equipment.
Background technology
As information technology is fast-developing, equipment (such as mobile phone, tablet personal computer) is using increasingly popularizing, along with setting Standby fast development, various applications are also presented in front of the user one after another, good Consumer's Experience, may be such that using more popular.
In the prior art, player is an important application of equipment, by player, for that can watch various videos Or audio file.In actual applications, player often only one of which progress monitoring column, thus, cause to return to previous page Operation is complex.For by YouTube IFrame players, it is a kind of by embedded in JavaScript code IFrame player applications interface (Application Program Interface, API) realizes YouTube video The built-in player of broadcasting.It is mainly by way of reducing the currently playing page previous page occur, and previous page is right Lower angular zone can retain the currently playing page, because the currently playing page is not off, thus, and it is not " truly Return previous page ".
The content of the invention
The embodiments of the invention provide a kind of applied to the control method of player, device and equipment, broadcasting can be reduced Device returns to previous page operation complexity.
First aspect of the embodiment of the present invention provides a kind of control method for being used to control player, including:
First touch event of the detection for the broadcasting page of player;
It is described pre- on the broadcasting page presentation default control column when first touch event meets preparatory condition If being included in control group is used to realize the return key for returning to operation.
With reference to the embodiment of the present invention in a first aspect, in the first possible embodiment of first aspect, the inspection Chaining pin to player broadcasting the page the first touch event, including:
Obtain first touch event first touches parameter set, wherein, described first touches parameter set comprising following It is at least one:Touch area, touching intensity, touch time, touch track and touch number of times;
Detect whether the first touch parameter set matches with the default second touch parameter set, ginseng is touched described first When manifold is matched with the described second touch parameter set, confirm that the first touch parameter meets the preparatory condition.
With reference to the first aspect or the first possible embodiment of first aspect of the embodiment of the present invention, in first aspect Second of possible embodiment in, described after the broadcasting page presentation default control column, methods described also includes:
Triggering fades out animation for what a delay on the default control column was performed.
With reference to the first aspect or the first possible embodiment of first aspect of the embodiment of the present invention, in first aspect The third possible embodiment in, methods described also includes:
On the broadcasting page presentation progress monitoring column, the progress monitoring column is shown simultaneously with the default control column;
It is described after the broadcasting page presentation default control column, methods described also includes:
The second touch event for the broadcasting page is not detected by preset time, while hiding the progress control Column processed and the default control column.
With reference to the third possible embodiment of the first aspect of the embodiment of the present invention, the 4th kind in first aspect can It is described while after the hiding progress monitoring column and the default control column, methods described also includes in the embodiment of energy:
When the buffering speed of download of currently playing content is less than predetermined threshold value, while showing the progress monitoring column and institute State default control column.
With reference to the third possible embodiment of the first aspect of the embodiment of the present invention, the 5th kind in first aspect can In the embodiment of energy, the progress monitoring column is in same horizontal line with the default control column.
With reference to the third possible embodiment of the first aspect of the embodiment of the present invention, the 6th kind in first aspect can Can embodiment in, the default control column is translucent shape.
Second aspect of the embodiment of the present invention provides a kind of control device for being used to control player, including:
Detection unit, the first touch event for detecting the broadcasting page for player;
Display unit, for when first touch event meets preparatory condition, being preset in the broadcasting page presentation Being included in control group, the default control column is used to realize the return key for returning to operation.
With reference to the second aspect of the embodiment of the present invention, in the first possible embodiment of second aspect, the inspection Surveying unit includes:
Acquisition module, first for obtaining first touch event touches parameter set, wherein, described first touches ginseng Manifold includes following at least one:Touch area, touching intensity, touch time, touch track and touch number of times;
Detection module, for detecting whether the first touch parameter set matches with the default second touch parameter set, When the testing result of the detection module is that the described first touch parameter set is matched with the described second touch parameter set, confirm described First touch parameter meets the preparatory condition.
With reference to the second aspect or the first possible embodiment of second aspect of the embodiment of the present invention, in second aspect Second of possible embodiment in, described device also includes:
Trigger element, for after the broadcasting page presentation default control column, triggering to be directed in the display unit What one delay on the default control column was performed fades out animation.
With reference to the second aspect or the first possible embodiment of second aspect of the embodiment of the present invention, in second aspect The third possible embodiment in, the display unit also particularly useful for:
On the broadcasting page presentation progress monitoring column, the progress monitoring column is shown simultaneously with the default control column;
Described device also includes:
Hidden unit, in the display unit after the broadcasting page presentation default control column, when default Interior the second touch event being not detected by for the broadcasting page, while hiding the progress monitoring column and the default control Column processed.
With reference to the third possible embodiment of the second aspect of the embodiment of the present invention, the 4th kind in second aspect can Can embodiment in, the display unit specifically for:
After the hidden unit hides the progress monitoring column and the default control column simultaneously, currently playing interior When the buffering speed of download of appearance is less than predetermined threshold value, while showing the progress monitoring column and the default control column.
With reference to the third possible embodiment of the second aspect of the embodiment of the present invention, the 5th kind in second aspect can In the embodiment of energy, the progress monitoring column is in same horizontal line with the default control column.
With reference to the third possible embodiment of the second aspect of the embodiment of the present invention, the 6th kind in second aspect can Can embodiment in, the default control column is translucent shape.
The third aspect of the embodiment of the present invention provides a kind of control device for being used to control player, including:
Processor and memory;
Wherein, the processor is by calling the code in the memory or instructing a kind of for controlling for performing The control method of player, wherein, methods described includes:
First touch event of the detection for the broadcasting page of player;
It is described pre- on the broadcasting page presentation default control column when first touch event meets preparatory condition If being included in control group is used to realize the return key for returning to operation.
Fourth aspect of the embodiment of the present invention provides a kind of storage medium, wherein, the storage medium is used to store application program, The application program is used for the described a kind of control method for being used to control player for operationally performing the embodiment of the present invention.
The aspect of the embodiment of the present invention the 5th provides a kind of application program, wherein, the application program is used to operationally perform A kind of control method for being used to control player described in the embodiment of the present invention.
Implement the embodiment of the present invention, have the advantages that:
As can be seen that controlling the control method of player detectable for broadcasting by being used for described by the embodiment of the present invention The first touch event of the broadcasting page of device is put, when the first touch event meets preparatory condition, is preset playing page presentation Being included in control group, default control column is used to realize the return key for returning to operation.Due in the embodiment of the present invention, in touch event When meeting preparatory condition, default control column can be shown, by the return key in the default control column, one can be directly returned to The page, thus, reduce the operation complexity that player returns to previous page.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is that a kind of first embodiment flow of control method for controlling player provided in an embodiment of the present invention is shown It is intended to;
Fig. 1 a are the page presentation schematic diagrames of player provided in an embodiment of the present invention;
Fig. 1 b are the another displaying schematic diagrames of the page of player provided in an embodiment of the present invention;
Fig. 2 is that a kind of second embodiment flow of control method for controlling player provided in an embodiment of the present invention is shown It is intended to;
Fig. 2 a are the page presentation schematic diagrames of player provided in an embodiment of the present invention;
Fig. 3 a are a kind of example structure signals for being used to control the control device of player provided in an embodiment of the present invention Figure;
Fig. 3 b are that the example structure of the detection unit of the control device described by Fig. 3 a provided in an embodiment of the present invention is shown It is intended to;
Fig. 3 c are the another structural representations of embodiment of the control device described by Fig. 3 a provided in an embodiment of the present invention;
Fig. 3 d are the another structural representations of embodiment of the control device described by Fig. 3 a provided in an embodiment of the present invention;
Fig. 4 is a kind of example structure signal for being used to control the control device of player provided in an embodiment of the present invention Figure.
Embodiment
The embodiments of the invention provide a kind of control method, device and equipment for being used to control player, available for convenient Return to the previous page for playing the page.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that covering non-exclusive is included.For example contain the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but the step of alternatively also include not listing or list Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Equipment described by the embodiment of the present invention can include smart mobile phone (such as Android phone), tablet personal computer, palm Computer, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., on It is only citing to state equipment, and non exhaustive, including but not limited to the said equipment.
It should be noted that the default control column in the embodiment of the present invention can be top control group, or, side control Column, can also be the control group in designated area.The default control column, which can be included, to be used to realize the return key for returning to operation, should The previous page that operation is used to return to the currently playing page is returned, or, the broadcasting homepage for returning to player, or, use In the specified page for returning to current player.Certainly, the currently playing page can be closed when return, or, hide and currently broadcast The page is put, so that, the currently playing page will not shelter from its previous page.By taking IFrame players as an example, its player is perpendicular Embedded IFrame players in the case of screen,<iframe>Need to set allowfullscreen=1 in label, due to IFrame players possess the Information at top in itself, and the embodiment of the present invention can replace the top information using default control column Column, thus need<iframe>Showinfo=1 can be set in label.
Referring to Fig. 1, being a kind of the first implementation for being used to control the control method of player provided in an embodiment of the present invention Example schematic flow sheet.Being used for described in the present embodiment controls the control method of player, comprises the following steps:
101st, first touch event of the detection for the broadcasting page of player.
Wherein, the above-mentioned broadcasting page can be the full frame page, or the half screen page.The broadcast page of player is touched in user During face, you can think to generate the first touch event.
Alternatively, before above-mentioned steps 101, it can also comprise the following steps:
When entering the broadcasting page of the player, on default control column described in the broadcasting page presentation.
Wherein, when just having initially entered the broadcasting page of player, page presentation default control column can be being played, the default control Column processed, which is included, to be used to realize the return key for returning to operation, when it is not detected by the situation that the page is touched of playing within a period of time Under, hide the default control column.
For example, by taking IFrame players as an example, above-mentioned default control column is top control group, is clicking to enter the broadcasting page Afterwards, JavaScript code can be loaded and IFrame player applications interface (Application Program are initialized Interface, API), after the completion of the initialization of IFrame players, pass through JavaScript interface (notifyVideoPlayerHeight) the shared height of player is returned to outside (full page is laid out outermost father View) H, in this condition, is monitored the touch event in region shared by player.When user has just enter into the broadcasting page, it may think Exit, so when, top control group may occur in which.
Further, in the prior art, the spirit of IFrame players is the superposition of multiple windows, for example, upper one The page is superimposed with the currently playing page, after the diminution of the currently playing page, has occurred as soon as previous page, thus, it is not " real Return previous page in meaning ", and then, in addition it is also necessary to the currently playing page is closed, just calculates and returns previous page.It is of the invention real Apply example and then realize return previous page using default control column.
Alternatively, in above-mentioned steps 101, first touch event of the detection for the broadcasting page of player, it may include such as Lower step:
11), obtain first touch event first touches parameter set, wherein, the first touch parameter set is included Following at least one:Touch area, touching intensity, touch time, touch track and touch number of times;
12), detect whether the first touch parameter set matches with the default second touch parameter set, touched described first Touch parameter set with described second touch parameter set match when, confirm it is described first touch parameter meet the preparatory condition.
Wherein, after equipment detects the first touch event, the first touch parameter set can be obtained, the first touch parameter set Following at least one can be included:Touch area, touching intensity, touch time, touch track and touch number of times, touch area.On It can be designated area to state touch area, for example, playing the region preset and set on the page, touch is effective in the region, It is invalid that other regions are touched;Above-mentioned touching intensity can be the touching intensity in designated area, or, being averaged during touch Touching intensity, maximum touch force degree, or, minimum touching intensity;The touch time can be, in the touch time of designated area, to touch Time can be the touch time after default touch number of times, for example, the touch time touches touch for user plays the page two It is secondary, then, start to gather the touch time, or, the time that touches is the time that touching intensity is in default dynamics scope;Touch rail Mark is the touch track in designated area, or, touch track is to play the touch track of the page;It is in specified area to touch number of times The touch number of times in domain, or, playing the touch number of times of the page;It can be the touch area in designated area to touch area, or Person, repeatedly touches the average touch area for playing the page.It is above-mentioned it is default second touch parameter set can voluntarily be set by user or Person's system default.
For example, the first touch parameter set of the first touch event can be:First touching intensity and first touches the time, its In, the first touching intensity is the average touching intensity in designated area, and first touches the time to play the designated area in the page The touch time in other outer regions, when the first touch parameter set is matched with the second touch parameter set, confirm that first touches ginseng Manifold meets preparatory condition.Further, second touch parameter set and touch the time comprising the second touching intensity and second, then can be with Judge whether the first touch parameter set matches with the second touch parameter set as follows, first, it is determined that the first touching intensity Whether the absolute value of the difference between the second touching intensity is less than first threshold, when the absolute value is less than first threshold, sentences Disconnected second touches whether the time was more than for the first touch time, and being more than first in the second touch time touches the time, then confirms first Parameter set is touched to match with the second touch parameter set;Or, the first touch parameter set and can also be judged as follows Whether two touch parameter sets are matched, first, it is determined that second touches whether the time was more than for the first touch time, the time is touched second When touching the time more than first, judge the absolute value of difference between the first touching intensity and the second touching intensity whether less than the One threshold value, when the absolute value of the difference between the first touching intensity and the second touching intensity is less than first threshold, then confirms the One touch parameter set is matched with the second touch parameter set.
102nd, when first touch event meets preparatory condition, on the broadcasting page presentation default control column, institute State default control column be used for realize return operate.
Wherein, when the first touch event meets preparatory condition, page presentation default control column can be being played, the default control Column processed, which can be used for realizing, returns to operation.Such as displaying schematic diagrames of Fig. 1 a, Fig. 1 a for the broadcasting page of player, default control column can The top for playing the page is placed in, in this way, user clicks on arrow, previous page is just may return to.Certainly, on displaying default control column While, progress monitoring column can also be shown, the progress monitoring column is used on the playing progress rate for controlling player, progress monitoring column Multiple buttons can be included, for example, playing progress bar, pause, switching (up or down) etc..
Alternatively, it is described after the broadcasting page presentation default control column in step 102, it can also include as follows Step:
Triggering fades out animation for what a delay on the default control column was performed.
Wherein, after the appearance of default control column, it can be hidden within a period of time, default control in the embodiment of the present invention Column can fade out animation with what a delay was performed, until disappearing.In this way, the interest of player can be lifted.Certainly, default control Column not be quickly hide, be a period of time in gradually hide, thus, allow user to have the individual laundering period, on default control column Before thoroughly hiding, if user has touched return key, return operation is can also carry out, certainly, if default control column is thoroughly hidden Hide, then need to pass through touch event again, allow default control column to reappear again, just can perform return again by return key Operation.
For example, in the specific implementation, when click on broadcast button when, player available buffer video, the broadcasting page of player can There is default control column, now, outside listens to touch event, and what one default control column delay of triggering was performed fades out animation. Time delay is with player progress monitoring column once from the time consistency (3000 milliseconds) occurred to disappearance.During video buffer, JavaScript interface (on VideoBuffering) can be to external notification buffered messages, but because touch event is tactile Disappearance animation is sent out, although therefore outside receiving this buffered messages and not dealing with.
Alternatively, the progress monitoring column is in same horizontal line with the default control column.Certainly, progress monitoring column with Default control column is in same horizontal line, such as Fig. 1 b, and Fig. 1 b are the displaying schematic diagram of the broadcasting page of player, it can be seen that entered Spend control group and be in same horizontal line with default control column, so that, user can easily carry out returning to operation and to player Playing progress rate be controlled.
Alternatively, the default control column is translucent shape.Wherein, default control column can be set to be translucent, such as This, can not influence user to watch video file.
Alternatively, the transparent shape in default control column.Wherein, default control column can be set to as transparence, in this way, can User is not influenceed to watch video file.Certainly, if transparence, user just can't see default control column, still, default control column Can also still exist, not show simply, user clicks on return key in the relevant position on default control column, just can return Previous page, or, the homepage of player, or, the specified page of player.
Wherein, after above-mentioned steps 102, it can also comprise the following steps:
The click commands for the return key are obtained, the click commands are used to indicate to return to specified page;
Return to the specified page played before the page.
Wherein, the tangible return key of user, so that, a click commands are generated, the click commands can carry specified page, Specify and carry, wherein, click commands can carry number of clicks, number of clicks one back page of correspondence, for example, number of clicks is 1 time, then a upper page for current page is returned to, if number of clicks is 2 times, return to upper two pages of current page, if Number of clicks is 3 times, then returns to upper 3 pages of current page, the homepage of player is at most can return in number of clicks.Such as This, can be by number of clicks, to return to the page for needing to return.Certainly, last time repeatedly puts and hit, between adjacent click twice Time difference be less than time difference threshold value.And then, return to the previous page of the broadcasting page of player or play before the page Any page.
Alternatively, it is described after the broadcasting page presentation default control column in step 102, it can also include as follows Step:
When equipment enters death of monks or nuns screen state, if waking up the equipment, the broadcasting page can be shown on locking screen interface, and in advance If control group.
As can be seen that controlling the control method of player detectable for broadcasting by being used for described by the embodiment of the present invention The first touch event of the broadcasting page of device is put, when the first touch event meets preparatory condition, is preset playing page presentation Being included in control group, default control column is used to realize the return key for returning to operation.In this way, can be by return key, for conveniently returning The previous page for playing the page is returned to, and due to when returning to previous page, can be achieved to close the broadcasting page, so that, can The previous page of the page is played in displaying completely, in this way, bandwagon effect is closer in Consumer's Experience.
Referring to Fig. 2, being a kind of the second implementation for being used to control the control method of player provided in an embodiment of the present invention Example schematic flow sheet.Being used for described in the present embodiment controls the control method of player, comprises the following steps:
201st, first touch event of the detection for the broadcasting page of player.
Wherein, the specific descriptions of above-mentioned steps 201 can be found in the control method for controlling player described by Fig. 1 Correspondence step, will not be repeated here.
202nd, when first touch event meets preparatory condition, play page presentation default control column described and enter Control group is spent, the progress monitoring column is shown simultaneously with the default control column, being included in the default control column is used to realize Return to the return key of operation.
Wherein, when the first touch event meets preparatory condition, page presentation default control column and progress control can played Column processed, such as Fig. 1 b, its progress monitoring column can show simultaneously with default control column, wherein, being included in default control column is used to realize Return to the return key of operation.
203rd, the second touch event for the broadcasting page is not detected by preset time, while entering described in hiding Spend control group and the default control column.
Wherein, above-mentioned preset time can voluntarily be set or system default by user, for example, 5 seconds, 10 seconds, 15 seconds, 15.9 Second, 30 seconds etc..If being not detected by the second touch time for playing the page in preset time, progress monitoring can be hidden simultaneously Column and default control column.Above-mentioned second touch event user touches effective operation of touch-screen, and even user is in preset time The second touch event for playing the page is inside not detected by, then can hide progress monitoring column and default control column simultaneously.
Alternatively, above-mentioned steps 203, it is described while the hiding progress monitoring column is with after the default control column, going back It can comprise the following steps:
When the buffering speed of download of currently playing content is less than predetermined threshold value, while showing the progress monitoring column and institute State default control column.
Wherein, predetermined threshold value can voluntarily be set or system default by user.Speed is downloaded in the buffering of currently playing content When spending hell predetermined threshold value, illustrate that now player is stuck, thus, progress monitoring column and default control column can be shown, for User's selection is to carry out return operation, or carries out forwarding operation or rearward operation, or is to reload operation.
Alternatively, above-mentioned steps 203, it is described while the hiding progress monitoring column is with after the default control column, going back It can comprise the following steps:
When currently playing content loads failure, the default control column is shown.
Load and fail in currently playing content, be then probably that due to video source error, then can show default control column, from And, it is available for user to carry out return operation, to return to page up, other videos may be selected.
In the specific implementation, when playing beginning, now, can be connect by taking IFrame players as an example by JavaScript Mouth (on VideoPlaying) is played to external notification to be started, and outside is not processed.In playing process, when user clicks During the broadcasting page region of player, progress monitoring column can occur automatically, now, and touch-screen listens to touch event, top Portion's control group occurs, meanwhile, it can trigger one and fade out animation for the delay execution of top control group.
When network speed is slower, when video playback needs buffering, JavaScript interface (on VideoBuffering) can be to External notification buffered messages, are externally received this buffered messages, it is necessary to cancel the above-mentioned delay animation existed, now, top Portion's control group exists always, and when video buffer completes to commence play out, JavaScript interface (o nVideoPlaying) can be to External notification commences play out message, is externally received this message, and what one delay of retriggered was performed fades out animation.
When mistake occurs in network, JavaScript interface (o nVideoError) can be to external notification playback error Message, is externally received the message of this playback error, and top control group occurs.
When user's click on area is player centre position, now player suspends, and player control group and centre are broadcast Put button automatically to occur, JavaScript interface (on VideoPaused) is to the message of external notification video pause, and outside connects The message of this pause is received, top control group occurs.When user again taps on middle broadcast button, video is commenced play out, JavaScript interface (on VideoPlaying) commences play out message to external notification, is externally received this and plays message, weight What new one delay of triggering was performed fades out animation.
At the end of broadcasting, player stops, and JavaScript interface (o nVideoEnded) is played to external notification and tied Beam message, top control group occurs.
Alternatively, the progress monitoring column is in same horizontal line with the default control column.Certainly, progress monitoring column with Default control column is in same horizontal line, such as Fig. 2 a, and user can easily carry out returning to operation and the broadcasting to player is entered Degree is controlled.
Alternatively, the default control column is translucent shape.Wherein, default control column can be set to be translucent, such as This, can not influence user to watch video file.
Alternatively, the transparent shape in default control column.Wherein, default control column can be set to as transparence, in this way, can User is not influenceed to watch video file.Certainly, if transparence, user just can't see default control column, still, default control column Can also still exist, not show simply, user clicks on return key in the relevant position on default control column, just can return Previous page, or, the homepage of player, or, the specified page of player.
As can be seen that controlling the control method of player detectable for broadcasting by being used for described by the embodiment of the present invention The first touch event of the broadcasting page of device is put, when the first touch event meets preparatory condition, is preset playing page presentation Being included in control group, default control column is used to realize the return key for returning to operation.In this way, can be by return key, for conveniently returning The previous page for playing the page is returned to, and due to when returning to previous page, can be achieved to close the broadcasting page, so that, can The previous page of the page is played in displaying completely, in this way, bandwagon effect is closer in Consumer's Experience.
Fig. 3 a are referred to, are a kind of the first implementation for being used to control the control device of player provided in an embodiment of the present invention Example structural representation.Being used for described in the present embodiment controls the control device of player, including:Detection unit 301 and exhibition Show unit 302, it is specific as follows:
Detection unit 301, the first touch event for detecting the broadcasting page for player;
Display unit 302, it is pre- in the broadcasting page presentation for when first touch event meets preparatory condition Being included if control group, in the default control column is used to realize the return key for returning to operation.
Alternatively, the specific refinement structure of the detection unit 301 of the control device as described by Fig. 3 b, Fig. 3 b are Fig. 3 a, It may include:Acquisition module 3011 and detection module 3012, it is specific as follows:
Acquisition module 3011, first for obtaining first touch event touches parameter set, wherein, described first touches Touch parameter set and include following at least one:Touch area, touching intensity, touch time, touch track and touch number of times;
Detection module 3012, for detect it is described first touch parameter set with default second touch parameter set whether Match somebody with somebody, when the testing result of the detection module matches for the described first touch parameter set with the described second touch parameter set, really Recognize the first touch parameter and meet the preparatory condition.
Alternatively, the another modification structures of the control device as described by Fig. 3 c, Fig. 3 c are Fig. 3 a, Fig. 3 c are compared with Fig. 3 a Compared with it can also include:Trigger element 303, it is specific as follows:
Trigger element 303, for after the broadcasting page presentation default control column, being touched in the display unit 302 What a delay of the hairpin to the default control column was performed fades out animation.
Alternatively, the another modification structures of the control device as described by Fig. 3 d, Fig. 3 d are Fig. 3 a, Fig. 3 d are compared with Fig. 3 a Compared with it can also include:Hidden unit 304, it is specific as follows:
The display unit 302 also particularly useful for:
On the broadcasting page presentation progress monitoring column, the progress monitoring column is shown simultaneously with the default control column;
Hidden unit 304, in the display unit 302 after the broadcasting page presentation default control column, Be not detected by preset time for it is described broadcasting the page the second touch event, while hide the progress monitoring column with it is described Default control column.
Still optionally further, the display unit 302 specifically for:
After the hidden unit 304 hides the progress monitoring column and the default control column simultaneously, broadcast currently When the buffering speed of download for putting content is less than predetermined threshold value, while showing the progress monitoring column and the default control column.
Alternatively, the progress monitoring column is in same horizontal line with the default control column.
Alternatively, the default control column is translucent shape.
As can be seen that controlling the control device of player detectable for broadcasting by being used for described by the embodiment of the present invention The first touch event of the broadcasting page of device is put, when the first touch event meets preparatory condition, is preset playing page presentation Being included in control group, default control column is used to realize the return key for returning to operation.In this way, can be by return key, for conveniently returning The previous page for playing the page is returned to, and due to when returning to previous page, can be achieved to close the broadcasting page, so that, can The previous page of the page is played in displaying completely, in this way, bandwagon effect is closer in Consumer's Experience.
Referring to Fig. 4, being a kind of embodiment knot for being used to control the control device of player provided in an embodiment of the present invention Structure schematic diagram.Control device described in the present embodiment, including:At least one input equipment 1000;At least one output is set Standby 2000;At least one processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, Processor 3000 and memory 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high-speed RAM memory, or non-labile memory (non-volatile Memory), such as magnetic disk storage.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated Going out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, performs following operation:
Above-mentioned processor 3000, is used for:
First touch event of the detection for the broadcasting page of player;
It is described pre- on the broadcasting page presentation default control column when first touch event meets preparatory condition If being included in control group is used to realize the return key for returning to operation.
Alternatively, the above-mentioned detection of processor 3000 is directed to the first touch event of the broadcasting page of player, including:
Obtain first touch event first touches parameter set, wherein, described first touches parameter set comprising following It is at least one:Touch area, touching intensity, touch time, touch track and touch number of times;
Detect whether the first touch parameter set matches with the default second touch parameter set, ginseng is touched described first When manifold is matched with the described second touch parameter set, confirm that the first touch parameter meets the preparatory condition.
Alternatively, above-mentioned processor 3000 is after the broadcasting page presentation default control column, also particularly useful for:
Triggering fades out animation for what a delay on the default control column was performed.
Alternatively, above-mentioned processor 3000, also particularly useful for:
On the broadcasting page presentation progress monitoring column, the progress monitoring column is shown simultaneously with the default control column;
It is described after the broadcasting page presentation default control column, also particularly useful for:
The second touch event for the broadcasting page is not detected by preset time, while hiding the progress control Column processed and the default control column.
Alternatively, above-mentioned processor 3000, it is described while after the hiding progress monitoring column and the default control column, Also particularly useful for:
When the buffering speed of download of currently playing content is less than predetermined threshold value, while showing the progress monitoring column and institute State default control column.
Alternatively, the progress monitoring column is in same horizontal line with the default control column.
Alternatively, the default control column is translucent shape.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, the portion of the control method when program is performed including any one described in above method embodiment for controlling player Divide or Overall Steps.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
, can be by another way in several embodiments provided herein, it should be understood that disclosed device Realize.For example, device embodiment described above is only schematical, such as the division of described unit is only one kind Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can for personal computer, server or network equipment etc.) perform each embodiment methods described of the invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a kind of control method for being used to control player, it is characterised in that including:
First touch event of the detection for the broadcasting page of player;
When first touch event meets preparatory condition, on the broadcasting page presentation default control column, the default control Being included in column processed is used to realize the return key for returning to operation.
2. according to the method described in claim 1, it is characterised in that the detection is touched for the first of the broadcasting page of player Event is touched, including:
Obtain first touch event first touch parameter set, wherein, it is described first touch parameter set comprising it is following at least It is a kind of:Touch area, touching intensity, touch time, touch track and touch number of times;
Detect whether the first touch parameter set matches with the default second touch parameter set, parameter set is touched described first When being matched with the described second touch parameter set, confirm that the first touch parameter meets the preparatory condition.
3. method according to claim 1 or 2, it is characterised in that described on the broadcasting page presentation default control column Afterwards, methods described also includes:
Triggering fades out animation for what a delay on the default control column was performed.
4. method according to claim 1 or 2, it is characterised in that methods described also includes:
On the broadcasting page presentation progress monitoring column, the progress monitoring column is shown simultaneously with the default control column;
It is described after the broadcasting page presentation default control column, methods described also includes:
The second touch event for the broadcasting page is not detected by preset time, while hiding the progress monitoring column With the default control column.
5. method according to claim 4, it is characterised in that described while the hiding progress monitoring column is preset with described After control group, methods described also includes:
Currently playing content buffering speed of download be less than predetermined threshold value when, while show the progress monitoring column with it is described pre- If control group.
6. method according to claim 4, it is characterised in that the progress monitoring column is in same with the default control column One horizontal line.
7. method according to claim 4, it is characterised in that the default control column is translucent shape.
8. a kind of control device for being used to control player, it is characterised in that including:
Detection unit, the first touch event for detecting the broadcasting page for player;
Display unit, for when first touch event meets preparatory condition, in the broadcasting page presentation default control Being included in column, the default control column is used to realize the return key for returning to operation.
9. device according to claim 8, it is characterised in that the detection unit includes:
Acquisition module, first for obtaining first touch event touches parameter set, wherein, described first touches parameter set Include following at least one:Touch area, touching intensity, touch time, touch track and touch number of times;
Detection module, for detecting whether the first touch parameter set matches with the default second touch parameter set, described When the testing result of detection module is that the described first touch parameter set is matched with the described second touch parameter set, described first is confirmed Touch parameter and meet the preparatory condition.
10. a kind of control device for being used to control player, it is characterised in that including:
Processor and memory;
Wherein, the processor is used to control player by calling the code in the memory or instructing for performing Control method, wherein, methods described includes:
First touch event of the detection for the broadcasting page of player;
When first touch event meets preparatory condition, on the broadcasting page presentation default control column, the default control Being included in column processed is used to realize the return key for returning to operation.
CN201710208233.4A 2017-03-31 2017-03-31 A kind of control method, device and equipment for being used to control player Pending CN107145279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710208233.4A CN107145279A (en) 2017-03-31 2017-03-31 A kind of control method, device and equipment for being used to control player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710208233.4A CN107145279A (en) 2017-03-31 2017-03-31 A kind of control method, device and equipment for being used to control player

Publications (1)

Publication Number Publication Date
CN107145279A true CN107145279A (en) 2017-09-08

Family

ID=59783896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710208233.4A Pending CN107145279A (en) 2017-03-31 2017-03-31 A kind of control method, device and equipment for being used to control player

Country Status (1)

Country Link
CN (1) CN107145279A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089142A (en) * 2018-09-05 2018-12-25 百度在线网络技术(北京)有限公司 Control method for playing back, device and computer equipment
CN111372137A (en) * 2020-03-13 2020-07-03 青岛海信宽带多媒体技术有限公司 Method and device for automatically correcting player state by browser and display equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221970A (en) * 2011-06-09 2011-10-19 福州瑞芯微电子有限公司 Video breaking method based on multi-point touch technology
CN103248958A (en) * 2013-04-08 2013-08-14 深圳创维-Rgb电子有限公司 Interactive method and device for player, television and playback equipment
EP2894863A1 (en) * 2014-01-08 2015-07-15 Samsung Electronics Co., Ltd Method and device for screen mirroring
CN105992043A (en) * 2015-10-15 2016-10-05 乐视致新电子科技(天津)有限公司 Data processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221970A (en) * 2011-06-09 2011-10-19 福州瑞芯微电子有限公司 Video breaking method based on multi-point touch technology
CN103248958A (en) * 2013-04-08 2013-08-14 深圳创维-Rgb电子有限公司 Interactive method and device for player, television and playback equipment
EP2894863A1 (en) * 2014-01-08 2015-07-15 Samsung Electronics Co., Ltd Method and device for screen mirroring
CN105992043A (en) * 2015-10-15 2016-10-05 乐视致新电子科技(天津)有限公司 Data processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
百度公司: "《百度网盘7.16.1》", 23 January 2017 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089142A (en) * 2018-09-05 2018-12-25 百度在线网络技术(北京)有限公司 Control method for playing back, device and computer equipment
CN111372137A (en) * 2020-03-13 2020-07-03 青岛海信宽带多媒体技术有限公司 Method and device for automatically correcting player state by browser and display equipment

Similar Documents

Publication Publication Date Title
US11400372B2 (en) System and method for controlling technical processes
US10955994B2 (en) User interfaces for downloading applications on an electronic device
CN104679436B (en) Suspension key and device based on touch screen
US11197069B2 (en) Display method for live broadcast screen of live broadcast room, storage device and computer device
CN104808825B (en) Touch event partition method and its device
CN106933468A (en) A kind of user interface switching method and terminal
CN106998393B (en) Video playing control method, mobile terminal and computer readable storage medium
CN107122119A (en) Information processing method, device, electronic equipment and computer-readable recording medium
CN107071556A (en) A kind of interface rendering intent and device
CN104216639B (en) A kind of terminal operation method
JP2023542666A (en) Operation method and device
CN108763541A (en) A kind of page display method and terminal
CN107024990A (en) A kind of method for attracting children to autodyne and mobile terminal
CN107145279A (en) A kind of control method, device and equipment for being used to control player
CN108984089A (en) touch operation method, device, storage medium and electronic equipment
CN107450804A (en) A kind of method and terminal for responding touch control operation
CN105843594A (en) Method and device for displaying application program page of mobile terminal
CN106484235B (en) A kind of self-defined method and apparatus that game operation interface is set
CN108256108A (en) A kind of processing method and terminal for showing content
CN109901760A (en) A kind of object control method and terminal device
CN106484232B (en) A kind of interface display system
CN108924625A (en) video playing control method and device
CN106775184A (en) APP tabs exhibiting method and electronic equipment
CN104133633B (en) The method and apparatus being controlled to the input on the touch-screen of electronic equipment
CN107820123A (en) Method, mobile terminal and the storage device of mobile terminal screen printing picture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170908

RJ01 Rejection of invention patent application after publication