CN109739464A - Setting method, device, terminal and the storage medium of audio - Google Patents

Setting method, device, terminal and the storage medium of audio Download PDF

Info

Publication number
CN109739464A
CN109739464A CN201811564281.8A CN201811564281A CN109739464A CN 109739464 A CN109739464 A CN 109739464A CN 201811564281 A CN201811564281 A CN 201811564281A CN 109739464 A CN109739464 A CN 109739464A
Authority
CN
China
Prior art keywords
current scene
audio
playing device
scene image
image
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
CN201811564281.8A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811564281.8A priority Critical patent/CN109739464A/en
Publication of CN109739464A publication Critical patent/CN109739464A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present application discloses setting method, device, terminal and the storage medium of a kind of audio, this method comprises: obtaining current scene image;It identifies the current scene image, determines current scene;According to the current scene, audio mode corresponding with the current scene is set by audio.The embodiment of the present application can set the audio of terminal to audio mode corresponding with scene locating for user, without the audio of user's manual setting terminal, substantially increase the ease of use and usage experience of user.

Description

Setting method, device, terminal and the storage medium of audio
Technical field
This application involves Audiotechnica fields, and in particular to a kind of setting method of audio, device, terminal and storage are situated between Matter.
Background technique
With a large amount of popularization and applications of terminal, requirement of the user to terminal is higher and higher, therefore answering of can supporting of terminal With more and more, function is also stronger and stronger.Under different application scenarios, user can set terminal to different audios Mode.But current user needs the audio mode of manual setting terminal, inconvenient to use, experiences bad.
Summary of the invention
The embodiment of the present application provides setting method, device, terminal and the storage medium of a kind of audio, can be according to current Scene adjust automatically terminal audio mode, improve the ease of use and usage experience of user.
In a first aspect, the embodiment of the present application provides a kind of setting method of audio, comprising:
Obtain current scene image;
It identifies the current scene image, determines current scene;
According to the current scene, audio mode corresponding with the current scene is set by audio.
Second aspect, the embodiment of the present application provide a kind of setting device of audio, comprising:
Acquiring unit, for obtaining current scene image;
Recognition unit, the current scene image, determines current scene for identification;
Setting unit, for setting sound corresponding with the current scene for audio according to the current scene Effect mode.
The third aspect, the embodiment of the present application provide a kind of terminal, including memory, processor and are stored in described deposit In reservoir and the computer program that can run on the processor, the processor are realized when executing the computer program The step of stating any one method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence, when which is executed by processor the step of realization any of the above-described method.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect.The computer program product can be one A software installation packet.
As can be seen that the setting method of audio described in the embodiment of the present application, terminal obtain current scene image; It identifies current scene image, determines current scene;According to current scene, set corresponding with current scene for audio Audio mode, compared with prior art, the scheme of the embodiment of the present application can set the audio of terminal to locating for user The corresponding audio mode of scene improves the ease of use of user and makes without the audio of user's manual setting terminal With experience.
Detailed description of the invention
Fig. 1 is the flow diagram of the setting method of audio disclosed in the embodiment of the present application;
Fig. 2 is the flow diagram of the setting method of another kind audio disclosed in the embodiment of the present application;
Fig. 3 is the flow diagram of the setting method of another kind audio disclosed in the embodiment of the present application;
Fig. 4 is the flow diagram of the setting method of another kind audio disclosed in the embodiment of the present application;
Fig. 5 is a kind of structural schematic diagram of the setting device of audio disclosed in the embodiment of the present application;
Fig. 6 is a kind of structural schematic diagram of terminal disclosed in the embodiment of the present application;
Fig. 7 is the structural schematic diagram of another kind terminal disclosed in the embodiment of the present application.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further includes the steps that not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Terminal involved by the embodiment of the present application may include the various handheld devices with wireless communication function, vehicle-mounted Equipment, wearable device calculate equipment or are connected to other processing equipments and various forms of use of radio modem Family equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device), mobile phone, personal digital assistant (Personal Digital Assistant, PDA) etc..
It describes in detail below to the embodiment of the present application.
Referring to Fig. 1, Fig. 1 is the flow diagram of the setting method of audio disclosed in the embodiment of the present application, such as Fig. 1 institute Show, the setting method of the audio includes the following steps: step 101, obtains current scene image;Step 102, it identifies current Scene image determines current scene;Step 103, according to current scene, set corresponding with current scene for audio Audio mode.Lower mask body introduction step 101 is to step 103.
Step 101, current scene image is obtained.
In the embodiment of the present application, audio is for example understood that may also mean that increase for the effect as manufactured by sound It marches into the arena the sense of reality, atmosphere or the drama message in face, and is added on the noise on vocal cords or sound, for artificial manufacture or can also reinforce Sound, for enhancing the acoustic processing to the art or other content of film, electronic game, music or other media.Wherein Sound includes musical sound and effect sound.Audio for example may include digital audio, environmental sound, common audio and professional audio etc.. Wherein, digital audio mode for example may include classical music mode, pop music mode, jazz mode, rock music mode, General mode and automatic change pattern etc..
In order to which different experience is presented, user is in different scenes, needs to be arranged at the terminal different audio moulds Formula.For example, when playing audio file with the playing device of terminal, can choose pop music mode when user is in.For example, User needs for terminal to be adjusted to silent mode or vibration mode, watch movie so as not to bothering others in cinema;Sometimes it uses Family can also set the tinkle of bells of terminal to the tinkle of bells corresponding with cinema.
Optionally, in different scenes, the available current scene image of terminal obtains current scene element. The scene image of acquisition refers to the image for needing to carry out scene Recognition, has both included the image for only including single scene element, Including the image comprising multiple scene elements (two or more).The scene element in image includes screen under normal circumstances Curtain, seat, stage, musical instrument, cup, books, bookshelf, portrait, stage property, performer, spotlight, baby etc., but not limited to this.
Optionally, multiple available current scene images of terminal, according to the group of scene element in multiple scene images It closes, obtains the image-element of current scene.The different scene image of multiple for example available shooting angle of terminal, according to multiple Element in the different scene image of shooting angle, obtains the image-element of current scene.It had both included only in multiple scene images Image comprising single scene element also includes the image comprising multiple scene elements (two or more).Pass through acquisition The different scene image of multiple shooting angle, can obtain more scene informations, in subsequent steps can be more acurrate Determine the scene that user is currently located.
Step 102, it identifies current scene image, determines current scene.
In the embodiment of the present application, terminal can identify current scene image, according to the scene image element recognized, Determine the current scene where terminal.Such as when terminal recognition to current scene image in scene element include screen, row When arranging more close seat, it can determine that the current scene of user is cinema.When the current scene image that terminal recognition arrives Scene element when including stage, seat and musical instrument, can determine that current scene is music hall.When terminal recognition arrive it is current When the scene element of scene image includes stage, stage property and performer, it can determine that current scene is theatre.When terminal recognition arrives The scene element of current scene image when including the seat of scattered difference, people, cup in face of people, can determine and work as front court Scape is coffee-house.When terminal recognition to the scene element of current scene image include bookshelf, people, books in face of people when, It can determine that current scene is library.
Optionally, multiple available current scene images of terminal, by identifying multiple current scene images, according to The combination of scene element, determines current scene in multiple current scene images.For example, in multiple scene images of acquisition In, the scene element in the first image includes musical instrument and stage, and the scene element of the second image includes seat, according to the first image Combination with scene element in the second image can determine that current scene is music hall.By obtaining multiple current scene figures As determining that current scene can be improved the accuracy of determining current scene, because shoot Zhang Quanjing's image in practice not So simple, by obtaining the current scene image of multiple different angles, the current scene image of this multiple different angle need not It is panoramic picture, is easier to realize, and the more information about current scene can be obtained, improves determination and work as front court The accuracy of scape.
Optionally, terminal can use the classifier after training and carry out scene Recognition to current scene image, and determination is worked as Preceding scene.Classifier is to learn a classification function on the basis of data with existing or construct a disaggregated model, the letter Several or model can be mapped to the scene element in training sample some in given classification, current so as to be applied to The determination of scene.In some embodiments, classifier can be support vector machines (Support Vector Machine, SVM).
Optionally, it by carrying out scene Recognition to current scene image using the classifier after training, determines currently Before scene further include: using training sample training classifier, the classifier after being trained.
Optionally, training sample may include multiple and different training sample, and different training samples corresponds to acquisition Different scenes element and corresponding scene;Illustratively, if the first training sample includes multiple images shot in cinema And scene represented by each image, wherein scene represented by the first image is screen, scene represented by the second image For seat, the corresponding scene of screen and seat is determined according to scene represented by the first image, the second image and each image For cinema.
Optionally, the classifier after training can be neural network, by will be in training sample data input value classifier It is trained;Classifier can extract the scene element of training sample, since different scene elements corresponds to different scenes, institute Can determine current scene according to the scene element of the training sample of extraction.
After being trained by training sample data to classifier, obtained classifier can be to different current scene figures It as being identified, and determines current scene, the accuracy that current scene determines can be improved.
Optionally, optical character identification (Optical Character Recognition, OCR) side can be used in terminal Method identifies the text in current scene image, determines current scene.In the method, scene image can be scanned to examine Survey in current scene image it is all may the word frame containing text position, then can be by the content recognition in each word frame For text, and current scene is determined according to the text recognized.For example, detecting the text contained in current scene image Word is " Wiener Staatsoper ", can determine that current scene is theatre.The detection and identification, such as this field can be passed through Well known neural network classifier is realized.The recognition result may include the position of identified text and the text, Wherein the position of the text for example can be by the text in the two-dimensional coordinate system built in current scene image Coordinate indicate.The recognition result can also include the confidence level of identified text.Specifically, using OCR method from When identifying text in current scene image, the confidence level of the text identified can be according to the clarity of image and text The factors such as complexity, size, location and shape and change so that the confidence level of some texts is higher, for example, 80% or 100%, the confidence level of some texts is lower, such as 20% or 5%.It, can be simultaneously when identifying the text by OCR method It determines the confidence level of identified text, and is contained in recognition result.In this way, can be determined by the confidence level The accuracy that current scene determines can be improved in the accuracy of the text identified.
Optionally, terminal is according to the scene image recognized, determining current scene be it is multiple, at this time can be in end panel It is shown on curtain determining multiple as a result, user determines that current scene by terminals physical key or touch screen.For example, with Family in music hall, terminal recognition to current scene image include seat and stage, according to seat and stage, what is determined is current Scene is that perhaps music hall shows that current scene is the option of theatre or music hall to theatre on terminal display screen, is used It is music hall that family, which can choose current scene,.Therefore there is fault tolerant mechanism when terminal determines current scene, it is true to improve current scene Fixed accuracy.
Step 103, according to current scene, audio mode corresponding with current scene is set by audio.
In the embodiment of the present application, terminal can set audio to and current scene according to determining current scene Corresponding preset default mode.Such as the audio mode that cinema is defaulted in terminal can be classical music mode, work as determination When current scene is cinema, classical music mode is set by audio.
Optionally, terminal can set corresponding with current scene for audio and make by oneself according to determining current scene Adopted mode.Such as the customized audio mode of cinema can be pop music mode in terminal, when the current scene of determination is When cinema, pop music mode is set by audio.
Optionally, when terminal can not determine current scene according to current scene image, set default for audio Default mode or self-defined pattern.It can be common that the scene that can not be determined in terminal, which corresponds to preset default mode for example, Mode can not identify current scene image when the photo that terminal obtains since light is too dark, when can not determine current scene, General mode is set by audio.
Optionally, after audio is set audio mode corresponding with current scene by terminal, it is sent to display screen display Show, user can be allowed to be intuitive to see the corresponding audio mode of current scene.
The embodiment of the present application provides a kind of setting method of audio, by the technical solution of the embodiment of the present application, not Under same scene, the available current scene image of terminal determines current scene by the current scene image of identification, And audio mode corresponding with current scene is set by audio.Therefore the embodiment of the present application can determine current scene, And corresponding audio mode, compared with prior art, the embodiment of the present application are set for the audio of terminal according to current scene Scheme can set the audio of terminal to audio mode corresponding with scene locating for user, without user's manual setting terminal Audio, the step of reducing manual operation, improve the ease of use and usage experience of user.
Referring to Fig. 2, Fig. 2 is the flow diagram of the setting method of another kind audio disclosed in the embodiment of the present application, Fig. 2 It is to be advanced optimized on the basis of Fig. 1.As shown in Fig. 2, the setting method of the audio includes the following steps: step 201A receives the instruction of starting playing device;Step 201B starts playing device;Step 201C, when starting playing device, Current scene image is obtained by camera;Step 202, it identifies current scene image, determines current scene;Step 203, according to current scene, audio mode corresponding with current scene is set by audio.
The specific implementation of step 202 to step 203 in the embodiment of the present application may refer to step 102 shown in FIG. 1 to Step 103, details are not described herein again.Lower mask body introduction step 201A to 201C.
Step 201A receives the instruction of starting playing device.
In embodiments herein, the finger of user's input starting playing device by physical button or on the touchscreen After order, terminal receives the instruction of starting playing device.User can for example open click play device on terminal touch screen Dynamic key, terminal detect user's finger and touch screen contact position and playing device start button position consistency when, connect Receive the instruction of starting playing device.
Step 201B starts playing device.
In embodiments herein, after terminal receives the instruction of starting playing device, start playing device.
Step 201C obtains current scene image by camera when starting playing device.
In embodiments herein, terminal starts camera, obtains current scene while starting playing device Image.Wherein the type, quantity and model of the camera in terminal can be different, then terminal can be in conjunction with the endemic genus of camera Property for it distribute corresponding sub- focusing area, obtain different current scene images.Terminal camera for example can be two, two Imaging first for example can be wide-angle camera, another for example can be focal length camera, then can be wide-angle camera Sub- focusing area at distribution shooting vision periphery position, for the son focusing at focal length camera distribution shooting central region position Region obtains two different scene images of focusing area.Terminal camera for example can also be three, wherein two camera examples It such as can be rear camera, another for example can be front camera, then can obtain the scene figure of three different angles Picture.
The embodiment of the present application provides a kind of setting method of audio, by the technical solution of the embodiment of the present application, not Under same scene, terminal obtains current scene image by camera while starting playing device, and is worked as according to determination Audio is set audio mode corresponding with current scene by preceding scene.Therefore the embodiment of the present application can determine currently Scene, and corresponding audio mode is set for the audio of terminal according to current scene, compared with prior art, the application is real The scheme for applying example can set the audio of terminal to audio mode corresponding with scene locating for user, set manually without user The audio for setting terminal reduces starting playing device and obtains the time delay between current scene image, reduces manual operation The step of, the time of setting playing device audio is saved, the ease of use and usage experience of user are improved.
Referring to Fig. 3, Fig. 3 is the flow diagram of the setting method of another kind audio disclosed in the embodiment of the present application, Fig. 3 It is to be advanced optimized on the basis of Fig. 1.As shown in figure 3, the setting method of the audio includes the following steps: step 301A receives the instruction of starting playing device;Step 301B starts playing device;Whether step 301C, detection playing device open It is dynamic to finish;Step 301D obtains current scene image by camera when playing device starting is finished;Step 302, know Not current scene image determines current scene;Step 303, it according to current scene, sets audio to and current field The corresponding audio mode of scape.
The specific implementation of step 301A to step 302B in the embodiment of the present application may refer to step 201A shown in Fig. 2 To step 202B, the specific implementation of step 302 to step 303 in the embodiment of the present application may refer to step 102 shown in FIG. 1 To step 103, details are not described herein again.Lower mask body introduction step 301C to 301D.
Step 301C, whether detection playing device, which starts, finishes.
In embodiments herein, terminal starts detection device, detection device detection while starting playing device Whether playing device, which starts, finishes.Whether the starting time that detection device for example can detecte playing device is playing device starting The time finished is finished with this to determine whether playing device starts.Detection device can also for example detect opening for playing device All whether starting finishes dynamic process, is finished with this to determine whether playing device starts.
Step 301D obtains current scene image by camera when playing device starting is finished.
In embodiments herein, when the detection playing device starting of the detection device of terminal finishes, pass through camera Obtain current scene image.The starting time that detection device for example can detecte playing device is that playing device starting finishes Time when, current scene image is obtained by camera.Detection device, which can also for example be worked as, detects opening for playing device When dynamic process whole starting finishes, current scene image is obtained by camera.
The embodiment of the present application provides a kind of setting method of audio, by the technical solution of the embodiment of the present application, not Under same scene, terminal can obtain current scene image by camera, and according to true when playing device starts and finishes Audio is set audio mode corresponding with current scene by fixed current scene.Therefore the embodiment of the present application can determine Current scene, and corresponding audio mode, compared with prior art, this Shen are set for the audio of terminal according to current scene Please the scheme of embodiment can set the audio of terminal to audio mode corresponding with scene locating for user, without user hand The step of moving the audio that terminal is arranged, reducing manual operation saves the time of setting playing device audio, improves user Ease of use and usage experience.
Referring to Fig. 4, Fig. 4 is the flow diagram of the setting method of another kind audio disclosed in the embodiment of the present application, Fig. 4 It is to be advanced optimized on the basis of Fig. 1.As shown in figure 4, the setting method of the audio includes the following steps: step 401A receives the instruction of starting playing device;Step 401B starts playing device;Step 401C detects the starting of playing device Process;Step 401D obtains current scene image by camera when the starting of the core component of playing device is finished;Step Rapid 402, it identifies current scene image, determines current scene;Step 403, according to current scene, by audio be set as with The corresponding audio mode of current scene.
The specific implementation of step 401A to step 402B in the embodiment of the present application may refer to step 201A shown in Fig. 2 To step 202B, the specific implementation of step 402 to step 403 in the embodiment of the present application may refer to step 102 shown in FIG. 1 To step 103, details are not described herein again.Lower mask body introduction step 401C to 401D.
Step 401C detects the launching process of playing device.
In embodiments herein, terminal starts detection device, detection device detection while starting playing device Whether the core component of playing device, which starts, finishes.Whether the starting time that detection device for example can detecte playing device is to broadcast The core component for putting device starts the time finished, is finished with this to determine whether the core component of playing device starts.Detection Whether the launching process that device can also for example detect playing device, which all starts, finishes, and the core of playing device is determined with this Whether component, which starts, finishes.
Step 401D obtains current scene image by camera when the starting of the core component of playing device is finished.
In embodiments herein, when detection device detects that the core component starting of playing device finishes, by taking the photograph As head obtains current scene image.The starting time that detection device for example can detecte playing device is the core of playing device When heart component starts the time finished, current scene image is obtained by camera.Detection device can also for example detect When the process initiation of the core component of playing device finishes, current scene image is obtained by camera.
The embodiment of the present application provides a kind of setting method of audio, by the technical solution of the embodiment of the present application, not Under same scene, terminal can obtain current scene figure by camera when the core component of playing device starts and finishes Picture, and according to determining current scene, audio mode corresponding with current scene is set by audio, starting is reduced and plays Device and the time delay between current scene image is obtained, saves the time of setting playing device audio.
The embodiment of the present application can determine current scene, and set corresponding for the audio of terminal according to current scene Audio mode, compared with prior art, the scheme of the embodiment of the present application can set the audio of terminal to and scene locating for user Corresponding audio mode the step of reducing manual operation, improves user without the audio of user's manual setting terminal Ease of use and usage experience.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software module for terminal.This Field technical staff should be readily appreciated that, unit and algorithm described in conjunction with the examples disclosed in the embodiments of the present disclosure Step, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with hardware also It is the mode of computer software driving hardware to execute, the specific application and design constraint depending on technical solution.Profession Technical staff can specifically realize described function to each using distinct methods, but this realization should not be recognized It is beyond the scope of this invention.
The embodiment of the present application can carry out the division of functional unit according to above method example to terminal, for example, can be right The each functional unit of each function division is answered, two or more functions can also be integrated in a processing unit. Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs Illustrate, is schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical to realize When there may be another division manner.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of the setting device of audio disclosed in the embodiment of the present application.Such as Fig. 5 Shown, the setting device 50 of the audio includes acquiring unit 51, recognition unit 52 and setting unit 53, in which:
Acquiring unit 51, for obtaining current scene image.
Recognition unit 52, current scene image, determines current scene for identification.
Setting unit 53, for setting audio mode corresponding with current scene for audio according to current scene.
Optionally, the setting device 50 of the audio further includes receiving unit 54, for receiving the instruction of starting playing device.
Optionally, acquiring unit 51 are also used to obtain current scene figure by camera when starting playing device Picture.
Optionally, the setting device 50 of the audio further includes detection unit 55, for detecting whether playing device has started Finish;When playing device starting finishes, current scene image is obtained by camera.
Optionally, detection unit 55 are also used to detect the launching process of playing device;When the core component of playing device opens It is dynamic when finishing, current scene image is obtained by camera.
Optionally, the setting device 50 of the audio further includes training unit 56, for training classifier using training sample, Training sample includes scene represented by multiple images and each image;By the classification after current scene image input training Device;Scene Recognition is carried out to current scene image using the classifier after training, determines current scene.
Optionally, setting unit 53 are also used to when that can not determine current scene according to current scene image, by sound Effect is set as preset default mode or self-defined pattern.
Optionally, acquiring unit 51, after being also used to obtain multiple current scene images, recognition unit 52 identifies that multiple are worked as Preceding scene image determines current scene.
The embodiment of the present application provides a kind of setting device of audio, by the technical solution of the embodiment of the present application, not Under same scene, available current scene image determines current scene, and will by identifying current scene image Audio is set as audio mode corresponding with current scene.Therefore the embodiment of the present application can determine current scene, and root Corresponding audio mode, compared with prior art, the scheme of the embodiment of the present application are set by the audio of terminal according to current scene Audio mode corresponding with scene locating for user can be set by the audio of terminal, without the sound of user's manual setting terminal Effect, the step of reducing manual operation, save the time of setting playing device audio, improve user ease of use and Usage experience.
Referring to Fig. 6, Fig. 6 is a kind of structural schematic diagram of terminal disclosed in the embodiment of the present application.As shown in fig. 6, the end End 600 includes processor 601 and memory 602, wherein terminal 600 can also include bus 603, processor 601 and memory 602 can be connected with each other by bus 603, and bus 603 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..Bus 603 can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a line in expression, Fig. 6, it is not intended that an only bus or a type of bus.Wherein, terminal 600 can also include playing device 604, and playing device 604 may include display screen, such as liquid crystal display.Memory 602 is used In one or more programs of the storage comprising instruction;Processor 601 is used to call the instruction execution of storage in the memory 602 Some or all of state in Fig. 1 to Fig. 4 method and step.
The embodiment of the present application provides a kind of terminal, by the technical solution of the embodiment of the present application, under different scenes, The available current scene image of terminal determines current scene, and audio is arranged by identifying current scene image For audio mode corresponding with current scene.Therefore the embodiment of the present application terminal can determine current scene, and according to working as The audio of terminal is set corresponding audio mode by preceding scene, and compared with prior art, the scheme of the embodiment of the present application can incite somebody to action The audio of terminal is set as audio mode corresponding with scene locating for user, without the audio of user's manual setting terminal, The step of reducing manual operation, saves the time of setting playing device audio, improves the ease of use of user and makes With experience.
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of another kind terminal disclosed in the embodiment of the present application, for ease of description, Part relevant to the embodiment of the present application is illustrated only, it is disclosed by specific technical details, please refer to the embodiment of the present application method Part.Terminal involved by the embodiment of the present application may include the various handheld devices with wireless communication function, vehicle-mounted set Standby, wearable device, calculate equipment or be connected to radio modem other processing equipments and various forms of users Equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device), Mobile phone, personal digital assistant (Personal Digital Assistant, PDA) etc., but not limited to this.
It takes the mobile phone as an example and is introduced below:
Fig. 7 shows the block diagram of the part-structure of mobile phone relevant to terminal provided by the embodiments of the present application.With reference to figure 7, mobile phone include: radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display unit 740, Sensor 750, voicefrequency circuit 760, Wireless Fidelity (Wireless Fidelity, WiFi) module 770, processor 780 and The components such as power supply 790.It will be understood by those skilled in the art that handset structure shown in Fig. 7 does not constitute the restriction to mobile phone, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 7 to mobile phone:
RF circuit 710 can be used for sending and receiving for information.In general, RF circuit 710 includes but is not limited to antenna, at least one A amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 710 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more Location (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 720 can be used for storing software program and module, and processor 780 is stored in memory 720 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 720 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence etc.;Storage data area, which can be stored, uses created data etc. according to mobile phone.In addition, memory 720 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input unit 730 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 730 may include fingerprint recognition mould group 731 and other are defeated Enter equipment 732.Fingerprint recognition mould group 731, input unit 730 can also include other input equipments 732.Specifically, other are defeated Enter equipment 732 can include but is not limited to touch screen, physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 740 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 740 may include display screen 741, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as organic or inorganic light emitting diode (Organic Light-Emitting Diode, OLED) come Configure display screen 741.
Mobile phone may also include at least one sensor 750, such as optical sensor, motion sensor, pressure sensor, temperature Sensor and other sensors.Specifically, optical sensor may include ambient light sensor (also referred to as light sensor) and connect Nearly sensor, wherein ambient light sensor can adjust the backlight illumination of mobile phone according to the light and shade of ambient light, and then adjust aobvious The brightness of display screen 741, proximity sensor can close display screen 741 and/or backlight when mobile phone is moved in one's ear.As movement One kind of sensor, accelerometer sensor can detect the size of (generally three axis) acceleration in all directions, static Shi Kejian Size and the direction for measuring gravity, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Gyroscope, barometer, the hygrometer, temperature that can also configure as mobile phone The other sensors such as meter, infrared sensor are spent, details are not described herein.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 761, be converted to sound by loudspeaker 761 by road 760 Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, is turned after being received by voicefrequency circuit 760 It is changed to audio data, then by after the processing of audio data playback process device 780, such as another mobile phone is sent to through RF circuit 710, Or audio data is played to memory 720 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 770 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 is shown WiFi module 770, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 780 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 720, and call and be stored in memory 720 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 780 can wrap Include one or more processing units;Preferably, processor 780 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 780.
Mobile phone further includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 780 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Mobile phone can also include camera 7100, and camera 7100 is for shooting image and video, and by the image of shooting It is handled with transmission of video to processor 780.
Mobile phone can also be including bluetooth module etc., and details are not described herein.
In earlier figures 1~embodiment shown in Fig. 4, each step method process can be realized based on the structure of the mobile phone.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, which is located Manage the step of realizing the above method when device executes.Wherein, computer readable storage medium can include but is not limited to any type Disk, including floppy disk, CD, DVD, CD-ROM, mini drive and magneto-optic disk, ROM, RAM, EPROM, EEPROM, DRAM, VRAM, flash memory device, magnetic or optical card, nanosystems (including molecular memory IC), or be suitable for store instruction and/ Or any kind of medium or equipment of data.
The embodiment of the present application also provides a kind of computer program product, which includes storing computer The non-transient computer readable storage medium of program, the computer program are operable to execute computer as the above method is real Apply some or all of any virtual objects location recognition method recorded in example step.
Those skilled in the art can be understood that the technical solution of the application can be come by software and/or hardware It realizes." unit " and " module " in this specification refers to complete independently or cooperates with other component complete specific function Software and/or hardware, wherein hardware for example can be field programmable gate array (Field-ProgrammaBLE Gate Array, FPGA), integrated circuit (Integrated Circuit, IC) etc..
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (Read-Only Memory, ROM), random access memory The various media that can store program code such as (Random Access Memory, RAM), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory It may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of setting method of audio characterized by comprising
Obtain current scene image;
It identifies the current scene image, determines current scene;
According to the current scene, audio mode corresponding with the current scene is set by audio.
2. the setting method of audio according to claim 1, which is characterized in that described to obtain current scene image and include:
Receive the instruction of starting playing device;
Start the playing device;
When starting the playing device, current scene image is obtained by camera.
3. the setting method of audio according to claim 1, which is characterized in that described to obtain current scene image and include:
Receive the instruction of starting playing device;
Start the playing device;
It detects the playing device and whether starts and finish;
When playing device starting finishes, current scene image is obtained by camera.
4. the setting method of audio according to claim 1, which is characterized in that described to obtain current scene image and include:
Receive the instruction of starting playing device;
Start the playing device;
Detect the launching process of the playing device;
When the starting of the core component of the playing device finishes, current scene image is obtained by camera.
5. the setting method of audio described in any one of -4 according to claim 1, which is characterized in that the identification is described current Scene image determines that current scene includes:
Using training sample training classifier, the training sample includes scene represented by multiple images and each image;
By the classifier after the current scene image input training;
Scene Recognition is carried out to the current scene image using the classifier after training, determines current scene.
6. the setting method of audio described in any one of -4 according to claim 1, which is characterized in that further include:
When that can not determine current scene according to the current scene image, by audio be set as preset default mode or Person's self-defined pattern.
7. the setting method of audio described in any one of -4 according to claim 1, which is characterized in that described to obtain current scene Image includes:
Multiple current scene images are obtained, the shooting angle of multiple current scene images is different;
The identification current scene image, determines that current scene includes:
It identifies multiple described current scene images, determines current scene.
8. a kind of setting device of audio characterized by comprising
Acquiring unit, for obtaining current scene image;
Recognition unit, the current scene image, determines current scene for identification;
Setting unit, for setting audio mould corresponding with the current scene for audio according to the current scene Formula.
9. a kind of terminal, including memory, processor and storage can be run in the memory and on the processor Computer program, which is characterized in that the processor is realized in the claims 1-7 when executing the computer program appoints The step of one the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step of any one of the claims 1-7 the method is realized when execution.
CN201811564281.8A 2018-12-20 2018-12-20 Setting method, device, terminal and the storage medium of audio Pending CN109739464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811564281.8A CN109739464A (en) 2018-12-20 2018-12-20 Setting method, device, terminal and the storage medium of audio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811564281.8A CN109739464A (en) 2018-12-20 2018-12-20 Setting method, device, terminal and the storage medium of audio

Publications (1)

Publication Number Publication Date
CN109739464A true CN109739464A (en) 2019-05-10

Family

ID=66360846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811564281.8A Pending CN109739464A (en) 2018-12-20 2018-12-20 Setting method, device, terminal and the storage medium of audio

Country Status (1)

Country Link
CN (1) CN109739464A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110395203A (en) * 2019-07-25 2019-11-01 广州小鹏汽车科技有限公司 Control method, system and the vehicle of vehicle audio playback equipment
CN111142838A (en) * 2019-12-30 2020-05-12 广州酷狗计算机科技有限公司 Audio playing method and device, computer equipment and storage medium
CN113810614A (en) * 2021-09-22 2021-12-17 广东小天才科技有限公司 Video recording method and device and wearable device
CN114443886A (en) * 2022-04-06 2022-05-06 南昌航天广信科技有限责任公司 Sound effect adjusting method and system of broadcast sound box, computer and readable storage medium
CN114917585A (en) * 2022-06-24 2022-08-19 四川省商投信息技术有限责任公司 Sound effect generation method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469670A (en) * 2014-10-22 2015-03-25 广东小天才科技有限公司 Method for switching sound effect mode based on position of mobile terminal and mobile terminal
CN104506586A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Intelligent earphone system capable of regulating volume by gesture and regulation method
CN105244048A (en) * 2015-09-25 2016-01-13 小米科技有限责任公司 Audio play control method and apparatus
CN105357392A (en) * 2015-11-24 2016-02-24 上海斐讯数据通信技术有限公司 Mobile phone, and mobile phone calls reminding method and apparatus
CN106375590A (en) * 2016-09-28 2017-02-01 珠海格力电器股份有限公司 Volume adjustment method and device for smart terminal
CN106464939A (en) * 2016-07-28 2017-02-22 北京小米移动软件有限公司 Method and device for playing sound effect

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469670A (en) * 2014-10-22 2015-03-25 广东小天才科技有限公司 Method for switching sound effect mode based on position of mobile terminal and mobile terminal
CN104506586A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Intelligent earphone system capable of regulating volume by gesture and regulation method
CN105244048A (en) * 2015-09-25 2016-01-13 小米科技有限责任公司 Audio play control method and apparatus
CN105357392A (en) * 2015-11-24 2016-02-24 上海斐讯数据通信技术有限公司 Mobile phone, and mobile phone calls reminding method and apparatus
CN106464939A (en) * 2016-07-28 2017-02-22 北京小米移动软件有限公司 Method and device for playing sound effect
CN106375590A (en) * 2016-09-28 2017-02-01 珠海格力电器股份有限公司 Volume adjustment method and device for smart terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110395203A (en) * 2019-07-25 2019-11-01 广州小鹏汽车科技有限公司 Control method, system and the vehicle of vehicle audio playback equipment
CN111142838A (en) * 2019-12-30 2020-05-12 广州酷狗计算机科技有限公司 Audio playing method and device, computer equipment and storage medium
CN111142838B (en) * 2019-12-30 2023-08-11 广州酷狗计算机科技有限公司 Audio playing method, device, computer equipment and storage medium
CN113810614A (en) * 2021-09-22 2021-12-17 广东小天才科技有限公司 Video recording method and device and wearable device
CN114443886A (en) * 2022-04-06 2022-05-06 南昌航天广信科技有限责任公司 Sound effect adjusting method and system of broadcast sound box, computer and readable storage medium
CN114917585A (en) * 2022-06-24 2022-08-19 四川省商投信息技术有限责任公司 Sound effect generation method and system

Similar Documents

Publication Publication Date Title
CN108629747B (en) Image enhancement method and device, electronic equipment and storage medium
CN109739464A (en) Setting method, device, terminal and the storage medium of audio
CN109151593B (en) Anchor recommendation method, device and storage medium
CN110225252A (en) Camera control method and Related product
CN106775562A (en) The method and device of audio frequency parameter treatment
CN110248254A (en) Display control method and Related product
CN110740262A (en) Background music adding method and device and electronic equipment
CN110322760B (en) Voice data generation method, device, terminal and storage medium
CN109413563A (en) The sound effect treatment method and Related product of video
CN108646907A (en) Back light brightness regulating method and Related product
CN111742539B (en) Voice control command generation method and terminal
CN109660911A (en) Recording sound effect treatment method, device, mobile terminal and storage medium
CN110209245A (en) Face identification method and Related product
CN108055490A (en) A kind of method for processing video frequency, device, mobile terminal and storage medium
CN108418916A (en) Image capturing method, mobile terminal based on double-sided screen and readable storage medium storing program for executing
CN108574778A (en) Throw screen brightness adjusting method and Related product
CN108279948A (en) A kind of application program launching method and mobile terminal
CN108122528A (en) Display control method and related product
CN110245601A (en) Eyeball tracking method and Related product
CN109947248A (en) Vibration control method, mobile terminal and computer readable storage medium
CN107241552A (en) A kind of image acquiring method, device, storage medium and terminal
CN108462826A (en) A kind of method and mobile terminal of auxiliary photo-taking
CN107730433A (en) One kind shooting processing method, terminal and computer-readable recording medium
CN110430475A (en) A kind of interactive approach and relevant apparatus
CN108650466A (en) The method and electronic equipment of photo tolerance are promoted when a kind of strong light or reversible-light shooting portrait

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: 20190510

RJ01 Rejection of invention patent application after publication