CN107786751A - A kind of method for broadcasting multimedia file and mobile terminal - Google Patents

A kind of method for broadcasting multimedia file and mobile terminal Download PDF

Info

Publication number
CN107786751A
CN107786751A CN201711051004.2A CN201711051004A CN107786751A CN 107786751 A CN107786751 A CN 107786751A CN 201711051004 A CN201711051004 A CN 201711051004A CN 107786751 A CN107786751 A CN 107786751A
Authority
CN
China
Prior art keywords
value
volume value
user preference
noise ration
broadcast mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711051004.2A
Other languages
Chinese (zh)
Inventor
刘萌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711051004.2A priority Critical patent/CN107786751A/en
Publication of CN107786751A publication Critical patent/CN107786751A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of player method of multimedia file and mobile terminal, methods described includes:The noise ration value of current environment is detected, and determines the current sound broadcast mode of mobile terminal, the sound broadcast mode includes:Put player method or peripheral hardware broadcast mode outside;According to the noise ration value under the sound broadcast mode and the corresponding relation of user preference volume value, user preference volume value of the mobile terminal under the noise ration value of the current environment is determined;Multimedia file is played with the user preference volume value of determination.By means of the invention it is possible to volume value is adjusted to user preference volume value.

Description

A kind of method for broadcasting multimedia file and mobile terminal
Technical field
The present invention relates to field of terminal, more particularly to a kind of method for broadcasting multimedia file and mobile terminal.
Background technology
With the continuous development of the communication technology, mobile terminal has become essential carry-on in people's work, life Article.People may whenever and wherever possible using mobile terminal output sound, such as call, receive calls, play music with And using Mobile Telephone Gps etc., people generally require to play more matchmakers according to the different adjustment of usage scenario when using mobile terminal The volume value of body file.
In the prior art, when user needs to adjust to the volume value of itself preference, manually adjusted typically by user The mode of volume key is realized.But it in actual applications, possibly can not or be not easy to adjust sound in some scenes residing for user Measure key, for example, user be in driving, take crowded public transport, night listen music sleep scene.In addition, When user manually adjusts volume value, in fact it could happen that moment volume value is too high, or adjusts letter when causing volume value too low not in time The problems such as breath is lost.
The content of the invention
The embodiment of the present invention provides a kind of method for broadcasting multimedia file and mobile terminal, to solve in the prior art can not Quickly, the problem of accurately adjusting to user preference volume value.
In order to solve the above-mentioned technical problem, the present invention is realized in:
First aspect, there is provided a kind of player method of multimedia file, applied to mobile terminal, this method includes:
The noise ration value of current environment is detected, and determines the current sound broadcast mode of the mobile terminal, the sound Sound broadcast mode includes:Put broadcast mode or peripheral hardware broadcast mode outside;According to the noise ration under the sound broadcast mode Value and the corresponding relation of user preference volume value, determine use of the mobile terminal under the noise ration value of the current environment Family preferred volume value;Multimedia file is played with the user preference volume value of determination.
Second aspect, there is provided a kind of terminal device, the terminal device include:
Detection module, for detecting the noise ration value of current environment;
First determining module, the sound broadcast mode current for determining mobile terminal, the sound broadcast mode include: Put broadcast mode or peripheral hardware broadcast mode outside;
Memory module, for storing, noise ration value under the sound broadcast mode is corresponding with user preference volume value to close System;
Second determining module, for according to the noise ration value under the sound broadcast mode and user preference volume value Corresponding relation, determine user preference volume value of the mobile terminal under the noise ration value of current environment;
Sound broadcasting module, for playing multimedia file with the user preference volume value of determination.
The third aspect, there is provided a kind of terminal device, the terminal device include processor, memory and be stored in described deposit On reservoir and the computer program that can run on the processor, realized when the computer program is by the computing device The step of method as described in relation to the first aspect.
In embodiments of the present invention, by detecting the noise ration value of current environment and determining the current sound of mobile terminal Broadcast mode, according to the noise ration value under sound broadcast mode and the corresponding relation of user preference volume value, it is determined that mobile The user preference volume value of terminal under the present circumstances, and multimedia file is played with the user preference volume value of determination, so, It can be broadcast according to the current sound broadcast mode of the noise ration value and mobile terminal of current environment, quickly and accurately adjustment The volume value of multimedia file is put as preferred volume value under the present circumstances, it is not necessary to user manually adjust just can according to Scene adjusts the volume value for playing multimedia file to user preference volume value where family, avoids because moment volume value is too high Or volume value influence to caused by user of too low the problems such as causing user to lose important information.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the present invention, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the player method for the multimedia file that one embodiment of the present of invention provides;
Fig. 2 is the flow chart of the player method for the multimedia file that an alternative embodiment of the invention provides;
Fig. 3 is the flow chart of the player method for the multimedia file that an alternative embodiment of the invention provides;
Fig. 4 is the schematic diagram for the mobile terminal that one embodiment of the present of invention provides;
Fig. 5 is the schematic diagram for the mobile terminal that an alternative embodiment of the invention provides;
Fig. 6 is the schematic diagram for the mobile terminal that an alternative embodiment of the invention provides;
Fig. 7 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the player method for the multimedia file that one embodiment of the present of invention provides.As shown in figure 1, The player method of multimedia file comprises the following steps:
S102, the noise ration value for detecting current environment, and determine the current sound broadcast mode of mobile terminal.
Wherein, sound broadcast mode includes putting broadcast mode or peripheral hardware broadcast mode outside.Outer broadcast mode of putting represents straight The pattern for playing multimedia file is connect, peripheral hardware broadcast mode represents the pattern to peripheral hardware output sound, and the peripheral hardware of such as connection can be with For earphone or audio amplifier etc..
Specifically, it can determine that the current sound of mobile terminal is broadcast by detecting the connection status of mobile terminal and peripheral hardware Mode is put, for example, detection mobile terminal is not connected with peripheral hardware, determines sound broadcast mode to put broadcast mode outside.
S104, the corresponding relation according to the noise ration value under sound broadcast mode and user preference volume value, it is determined that moving Dynamic user preference volume value of the terminal under the noise ration value of current environment.
It is inclined according to the noise ration value and user put outside under broadcast mode when sound broadcast mode is puts broadcast mode outside The corresponding relation of good volume value, determine user preference volume value of the mobile terminal under the noise ration value of current environment;In sound When sound broadcast mode is peripheral hardware broadcast mode, according to the noise ration value under peripheral hardware broadcast mode and pair of user preference volume value It should be related to, determine user preference volume value of the mobile terminal under the noise ration value of current environment.
S106, the user preference volume value broadcasting multimedia file with determination.
It should be noted that above-mentioned multimedia file can be a variety of files such as audio, video.
Exemplary, the noise ration value of current environment is A1 decibels, and current sound broadcast mode is to put broadcasting side outside Formula M1, then the use of A1 decibels is determined according to the corresponding relation for putting noise ration value and user preference volume value under broadcast mode M1 outside Family preferred volume value is B1 decibels, and multimedia file is played with B1 decibels.
By above-described embodiment, can be played according to the current sound of the noise ration value and mobile terminal of current environment Mode, the volume value that quickly and accurately adjustment plays multimedia file is preferred volume value under the present circumstances, it is not necessary to is used Family, which manually adjusts, can just adjust the volume value for playing multimedia file to user preference volume value according to scene where user, Avoid because moment volume value is too high or volume value influence caused by user of too low the problems such as causing user to lose important information.
In one embodiment of the present invention, noise ration value and the corresponding relation of user preference volume value can be noise The relation curve of volume value and user preference volume value.By this embodiment, no matter the noise ration value of detection is how many, all The corresponding user preference of noise ration value directly can be determined according to noise ration value and the relation curve of user preference volume value Volume value.
In another embodiment of the present invention, the corresponding relation of noise ration value and user preference volume value can be to make an uproar The relation table of sound value and user preference volume value.
Fig. 2 is the flow chart of the player method for the multimedia file that an alternative embodiment of the invention provides.Such as Fig. 2 institutes Show, the player method of multimedia file comprises the following steps:
S202, the noise ration value for detecting current environment, and determine the current sound broadcast mode of mobile terminal.
Wherein, sound broadcast mode includes putting broadcast mode or peripheral hardware broadcast mode outside.Outer broadcast mode of putting represents direct The pattern of multimedia file is played, peripheral hardware broadcast mode represents the pattern to peripheral hardware output sound, and the peripheral hardware of such as connection can be Earphone or audio amplifier etc..
Specifically, it can determine that the current sound of mobile terminal is broadcast by detecting the connection status of mobile terminal and peripheral hardware Mode is put, for example, detection mobile terminal is not connected with peripheral hardware, determines sound broadcast mode to put broadcast mode outside.
S204, the corresponding relation according to the noise ration value under sound broadcast mode and user preference volume value, it is determined that moving Dynamic user preference volume value of the terminal under the noise ration value of current environment.
It is inclined according to the noise ration value and user put outside under broadcast mode when sound broadcast mode is puts broadcast mode outside The corresponding relation of good volume value, determine user preference volume value of the mobile terminal under the noise ration value of current environment;In sound When sound broadcast mode is peripheral hardware broadcast mode, according to the noise ration value under peripheral hardware broadcast mode and pair of user preference volume value It should be related to, determine user preference volume value of the mobile terminal under the noise ration value of current environment.
S206, the user preference volume value broadcasting multimedia file with determination.
It should be noted that above-mentioned multimedia file can be a variety of files such as audio, video.
S208, when the noise ration value and/or sound broadcast mode that detect current environment change, redefine User preference volume value.
Specifically, when the noise ration value and/or sound broadcast mode that detect current environment change, according to Noise ration value and the corresponding relation of user preference volume value, redefine mobile terminal in current environment under sound broadcast mode Under user preference volume value.
S210, the user preference volume value for being adjusted to redefine by the volume value of currently playing multimedia file.
Example one, the noise ration value of current environment is A1 decibels, and current sound broadcast mode is to put broadcast mode outside M1, then the user of A1 decibels is determined according to the corresponding relation for putting noise ration value and user preference volume value under broadcast mode M1 outside Preferred volume value is B1 decibels, multimedia file is played with B1 decibels, when the noise ration value changes for detecting current environment are During A2 decibels, A2 decibels are determined according to noise ration value and the corresponding relation of user preference volume value under broadcast mode M1 is put outside User preference volume value is B2 decibels, and multimedia file is played with B2 decibels.
Example two, the noise ration value of current environment is A1 decibels, and current sound broadcast mode is to put broadcast mode outside M1, then the user of A1 decibels is determined according to the corresponding relation for putting noise ration value and user preference volume value under broadcast mode M1 outside Preferred volume value is B1 decibels, and multimedia file is played with B1 decibels, and peripheral hardware broadcasting is turned to when detecting that sound broadcast mode becomes During mode M2, A1 decibels are determined according to the corresponding relation of noise ration value under peripheral hardware broadcast mode M2 and user preference volume value User preference volume value is B3 decibels, and multimedia file is played with B3 decibels.
Example three, the noise ration value of current environment is A1 decibels, and current sound broadcast mode is to put broadcast mode outside M1, then the user of A1 decibels is determined according to the corresponding relation for putting noise ration value and user preference volume value under broadcast mode M1 outside Preferred volume value is B1 decibels, multimedia file is played with B1 decibels, when the noise ration value changes for detecting current environment are A2 decibels and sound broadcast mode become when turning to peripheral hardware broadcast mode M2, according to noise ration value under peripheral hardware broadcast mode M2 with using The corresponding relation of family preferred volume value determines that the user preference volume value of A2 decibels is B4 decibels, and multimedia text is played with B4 decibels Part.
By above-described embodiment, can be played according to the current sound of the noise ration value and mobile terminal of current environment Mode, the volume value that quickly and accurately adjustment plays multimedia file is preferred volume value under the present circumstances, it is not necessary to is used Family, which manually adjusts, can just adjust the volume value for playing multimedia file to user preference volume value according to scene where user, Avoid because moment volume value is too high or volume value it is too low cause user lose important information the problems such as caused by user influence, It is inclined can also to redefine user when the noise ration value and/or sound broadcast mode for detecting current environment change Good volume value.
Fig. 3 is the flow chart of the player method for the multimedia file that an alternative embodiment of the invention provides.Such as Fig. 3 institutes Show, with the user preference volume value of determination play multimedia file after (i.e. S106, S206, S210 or S206 and S210 it Afterwards), the player method of multimedia file can also comprise the following steps:
If the volume value of S302, mobile terminal is adjusted, it is determined that volume value after adjustment.
S304, the noise ration value according to volume value after adjustment and current environment, update noise sound under sound broadcast mode The corresponding relation of value and user preference volume value.
Pass through above-described embodiment, additionally it is possible to update user's request change renewal sound broadcast mode under noise ration value with The corresponding relation of user preference volume value so that by the player method of this multimedia file, user can be supplied to most all the time Meet the volume value of user's request.
In one embodiment of the present invention, above-mentioned S304 can include:By corresponding to the noise ration value of current environment User preference volume value be updated to volume value after adjustment, to update noise ration value and user preference sound under sound broadcast mode The corresponding relation of value.Specifically, noise ration value and the corresponding relation of user preference volume value are noise ration value and user During the relation curve of preferred volume value, the user preference volume value corresponding to the noise ration value of current environment is updated to adjust Volume value afterwards, according to noise ration value and noise ration under the corresponding relation of volume value after adjustment and default sound broadcast mode Value and the relation curve of user preference volume value, generate noise ration value and user preference volume value under new sound broadcast mode Relation curve.Specifically, noise ration value and the corresponding relation of user preference volume value are noise ration value and user preference During the relation table of volume value, front ring will be worked as in the relation table of noise ration value under sound broadcast mode and user preference volume value User preference volume value corresponding to the noise ration value in border is updated to volume value after adjustment.
In another embodiment of the present invention, above-mentioned S304 can include:According to volume value after adjustment and user preference Weight is preset corresponding to volume value difference, the user preference volume value corresponding to the noise ration value of current environment is updated, with more Noise ration value and the corresponding relation of user preference volume value under new sound broadcast mode.Specifically, noise ration value and user When the corresponding relation of preferred volume value is noise ration value and the relation curve of user preference volume value, according to volume value after adjustment Default weight corresponding with user preference volume value difference, updates the user preference sound corresponding to the noise ration value of current environment Value, according to noise ration value and noise under the corresponding relation of the user preference volume value of renewal and default sound broadcast mode The relation curve of volume value and user preference volume value, generate noise ration value and user preference sound under new sound broadcast mode The relation curve of value.Specifically, noise ration value and the corresponding relation of user preference volume value are noise ration value and user During the relation table of preferred volume value, according to volume value after adjustment, corresponding preset is weighed respectively with default user preference volume value Weight, updates the user preference volume value corresponding to the noise ration value of current environment, by noise ration value under sound broadcast mode It is updated to the user preference volume value corresponding to the noise ration value of the current environment in the relation table of user preference volume value The user preference volume value of renewal.Exemplary, volume value default weight corresponding with user preference volume value is after adjustment 50%, volume value * 0.5+ user preference volume values * 0.5 after user preference volume value=adjustment of renewal.
In one embodiment of the present invention, in above-mentioned basis, noise ration value and user are inclined under sound broadcast mode The corresponding relation of good volume value, before the step of determining the user preference volume value of mobile terminal under the present circumstances, multimedia The player method of file can also include:Obtain the volume of mobile terminal under the ambient sound broadcast mode of different noise ration values Value information;According to the noise ration value and diaphone magnitude information in the environment of different noise ration values, generation sound broadcasting side Noise ration value and the corresponding relation of user preference volume value under formula.
In one embodiment of the present invention, specifically multimedia can be played by obtaining the history under sound broadcast mode File journalization, the volume value information under varying environment noise ration value is included in history volume daily record, according to history volume daily record The mode of the corresponding relation of noise ration value and user preference volume value generates sound broadcasting side under generation sound broadcast mode Noise ration value and the corresponding relation of user preference volume value under formula.
Fig. 4 is the schematic diagram for the mobile terminal that one embodiment of the present of invention provides.As shown in figure 4, mobile terminal can be with Including:Detection module 41, the first determining module 42, memory module 43, the second determining module 44 and sound broadcasting module 45.Inspection Survey the noise ration value that module 41 is used to detect current environment.First determining module 42 is used to determine the current sound of mobile terminal Broadcast mode, sound broadcast mode include putting broadcast mode or peripheral hardware broadcast mode outside.Memory module 43 is broadcast for storing sound Put noise ration value and the corresponding relation of user preference volume value under mode.Second determining module 44 is used to play according in sound Noise ration value and the corresponding relation of user preference volume value, determine noise ration value of the mobile terminal in current environment under mode Under user preference volume value.Sound broadcasting module 45 is used to play multimedia file with the user preference volume value of determination.
Wherein, the corresponding relation of noise ration value and user preference volume value is noise ration value and user preference volume value Relation curve or noise ration value and user preference volume value relation table.
In one embodiment of the present invention, the second determining module 44 is additionally operable to when the noise ration for detecting current environment When value and/or sound broadcast mode change, user preference volume value is redefined;Sound broadcasting module 45 is additionally operable to ought The preceding volume value for playing multimedia file is adjusted to the user preference volume value redefined.
Fig. 5 is the schematic diagram for the mobile terminal that an alternative embodiment of the invention provides.As shown in figure 5, mobile terminal is also It can include:3rd determining module 46 and update module 47.If the 3rd determining module 46 is used for the volume value quilt of mobile terminal Adjustment, it is determined that volume value after adjustment.Update module 47 is used for the noise ration value according to volume value after adjustment and current environment, Update noise ration value and the corresponding relation of user preference volume value under sound broadcast mode.
In one embodiment of the present invention, update module 47 is specifically used for:
User preference volume value corresponding to the noise ration value of current environment is updated to volume value after adjusting, with renewal Noise ration value and the corresponding relation of user preference volume value under sound broadcast mode;Or according to volume value after adjustment with using Weight is preset corresponding to the preferred volume value difference of family, updates the user preference volume corresponding to the noise ration value of current environment Value, to update noise ration value and the corresponding relation of user preference volume value under sound broadcast mode.
Fig. 6 is the schematic diagram for the mobile terminal that an alternative embodiment of the invention provides.As shown in fig. 6, mobile terminal is also It can include:Acquisition module 48 and generation module 49.Acquisition module 48 is used for the ambient sound for obtaining different noise ration values The volume value information of mobile terminal under broadcast mode.Generation module 49 is used for according to the noise in the environment of different noise ration values Volume value and diaphone magnitude information, generate the pass corresponding with user preference volume value of noise ration value under sound broadcast mode System.
In one embodiment of the present invention, the history that acquisition module 48 is specifically used for obtaining under sound broadcast mode plays Multimedia file daily record, the volume value information under varying environment noise ration value is included in history volume daily record;Generation module 49 Specifically for being generated according to the daily record of history volume, noise ration value under sound broadcast mode is corresponding with user preference volume value to close System.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in Fig. 1 to Fig. 3 embodiment of the method Each process, to avoid repeating, repeat no more here.Mobile terminal provided in an embodiment of the present invention, can be according to working as front ring The current sound broadcast mode of the noise ration value and mobile terminal in border, quickly and accurately adjustment play multimedia file Volume value is preferred volume value under the present circumstances, it is not necessary to which user manually adjusts be able to will just broadcast according to scene where user The volume value for putting multimedia file is adjusted to user preference volume value, is avoided and is made because moment volume value is too high or volume value is too low The problems such as losing important information into user influence to caused by user.
Fig. 7 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, the mobile terminal 100 Including but not limited to:It is radio frequency unit 101, mixed-media network modules mixed-media 102, audio output unit 103, input block 104, sensor 105, aobvious Show the parts such as unit 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111. It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 7 does not form the restriction to mobile terminal, it is mobile whole End can be included than illustrating more or less parts, either combine some parts or different parts arrangement.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet personal computer, notebook computer, palm PC, car-mounted terminal, can worn Wear equipment and pedometer etc..
Wherein, processor 110, it is used for:
The noise ration value of current environment is detected, and determines the current sound broadcast mode of mobile terminal, sound broadcasting side Formula includes putting broadcast mode or peripheral hardware broadcast mode outside;
According to the noise ration value under the sound broadcast mode and the corresponding relation of user preference volume value, it is determined that described User preference volume value of the mobile terminal under the noise ration value of the current environment;
Multimedia file is played with the user preference volume value of determination.
Mobile terminal provided in an embodiment of the present invention, it can be worked as according to the noise ration value and mobile terminal of current environment Preceding sound broadcast mode, the volume value that quickly and accurately adjustment plays multimedia file is preference sound under the present circumstances Value, it is not necessary to user manually adjust just can according to scene where user by the volume value for playing multimedia file adjust to Family preferred volume value, avoid because caused by moment volume value is too high or volume value is too low user lose important information the problems such as to Influence caused by family.
It should be understood that in the embodiment of the present invention, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 110;In addition, will be up Data are sent to base station.Generally, radio frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 102 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 103 can be receiving by radio frequency unit 101 or mixed-media network modules mixed-media 102 or in memory 109 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 103 can also be provided and moved The audio output for the specific function correlation that dynamic terminal 100 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input block 104 is used to receive audio or video signal.Input block 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or mixed-media network modules mixed-media 102.Mike Wind 1042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 include contact panel 1071 and Other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation).Contact panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area Manage the order that device 110 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 1071.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 1071 can be covered on display panel 1061, when contact panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch The type for touching event provides corresponding visual output on display panel 1061.Although in the figure 7, contact panel 1071 and display Panel 1061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments In, can be integrated by contact panel 1071 and display panel 1061 and realize input and the output function of mobile terminal, it is specific this Place does not limit.
Interface unit 108 is the interface that external device (ED) is connected with mobile terminal 100.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 108 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 100 can be used in the He of mobile terminal 100 Data are transmitted between external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 100 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 110, memory 109, is stored in On memory 109 and the computer program that can be run on the processor 110, the computer program are performed by processor 110 Each process of the player method embodiment of the above-mentioned multimedia files of Shi Shixian, and identical technique effect can be reached, to avoid Repeat, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each mistake of the player method embodiment of above-mentioned multimedia file when being executed by processor Journey, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, described computer-readable storage medium Matter, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
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 such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.

Claims (13)

  1. A kind of 1. player method of multimedia file, applied to mobile terminal, it is characterised in that methods described includes:
    The noise ration value of current environment is detected, and determines the current sound broadcast mode of the mobile terminal, the sound is broadcast The mode of putting includes:Put broadcast mode or peripheral hardware broadcast mode outside;
    According to the noise ration value under the sound broadcast mode and the corresponding relation of user preference volume value, the movement is determined User preference volume value of the terminal under the noise ration value of the current environment;
    Multimedia file is played with the user preference volume value of determination.
  2. 2. according to the method for claim 1, it is characterised in that also include:
    When the noise ration value and/or the sound broadcast mode that detect the current environment change, redefine The user preference volume value;
    The user preference volume value that the volume value of currently playing multimedia file is adjusted to redefine.
  3. 3. method according to claim 1 or 2, it is characterised in that played with the user preference volume value of determination more After media file, in addition to:
    If the volume value of the mobile terminal is adjusted, it is determined that volume value after adjustment;
    According to the noise ration value of volume value after the adjustment and the current environment, noise under the sound broadcast mode is updated The corresponding relation of volume value and user preference volume value.
  4. 4. according to the method for claim 3, it is characterised in that according to volume value after the adjustment and the current environment Noise ration value, noise ration value and the corresponding relation of user preference volume value under the sound broadcast mode are updated, including:
    User preference volume value corresponding to the noise ration value of the current environment is updated to volume value after the adjustment, with Update noise ration value and the corresponding relation of user preference volume value under the sound broadcast mode;Or
    According to the default weight corresponding with user preference volume value difference of volume value after the adjustment, the current environment is updated User preference volume value corresponding to noise ration value, to update noise ration value and user preference under the sound broadcast mode The corresponding relation of volume value.
  5. 5. according to the method for claim 1, it is characterised in that according under the sound broadcast mode noise ration value with The corresponding relation of user preference volume value, before determining the user preference volume value of the mobile terminal under the present circumstances, also Including:
    Obtain the volume value information of the mobile terminal under sound broadcast mode described in the environment of different noise ration values;
    According to the noise ration value in the environment of different noise ration values and the volume value information of the corresponding mobile terminal, generation Noise ration value and the corresponding relation of user preference volume value under the sound broadcast mode.
  6. 6. according to the method for claim 5, it is characterised in that in the environment of obtaining different noise ration values, in the sound The volume value information of the mobile terminal under sound broadcast mode, including:
    The history obtained under the sound broadcast mode plays multimedia file daily record, and difference is included in the history volume daily record Volume value information under ambient noise volume value;
    According to the noise ration value in the environment of different noise ration values and the corresponding volume value information, generate the sound and broadcast Noise ration value and the corresponding relation of user preference volume value under mode are put, including:
    Noise ration value and pair of user preference volume value under the sound broadcast mode are generated according to the history volume daily record It should be related to.
  7. A kind of 7. mobile terminal, it is characterised in that including:
    Detection module, for detecting the noise ration value of current environment;
    First determining module, the sound broadcast mode current for determining mobile terminal, the sound broadcast mode include:Put outside Broadcast mode or peripheral hardware broadcast mode;
    Memory module, for storing noise ration value and the corresponding relation of user preference volume value under the sound broadcast mode;
    Second determining module, for basis, noise ration value is corresponding with user preference volume value under the sound broadcast mode Relation, determine user preference volume value of the mobile terminal under the noise ration value of current environment;
    Sound broadcasting module, for playing multimedia file with the user preference volume value of determination.
  8. 8. mobile terminal according to claim 7, it is characterised in that
    Second determining module, it is additionally operable to when the noise ration value and/or the sound that detect the current environment play When mode changes, the user preference volume value is redefined;
    The sound broadcasting module, the user for being additionally operable to be adjusted to redefine by the volume value of currently playing multimedia file are inclined Good volume value.
  9. 9. the mobile terminal according to claim 7 or 8, it is characterised in that also include:
    3rd determining module, if the volume value for the mobile terminal is adjusted, it is determined that volume value after adjustment;
    Update module, for the noise ration value according to volume value after the adjustment and the current environment, update the sound Noise ration value and the corresponding relation of user preference volume value under broadcast mode.
  10. 10. mobile terminal according to claim 9, it is characterised in that the update module, be specifically used for:
    User preference volume value corresponding to the noise ration value of the current environment is updated to volume value after the adjustment, with Update noise ration value and the corresponding relation of user preference volume value under the sound broadcast mode;Or
    According to the default weight corresponding with user preference volume value difference of volume value after the adjustment, the current environment is updated User preference volume value corresponding to noise ration value, to update noise ration value and user preference under the sound broadcast mode The corresponding relation of volume value.
  11. 11. mobile terminal according to claim 7, it is characterised in that also include:
    Acquisition module, for obtaining the volume of the mobile terminal under sound broadcast mode described in the environment of different noise ration values Value information;
    Generation module, for the sound according to the noise ration value in the environment of different noise ration values and the corresponding mobile terminal Magnitude information, generate noise ration value and the corresponding relation of user preference volume value under the sound broadcast mode.
  12. 12. mobile terminal according to claim 11, it is characterised in that
    The acquisition module, multimedia file daily record is played specifically for the history obtained under the sound broadcast mode, it is described The volume value information under varying environment noise ration value is included in history volume daily record;
    The generation module, specifically for generating noise ration value under the sound broadcast mode according to the history volume daily record With the corresponding relation of user preference volume value.
  13. A kind of 13. mobile terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 6 during the computing device Any one of multimedia file player method the step of.
CN201711051004.2A 2017-10-31 2017-10-31 A kind of method for broadcasting multimedia file and mobile terminal Pending CN107786751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711051004.2A CN107786751A (en) 2017-10-31 2017-10-31 A kind of method for broadcasting multimedia file and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711051004.2A CN107786751A (en) 2017-10-31 2017-10-31 A kind of method for broadcasting multimedia file and mobile terminal

Publications (1)

Publication Number Publication Date
CN107786751A true CN107786751A (en) 2018-03-09

Family

ID=61432454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711051004.2A Pending CN107786751A (en) 2017-10-31 2017-10-31 A kind of method for broadcasting multimedia file and mobile terminal

Country Status (1)

Country Link
CN (1) CN107786751A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151634A (en) * 2018-07-27 2019-01-04 Oppo广东移动通信有限公司 Wireless headset method for controlling volume, wireless headset and mobile terminal
CN109194808A (en) * 2018-09-14 2019-01-11 西安蜂语信息科技有限公司 Volume adjusting method and device
CN109218504A (en) * 2018-09-30 2019-01-15 维沃移动通信有限公司 A kind of output method and terminal device of sound
CN109600703A (en) * 2018-12-27 2019-04-09 深圳市技湛科技有限公司 Sound reinforcement system and its public address method and computer readable storage medium
CN114564169A (en) * 2022-02-18 2022-05-31 北京达佳互联信息技术有限公司 Multimedia file playing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050282590A1 (en) * 2004-06-17 2005-12-22 Ixi Mobile (R&D) Ltd. Volume control system and method for a mobile communication device
US7079645B1 (en) * 2001-12-18 2006-07-18 Bellsouth Intellectual Property Corp. Speaker volume control for voice communication device
CN101996627A (en) * 2009-08-21 2011-03-30 索尼公司 Speech processing apparatus, speech processing method and program
CN202395837U (en) * 2011-11-24 2012-08-22 朱霄波 Automatic volume-regulating device for mobile phone
CN103345929A (en) * 2013-06-25 2013-10-09 三星电子(中国)研发中心 Method and device for adjusting volume
CN105430191A (en) * 2015-12-24 2016-03-23 北京奇虎科技有限公司 Volume adjusting method and device
CN105872180A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for adjusting volume of terminal device
CN106027809A (en) * 2016-07-27 2016-10-12 维沃移动通信有限公司 Volume adjusting method and mobile terminal
CN106231060A (en) * 2016-09-29 2016-12-14 昆山龙腾光电有限公司 Earphone volume of hand-set real-time regulating method and mobile phone

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079645B1 (en) * 2001-12-18 2006-07-18 Bellsouth Intellectual Property Corp. Speaker volume control for voice communication device
US20050282590A1 (en) * 2004-06-17 2005-12-22 Ixi Mobile (R&D) Ltd. Volume control system and method for a mobile communication device
CN101996627A (en) * 2009-08-21 2011-03-30 索尼公司 Speech processing apparatus, speech processing method and program
CN202395837U (en) * 2011-11-24 2012-08-22 朱霄波 Automatic volume-regulating device for mobile phone
CN103345929A (en) * 2013-06-25 2013-10-09 三星电子(中国)研发中心 Method and device for adjusting volume
CN105430191A (en) * 2015-12-24 2016-03-23 北京奇虎科技有限公司 Volume adjusting method and device
CN105872180A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for adjusting volume of terminal device
CN106027809A (en) * 2016-07-27 2016-10-12 维沃移动通信有限公司 Volume adjusting method and mobile terminal
CN106231060A (en) * 2016-09-29 2016-12-14 昆山龙腾光电有限公司 Earphone volume of hand-set real-time regulating method and mobile phone

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151634A (en) * 2018-07-27 2019-01-04 Oppo广东移动通信有限公司 Wireless headset method for controlling volume, wireless headset and mobile terminal
CN109151634B (en) * 2018-07-27 2020-03-10 Oppo广东移动通信有限公司 Wireless earphone volume control method, wireless earphone and mobile terminal
US11632621B2 (en) 2018-07-27 2023-04-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling volume of wireless headset, and computer-readable storage medium
CN109194808A (en) * 2018-09-14 2019-01-11 西安蜂语信息科技有限公司 Volume adjusting method and device
CN109194808B (en) * 2018-09-14 2021-07-02 西安蜂语信息科技有限公司 Volume adjusting method and device
CN109218504A (en) * 2018-09-30 2019-01-15 维沃移动通信有限公司 A kind of output method and terminal device of sound
CN109218504B (en) * 2018-09-30 2021-03-30 维沃移动通信有限公司 Sound output method and terminal equipment
CN109600703A (en) * 2018-12-27 2019-04-09 深圳市技湛科技有限公司 Sound reinforcement system and its public address method and computer readable storage medium
CN114564169A (en) * 2022-02-18 2022-05-31 北京达佳互联信息技术有限公司 Multimedia file playing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107613362A (en) A kind of video display control method and mobile terminal
CN107786751A (en) A kind of method for broadcasting multimedia file and mobile terminal
CN107608514A (en) Information processing method and mobile terminal
CN107682634A (en) A kind of facial image acquisition methods and mobile terminal
CN108108007A (en) A kind of processing method and mobile terminal for reducing power consumption
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN108492246A (en) A kind of image processing method, device and mobile terminal
CN107948874A (en) A kind of terminal control method, mobile terminal
CN107678829A (en) A kind of application control method and mobile terminal
CN107748640A (en) One kind puts out screen display methods and mobile terminal
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN107608606A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107888765A (en) A kind of method of handoff scenario pattern, mobile terminal
CN107843993A (en) A kind of control method and mobile terminal of display screen visible angle
CN107678672A (en) A kind of display processing method and mobile terminal
CN107734170A (en) A kind of notification message processing method, mobile terminal and wearable device
CN107707760A (en) A kind of sending out notice processing method and mobile terminal
CN109388223A (en) One kind putting out screen display method, apparatus and terminal
CN109192153A (en) A kind of terminal and terminal control method
CN108509141A (en) A kind of generation method and mobile terminal of control
CN107749306A (en) A kind of method and mobile terminal for vibrating optimization
CN109474747A (en) A kind of information cuing method and mobile terminal
CN109343811A (en) A kind of display adjusting method and terminal device
CN109462727A (en) A kind of filter method of adjustment and mobile terminal
CN107977947A (en) A kind of image processing method, mobile terminal

Legal Events

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

Application publication date: 20180309

RJ01 Rejection of invention patent application after publication