CN104571859B - A kind of method and its terminal controlling player - Google Patents

A kind of method and its terminal controlling player Download PDF

Info

Publication number
CN104571859B
CN104571859B CN201410817486.8A CN201410817486A CN104571859B CN 104571859 B CN104571859 B CN 104571859B CN 201410817486 A CN201410817486 A CN 201410817486A CN 104571859 B CN104571859 B CN 104571859B
Authority
CN
China
Prior art keywords
operational order
user
player
input
web player
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.)
Active
Application number
CN201410817486.8A
Other languages
Chinese (zh)
Other versions
CN104571859A (en
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201410817486.8A priority Critical patent/CN104571859B/en
Publication of CN104571859A publication Critical patent/CN104571859A/en
Application granted granted Critical
Publication of CN104571859B publication Critical patent/CN104571859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/04842Selection of displayed objects or displayed text elements
    • 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)
  • Telephone Function (AREA)

Abstract

This application discloses a kind of methods and its terminal for controlling player.Wherein, the method for controlling player includes mobile terminal by browser access web player, and obtains the operational order of user's input;The control instruction of the corresponding control web player of operational order is determined according to mapping relations, and web player is controlled according to control instruction and executes corresponding movement.It can be realized in the case where closing backlight, the operational order of response user's input improves user experience convenient for controlling web player in the case where closing backlight.

Description

A kind of method and its terminal controlling player
Technical field
This application involves fields of communication technology, more particularly to a kind of method and its terminal for controlling player.
Background technique
Universal with mobile Internet and intelligent mobile terminal, the content that intelligent mobile terminal is supported is more and more abundant, User can connect wireless network by intelligent mobile terminal and download various application programs, to be thought by the load of each application program The function of wanting.For example, listened to music, studied English by download player, seeing video etc..
When user listens to music, studies English or watch video, intelligence by player in intelligent mobile terminal or browser Energy mobile terminal closes backlight, and lock-screen when a period of time not detecting any operational order of user.
Since intelligent mobile terminal is in the case where closing backlight, screen is locked, and the intelligence that screen is locked Energy mobile terminal cannot respond to any operation of user (in addition to earphone control command).User wants the content that adjustment is currently listened to When, it is desirable to screen is unlocked, and is configured into corresponding interface, operation is more troublesome, makes troubles to user.
In addition, when for listening to audio content by browser, since browser does not support the function of loop play, for The content that user only needs to listen to several times must also download to intelligent mobile terminal, again from local deletion after having listened to.Downloading File not only expends the time, but also committed memory, operates cumbersome.
Summary of the invention
The application mainly solving the technical problems that provide it is a kind of control player method and its terminal, be able to use family The operational order of customization control web player according to demand, and in the case where closing backlight, the behaviour of response user's input It instructs, improves user experience.
In order to solve the above technical problems, the technical solution that the application uses is: providing a kind of side for controlling player Method, described method includes following steps: in the case where closing backlight, mobile terminal accesses webpage by browser and plays Device, and obtain the operational order of user's input;The corresponding control webpage of the operational order is determined according to a mapping relations The control instruction of player;Wherein, the mapping relations are pair of the operational order and the control instruction predetermined It should be related to;The web player, which is controlled, according to the control instruction executes corresponding movement.
Wherein, the mobile terminal accesses web player by browser, and obtain the operational order of user's input Step includes: the first touching instruction of acquisition for mobile terminal user input, and determines that user is defeated according to first touching instruction The operational order entered.
Wherein, the mobile terminal accesses web player by browser, and obtain the operational order of user's input Step includes: the first touching instruction of the data that acquisition for mobile terminal gravity sensor detects and user's input;According to institute The second operational order that data determine user's input is stated, and is determined according to first touching instruction and second operational order The operational order of user's input.
Wherein, mobile terminal accesses web player by browser, and the step of obtaining the operational order of user's input Later further include: judge whether the web player is playing file;When the web player does not have played file, It is not responding to the operational order;When the web player is playing file, execute according to mapping relations determination The step of control instruction of the corresponding control web player of operational order.
Wherein, the method also includes: when the web player is playing file, the mobile terminal opens back Light lamp.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of control player Terminal, the terminal include: to obtain module, determining module and control module;The acquisition module is used to close backlight In the case where, web player is accessed by browser, and obtain the operational order of user's input;The determining module is used for root The control instruction of the corresponding control web player of the operational order is determined according to a mapping relations;Wherein, the mapping Relationship is the corresponding relationship of the operational order and the control instruction predetermined;The control module is used for according to Control instruction controls the web player and executes corresponding movement.
Wherein, the acquisition module includes acquiring unit and determination unit;The acquiring unit is defeated for obtaining user The first touching instruction entered;The determination unit is used to determine the operational order of user's input according to first touching instruction.
Wherein, the acquisition module includes acquiring unit and determination unit;The acquiring unit is for obtaining gravity biography First touching instruction of data and user's input that sensor detects;The determination unit is used to be determined according to the data and use Second operational order of family input, and the behaviour that user inputs is determined according to first touching instruction and second operational order It instructs.
Wherein, the terminal further includes judgment module, and just whether the judgment module for judging the web player In played file;The determining module is used for when the web player does not have played file, is not responding to the operational order; When the web player is playing file, the corresponding control net of the operational order is determined according to a mapping relations The control instruction of page player.
Wherein, the control module is also used to when the web player is playing file, opens backlight.
The beneficial effect of the application is: being in contrast to the prior art, the application mobile terminal is accessed by browser Web player, and obtain the operational order of user's input;Determine that the corresponding control webpage of operational order is broadcast according to mapping relations The control instruction of device is put, and web player is controlled according to control instruction and executes corresponding movement.It can be realized and closing backlight In the case where lamp, the operational order of response user's input improves convenient for controlling web player in the case where closing backlight User experience.
Detailed description of the invention
Fig. 1 is the flow chart for one embodiment of method that the application controls player;
Fig. 2 is the flow chart for another embodiment of method that the application controls player;
Fig. 3 is the structural schematic diagram for one embodiment of terminal that the application controls player;
Fig. 4 is the structural schematic diagram for another embodiment of terminal that the application controls player.
Specific embodiment
In being described below, for illustration and not for limitation, propose such as specific system structure, interface, technology it The detail of class, so as to provide a thorough understanding of the present application.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiment of details.In other situations, omit to well-known device, circuit with And the detailed description of method, so as not to obscure the description of the present application with unnecessary details.
Refering to fig. 1, Fig. 1 is the flow chart for one embodiment of method that the application controls player.Present embodiment is held Row main body is mobile terminal, and player can be to access web player by browser, or the player visitor of downloading Family end.Present embodiment control player method the following steps are included:
S101: in the case where closing backlight, mobile terminal accesses web player by browser, and obtains user The operational order of input.
Web player is accessed when user opens the browser in mobile terminal, when playing audio file, mobile terminal exists It receives after closing the instruction of backlight, the backlight of turning-off mobile terminal.
In the case where backlight is closed, mobile terminal continues through browser access web player, plays audio text Part detects every preset time and obtains the operational order of user's input.The quantity of browser is at least one, and preset time can It is set according to actual conditions, herein with no restriction.
For example, user is opened VOA and is studied English by browser browser.Mobile terminal is receiving closing backlight Instruction after, the backlight of turning-off mobile terminal.
In the case where backlight is closed, mobile terminal continues through browser browser, and (but it is not limited to this, may be used also Think other players) access web player, audio file is played, is detected every preset time and obtains user's input Operational order.The quantity of browser is at least one, and preset time can be set according to actual conditions, herein with no restriction.
S102: determine that the control of the corresponding control web player of the operational order refers to according to a mapping relations It enables;Wherein, the mapping relations are the corresponding relationship of the operational order and the control instruction predetermined.
After the operational order that acquisition for mobile terminal to user inputs, according to operational order predetermined and control webpage Mapping relations between the control instruction of player determine the control instruction of the corresponding control web player of operational order.Its In, mapping relations are the corresponding relationship of operational order predetermined and control instruction.
For example, user checks current optional mapping relations in the set interface of browser browser in advance, and according to Actual demand is configured.For example, it is " retreating 10% " that optional mapping relations, which include: " clicking " corresponding control instruction,; " single-point double-click " corresponding control instruction is to repeat playing;" overturning mobile terminal " corresponding control instruction is to stop playing currently Audio.
When the operational order that acquisition for mobile terminal to user inputs be " clicking " when, according to operational order predetermined with The mapping relations of control instruction determine that the control instruction of " clicking " corresponding control web player is " retreating 10% ".
When the operational order that acquisition for mobile terminal to user inputs is " single-point double-click ", referred to according to operation predetermined Enable with the mapping relations of control instruction, determine that " single-point double-clicks " corresponding control instruction for controlling web player is attached most importance to replay It puts.
When the operational order that acquisition for mobile terminal to user inputs is " overturning mobile terminal ", according to behaviour predetermined Make the mapping relations of instruction with control instruction, determines that the control instruction of " overturning mobile terminal " corresponding control web player is Stop playing.
It is understood that current optional mapping relations are not limited to this in present embodiment, can also basis go out for drill Make habit and more mapping relations are arranged in convenience, passes through the combination of different operational order or different operational orders Realize different functions.For example, determining broadcasting time by the number of finger tapping mobile phone, it is real that several finger contacts touch screen It is existing it is currently playing step back several steps etc., such as a finger realizes that currently playing process steps back 10%, and two fingers, which touch, to be realized and work as Preceding broadcasting process retreats 40%, and three fingers realize that currently playing process steps back 60%, and four fingers realize currently playing process 80% is retreated, five fingers realize that currently playing process retreats 90%.
S103: the web player is controlled according to the control instruction and executes corresponding movement.
After acquisition for mobile terminal to the control instruction of control web player, web player is controlled according to control instruction and is held The corresponding movement of row.
For example, controlling webpage when the control instruction of acquisition for mobile terminal to control web player is " retreating 10% " The broadcasting process of currently playing audio file is retreated 10% by player.
When the control instruction of acquisition for mobile terminal to control web player is to repeat playing, web player weight is controlled Currently playing audio file is put in replay.
When the control instruction of acquisition for mobile terminal to control web player is to stop playing, control web player stops Only play currently playing audio file.
It is understood that above embodiment, is applicable not only to the case where backlight is closed, is also applied for backlight and opens The case where opening, the control method in the case of two kinds is identical, does not repeat herein.
Above scheme, mobile terminal access web player by browser, and obtain the operational order of user's input;Root The control instruction of the corresponding control web player of operational order is determined according to mapping relations, and webpage is controlled according to control instruction and is broadcast It puts device and executes corresponding movement.It can be realized in the case where closing backlight, the operational order of response user's input is convenient for Web player is controlled in the case where closing backlight, improves user experience.
Referring to Fig.2, Fig. 2 is the flow chart for another embodiment of method that the application controls player.Present embodiment Executing subject is mobile terminal, and player can be to access web player by browser, or the player of downloading Client.Present embodiment control player method the following steps are included:
S201: in the case where closing backlight, mobile terminal accesses web player by browser, and obtains user The operational order of input.
Web player is accessed when user opens the browser in mobile terminal, when playing audio file, mobile terminal exists It receives after closing the instruction of backlight, the backlight of turning-off mobile terminal.
In the case where backlight is closed, mobile terminal continues through browser access web player, plays audio text Part detects every preset time and obtains the operational order of user's input.The quantity of browser is at least one, and preset time can It is set according to actual conditions, herein with no restriction.
Wherein, mobile terminal accesses web player by browser, and the step of obtaining the operational order of user's input It can be with are as follows: the first touching instruction of acquisition for mobile terminal user input, and determine according to the first touching instruction the behaviour of user's input It instructs.
For example, user is opened VOA and is studied English by browser browser.Mobile terminal is receiving closing backlight Instruction after, the backlight of turning-off mobile terminal.
In the case where backlight is closed, mobile terminal continues through browser browser, and (but it is not limited to this, may be used also Think other players) access web player, audio file is played, is detected every preset time and obtains user's input First touching instruction, and the operational order that user inputs is determined according to the first touching instruction.The quantity of browser is at least one, Preset time can be set according to actual conditions, herein with no restriction.First touching instruction is including clicking, single-point is double-clicked, repeatedly fast Speed is clicked.In addition, the first touching instruction includes that can also include some combination gestures etc..
Wherein, the operational order of user's input is determined according to region touching instruction method particularly includes: input according to user Touch point position coordinate, judge touching instruction for single-touch or multiple point touching;According to the coordinate of the position of touch point And detect the touch action corresponding time, judge that touching instruction touches for single touch or repeatedly.
The judgment method repeatedly quickly clicked (is said for repeatedly quickly clicking the event of click three times in event It is bright) specifically: when mobile terminal often gets a touch action, current time Tn (n >=1, n are integer) is recorded, when obtaining It gets the corresponding time T1 of first touch action and gets between the time between the corresponding time T3 of third touch action When being greater than preset threshold, judge this time to input quickly clicks event repeatedly as invalid input;When getting first touch The time interval for acting corresponding time T1 and getting between the corresponding time T3 of third touch action is less than or equal in advance If when threshold value, judge this time to input quickly clicks event repeatedly as effectively input.
Mobile terminal accesses web player by browser, and the step of obtaining the operational order of user's input can be with Are as follows: the first touching instruction of data and user's input that acquisition for mobile terminal gravity sensor detects;According to what is detected Data determine the second operational order of user's input, and determine user's input according to the first touching instruction and the second operational order Operational order.
For example, user is opened VOA and is studied English by browser browser.Mobile terminal is receiving closing backlight Instruction after, the backlight of turning-off mobile terminal.
In the case where backlight is closed, mobile terminal continues through browser browser, and (but it is not limited to this, may be used also Think other players) access web player, audio file is played, is detected every preset time and obtains gravity sensor The data detected and the first touching instruction of user's input determine the second operation of user's input according to the data detected Instruction, and the operational order that user inputs is determined according to the first touching instruction and the second operational order.The quantity of browser is extremely One few, preset time can be set according to actual conditions, herein with no restriction.Wherein, when mobile terminal is according to gravity sensor When the data detected judge 180 ° of rotation of mobile terminal, mobile terminal turn is judged.Mobile terminal is examined according to gravity sensor The data (acceleration of gravity) measured judge that the method for angle is: the acceleration of gravity detected according to gravity sensor is in movement The component value that plane where terminal generates calculates angle, specifically sees calculation method in the prior art, does not repeat herein.
Optionally, when web player is playing file, mobile terminal can also open backlight, to remind user Audio file at this time is in broadcast state.
S202: judge whether the web player is playing file.
For mobile terminal after the operational order for getting user's input, whether judgement works as the web player of front opening Play audio file.
When web player does not have played file, step S203 is executed.
When web player is playing file, step S204 is executed.
S203: when the web player does not have played file, it is not responding to the operational order.
When web player does not have played file, it is not responding to the operational order of user's input.To prevent from broadcasting when webpage When putting device and having played current audio file, maloperation that user inputs unintentionally.For example, when user is in web player After the middle selection audio file to be played, mobile terminal is placed in pocket or packet, has been broadcast if mobile terminal detects The audio file currently selected is discharged, when not getting the operational order of user's input repeated playing within a certain period of time, Stop web player stopping working.It is mobile if getting the input instruction of user after web player stops working Terminal is not responding to the operational order of user's input.
It is understood that in the case where user accesses web player not over browser, when mobile terminal obtains When getting the input instruction of user, mobile terminal is also not responding to the operational order of user's input.
S204: when the web player is playing file, the operational order pair is determined according to a mapping relations The control instruction for the control web player answered.Wherein, the mapping relations be the operational order predetermined with The corresponding relationship of the control instruction.
When web player is playing file, mobile terminal responds the operational order of user's input, according to fixed in advance The operational order of justice and the mapping relations of control instruction determine the control instruction of the corresponding control web player of operational order. Mapping relations are the corresponding relationship of operational order predetermined and control instruction.
Wherein, when the operational order of user's input only includes the first touching instruction, according to touching instruction predetermined Mapping relations between the control instruction of control web player, determine the corresponding control web player of the first touching instruction Control instruction.
Mapping relations are the corresponding relationship of touching instruction predetermined and control instruction.For example, user exists in advance Current optional mapping relations are checked in the set interface of browser browser, and are configured according to actual needs.For example, Optional mapping relations include: that " clicking " corresponding control instruction is " retreating 10% ", and " single-point double-click " corresponding control refers to It enables to repeat playing.
It but also include the number detected according to gravity sensor when the operational order of user's input had not only included the first touching instruction When according to the second determining operational order, according between manipulation instruction predetermined and the control instruction of control web player Mapping relations determine the control instruction of the corresponding control web player of the instruction of user's input.Wherein, the instruction of user's input It is that mobile terminal is determined according to the first touching instruction and the second operational order.
Mapping relations are the corresponding relationship of touching instruction predetermined and control instruction.For example, user exists in advance Current optional mapping relations are checked in the set interface of browser browser, and are configured according to actual needs.For example, Optional mapping relations include: that " clicking " corresponding control instruction is " retreating 10% ", and " single-point double-click " corresponding control refers to It enables to repeat playing, " overturning mobile terminal " corresponding control instruction is to stop playing present video, and but it is not limited to this.
It is understood that the mapping relations in present embodiment between current optional touching instruction and control instruction are simultaneously It is without being limited thereto, it can also be referred to according to operating habit and the more mapping relations of convenience setting are gone out by different operations It enables or different functions is realized in the combination of different operational orders.For example, determining to play by the number of finger tapping mobile phone secondary Number, several finger contact touch screens realizations are currently playing to step back several steps etc., such as a finger realizes that currently playing process is moved back Afterwards 10%, two fingers, which touch, realizes that currently playing processes retreat 40%, and three fingers realize that currently playing processes step back 60%, Four fingers realize that currently playing process retreats 80%, and five fingers realize that currently playing process retreats 90%.Mobile terminal rotation The angle turned is not limited to 180 °.
S205: the web player is controlled according to the control instruction and executes corresponding movement.
After acquisition for mobile terminal to the control instruction of control web player, web player is controlled according to control instruction and is held The corresponding movement of row.
For example, controlling webpage when the control instruction of acquisition for mobile terminal to control web player is " retreating 10% " The broadcasting process of currently playing audio file is retreated 10% by player.
When the control instruction of acquisition for mobile terminal to control web player is to repeat playing, web player weight is controlled Currently playing audio file is put in replay.
When the control instruction of acquisition for mobile terminal to control web player is to stop playing, control web player stops Only play currently playing audio file.
It is understood that above embodiment, is applicable not only to the case where backlight is closed, is also applied for backlight and opens The case where opening, the control method in the case of two kinds is identical, does not repeat herein.
For example, controlling webpage when the control instruction of acquisition for mobile terminal to control web player is " retreating 10% " The broadcasting process of currently playing audio file is retreated 10% by player.
When the control instruction of acquisition for mobile terminal to control web player is to repeat playing, web player weight is controlled Currently playing audio file is put in replay.
When the control instruction of acquisition for mobile terminal to control web player is to stop playing, control web player stops Only play currently playing audio file.
It is understood that above embodiment, is applicable not only to the case where backlight is closed, is also applied for backlight and opens The case where opening, the control method in the case of two kinds is identical, does not repeat herein.
Above scheme, mobile terminal access web player by browser, and obtain the operational order of user's input;Root The control instruction of the corresponding control web player of operational order is determined according to mapping relations, and webpage is controlled according to control instruction and is broadcast It puts device and executes corresponding movement.It can be realized in the case where closing backlight, the operational order of response user's input is convenient for Web player is controlled in the case where closing backlight, improves user experience.
When mobile terminal detects that web player does not have played file, it is not responding to the operational order of user's input, it can The case where to prevent maloperation from making troubles to user.
It is the structure flow chart for one embodiment of terminal that the application controls player refering to Fig. 3, Fig. 3.Present embodiment Executing subject be mobile terminal, player can be by browser to access web player, or the broadcasting of downloading Device client.Each module that the terminal of the control player of present embodiment is included for executing the corresponding implementation of Fig. 1 respectively Each step in mode, concrete implementation mode please refer to the related content of each step in Fig. 1, do not repeat herein.This embodiment party The terminal of the control player of formula includes: to obtain module 310, determining module 320 and control module 330.
It obtains module 310 to be used in the case where closing backlight, web player is accessed by browser, and obtain use The operational order of family input.For example, obtaining module 310 in the case where closing backlight, webpage is accessed by browser and is played Device, and obtain the operational order of user's input.The operational order that obtaining module 310 will acquire is sent to determining module 320.
Determining module 320, which is used to receive, obtains the operational order that module 310 is sent, and determines that operation refers to according to a mapping relations Enable the control instruction of corresponding control web player;Wherein, mapping relations are operational order predetermined and control instruction Corresponding relationship.For example, determining module 320, which receives, obtains the operational order that module 310 is sent, connect according to mapping relations determination The control instruction of the corresponding control web player of the operational order received;Wherein, mapping relations are that operation predetermined refers to Enable the corresponding relationship with control instruction.The control instruction of determining control web player is sent to control by determining module 320 Module 330.
Control module 330 is used to receive the control instruction of the control web player of the transmission of determining module 320, according to control Instruction control web player executes corresponding movement.For example, control module 330 receives the control net that determining module 320 is sent The control instruction of page player controls web player according to control instruction and executes corresponding movement.
Above scheme, mobile terminal access web player by browser, and obtain the operational order of user's input;Root The control instruction of the corresponding control web player of operational order is determined according to mapping relations, and webpage is controlled according to control instruction and is broadcast It puts device and executes corresponding movement.It can be realized in the case where closing backlight, the operational order of response user's input is convenient for Web player is controlled in the case where closing backlight, improves user experience.
It is the structure flow chart for another embodiment of terminal that the application controls player refering to Fig. 4, Fig. 4.This embodiment party The executing subject of formula is mobile terminal, and player can be to access web player by browser, or downloading is broadcast Put device client.Each module that the terminal of the control player of present embodiment is included for executing the corresponding reality of Fig. 2 respectively Each step in mode is applied, concrete implementation mode please refers to the related content of each step in Fig. 2, do not repeat herein.This implementation The terminal of the control player of mode includes: to obtain module 410, judgment module 420, determining module 430 and control module 330.Wherein, obtaining module 410 includes acquiring unit 411 and determination unit 412.
It obtains module 410 to be used in the case where closing backlight, web player is accessed by browser, and obtain use The operational order of family input.For example, obtaining module 410 in the case where closing backlight, webpage is accessed by browser and is played Device, and obtain the operational order of user's input.
Wherein, acquiring unit 411 is used to obtain the first touching instruction of user's input, alternatively, acquiring unit 411 is for obtaining Take the first touching instruction of the data and user's input that gravity sensor detects.For example, the acquisition user of acquiring unit 411 is defeated The first touching instruction entered, alternatively, obtaining the first touching instruction of data and user's input that gravity sensor detects.
The data and first that the first touching instruction or gravity sensor that acquiring unit 411 will acquire detect Touching instruction is sent to determination unit 412.
Determination unit 412 is used to receive the data of the transmission of acquiring unit 411, and determines that user is defeated according to the data received The operational order entered.Wherein it is determined that unit 412 is used to when the data for receiving the transmission of acquiring unit 411 be the first touching instruction When, the operational order of user's input is determined according to the first touching instruction;And for when the number for receiving the transmission of acquiring unit 411 When according to the data and the first touching instruction detected for gravity sensor, determine that the second operation of user's input refers to according to data It enables, and determines the operational order of user's input according to the first touching instruction and second operational order.
For example, determination unit 412 receives the data that acquiring unit 411 is sent, and user is determined according to the data received The operational order of input.Wherein, it when the data that determination unit 412 receives are the first touching instruction, touches and refers to according to first Enable the operational order for determining user's input.When the data that determination unit 412 receives be the data that detect of gravity sensor with And when the first touching instruction, the second operational order of user's input is determined according to data, and according to the first touching instruction and described Second operational order determines the operational order of user's input.
The operational order that determination unit 412 will acquire is sent to judgment module 420.
Just whether judgment module 420 judge web player for receiving the operational order that determination unit 412 will acquire In played file.Operational order and judging result are sent to determining module 430 by judgment module 420.
Determining module 430 is used to receive the operational order and judging result of the transmission of judgment module 420, when judging result is When web player does not have played file, it is not responding to operational order;When judging result is that web player is playing file, The control instruction of the corresponding control web player of operational order is determined according to a mapping relations.
For example, determining module 430 receives the operational order and judging result that judgment module 420 is sent, when what is received When judging result is that web player does not have played file, it is not responding to the operational order received.When the judging result received When being playing file for web player, determine that the corresponding control webpage of operational order received is broadcast according to a mapping relations Put the control instruction of device.
The control instruction of determining control web player is sent to control module 440 by determining module 430.
Control module 440 is used to receive the control instruction of the control web player of the transmission of determining module 430, according to control Instruction control web player executes corresponding movement.For example, control module 440 receives the control net that determining module 430 is sent The control instruction of page player controls web player according to control instruction and executes corresponding movement.
Above scheme, mobile terminal access web player by browser, and obtain the operational order of user's input;Root The control instruction of the corresponding control web player of operational order is determined according to mapping relations, and webpage is controlled according to control instruction and is broadcast It puts device and executes corresponding movement.It can be realized in the case where closing backlight, the operational order of response user's input is convenient for Web player is controlled in the case where closing backlight, improves user experience.
When mobile terminal detects that web player does not have played file, it is not responding to the operational order of user's input, it can The case where to prevent maloperation from making troubles to user.
In above description, for illustration and not for limitation, propose such as specific system structure, interface, technology it The detail of class, so as to provide a thorough understanding of the present application.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiment of details.In other situations, omit to well-known device, circuit with And the detailed description of method, so as not to obscure the description of the present application with unnecessary details.

Claims (4)

1. a kind of method for controlling player, which is characterized in that described method includes following steps:
In the case where closing backlight, mobile terminal accesses web player by browser, and obtains the behaviour of user's input It instructs;
Judge whether the web player is playing file;When the web player does not have played file, it is not responding to The operational order;When the web player is playing file, executes and determine that the operation refers to according to a mapping relations The step of enabling the control instruction of the corresponding control web player;
When the web player is playing file, the mobile terminal opens backlight;
Wherein, the first touching instruction of the acquisition for mobile terminal gravity sensor detects data and user's input;Root The second operational order of user's input is determined according to the data, and according to first touching instruction and second operational order Determine the operational order of user's input;
The control instruction of the corresponding control web player of the operational order is determined according to a mapping relations;Wherein, institute State the corresponding relationship that mapping relations are the operational order and the control instruction predetermined;
The web player, which is controlled, according to the control instruction executes corresponding movement.
2. being played the method according to claim 1, wherein the mobile terminal accesses webpage by browser Device, and the step of obtaining the operational order of user's input includes:
First touching instruction of acquisition for mobile terminal user input, and the behaviour that user inputs is determined according to first touching instruction It instructs;
First touching instruction and second operational order determine the operational order of user's input.
3. a kind of terminal for controlling player, which is characterized in that the terminal includes: to obtain module, determining module and control Module;
The acquisition module is used in the case where closing backlight, accesses web player by browser, and obtain user The operational order of input;
The terminal further includes judgment module, and the judgment module is for judging whether the web player is playing text Part;The determining module is used for when the web player does not have played file, is not responding to the operational order;When the net When page player is playing file, the corresponding control web player of the operational order is determined according to a mapping relations Control instruction;
The control module is also used to when the web player is playing file, opens backlight;
The acquisition module includes acquiring unit and determination unit;The acquiring unit is detected for obtaining gravity sensor Data and user input the first touching instruction;The determination unit is used to determine the of user's input according to the data Two operational orders, and the operational order that user inputs is determined according to first touching instruction and second operational order;
The determining module is used to determine the corresponding control web player of the operational order according to a mapping relations Control instruction;Wherein, the mapping relations are the corresponding relationship of the operational order and the control instruction predetermined;
The control module, which is used to control the web player according to the control instruction, executes corresponding movement.
4. terminal according to claim 3, which is characterized in that the acquisition module includes acquiring unit and determines single Member;The acquiring unit is used to obtain the first touching instruction of user's input;The determination unit is used for according to first touching Touch the operational order for instructing and determining user's input.
CN201410817486.8A 2014-12-22 2014-12-22 A kind of method and its terminal controlling player Active CN104571859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410817486.8A CN104571859B (en) 2014-12-22 2014-12-22 A kind of method and its terminal controlling player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410817486.8A CN104571859B (en) 2014-12-22 2014-12-22 A kind of method and its terminal controlling player

Publications (2)

Publication Number Publication Date
CN104571859A CN104571859A (en) 2015-04-29
CN104571859B true CN104571859B (en) 2019-09-20

Family

ID=53088066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410817486.8A Active CN104571859B (en) 2014-12-22 2014-12-22 A kind of method and its terminal controlling player

Country Status (1)

Country Link
CN (1) CN104571859B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547422A (en) * 2015-09-22 2017-03-29 小米科技有限责任公司 Realize returning method, device and the mobile terminal of operation
CN106547340B (en) * 2015-09-23 2019-11-15 广州市动景计算机科技有限公司 The method, apparatus and intelligent terminal of web page element are quickly hidden based on gravity sensing
CN106570032B (en) * 2015-10-13 2020-06-09 阿里巴巴集团控股有限公司 Method and device for controlling webpage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647629A (en) * 2012-04-27 2012-08-22 北京人民广播电台 Content playing method and content playing device
CN103150112A (en) * 2013-02-28 2013-06-12 北京小米科技有限责任公司 Method, device and terminal for controlling audio play

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497469A (en) * 2011-11-25 2012-06-13 深圳市五巨科技有限公司 Method and device for operating music player in screen lock state
US9514669B2 (en) * 2012-03-26 2016-12-06 Beijing Lenovo Software Ltd. Display method and electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647629A (en) * 2012-04-27 2012-08-22 北京人民广播电台 Content playing method and content playing device
CN103150112A (en) * 2013-02-28 2013-06-12 北京小米科技有限责任公司 Method, device and terminal for controlling audio play

Also Published As

Publication number Publication date
CN104571859A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN106533988B (en) Application program network speed control method and mobile terminal
CN102981704B (en) A kind of icon placement method of display interface and mobile terminal
CN103488337B (en) A kind of method of adjusting sensitivity of touch screen in pad pasting situation
CN103744593B (en) Mobile terminal and method for preventing mis-operation of mobile terminal
US8787994B2 (en) Mobile terminal and method for preventing unintended operation of the same
US20140068518A1 (en) Method and device for switching application program of touch screen terminal
WO2011083962A2 (en) Method and apparatus for setting section of a multimedia file in mobile device
CN104571859B (en) A kind of method and its terminal controlling player
CN102799376A (en) Shortcut function setup method for touch equipment
CN107045420A (en) Switching method and mobile terminal, the storage medium of application program
US20170262162A1 (en) Method and electronic device for processing terminal folder
CN104008114B (en) A kind of method for page jump and device of WAP browser
WO2016112672A1 (en) Touch structure, touch display panel and touch display device
WO2017113821A1 (en) Method and apparatus for operating smart phone and smart phone
KR20140115761A (en) Controlling Method of Screen lock and Electronic Device supporting the same
RU2010153313A (en) CUSTOMIZED USER INTERFACE
CN107992263A (en) A kind of information sharing method and mobile terminal
CN105589619A (en) Multi-window display method and device for terminal
WO2020199937A1 (en) Method and device for processing information in game, storage medium and electronic device
CN103235690A (en) Method and device for rapidly turning to page top
CN108646958A (en) A kind of application program launching method and terminal
CN103064625A (en) Object selecting method and system based on multi-point touch screen
CN103902184A (en) Electronic equipment, and method and device for controlling electronic equipment
WO2020207028A1 (en) Method, device and apparatus for controlling touch operation mode, and storage medium
CN103473013A (en) Application interface adjusting method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant