CN106714035A - Volume adjustment method, volume adjustment device and terminal - Google Patents
Volume adjustment method, volume adjustment device and terminal Download PDFInfo
- Publication number
- CN106714035A CN106714035A CN201611155174.0A CN201611155174A CN106714035A CN 106714035 A CN106714035 A CN 106714035A CN 201611155174 A CN201611155174 A CN 201611155174A CN 106714035 A CN106714035 A CN 106714035A
- Authority
- CN
- China
- Prior art keywords
- volume adjusting
- time
- sent
- request
- mark
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a volume adjustment method which is applied to the technical field of terminals. The volume adjustment method comprises the steps of when an operation of stopping volume adjustment is detected, generating a time marker and a volume adjustment request, binding the time marker and the volume adjustment request, updating a preset time marker in the system into the generated time marker, comparing whether a time marker bound with a volume adjustment request to be sent is the same as the updated time marker in the system or not, and if so, sending the volume adjustment request to be sent. The embodiment of the invention further discloses a volume adjustment device and a terminal. The accuracy of volume control for a playing terminal can be improved.
Description
Technical field
The invention belongs to field of terminal technology, more particularly to a kind of volume adjusting method, device and terminal.
Background technology
In the intelligent radio epoch of today, many smart machines can enter row information by network connection together
Transmission and control.In the practical application of multimedia striding equipment control, there is kind of usage scenario very common, that is, across setting
The volume of standby control player.I.e. one hand-held control end (such as mobile phone) sends volume control instruction to player end (such as intelligence
Wireless sound box), then player end adjusts volume according to the control instruction.
In the prior art, during the volume adjusting of striding equipment, for example, mobile phone terminal slider bar controls the broadcasting sound of wireless sound box
Amount by volume real-time synchronization numerical value, it is necessary to be accurate to 1, and can support quickly repeatedly to be adjusted in user's short time.
Control end slider bar numerical value change sends new volume value to broadcasting end when being more than or equal to 1, meanwhile, detecting the hand of user
When finger frames out, confirm that user stops regulation volume operation, then the request message for waiting send to playing end volume for 2 seconds, etc.
Because message number is very more, message comes into force needs the time to the reason for treating.Following problem can now be produced:When user's short time
Interior multiple finger is frameed out, then in adjustment region starts again at regulation control volume rapidly, and multiple requests of 2 seconds are waited before
Message persistently sends, cause to play end cannot accurate synchronization regulation volume, so as to the phenomenon for volume slider bounce occur, i.e. sound
The position of the volume value of case and at that time slider bar does not correspond to, and is made troubles to user's operation.
The content of the invention
The present invention provides a kind of volume adjusting method, device and terminal, is used to by for volume adjusting asks to set unique
Time mark, and mark the volume adjusting that confirms the validity to ask by the time, so that solve to play end cannot accurate synchronization
The problem of control end volume adjusting.
Embodiment of the present invention first aspect provides a kind of volume adjusting method, including:
When the operation for stopping volume adjusting being detected, generation time mark and volume adjusting are asked, and bind described
Time marks and volume adjusting request;
By the time mark that time flag update preset in system is generation;
The bound time mark of contrast volume adjusting request to be sent marks whether with the time after renewal in system
It is identical, if identical, send the volume adjusting request to be sent.
Embodiment of the present invention second aspect provides a kind of volume adjustment device, including:
Generation module, for when the operation for stopping volume adjusting being detected, generation time mark and volume adjusting please
Ask, and bind the time mark and volume adjusting request;
Update module, for the time that time flag update preset in system is generation to be marked;
Contrast module, for contrasting and update in the bound time mark of volume adjusting request to be sent and system after
Time marks whether identical;
Sending module, if after for being updated in the bound time mark of the volume adjusting request to be sent and system
Time mark it is identical, then send the volume adjusting request to be sent.
The embodiment of the present invention third aspect provides a kind of terminal, it is characterised in that the terminal includes:
Memory and processor;
The memory storage has executable program code;
The processor coupled with the memory, calls the executable program generation stored in the memory
Code, performs the volume adjusting method provided such as embodiment of the present invention first aspect.
Knowable to the embodiments of the present invention, volume adjusting method, device and terminal that the present invention is provided, whenever detecting
Stop the operation of volume adjusting, just generate a time mark and volume adjusting corresponding with time mark is asked, and according to
The information of the time mark in the time flag update system, before volume adjusting request is sent, is adjusted by contrasting the volume
It is identical that section asks corresponding time mark to mark whether with the updated time of record in system, if, then it represents that the volume
The last time that regulation request is off volume adjusting operates corresponding request, and volume adjusting request is sent into broadcasting end,
Ask to set unique time mark by for volume adjusting, and mark the effective volume adjusting of confirmation user to grasp by the time
Make, so as to exclude the volume adjusting request of other invalid operations generation, improve the accuracy to playing end volume adjusting.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention.
Fig. 1 is the application scenarios schematic diagram of adjustment volume adjusting method provided in an embodiment of the present invention;
Fig. 2 is that the volume adjusting method that first embodiment of the invention is provided realizes schematic flow sheet;
Fig. 3 is that the volume adjusting method that second embodiment of the invention is provided realizes schematic flow sheet;
Fig. 4 is the structural representation of the volume adjustment device that third embodiment of the invention is provided;
Fig. 5 is the structural representation of the volume adjustment device that fourth embodiment of the invention is provided;
Fig. 6 shows a kind of terminal hardware structure chart.
Specific embodiment
To enable that goal of the invention of the invention, feature, advantage are more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described reality
It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art
The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is referred to, Fig. 1 is the application scenario diagram of volume adjusting method provided in an embodiment of the present invention, the volume adjusting
Method can be applied in the terminal 10 with touch screen, and terminal 10 can be described as control end, and terminal 10 includes smart mobile phone, flat board electricity
The intelligent and portable equipment such as brain, also including PC, intelligent television etc. in the intelligent non-portable device with touch screen.Playing end 20 is
Possess each Terminal Type of playing function, such as audio amplifier.Terminal 10 is connected with end 20 is played by wired or wireless way.In Fig. 1
With terminal 10 as mobile phone, end 20 is played as audio amplifier, as a example by mobile phone and audio amplifier are wirelessly connected.
Terminal 10 receives the gesture instruction of user by volume adjusting interface, and the broadcast sound volume at end 20 is played in regulation.Typically
There is volume slider in the volume adjusting interface, user carries out preset operation in the volume slider, just may be used by finger
The change of the volume at end 20 is played in manipulation, and the preset operation typically increases and decreases direction according to the volume indicated in the volume slider
Carry out corresponding operation.
Specifically refer to the specific descriptions of following embodiments.
Refer to Fig. 2, the volume adjusting method that Fig. 2 is provided for first embodiment of the invention realizes schematic flow sheet, should
Method can be applied in the terminal for possess touch screen, mainly include the following steps that:
S201, when the operation for stopping volume adjusting being detected, generation time mark and volume adjusting request and are bound
The time marks and volume adjusting request;
When terminal detects the operation for stopping volume adjusting, the time mark of current time is generated, and in generation time mark
While note, generation volume adjusting request, the volume adjusting is asked for asking to play end regulation volume, specifically according to stop tone
Measure the volume value regulation volume during operation of regulation.
S202, by time flag update preset in system be generation time mark;
Preset time mark in systems, time mark represents a unique time point.By in system this
Preset time mark, is updated to the time mark of generation, i.e. the time point that the preset time marks is updated to when detecting
Stop the time point during operation of volume adjusting.
It is every time the time mark being newly generated by the preset time flag update.
Time mark in the bound time mark of S203, contrast volume adjusting request to be sent and system after renewal
It is whether identical, if identical, send the volume adjusting request to be sent.
When needing to send volume adjusting request, the current volume adjusting request to be sent of the contrast bound time marks
With updated in system after time mark whether it is identical, if identical, then it represents that current volume adjusting request to be sent is bound
Time mark be the time mark updated for the last time in system, volume adjusting request to be sent is that user finally adjusts
The request of volume is saved, so as to exclude other invalidation requests, then sending the volume adjusting to be sent to broadcasting end asks so that should
Play end to be adjusted broadcast sound volume according to the volume adjusting request to be sent, it is to avoid the broadcasting end is excessive invalid because receiving
The request of regulation volume, and the phenomenon of the volume slider bounce for producing.
In the embodiment of the present invention, whenever the operation that stops volume adjusting is detected, just generate time mark and with this
Time marks the request of corresponding volume adjusting, and the time mark in the time flag update system information, sending
Before volume adjusting request, by contrast the volume adjusting ask corresponding time mark with recorded in system it is updated when
Between mark whether it is identical, if, then it represents that the volume adjusting request be off volume adjusting last time operation it is corresponding please
Ask, volume adjusting request be sent to broadcasting end, ask to set unique time mark by for volume adjusting, and by when
Between mark and confirm the operation of user's effective volume adjusting, so as to exclude the volume adjusting request of other invalid operations generation, improve
Precision to playing end volume adjusting.
Refer to Fig. 3, the volume adjusting method that Fig. 3 is provided for second embodiment of the invention realizes schematic flow sheet, this
In embodiment, the time is labeled as timestamp, and timestamp is a character string, uniquely identifies the time at certain a moment, the method
Comprise the following steps:
Whether S301, the finger of detection user leave Touch Screen, or, the finger of user is in Touch Screen sliding process
In whether leave the region that can be detected of control sliding block;
Determine whether user stops the operation of volume adjusting by judging the gesture of user, can be detection specifically
Whether the finger of user leaves Touch Screen, and leaving Touch Screen and then representing that user stops at carries out any operation on touch screen,
Or, or detect whether the finger of user leaves control sliding block in sliding process on Touch Screen and can be detected
The region arrived, the control sliding block is the module for controlling volume adjusting, and correspondence is shown as adjusting the control of volume on touch screen
Slider bar processed, the region that the control sliding block can be detected on touch screen is the control slider bar region.
If S302, the finger for detecting user leave Touch Screen, or, the finger of user is in Touch Screen sliding process
In leave the region that can be detected of control sliding block, generation timestamp and volume adjusting request, and bind the timestamp
And volume adjusting request;
If the finger for detecting user leaves Touch Screen, or, user's finger is left in Touch Screen sliding process
The region that control sliding block can be detected, i.e. the region where the upper control slider bar that frames out, confirms now user
Stop the operation of volume adjusting, then generate timestamp and volume adjusting request, the volume adjusting is asked for indicating to play end
The volume adjusted according to active user plays specified file.
Further, the timestamp and volume adjusting request are bound, i.e. record the timestamp and the volume adjusting
The one-to-one relation of request.
S303, volume adjusting request is set to wait for send after preset time period;
After generation volume adjusting request, it is set to be sent after waiting preset time period, to allow to by the volume
The timestamp of request is adjusted to judge whether to send a volume adjusting request.
S304, the value of the timestamp for generating is assigned to preset timestamp in the system;
A timestamp is pre-set in the system of terminal, timestamp is a character string, is uniquely identified a certain
The time at quarter, the value of the timestamp can be changed.
If finger frequently leaves Touch Screen or leaves the control slider bar region user in a short time, in short-term
It is interior that multiple timestamps and volume adjusting can be produced to ask, the value of the timestamp of each generation is assigned to preset in the system
Timestamp so that the value of preset timestamp is continuously updated in the system, a last assignment be user for the last time
Stop the value of the corresponding timestamp of operation of volume adjusting.
The execution sequence of step S303 and S304 is not limited by the present embodiment, it is also possible to is first carried out S304, is performed afterwards
S303, or this two steps are performed simultaneously.
S305, the quantity of the current volume adjusting request to be sent of detection;
If the quantity of current volume adjusting request to be sent is multiple, step S306 is performed, it is pending by contrasting
The volume adjusting request sent bound timestamp marks whether identical to determine whether to transmission one with the time after updating
Volume adjusting is asked.
If the quantity of current volume adjusting request to be sent is one, step S307 is performed, do not contrasted to be sent
Timestamp after the bound timestamp of volume adjusting request and renewal, but directly transmit the volume adjusting to be sent and ask
Ask.Because volume adjusting request only one of which to be sent, directly transmits the dysregulation for also not resulting in control end.Can simplify
Volume adjusting process.
Whether S306, to contrast the bound timestamp of volume adjusting request to be sent identical with timestamp after renewal;
Volume adjusting to be sent is asked the current timestamp after corresponding timestamp and renewal in system carry out right
Than seeing whether the two is identical.That is, it is judged that the volume adjusting to be sent asks whether my user's last time stops volume adjusting
Regulation request during operation.
If identical, step S307 is performed;If differing, the volume adjusting request to be sent is not sent.
S307, send volume adjusting request to be sent.
If the quantity of current volume adjusting request to be sent is one, show that the volume adjusting request to be sent is
User currently stops regulation request when volume adjusting is operated.
Or,
If the quantity of current volume adjusting request to be sent is multiple, also, volume adjusting request to be sent is tied up
Fixed timestamp is identical with the timestamp after updating, then show that the volume adjusting request to be sent is that user's last time stops
Regulation request when volume adjusting is operated, sends the volume adjusting request to be sent, if the two is differed, this is not sent and is treated
The volume adjusting request of transmission.
In the embodiment of the present invention, whenever the operation that stops volume adjusting is detected, just generate time mark and with this
Time marks the request of corresponding volume adjusting, and the time mark in the time flag update system information, sending
Before volume adjusting request, by contrast the volume adjusting ask corresponding time mark with recorded in system it is updated when
Between mark whether it is identical, if, then it represents that the volume adjusting request be off volume adjusting last time operation it is corresponding please
Ask, volume adjusting request be sent to broadcasting end, ask to set unique time mark by for volume adjusting, and by when
Between mark and confirm the operation of user's effective volume adjusting, so as to exclude the volume adjusting request of other invalid operations generation, improve
Precision to playing end volume adjusting.
Fig. 4 is referred to, Fig. 4 is the structural representation of the volume adjustment device that third embodiment of the invention is provided, in order to just
In explanation, the part related to the embodiment of the present invention is illustrate only.The volume adjustment device of Fig. 4 examples can be the He of earlier figures 2
The executive agent of the volume adjusting method that embodiment illustrated in fig. 3 is provided.The device can be a module of terminal or terminal.Figure
The volume adjustment device of 4 examples, mainly includes:Generation module 401, update module 402, contrast module 403 and sending module
404.Each functional module describes in detail as follows above:
Wherein, generation module 401, for when the operation for stopping volume adjusting being detected, the generation time to mark and sound
Amount regulation request, and bind time mark and volume adjusting request;
While the time of generation mark, generation volume adjusting request, the volume adjusting is asked for asking to play end tune
Section volume, volume value when specifically according to the operation for stopping volume adjusting adjusting volume.
Update module 402, for the time that time flag update preset in system is generation to be marked;
Preset time mark in systems, time mark represents a unique time point.By in system this
Preset time mark, is updated to the time mark of generation, i.e. the time point that the preset time marks is updated to when detecting
Stop the time point during operation of volume adjusting.
Contrast module 403, for contrasting the bound time mark of volume adjusting request to be sent and renewal in system
Time afterwards marks whether identical;
Sending module 404, if for the bound time mark of the volume adjusting request to be sent and renewal in system
Time mark afterwards is identical, then send the volume adjusting request to be sent.
When needing to send volume adjusting request, contrast module 403 contrasts current volume adjusting request to be sent and is tied up
Time after being updated in fixed time mark and system mark whether it is identical, if identical, then it represents that current volume tune to be sent
Save the mark of the time bound in request and be the time mark updated for the last time in system, the volume adjusting request to be sent
It is that user finally adjusts the request of volume, so as to exclude other invalidation requests, then to send this pending to end is played for sending module 404
The volume adjusting for sending is asked so that the broadcasting end is adjusted according to the volume adjusting request to be sent to broadcast sound volume, keeps away
Exempt from the broadcasting end because of the request of the excessive invalid regulation volume of reception, and the phenomenon of the volume slider bounce for producing.
The present embodiment details not to the greatest extent, refers to the description of earlier figures 2 and embodiment illustrated in fig. 3, and here is omitted.
It should be noted that in the implementation method of the volume adjustment device of figure 4 above example, the division of each functional module is only
It is the facility of the realization of the configuration requirement or software of for example corresponding hardware for example, can as needed in practical application
Consider, and above-mentioned functions distribution completed by different functional module, will the internal structure of volume adjustment device be divided into not
Same functional module, to complete all or part of function described above.And, in practical application, the phase in the present embodiment
The functional module answered can be realized by corresponding hardware, it is also possible to perform corresponding software by corresponding hardware and complete.This theory
Each embodiment that bright book is provided can all apply foregoing description principle, below repeat no more.
In the embodiment of the present invention, whenever the operation that stops volume adjusting is detected, just generate time mark and with this
Time marks the request of corresponding volume adjusting, and the time mark in the time flag update system information, sending
Before volume adjusting request, by contrast the volume adjusting ask corresponding time mark with recorded in system it is updated when
Between mark whether it is identical, if, then it represents that the volume adjusting request be off volume adjusting last time operation it is corresponding please
Ask, volume adjusting request be sent to broadcasting end, ask to set unique time mark by for volume adjusting, and by when
Between mark and confirm the operation of user's effective volume adjusting, so as to exclude the volume adjusting request of other invalid operations generation, improve
Precision to playing end volume adjusting.
Refer to Fig. 5, the structural representation of the volume adjustment device that fourth embodiment of the invention is provided, for the ease of saying
It is bright, illustrate only the part related to the embodiment of the present invention.The volume adjustment device of Fig. 5 examples can be earlier figures 2 and Fig. 3 institutes
Show the executive agent of the volume adjusting method that embodiment is provided.The device can be a module of terminal or terminal.Fig. 5 examples
Volume adjustment device, essentially consisted in the difference of device in embodiment illustrated in fig. 4:
Further, generation module 401 also includes:
Whether detection sub-module 4011, the finger for detecting user leaves Touch Screen, or, the finger of user is being touched
Whether region that control sliding block can be detected is left in control screen sliding process;
Determine whether user stops the operation of volume adjusting by judging the gesture of user, can be detection specifically
Whether the finger of user leaves Touch Screen, and leaving Touch Screen and then representing that user stops at carries out any operation on touch screen,
Or, or detect whether the finger of user leaves control sliding block in sliding process on Touch Screen and can be detected
The region arrived, the control sliding block is the module for controlling volume adjusting, and correspondence is shown as adjusting the control of volume on touch screen
Slider bar processed, the region that the control sliding block can be detected on touch screen is the control slider bar region.
Generation submodule 4012, if Touch Screen is left for detecting the finger of user, or, the finger of user is being touched
The region that control sliding block can be detected is left in control screen sliding process, generation time mark and volume adjusting please
Ask.
The time is labeled as timestamp.
Update module 402, is additionally operable to for the value of the timestamp for generating to be assigned to preset timestamp in the system.
The value of the timestamp of each generation is assigned to preset timestamp in the system so that when preset in the system
Between stab value be continuously updated, a last assignment be user last time stop volume adjusting the operation corresponding time
The value of stamp.
The device is still further comprised:
Setup module 501, for asking the volume adjusting to be sent after being set to wait for preset time period.
Detection module 502, the quantity for detecting current volume adjusting request to be sent.
Further, contrast module 403, if the quantity for being additionally operable to current volume adjusting request to be sent is multiple,
It is identical that contrast volume adjusting to be sent asks the time after bound time mark and renewal to mark whether.
Sending module 404, if the quantity for being additionally operable to current volume adjusting request to be sent is one, sends this pending
The volume adjusting for sending is asked.
The present embodiment details not to the greatest extent, refers to the description of earlier figures 2 to embodiment illustrated in fig. 4, and here is omitted.
In the embodiment of the present invention, whenever the operation that stops volume adjusting is detected, just generate time mark and with this
Time marks the request of corresponding volume adjusting, and the time mark in the time flag update system information, sending
Before volume adjusting request, by contrast the volume adjusting ask corresponding time mark with recorded in system it is updated when
Between mark whether it is identical, if, then it represents that the volume adjusting request be off volume adjusting last time operation it is corresponding please
Ask, volume adjusting request be sent to broadcasting end, ask to set unique time mark by for volume adjusting, and by when
Between mark and confirm the operation of user's effective volume adjusting, so as to exclude the volume adjusting request of other invalid operations generation, improve
Precision to playing end volume adjusting.
Fig. 6 is referred to, Fig. 6 is the terminal structure schematic diagram of execution volume adjusting method provided in an embodiment of the present invention.
Terminal described in the present embodiment, including:
At least one input equipment 61;At least one output equipment 62;At least one processor 63, such as center treatment
Device;And, memory 64.
Above-mentioned input equipment 61, output equipment 62, processor 63 and memory 64 are connected by bus 65.
Wherein, input equipment 61 concretely camera, contact panel, physical button or mouse etc..Output equipment
62 concretely display screens.
Memory 64 can be high random access memory body (RAM, Random Access Memory) memory, also may be used
It is non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 64 is used for one group of storage can
Configuration processor code, processor 63 is coupled with memory 64, and above-mentioned input equipment 61, output equipment 62 and processor 63 are used to adjust
With the executable program code stored in memory 64, following operation is performed:
The code is performed by processor 63, the volume adjusting side as described in earlier figures 2 and embodiment illustrated in fig. 3 is performed
Method.
Specifically, that is, perform when the operation for stopping volume adjusting being detected, generation time mark and volume adjusting please
Ask, and bind the time mark and volume adjusting request;It is generation by time flag update preset in system
The time mark;Time mark after being updated in the bound time mark of contrast volume adjusting request to be sent and system
It is whether identical, if identical, send the volume adjusting request to be sent.
In multiple embodiments provided herein, it should be understood that disclosed apparatus and method, can be by it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple module or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Coupling each other or direct-coupling or communication linkage can be the INDIRECT COUPLINGs or logical of device or module by some interfaces
Letter link, can be electrical, mechanical or other forms.
The module that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as module
The part for showing can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple
On mixed-media network modules mixed-media.Some or all of module therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional module in each embodiment of the invention can be integrated in a processing module, it is also possible to
It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If the integrated module is to realize in the form of software function module and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It should be noted that for foregoing each method embodiment, in order to simplicity is described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because
According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiments.
It is more than the description to volume adjusting method provided by the present invention, device and terminal, it is general for this area
Technical staff, according to the thought of the embodiment of the present invention, will change in specific embodiments and applications, comprehensive
On, this specification content should not be construed as limiting the invention.
Claims (11)
1. a kind of volume adjusting method, it is characterised in that methods described includes:
When the operation for stopping volume adjusting being detected, generation time mark and volume adjusting are asked, and bind the time
Mark and volume adjusting request;
By the time mark that time flag update preset in system is generation;
Time after the bound time mark of contrast volume adjusting request to be sent and renewal in system mark whether it is identical,
If identical, the volume adjusting request to be sent is sent.
2. method according to claim 1, it is characterised in that described when the operation for stopping volume adjusting being detected, it is raw
Include into time mark and volume adjusting request:
Detect whether the finger of user leaves Touch Screen, or, the finger of user in Touch Screen sliding process whether from
Open the region that control sliding block can be detected;
If the finger for detecting user leaves Touch Screen, or, the finger of user leaves control in Touch Screen sliding process
The region that sliding block processed can be detected, generation time mark and volume adjusting request.
3. method according to claim 1 and 2, it is characterised in that the time is labeled as timestamp, then will be pre- in system
The time flag update put is that the time mark of generation includes:
The value of the timestamp for generating is assigned to preset timestamp in the system.
4. method according to claim 3, it is characterised in that the binding time mark and the volume adjusting
Also include after request:
Sent after volume adjusting request is set to wait for into preset time period.
5. method according to claim 1, it is characterised in that contrast volume adjusting request to be sent is bound
Time marks and marks whether identical with the time after renewal, also includes before:
The quantity of the current volume adjusting request to be sent of detection;
If the quantity of current volume adjusting request to be sent is multiple, performs contrast volume adjusting request to be sent and tied up
Fixed time mark marks whether identical step with the time after updating;
If the quantity of current volume adjusting request to be sent is one, performs and send the volume adjusting request to be sent
The step of.
6. a kind of volume adjustment device, it is characterised in that described device includes:
Generation module, for when the operation for stopping volume adjusting being detected, generation time mark and volume adjusting to be asked, and
Bind the time mark and volume adjusting request;
Update module, for the time that time flag update preset in system is generation to be marked;
Contrast module, marks and the time after renewal in system for contrasting the volume adjusting request to be sent bound time
Mark whether identical;
Sending module, if after for being updated in the bound time mark of the volume adjusting request to be sent and system when
Between mark identical, then send the volume adjusting request to be sent.
7. device according to claim 6, it is characterised in that the generation module also includes:
Whether detection sub-module, the finger for detecting user leaves Touch Screen, or, the finger of user is slided in Touch Screen
Whether region that control sliding block can be detected is left during dynamic;
Generation submodule, if Touch Screen is left for detecting the finger of user, or, the finger of user is slided in Touch Screen
The region that control sliding block can be detected, generation time mark and volume adjusting request are left during dynamic.
8. the device according to claim 6 or 7, it is characterised in that the time is labeled as timestamp, then the renewal mould
Block, is additionally operable to for the value of the timestamp for generating to be assigned to preset timestamp in the system.
9. device according to claim 8, it is characterised in that described device also includes:
Setup module, for asking the volume adjusting to be sent after being set to wait for preset time period.
10. device according to claim 9, it is characterised in that described device also includes:
Detection module, the quantity for detecting current volume adjusting request to be sent;
The contrast module, if the quantity for being additionally operable to current volume adjusting request to be sent is multiple, contrasts to be sent
It is identical that volume adjusting asks the time after bound time mark and renewal to mark whether;
The sending module, if the quantity for being additionally operable to current volume adjusting request to be sent is one, sends described pending
The volume adjusting for sending is asked.
11. a kind of terminals, it is characterised in that the terminal includes:
Memory and processor;
The memory storage has executable program code;
The processor coupled with the memory, calls the executable program code stored in the memory, holds
Volume adjusting method of the row as described in claim 1 to any one of claim 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611155174.0A CN106714035B (en) | 2016-12-14 | 2016-12-14 | Volume adjusting method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611155174.0A CN106714035B (en) | 2016-12-14 | 2016-12-14 | Volume adjusting method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106714035A true CN106714035A (en) | 2017-05-24 |
CN106714035B CN106714035B (en) | 2019-09-17 |
Family
ID=58937691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611155174.0A Active CN106714035B (en) | 2016-12-14 | 2016-12-14 | Volume adjusting method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106714035B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478657A (en) * | 2008-11-10 | 2009-07-08 | 华亚微电子(上海)有限公司 | Volume control method and apparatus, television receiving apparatus |
CN101668042A (en) * | 2009-09-10 | 2010-03-10 | 深圳市同洲电子股份有限公司 | Method and device for updating local page of embedded communication system |
CN103326929A (en) * | 2013-06-24 | 2013-09-25 | 北京小米科技有限责任公司 | Method and device for transmitting messages |
CN103546616A (en) * | 2013-09-30 | 2014-01-29 | 深圳市同洲电子股份有限公司 | Volume adjusting method and device |
CN104519081A (en) * | 2013-09-27 | 2015-04-15 | 阿里巴巴集团控股有限公司 | Page access method and device |
CN106101776A (en) * | 2016-07-13 | 2016-11-09 | 广东欧珀移动通信有限公司 | The method of volume adjusting, smart machine and audio amplifier |
-
2016
- 2016-12-14 CN CN201611155174.0A patent/CN106714035B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478657A (en) * | 2008-11-10 | 2009-07-08 | 华亚微电子(上海)有限公司 | Volume control method and apparatus, television receiving apparatus |
CN101668042A (en) * | 2009-09-10 | 2010-03-10 | 深圳市同洲电子股份有限公司 | Method and device for updating local page of embedded communication system |
CN103326929A (en) * | 2013-06-24 | 2013-09-25 | 北京小米科技有限责任公司 | Method and device for transmitting messages |
CN104519081A (en) * | 2013-09-27 | 2015-04-15 | 阿里巴巴集团控股有限公司 | Page access method and device |
CN103546616A (en) * | 2013-09-30 | 2014-01-29 | 深圳市同洲电子股份有限公司 | Volume adjusting method and device |
CN106101776A (en) * | 2016-07-13 | 2016-11-09 | 广东欧珀移动通信有限公司 | The method of volume adjusting, smart machine and audio amplifier |
Also Published As
Publication number | Publication date |
---|---|
CN106714035B (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104703036B (en) | A kind of method, apparatus and system of synchronized multimedia file playback progress | |
CN105609121A (en) | Method and device for controlling multimedia playing progress | |
CN105578310A (en) | Smart TV remote control method and device based on websocket protocol | |
CN106162362A (en) | A kind of video broadcasting method and player | |
CN112882850A (en) | Key event processing method, device, equipment and storage medium | |
CN103945235A (en) | Digital television control method and system and set top boxes | |
CN103377093A (en) | Multimedia synchronizing method for multiple-system device and electronic device | |
CN103170136A (en) | Method and system of achieving game control through set top box | |
CN111367220A (en) | Internet of things equipment control method and device | |
CN102831630A (en) | Method and device for rendering animation | |
CN112188362B (en) | Playing method, device and computer readable storage medium | |
CN105703806A (en) | Bluetooth module control method and apparatus of playing equipment, and audio-video playing system | |
CN106714035A (en) | Volume adjustment method, volume adjustment device and terminal | |
CN106878444A (en) | Terminal, host device, computer-readable recording medium and data processing method | |
CN104284221B (en) | A kind of method of information processing, wearable device and digital television devices | |
CN103813194A (en) | Information processing method and electronic device | |
CN111930507A (en) | Current limiting method and device | |
CN103295387B (en) | A kind of electronic equipment, projection remote controller and its implementation | |
CN106233247B (en) | Audio devices, audio system and volume value control method | |
CN103685523B (en) | Method and device for processing multimedia data | |
CN106850953A (en) | volume adjusting method, device and terminal | |
CN103139198B (en) | Information processing system, netscape messaging server Netscape and information processing method | |
CN113746982B (en) | Audio playing control method and device, electronic equipment and readable storage medium | |
CN112399259A (en) | Progress bar control method of player | |
CN108520745A (en) | The operating method and device of equipment portrait information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |