CN104917868B - Text progress adjusting method and device - Google Patents
Text progress adjusting method and device Download PDFInfo
- Publication number
- CN104917868B CN104917868B CN201510297000.7A CN201510297000A CN104917868B CN 104917868 B CN104917868 B CN 104917868B CN 201510297000 A CN201510297000 A CN 201510297000A CN 104917868 B CN104917868 B CN 104917868B
- Authority
- CN
- China
- Prior art keywords
- text
- volume key
- progress
- preset time
- broadcasting
- 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
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a kind of text progress adjusting method, the text progress adjusting method includes:When terminal is when listening to storytelling application plays text, whether the volume key for intercepting earphone is pressed preset time;If the volume key is pressed preset time, the pressing mode of the volume key is obtained;According to the pressing mode of the volume key, the progress for playing text is adjusted with corresponding shaping modes.The invention also discloses a kind of text progress regulating devices.The present invention realizes the text progress played to terminal by the volume key of earphone and is adjusted, and with respect to the text progress for carrying out manual slidable adjustment broadcasting that opens a terminal, improves terminal-pair text progress and adjusts convenience.
Description
Technical field
The present invention relates to terminal device technical field more particularly to a kind of text progress adjusting methods and device.
Background technology
Existing mobile phone has the application of listening to storytelling of the text-to-speech function such as novel reader, when user use line control earphone or
Bluetooth headset use listen to storytelling application plays text when, need user to slide manually adjust play text progress.For example, when using
Family is by the application plays novel of listening to storytelling of mobile phone, and when listening novel using line control earphone or bluetooth headset, since other things need
It handles and interrupts listening novel, when needing to return to the previous contents of novel, user needs after taking out mobile phone unlock, and opening is listened
Book application is slided and the progress for playing novel is adjusted again, very troublesome.Alternatively, when user wants to listen the subsequent content of novel
When, it needs that the progress for playing novel is adjusted into listening to storytelling using being slided for mobile phone, it is very inconvenient.
Invention content
The main purpose of the present invention is to provide a kind of text progress adjusting method and devices, it is intended to improve terminal-pair text
Progress adjusts convenience.
To achieve the above object, the present invention provides a kind of text progress adjusting method, the text progress adjusting methods
Include the following steps:
When terminal is when listening to storytelling application plays text, whether the volume key for intercepting earphone is pressed preset time;
If the volume key is pressed preset time, the pressing mode of the volume key is obtained;
According to the pressing mode of the volume key, the progress for playing text is adjusted with corresponding shaping modes.
Preferably, the pressing mode according to the volume key, with corresponding shaping modes adjust play text into
Degree includes:
When the volume key exist press the first preset time upward or downward when, by the broadcastings text correspondence forward or
Default number of pages is stirred backward.
Preferably, the pressing mode according to the volume key, with corresponding shaping modes adjust play text into
Degree includes:
When the volume key exist press the second preset time upward or downward when, by the broadcastings text correspondence forward or
Move backward default paragraph.
Preferably, the pressing mode according to the volume key, with corresponding shaping modes adjust play text into
Degree includes:
When the volume key exist upward or downward press third preset time when, by the broadcastings text correspondence forward or
Move backward default number of words.
Preferably, the pressing mode according to the volume key, with corresponding shaping modes adjust play text into
Degree includes:
It is corresponding to adjust the progress for playing text according to the mapping relations of the preset time and the progress.
In addition, to achieve the above object, the present invention also provides a kind of text progress regulating device, the text progress tune
Regulating device includes:
Module is intercepted, it is pre- whether the volume key for when terminal is when listening to storytelling application plays text, intercepting earphone is pressed
If the time;
Acquisition module obtains the pressing mode of the volume key if being pressed preset time for the volume key;
Adjustment module is adjusted with corresponding shaping modes for the pressing mode according to the volume key and plays text
Progress.
Preferably, the adjustment module includes:
First adjusts unit, will be described for when the volume key exists and presses the first preset time upward or downward
It plays text correspondence and stirs default number of pages forward or backward.
Preferably, the adjustment module includes:
Second adjusts unit, will be described for when the volume key exists and presses the second preset time upward or downward
It plays text correspondence and is moved forward or rearward default paragraph.
Preferably, the adjustment module includes:
Third adjusts unit, is used for when the volume key exists and presses third preset time upward or downward, will be described
It plays text correspondence and is moved forward or rearward default number of words.
Preferably, the adjustment module includes:
4th adjusts unit, and for the mapping relations according to the preset time and the progress, corresponding adjusting plays
The progress of text.
The embodiment of the present invention when terminal is when listening to storytelling application plays text, intercept earphone volume key whether be pressed it is default
Time.When the volume key of earphone is pressed preset time, then the pressing mode of volume key is obtained, and according to the pressing mode with right
The shaping modes answered adjust the progress for playing text.Realize text progress that volume key using earphone plays terminal into
Row is adjusted, and with respect to the progress for carrying out manual slidable adjustment broadcasting text that opens a terminal, improves terminal-pair text progress
Adjust convenience.
Description of the drawings
The hardware architecture diagram of Fig. 1 mobile terminals of each embodiment to realize the present invention;
Fig. 2 is the wireless communication device schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow diagram of one embodiment of text progress adjusting method of the present invention;
Fig. 4 is the high-level schematic functional block diagram of one embodiment of text progress regulating device of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for be conducive to the present invention explanation, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving
Except the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190
Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown
Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication device
Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module
112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal and/or broadcast related information that the server or reception of broadcast singal and/or broadcast related information generate before
And send it to the server of terminal.Broadcast singal may include TV broadcast singals, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB)
Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcasters.Particularly, broadcasting reception module 111
It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video
It broadcasts-holds (DVB-H), forward link media (MediaFLO@) data broadcasting device, received terrestrial digital broadcasting integrated service
(ISDB-T) etc. digital broadcast apparatus receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcasters of signal and above-mentioned digital broadcast apparatus.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical
Talk about signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant
ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module of the location information for checking or obtaining mobile terminal.Location information module
Typical case be GPS (global pick device).According to current technology, GPS module 115, which calculates, comes from three or more satellites
Range information and correct time information and the Information application triangulation for calculating, to according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, it is defended using three for the method for calculating position and temporal information
Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115
It can be by Continuous plus current location information in real time come calculating speed information.
A/V input units 120 are for receiving audio or video signal.A/V input units 120 may include 121 He of camera
Microphone 122, camera 121 in video acquisition mode or image capture mode by image capture apparatus obtain static images
Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121
Picture frame afterwards can be stored in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110
It send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note
Sound (audio data) is received via microphone in record pattern, speech recognition mode etc. operational mode, and can will in this way
Acoustic processing be audio data.Audio that treated (voice) data can be converted in the case of telephone calling model can
The format output of mobile communication base station is sent to via mobile communication module 112.Microphone 122 can implement various types of make an uproar
Sound eliminates (or inhibition) algorithm to eliminate the noise or do that (or inhibition) generates during sending and receiving audio signal
It disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to order input by user
Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, triggering
Plate (for example, sensitive component of detection variation of resistance, pressure, capacitance etc. caused by being contacted), idler wheel, rocking bar etc.
Deng.Particularly, when trigger board is superimposed upon in the form of layer on display unit 151, triggering screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, triggering input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration of mobile terminal 100 or by fast movement and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense
The sliding-type phone is to open or close.In addition, sensing unit 140 can detect power supply unit 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140, which may include proximity sensor 141, to be combined below
Triggering shields that this is described.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can store to use each of mobile terminal 100 for verifying user
It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..In addition, the device with identification module can (hereinafter referred to as " identification device ") take the form of smart card therefore to know
Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from
The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements can be used for the transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power provides to the path of mobile terminal 100 from pedestal or may be used as that the various command signals inputted from pedestal is allowed to pass through it
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is
The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated
Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 may include display
Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern
Or when image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure
The UI or GUI etc. of picture and correlation function.
Meanwhile when display unit 151 and trigger board the triggering screen superposed on one another with formation in the form of layer, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Triggering screen can be used for detecting triggering
Input pressure and triggering input position and triggering input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode
The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes.
Audio output module 152 may include sound pick-up, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with
Including calling reception, message sink, key signals input, triggering input etc..Other than audio or video exports, alarm unit
153 can provide output with the generation of notification event in different ways.For example, alarm unit 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm list
Member 153 can provide tactile output (that is, vibration) to notify to user.It is exported by tactile as offer, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can be stored about the vibration and audio signal for being applied to the various modes exported when triggering is shielded when triggering
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control
Device 180 detaches.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on triggering screen or picture
It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can with use such as computer software, hardware or any combination thereof calculating
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can be stored in memory 160 and be executed by controller 180.
So far, oneself according to its function through describing mobile terminal.In the following, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping transmission data it is all if any
Line and wireless communication device and satellite-based communication device operate.
The communication device that mobile terminal wherein according to the present invention can operate is described referring now to Fig. 2.
Such communication device can use different air interface and/or physical layer.For example, used by communication device
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress
Set (UMTS) (particularly, long term evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication device, but such introduction is equally applicable to other types of device.
With reference to figure 2, cdma wireless communication device may include multiple mobile terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can be constructed according to any one of several known interfaces, the interface include such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device may include multiple BSC275 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction
Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception
Antenna covers.Each BS270, which may be constructed such that, supports multiple frequency distribution, and each frequency distribution has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
Device (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in the device by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global pick device (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals
At least one of 100.
In fig. 2, multiple satellites 300 are depicted, but it is understood that, any number of satellite can be utilized to obtain
Useful location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 desired is determined with obtaining
Position information.It substitutes GPS tracking techniques or except GPS tracking techniques, the position that can track mobile terminal can be used
Other technologies.In addition, at least one GPS satellite 300 can optionally or additionally handle satellite dmb transmission.
As a typical operation of wireless communication device, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti-
It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call
The mobile management function of resource allocation and coordination including the soft switching process between BS270.The number that BSC275 will also be received
According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals
It is sent to mobile terminal 100.
Structure based on above-mentioned mobile terminal hardware configuration, communication device proposes each embodiment of the method for the present invention.
As shown in figure 3, showing a kind of one embodiment of text progress adjusting method of the present invention.The text progress of the embodiment
Adjusting method includes the following steps:
Step S10, when terminal is when listening to storytelling application plays text, when intercepting the volume key of earphone and whether being pressed default
Between;
Text progress adjusting method provided in this embodiment is mainly used in the adjusting that text progress is carried out in mobile terminal,
When mobile terminal is by application plays text of listening to storytelling, and is listened to using line control earphone or bluetooth headset, by earphone
Upper preset volume key carries out the adjustable progress for playing text of pressing preset time.The text can be novel or other texts
The type of content, the mobile terminal can be configured according to actual needs, and specifically the mobile terminal is preferably mobile phone, below
It will be illustrated by taking mobile phone as an example.
In the present embodiment, when user uses mounted novel reader or other text-to-speech functions in mobile phone
Listen to storytelling application plays novel when, after broadcasting button plays out when the user clicks, mobile phone starts built-in monitor to line traffic control
The button of earphone or bluetooth headset is pressed situation and is intercepted.There is the message being pressed when monitor captures volume key
When, the time being pressed is recorded, corresponding operation is executed according to the time of the pressing.For example, when volume key is pressed 1s, into
The adjusting of row volume plays out the adjusting of text progress when volume key is pressed 3s.
If step S20, the described volume key is pressed preset time, the pressing mode of the volume key is obtained;
Step S30, according to the pressing mode of the volume key, the progress for playing text is adjusted with corresponding shaping modes.
When the volume key on line control earphone or bluetooth headset is pressed preset time, stop playing text, and obtaining should
The pressing mode of volume key.The preset time is longer relative to the compressing time for adjusting volume, belongs to long press event, for example,
When the compressing time that volume key adjusts volume is 1s, then the preset time may be configured as 3s, also can be as the case may be and flexible
Setting.The pressing mode may include that volume key presses up preset time and volume key presses down on preset time.Stopping broadcasting
While putting text, can according to the correspondence shaping modes for pressing up or pressing down on of volume key, to play text into
Degree carries out different adjustings.
Further, in the first embodiment, when the volume key, which exists, presses the first preset time upward or downward,
Broadcasting text correspondence is stirred into default number of pages forward or backward.
When the volume key on line control earphone or bluetooth headset presses up the first preset time, stop playing text.Together
When, which is stirred into forward default number of pages.When the volume key on line control earphone or bluetooth headset presses down on first in advance
If when the time, stopping playing text.Meanwhile the broadcasting text is stirred into default number of pages backward.First preset time relative to
The compressing time for adjusting volume is longer, for example, when the compressing time that volume key adjusts volume is 1s, then the preset time can be arranged
For 3s, can also be arranged as the case may be and flexibly.The default number of pages may be configured as page 1 or page 2, also can be as the case may be
And flexibly it is arranged.It is understood that when can volume key be pressed up the first preset time, it is set as the broadcasting text
Default number of pages is stirred backward, accordingly, when volume key is pressed down on the first preset time, is set as the broadcasting text forward
Stir default number of pages.According to the current page obtained after page turning, mobile phone is again from the first character of the current page, the i.e. page of current page
Face text excursion amount be zero start play text.Certainly, may also set up page text excursion amount is non-zero, can be according to actual needs
It is set as playing text since the centre of current page.
Further, in a second embodiment, when the volume key, which exists, presses the second preset time upward or downward,
Broadcasting text correspondence is moved forward or rearward default paragraph.
In the present embodiment when the volume key on line control earphone or bluetooth headset presses up the second preset time, stop broadcasting
Put text.Meanwhile the broadcasting text being moved forward and presets paragraph.When the volume key on line control earphone or bluetooth headset is pressed downwards
When pressing the second preset time, stop playing text.Meanwhile the broadcasting text is moved backward into default paragraph.This second it is default when
Between it is longer relative to the compressing time for adjusting volume, for example, when the compressing time that volume key adjusts volume is 1s, then when this is default
Between may be configured as 4s, can also be arranged as the case may be and flexibly.The default paragraph may be configured as 1 section or 5 sections, also can basis
Concrete condition and be flexibly arranged.It is understood that when can volume key be pressed up the second preset time, being set as should
It plays text and moves backward default paragraph, accordingly, when volume key is pressed down on the second preset time, be set as the broadcasting
Text, which moves forward, presets paragraph.According to the previous paragraphs of working as obtained after movement, mobile phone is again from the first character for deserving previous paragraphs
Start to play text.Certainly, it can also be set as playing text since the centre when previous paragraphs according to actual needs.
Further, in the third embodiment, when the volume key, which exists, presses third preset time upward or downward,
Broadcasting text correspondence is moved forward or rearward default number of words.
In the present embodiment when the volume key on line control earphone or bluetooth headset presses up third preset time, stop broadcasting
Put text.Meanwhile the broadcasting text being moved forward and presets number of words.When the volume key on line control earphone or bluetooth headset is pressed downwards
When pressing third preset time, stop playing text.Meanwhile the broadcasting text is moved backward into default number of words.When the third is preset
Between it is longer relative to the compressing time for adjusting volume, for example, when the compressing time that volume key adjusts volume is 1s, then when this is default
Between may be configured as 3s, can also be arranged as the case may be and flexibly.The default number of words may be configured as 100 words or 1000 words,
It can be arranged as the case may be and flexibly.It is understood that when volume key can be pressed up to third preset time, setting
For the broadcasting text is moved backward default number of words, accordingly, by volume key press down on third preset time when, be set as by
The broadcasting text, which moves forward, presets number of words.After mobile default number of words, mobile phone plays text since the current word again.
Further, in the fourth embodiment, according to the mapping relations of the preset time and the progress, corresponding tune
Section plays the progress of text.
In the present embodiment, the mapping that can be pre-set between the preset time of volume key pressing and the progress for playing text is closed
System, the mapping relations are set as shown in table 1, wherein the specific value of T1, T2 ... T6 and N1, N2 ... N6 can bases
Concrete condition and be flexibly arranged.
Mapping relations between the preset time of 1. volume key pressing of table and the progress for playing text
As shown in Table 1, it is assumed that when the volume key of line control earphone or bluetooth headset presses up the T1 times, then stir N1 forward
Number of pages then stirs N5 numbers of pages backward when pressing down on the T5 times.It therefore, can according to the mapping relations of preset time and progress
It is corresponding to adjust the progress for playing text.It the number of the preset time for pressing up or pressing down in table 1 and corresponding turns over
Dynamic number of pages, can be arranged as the case may be and flexibly, not limit the present invention.
What the progress that broadcasting text is adjusted according to the volume key of earphone listed above enumerated was merely exemplary, this field
Technical staff using the technological thought of the present invention, according to the adjusting of the volume key of earphone broadcast by other proposed according to its specific requirements
The mode for putting the progress of text is within the scope of the invention, herein without exhaustive one by one.
In the embodiment of the present invention mobile phone using listen to storytelling application plays text when, intercept the volume of line control earphone or bluetooth headset
Whether key is pressed preset time.When the volume key is pressed preset time, then according to the pressing mode of acquired volume key, with
Corresponding shaping modes adjust the progress for playing text.Realize the text progress played to terminal using the volume key of earphone
It is adjusted, carries out the progress that manual slidable adjustment plays text with respect to mobile phone is opened, not only increase mobile phone to text
This progress adjusts convenience, but also can reduce the power consumption of mobile phone.
Accordingly, as shown in figure 4, proposing a kind of one embodiment of text progress regulating device of the present invention.The text of the embodiment
This progress regulating device includes:
Module 10 is intercepted, for when terminal is when listening to storytelling application plays text, whether the volume key for intercepting earphone to be pressed
Preset time;
Text progress adjusting method provided in this embodiment is mainly used in the adjusting that text progress is carried out in mobile terminal,
When mobile terminal is by application plays text of listening to storytelling, and is listened to using line control earphone or bluetooth headset, by earphone
Upper preset volume key carries out the adjustable progress for playing text of pressing preset time.The text can be novel or other texts
The type of content, the mobile terminal can be configured according to actual needs, and specifically the mobile terminal is preferably mobile phone, below
It will be illustrated by taking mobile phone as an example.
In the present embodiment, when user uses mounted novel reader or other text-to-speech functions in mobile phone
Listen to storytelling application plays novel when, after broadcasting button plays out when the user clicks, mobile phone calling intercept module 10 start it is built-in
Monitor situation be pressed to the button of line control earphone or bluetooth headset intercept.Exist when monitor captures volume key
When the message being pressed, the time being pressed is recorded, corresponding operation is executed according to the time of the pressing.For example, working as volume key
When being pressed 1s, the adjusting of volume is carried out, when volume key is pressed 3s, plays out the adjusting of text progress.
Acquisition module 20 obtains the pressing mode of the volume key if being pressed preset time for the volume key;
Adjustment module 30 is adjusted with corresponding shaping modes for the pressing mode according to the volume key and plays text
Progress.
When the volume key on line control earphone or bluetooth headset is pressed preset time, stop playing text, and call and obtain
Modulus block 20 obtains the pressing mode of the volume key.The preset time is longer relative to the compressing time for adjusting volume, belongs to long
Press event, for example, when the compressing time that volume key adjusts volume is 1s, then the preset time may be configured as 3s, also can basis
Concrete condition and be flexibly arranged.The pressing mode may include that volume key presses up preset time and volume key is pressed down on and preset
Time.While stopping playing text, adjustment module 30 can be according to the correspondence for pressing up or pressing down on of volume key
Shaping modes, the progress to playing text carry out different adjustings.Adjustment module 30 may include that the first adjusting unit, second are adjusted
Unit, third adjust unit and the 4th adjusting unit.
Further, in the first embodiment, the first adjusting unit is used for, and is pressed upward or downward when the volume key exists
When pressing the first preset time, broadcasting text correspondence is stirred into default number of pages forward or backward.
When the volume key on line control earphone or bluetooth headset presses up the first preset time, stop playing text.Together
When, call the first adjusting unit that the broadcasting text is stirred forward default number of pages.Volume on line control earphone or bluetooth headset
When key presses down on the first preset time, stop playing text.Meanwhile first adjusting unit the broadcasting text is stirred backward it is pre-
If number of pages.First preset time is longer relative to the compressing time for adjusting volume, for example, when volume key adjusts the pressing of volume
Time is 1s, then the preset time may be configured as 3s, can be also arranged as the case may be and flexibly.The default number of pages may be configured as
Page 1 or page 2, it can also be arranged as the case may be and flexibly.It is understood that it is pre- that volume key can be pressed up to first
If when the time, being set as the broadcasting text stirring default number of pages backward, accordingly, when volume key downward push first is default
Between when, be set as the broadcasting text stirring default number of pages forward.According to the current page obtained after page turning, mobile phone is again from deserving
The first character of preceding page, the i.e. page text excursion amount of current page are zero to start to play text.Certainly, it may also set up page word
Offset is non-zero, can be set as playing text since the centre of current page according to actual needs.
Further, in a second embodiment, the second adjusting unit is used for, and is pressed upward or downward when the volume key exists
When pressing the second preset time, broadcasting text correspondence is moved forward or rearward default paragraph.
In the present embodiment when the volume key on line control earphone or bluetooth headset presses up the second preset time, stop broadcasting
Put text.Meanwhile second adjusts unit by the default paragraph of broadcasting text forward movement.When on line control earphone or bluetooth headset
When volume key presses down on the second preset time, stop playing text.Meanwhile second adjusting unit the broadcasting text is moved back
Dynamic default paragraph.Second preset time is longer relative to the compressing time for adjusting volume, for example, when volume key adjusts volume
Compressing time is 1s, then the preset time may be configured as 4s, can be also arranged as the case may be and flexibly.The default paragraph can be set
It is set to 1 section or 5 sections, can be also arranged as the case may be and flexibly.It is understood that volume key can be pressed up to
It when two preset times, is set as the broadcasting text moving backward default paragraph, accordingly, it is pre- that volume key is pressed down on second
If when the time, being set as moving forward in the broadcasting text and presetting paragraph.According to the previous paragraphs of working as obtained after movement, mobile phone is again
Text is played since the first character for deserving previous paragraphs.Certainly, it also can according to actual needs be set as from when previous paragraphs
Between start play text.
Further, in the third embodiment, third adjusts unit and is used for, and is pressed upward or downward when the volume key exists
When pressing third preset time, broadcasting text correspondence is moved forward or rearward default number of words.
In the present embodiment when the volume key on line control earphone or bluetooth headset presses up third preset time, stop broadcasting
Put text.Meanwhile third adjusts unit and the broadcasting text is moved forward default number of words.When on line control earphone or bluetooth headset
When volume key presses down on third preset time, stop playing text.Meanwhile third adjusts unit and moves back the broadcasting text
Dynamic default number of words.The third preset time is longer relative to the compressing time for adjusting volume, for example, when volume key adjusts volume
Compressing time is 1s, then the preset time may be configured as 3s, can be also arranged as the case may be and flexibly.The default number of words can be set
100 words or 1000 words are set to, can be also arranged as the case may be and flexibly.It is understood that can be upward by volume key
When pressing third preset time, it is set as the broadcasting text moving backward default number of words, accordingly, volume key is pressed down on
When third preset time, it is set as moving forward in the broadcasting text and presets number of words.After mobile default number of words, mobile phone is again
Text is played since the current word.
Further, in the fourth embodiment, the 4th adjusting unit is used for, according to the preset time and the progress
Mapping relations, it is corresponding to adjust the progress for playing text.
In the present embodiment, the mapping that can be pre-set between the preset time of volume key pressing and the progress for playing text is closed
System, the mapping relations are set as shown in table 1, wherein the specific value of T1, T2 ... T6 and N1, N2 ... N6 can bases
Concrete condition and be flexibly arranged.
Mapping relations between the preset time of 1. volume key pressing of table and the progress for playing text
As shown in Table 1, it is assumed that when the volume key of line control earphone or bluetooth headset presses up the T1 times, then stir N1 forward
Number of pages then stirs N5 numbers of pages backward when pressing down on the T5 times.Therefore the 4th unit is adjusted according to preset time and progress
Mapping relations corresponding can adjust the progress for playing text.The number of the preset time for pressing up or pressing down in table 1
And it is corresponding stir number of pages, can be arranged as the case may be and flexibly, limit the present invention.
What the progress that broadcasting text is adjusted according to the volume key of earphone listed above enumerated was merely exemplary, this field
Technical staff using the technological thought of the present invention, according to the adjusting of the volume key of earphone broadcast by other proposed according to its specific requirements
The mode for putting the progress of text is within the scope of the invention, herein without exhaustive one by one.
In the embodiment of the present invention mobile phone using listen to storytelling application plays text when, intercept the volume of line control earphone or bluetooth headset
Whether key is pressed preset time.When the volume key is pressed preset time, then according to the pressing mode of acquired volume key, with
Corresponding shaping modes adjust the progress for playing text.Realize the text progress played to terminal using the volume key of earphone
It is adjusted, carries out the progress that manual slidable adjustment plays text with respect to mobile phone is opened, not only increase mobile phone to text
This progress adjusts convenience, but also can reduce the power consumption of mobile phone.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (8)
1. a kind of text progress adjusting method, which is characterized in that the text progress adjusting method includes the following steps:
When terminal is when listening to storytelling application plays text, whether the volume key for intercepting earphone is pressed preset time;
If the volume key is pressed the time less than preset time, the operation that volume key adjusts volume is carried out;
If the volume key is pressed preset time, stop playing text, and obtain the pressing mode of the volume key;
According to the pressing mode of the volume key, the progress for playing text is adjusted with corresponding shaping modes, wherein the basis
The pressing mode of the volume key, with corresponding shaping modes adjust play text progress the step of include:According to the sound
Mapping relations between the preset time that is pressed of amount key and the progress for playing text, it is corresponding adjust play text into
Degree.
2. text progress adjusting method as described in claim 1, which is characterized in that the pressing side according to the volume key
Formula, the progress that broadcasting text is adjusted with corresponding shaping modes include:
When the volume key, which exists, presses the first preset time upward or downward, the broadcasting text is corresponded to forward or backward
Stir default number of pages.
3. text progress adjusting method as claimed in claim 2, which is characterized in that the pressing side according to the volume key
Formula, the progress that broadcasting text is adjusted with corresponding shaping modes include:
When the volume key, which exists, presses the second preset time upward or downward, the broadcasting text is corresponded to forward or backward
Mobile default paragraph.
4. text progress adjusting method as claimed in claim 3, which is characterized in that the pressing side according to the volume key
Formula, the progress that broadcasting text is adjusted with corresponding shaping modes include:
When the volume key, which exists, presses third preset time upward or downward, the broadcasting text is corresponded to forward or backward
Mobile default number of words.
5. a kind of text progress regulating device, which is characterized in that the text progress regulating device includes:
Module is intercepted, when whether the volume key for when terminal is when listening to storytelling application plays text, intercepting earphone is pressed default
Between;
Acquisition module stops playing text, and obtain the volume key if being pressed preset time for the volume key
Pressing mode;
Adjustment module adjusts the progress for playing text with corresponding shaping modes for the pressing mode according to the volume key;
And if when being pressed the time less than preset time for the volume key, the operation that volume key adjusts volume is carried out;The tune
Section module is additionally operable to according to the mapping relations between the volume key preset time being pressed and the progress for playing text,
It is corresponding to adjust the progress for playing text.
6. text progress regulating device as claimed in claim 5, which is characterized in that the adjustment module includes:
First adjust unit, for when the volume key exist press the first preset time upward or downward when, by the broadcasting
Text correspondence stirs default number of pages forward or backward.
7. text progress regulating device as claimed in claim 6, which is characterized in that the adjustment module includes:
Second adjust unit, for when the volume key exist press the second preset time upward or downward when, by the broadcasting
Text correspondence is moved forward or rearward default paragraph.
8. text progress regulating device as claimed in claim 7, which is characterized in that the adjustment module includes:
Third adjusts unit, is used for when the volume key exists and presses third preset time upward or downward, by the broadcasting
Text correspondence is moved forward or rearward default number of words.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510297000.7A CN104917868B (en) | 2015-05-29 | 2015-06-03 | Text progress adjusting method and device |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2015102889734 | 2015-05-29 | ||
CN201510288973 | 2015-05-29 | ||
CN201510297000.7A CN104917868B (en) | 2015-05-29 | 2015-06-03 | Text progress adjusting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104917868A CN104917868A (en) | 2015-09-16 |
CN104917868B true CN104917868B (en) | 2018-07-31 |
Family
ID=54086562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510297000.7A Active CN104917868B (en) | 2015-05-29 | 2015-06-03 | Text progress adjusting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104917868B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105912242B (en) * | 2016-03-30 | 2019-04-09 | 维沃移动通信有限公司 | A kind of method and mobile terminal of playing pictures |
CN106406568A (en) * | 2016-09-05 | 2017-02-15 | 乐视控股(北京)有限公司 | Reading method and apparatus of terminal device |
CN106648291A (en) * | 2016-09-28 | 2017-05-10 | 珠海市魅族科技有限公司 | Method and device for displaying information and broadcasting information |
CN111737620A (en) * | 2020-05-29 | 2020-10-02 | 北京沃东天骏信息技术有限公司 | Page access method, device, equipment and medium |
CN112051924A (en) * | 2020-09-02 | 2020-12-08 | 杭州光粒科技有限公司 | State adjusting method of equipment and intelligent interaction equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102455877A (en) * | 2010-10-25 | 2012-05-16 | 三星电子株式会社 | Method and apparatus for turning pages in e-book reader |
CN102523023A (en) * | 2011-12-09 | 2012-06-27 | 无锡中星微电子有限公司 | Control method based on bluetooth earphone and control apparatus thereof and bluetooth communication apparatus |
CN102938255A (en) * | 2011-08-16 | 2013-02-20 | 富泰华工业(深圳)有限公司 | Electronic device and method thereof for adjusting control mode according to control function of earphone |
US8572653B2 (en) * | 2010-09-01 | 2013-10-29 | Lg Electronics Inc. | Image display apparatus and method for operating the same |
CN103533177A (en) * | 2013-10-25 | 2014-01-22 | 小米科技有限责任公司 | Message browsing method, device and terminal equipment |
CN203574821U (en) * | 2013-10-16 | 2014-04-30 | 青岛歌尔声学科技有限公司 | Multifunctional bluetooth earphone and multifunctional bluetooth system |
CN104182115A (en) * | 2013-05-21 | 2014-12-03 | 腾讯科技(深圳)有限公司 | Method and device for carrying out page turning setting in reading application and terminal |
-
2015
- 2015-06-03 CN CN201510297000.7A patent/CN104917868B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8572653B2 (en) * | 2010-09-01 | 2013-10-29 | Lg Electronics Inc. | Image display apparatus and method for operating the same |
CN102455877A (en) * | 2010-10-25 | 2012-05-16 | 三星电子株式会社 | Method and apparatus for turning pages in e-book reader |
CN102938255A (en) * | 2011-08-16 | 2013-02-20 | 富泰华工业(深圳)有限公司 | Electronic device and method thereof for adjusting control mode according to control function of earphone |
CN102523023A (en) * | 2011-12-09 | 2012-06-27 | 无锡中星微电子有限公司 | Control method based on bluetooth earphone and control apparatus thereof and bluetooth communication apparatus |
CN104182115A (en) * | 2013-05-21 | 2014-12-03 | 腾讯科技(深圳)有限公司 | Method and device for carrying out page turning setting in reading application and terminal |
CN203574821U (en) * | 2013-10-16 | 2014-04-30 | 青岛歌尔声学科技有限公司 | Multifunctional bluetooth earphone and multifunctional bluetooth system |
CN103533177A (en) * | 2013-10-25 | 2014-01-22 | 小米科技有限责任公司 | Message browsing method, device and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104917868A (en) | 2015-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105356037B (en) | A kind of antenna and mobile terminal | |
CN104735255B (en) | Multi-screen display method and system | |
CN104902097B (en) | Adjusting method, device and the mobile terminal of mobile terminal parameter | |
CN104967744B (en) | Adjust the method and device of terminal parameter | |
CN104967802B (en) | The method for recording and device of mobile terminal and its plurality of regions on screen | |
CN104917868B (en) | Text progress adjusting method and device | |
CN104731512B (en) | The method, apparatus and terminal that picture is shared | |
CN106990828A (en) | A kind of apparatus and method for controlling screen display | |
CN105357367B (en) | Recognition by pressing keys device and method based on pressure sensor | |
CN105306631B (en) | A kind of antenna and mobile terminal | |
CN105100434B (en) | The multi-functional implementation method and mobile terminal of key | |
CN104917891B (en) | A kind of mobile terminal and its flipping-over control method | |
CN106873855A (en) | A kind of suspension icon control method, device and terminal | |
CN105245938B (en) | The device and method for playing multimedia file | |
CN106873936A (en) | Electronic equipment and information processing method | |
CN106997260A (en) | Mobile terminal and mobile terminal application icon display methods | |
CN106909681A (en) | A kind of information processing method and its device | |
CN104731508B (en) | Audio frequency playing method and device | |
CN104810033B (en) | Audio frequency playing method and device | |
CN106873887A (en) | It is a kind of that the system and method for application function is controlled based on gesture | |
CN105100408B (en) | A kind of method and apparatus controlling mobile terminal | |
CN105049610B (en) | A kind of input method and terminal | |
CN106876892A (en) | A kind of antenna and mobile terminal | |
CN107426282A (en) | A kind of picture loading method, terminal and server | |
CN107071161A (en) | The aggregation display method and mobile terminal of icon in a kind of status bar |
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 |