CN108196820B - Method and apparatus for adjusting play parameter - Google Patents

Method and apparatus for adjusting play parameter Download PDF

Info

Publication number
CN108196820B
CN108196820B CN201810097366.3A CN201810097366A CN108196820B CN 108196820 B CN108196820 B CN 108196820B CN 201810097366 A CN201810097366 A CN 201810097366A CN 108196820 B CN108196820 B CN 108196820B
Authority
CN
China
Prior art keywords
scene
history
play parameter
information
currently playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810097366.3A
Other languages
Chinese (zh)
Other versions
CN108196820A (en
Inventor
王涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810097366.3A priority Critical patent/CN108196820B/en
Publication of CN108196820A publication Critical patent/CN108196820A/en
Application granted granted Critical
Publication of CN108196820B publication Critical patent/CN108196820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • G11B20/10018Improvement or modification of read or write signals analog processing for digital recording or reproduction
    • G11B20/10027Improvement or modification of read or write signals analog processing for digital recording or reproduction adjusting the signal strength during recording or reproduction, e.g. variable gain amplifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses the method and apparatus for adjusting play parameter.One specific embodiment of this method includes: to adjust request in response to receiving play parameter, obtains the scene information of currently playing scene;It determines in history play parameter set with the presence or absence of history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene, wherein the history play parameter set includes at least one set of history play parameter corresponding with historic scenery information;There is history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene in history play parameter set in response to determining, from the history play parameter set, history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene is obtained;Based on acquired history play parameter, the target play parameter of currently playing scene is determined.The embodiment of the present application realizes adjusts play parameter more accurately.

Description

Method and apparatus for adjusting play parameter
Technical field
The invention relates to field of computer technology, and in particular to voice technology field is more particularly, to adjusted The method and apparatus of play parameter.
Background technique
With the development of intelligence science and technology, the terminal devices such as speaker can carry out the broadcasting of audio in various intelligent modes. In order to reach better result of broadcast, the adjusting of parameter can be played out when audio plays.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for adjusting play parameter.
In a first aspect, the embodiment of the present application provides a kind of method for adjusting play parameter, comprising: in response to receiving It adjusts and requests to play parameter, obtain the scene information of currently playing scene;Determining whether there is in history play parameter set History play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene, wherein history plays ginseng It includes at least one set of history play parameter corresponding with historic scenery information that manifold, which is closed,;In response to determining history play parameter set It is middle to there is history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene, it is played from history In parameter sets, history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene is obtained; Based on acquired history play parameter, the target play parameter of currently playing scene is determined.
In some embodiments, it includes that broadcast sound volume adjusts request that play parameter, which adjusts request, and history play parameter includes History playing duration and history broadcast sound volume;Based on acquired history play parameter, determine that the target of currently playing scene is broadcast Put parameter, comprising: broadcast at least one set of history corresponding with the matched historic scenery information of the scene information of currently playing scene It puts and finds out longest one group of history playing duration in parameter;According in the longest one group of history play parameter of history playing duration History broadcast sound volume determine the target broadcast sound volume of currently playing scene.
In some embodiments, this method further include: obtain the currently playing volume of currently playing scene;And according to going through History broadcast sound volume in the longest one group of history play parameter of history playing duration determines that the target of currently playing scene plays sound Amount, comprising: parsing broadcast sound volume adjusts request to determine the first volume adjustment direction;It determines currently playing volume adjustment to going through Second volume adjustment direction of the history broadcast sound volume in the longest one group of history play parameter of history playing duration;Determine the first sound Amount adjusts direction and whether the second volume adjustment direction is consistent;If the first volume adjustment direction and the second volume adjustment direction one It causes, the history broadcast sound volume in the longest one group of history play parameter of history playing duration is determined as to the mesh of currently playing scene Mark broadcast sound volume;If the first volume adjustment direction and the second volume adjustment direction are inconsistent, the user into current scene is sent The instruction for inquiring volume, the target broadcast sound volume of currently playing scene is determined with the volume parameters indicated according to user, or will work as The broadcast sound volume that preceding broadcast sound volume adjusts after presetting decibel value is determined as target broadcast sound volume.
In some embodiments, this method further include: do not deposited in response to determining in the history play parameter set obtained In history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene, determines that user issues and broadcast Put speaking volume when parameter regulation request;In at least two history broadcast sound volumes in history play parameter set, determine The immediate history broadcast sound volume of speaking volume when play parameter adjusts request is issued with user, broadcasting ginseng will be issued with user The immediate history broadcast sound volume of speaking volume when number adjusts request is determined as the target broadcast sound volume of currently playing scene.
In some embodiments, scene information includes temporal information and environmental information;Believe with the scene of currently playing scene Cease matched historic scenery information include: with the matched historical time information of the temporal information of currently playing scene and/or with work as The preceding matched history environment information of environmental information for playing scene.
In some embodiments, environmental information includes at least one of below: temperature data, humidity data, in scene Number, light intensity data;Obtain the scene information of currently playing scene, comprising: the temporal information of currently playing scene is obtained, It is and at least one of following: to obtain the temperature data of the current scene of temperature-detecting device acquisition;Humidity detector is obtained to adopt The humidity data of the current scene of collection;Obtain the light intensity data of the current scene of light intensity test device acquisition;Obtain image The image of the current scene of acquisition device acquisition, the quantity of the people in detection image, the people quantity of people being determined as in scene Number;The audio-frequency information in current scene is obtained, identification issues the quantity of the user object of audio-frequency information to determine the people in scene Number.
Second aspect, the embodiment of the present application provide a kind of for adjusting the device of play parameter, comprising: receiving unit, It is configured to adjust request in response to receiving play parameter, obtains the scene information of currently playing scene;Matching unit, configuration For determining in history play parameter set with the presence or absence of the matched historic scenery information of scene information with currently playing scene Corresponding history play parameter, wherein history play parameter set includes at least one set of history corresponding with historic scenery information Play parameter;First acquisition unit is configured to exist and currently playing scene in response to determining in history play parameter set The corresponding history play parameter of the matched historic scenery information of scene information obtain and work as from history play parameter set The preceding corresponding history play parameter of the matched historic scenery information of scene information for playing scene;First determination unit, configuration are used In based on acquired history play parameter, the target play parameter of currently playing scene is determined.
In some embodiments, it includes that broadcast sound volume adjusts request that play parameter, which adjusts request, and history play parameter includes History playing duration and history broadcast sound volume;Determination unit is used for based on acquired history play parameter, as follows Determine the target play parameter of currently playing scene: with the matched historic scenery information pair of the scene information of currently playing scene Longest one group of history playing duration is found out in at least one set of history play parameter answered;It is longest according to history playing duration History broadcast sound volume in one group of history play parameter determines the target broadcast sound volume of currently playing scene.
In some embodiments, device further include: second acquisition unit is configured to obtain working as currently playing scene Preceding broadcast sound volume;And determination unit is further configured to determine that the target of currently playing scene plays sound as follows Amount: parsing broadcast sound volume adjusts request to determine the first volume adjustment direction;Currently playing volume adjustment to history is broadcast in determination Put the second volume adjustment direction of the history broadcast sound volume in the longest one group of history play parameter of duration;Determine the first volume tune It saves direction and whether the second volume adjustment direction is consistent;It, will if the first volume adjustment direction is consistent with the second volume adjustment direction The target that history broadcast sound volume in the longest one group of history play parameter of history playing duration is determined as currently playing scene is broadcast Playback amount;If the first volume adjustment direction and the second volume adjustment direction are inconsistent, user's inquiry into current scene is sent The instruction of volume determines that the target broadcast sound volume of currently playing scene or determination will work as with the volume parameters indicated according to user It is target broadcast sound volume that preceding broadcast sound volume, which adjusts the broadcast sound volume after presetting decibel value,.
In some embodiments, device further include: the second determination unit is configured in response to determining that is obtained goes through It is broadcast in history play parameter set there is no history corresponding with the matched historic scenery information of the scene information of currently playing scene Parameter is put, determines that user issues speaking volume when play parameter adjusts request;Third determination unit is configured to broadcast in history It puts at least two history broadcast sound volumes in parameter sets, the determining sound of speaking issued with user when play parameter adjusts request Immediate history broadcast sound volume is measured, is broadcast the immediate history of speaking volume that play parameter is adjusted when requesting is issued with user Playback amount is determined as the target broadcast sound volume of currently playing scene.
In some embodiments, scene information includes temporal information and environmental information;Believe with the scene of currently playing scene Cease matched historic scenery information include: with the matched historical time information of the temporal information of currently playing scene and/or with work as The preceding matched history environment information of environmental information for playing scene.
In some embodiments, environmental information includes at least one of below: temperature data, humidity data, in scene Number, light intensity data;Receiving unit is further configured to obtain the scene letter of currently playing scene as follows Breath: the temporal information of currently playing scene is obtained, and at least one of following: obtains the current scene of temperature-detecting device acquisition Temperature data;Obtain the humidity data of the current scene of humidity detector acquisition;Obtain working as light intensity test device acquisition The light intensity data of preceding scene;Obtain the image of the current scene of image acquisition device, the number of the people in detection image Amount, the number quantity of people being determined as in scene;The audio-frequency information in current scene is obtained, identification issues the use of audio-frequency information The quantity of family object is to determine the number in scene.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Storage dress It sets, for storing one or more programs, when one or more programs are executed by one or more processors, so that one or more A processor realizes the method such as any embodiment in the method for adjusting play parameter.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the method such as any embodiment in the method for adjusting play parameter when the program is executed by processor.
Method and apparatus provided by the embodiments of the present application for adjusting play parameter, by playing ginseng in response to receiving Number adjusts request, obtains the scene information of currently playing scene.Later, determining whether there is and is worked as in history play parameter set The preceding corresponding history play parameter of the matched historic scenery information of scene information for playing scene, wherein history play parameter collection Closing includes at least one set of history play parameter corresponding with historic scenery information.Then, in response to determining history play parameter collection There is history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene in conjunction, is broadcast from history It puts in parameter sets, obtains history corresponding with the matched historic scenery information of the scene information of currently playing scene and play ginseng Number.Finally, the target play parameter of currently playing scene is determined based on acquired history play parameter, thus more accurate Ground determines target play parameter, realizes and adjusts play parameter more accurately.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the method for adjusting play parameter of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for adjusting play parameter of the application;
Fig. 4 is the flow chart according to another embodiment of the method for adjusting play parameter of the application;
Fig. 5 is the flow chart according to another embodiment of the method for adjusting play parameter of the application;
Fig. 6 is the structural schematic diagram according to one embodiment of the device for adjusting play parameter of the application;
Fig. 7 is adapted for the structural schematic diagram for the computer system for realizing the electronic equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can the method for adjusting play parameter using the application or the dress for adjusting play parameter The exemplary system architecture 100 for the embodiment set.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications can be installed on terminal device 101,102,103, for example, audio play application, Shopping class application, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be support audio play and communication connection various electronic equipments, including but It is not limited to intelligent sound box, smart television, smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as to playing on terminal device 101,102,103 Audio provides the background server supported.Background server can adjust request and scene information etc. to the play parameter received Data carry out the processing such as analyzing, and processing result (such as target play parameter) is fed back to terminal device.
It should be noted that can be by terminal device for adjusting the method for play parameter provided by the embodiment of the present application 101,102,103 or server 105 execute, correspondingly, the device for adjusting play parameter can be set in terminal device 101,102,103 or server 105 in.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the stream of one embodiment of the method for adjusting play parameter according to the application is shown Journey 200.The method for being used to adjust play parameter, comprising the following steps:
Step 201, request is adjusted in response to receiving play parameter, obtains the scene information of currently playing scene.
In the present embodiment, it is (such as shown in FIG. 1 to run electronic equipment thereon for the method for adjusting play parameter Server) it can be in the play parameter for receiving other electronic equipments (such as terminal device shown in FIG. 1) or user's sending After adjusting request, responds: obtaining the scene information of currently playing scene.It is request to broadcasting that play parameter, which adjusts request, The information that parameter is adjusted.Specifically, play parameter, which adjusts request, can be the information that user issues to terminal device, can also To be information that terminal device is issued to server.Play field locating for the scene and playback equipment that scene is audio broadcasting Scape.The scene information of broadcasting scene is the various information to describe broadcasting scene, for example, time, temperature etc..
In practice, obtaining scene information can be executed by terminal device, can also be executed by server.Specifically, field Scape information can initiatively be acquired by above-mentioned electronic equipment, can also be obtained by connecting with the sensor in scene.
In some optional implementations of the present embodiment, scene information may include temporal information and environmental information; Environmental information includes at least one of below: temperature data, humidity data, the number in scene, light intensity data;
The scene information for obtaining currently playing scene, may include obtain the temporal information of currently playing scene, and with It is at least one of lower: to obtain the temperature data of the current scene of temperature-detecting device acquisition;Obtain working as humidity detector acquisition The humidity data of preceding scene;Obtain the light intensity data of the current scene of light intensity test device acquisition;Obtain image collector Set the image of the current scene of acquisition, the quantity of the people in detection image, the number quantity of people being determined as in scene;It obtains Audio-frequency information in current scene, identification issue the quantity of the user object of audio-frequency information to determine the number in scene.
In the present embodiment, environmental information here can be the information for the environment that reflection plays in scene.For example, warm Degree, humidity etc..The electronic equipment that method for adjusting play parameter is run thereon can be set receiving other electronics It after the play parameter that standby or user issues adjusts request, responds: obtaining the temporal information of currently playing scene, obtain At least one environmental information.Herein, temporal information can indicate a moment, can also indicate a period.For example, can To be 8:00, it is also possible to 8:00-9:30.Light intensity may include intensity of light, can also include indoor Natural light intensity Degree.
Above-mentioned electronic equipment obtains the image of the current scene of image acquisition device, the number of the people in detection image Amount, the number quantity of people being determined as in scene.The quantity of the people in image can be determined by Face datection, i.e., it will inspection Quantity of the quantity of the face measured as people.In addition, the above-mentioned electronic equipment also audio-frequency information in available current scene, Later, identification issues the corresponding quantity of user of audio-frequency information, to determine the number in scene.Audio-frequency information in current scene It can be the various sound in scene.Above-mentioned electronic equipment can be detected in scene by detecting to audio-frequency information Number.Specifically, tone and/or the volume etc. of audio-frequency information be can detecte.
It should be noted that above-mentioned each device can be set on playback equipment, being also possible to set independently of broadcasting Device standby and with playback equipment communication connection.
Step 202, it determines in history play parameter set with the presence or absence of matched with the scene information of currently playing scene The corresponding history play parameter of historic scenery information.
In the present embodiment, above-mentioned electronic equipment can determine in history play parameter set and believe with the presence or absence of historic scenery Cease corresponding history play parameter.Wherein, history play parameter set includes at least one set of corresponding with historic scenery information goes through History play parameter.History play parameter set can be prestored in the local of above-mentioned electronic equipment, be stored in and above-mentioned electricity Other electronic equipments of sub- equipment communication connection.
Used parameter when play parameter plays out for playback equipment.For example, play parameter can be the sound of broadcasting Amount, duration, language, tone, speed etc..In practice, history play parameter is frequently not single, but it is more than two at Existing for group.For example, one group of history play parameter may include volume and tone.
It may include a variety of situations that the scene information and historic scenery information of currently playing scene, which match,.If currently playing The scene information of scene is consistent with historic scenery information, then can determine that the two matches.If historic scenery information includes current The scene information of scene is played, such as ", 22 DEG C of temperature, number 3 " includes the field of currently playing scene to historic scenery information at 21 points Scape information " 21 points, 22 DEG C of temperature " can also determine that the two matches.In addition, currently playing scene scene information and go through In the case that history scene information includes the numerical value of instruction scene characteristic, if indicating that currently playing scene obtains the numerical value of scene characteristic Difference with the numerical information of the scene characteristic of knowledge historic scenery can also determine the two phase within preset difference value threshold value Match.
History play parameter set can be the set for including multiple groups history play parameter.Every group of history play parameter has Corresponding historic scenery information.Every group of history play parameter can be the historic scenery indicated by corresponding historic scenery information Play parameter when middle progress audio broadcasting.Herein, the history play parameter in history play parameter set can be with history Scene information associated storage, in this way, can be according to historic scenery information searching to corresponding history play parameter
In specific application scenarios, the scene information of current scene can be 21:00, and the temperature for playing scene is 23 DEG C, humidity 30%, the number in scene is 3.Matched historic scenery information can be in some day last Dec In 20:00-22:00 this period, the temperature for playing scene is 23 DEG C, humidity 30%.Matched historic scenery information It can also be the 21:00 in some day January the year before last, the temperature for playing scene is 22 DEG C, and the number in scene is 3.With above-mentioned two It is 50 decibels that the corresponding history play parameter of a historic scenery information, which can be broadcast sound volume, and playing language form is Chinese.
Step 203, it is matched in response to determining to exist in history play parameter set with the scene information of currently playing scene The corresponding history play parameter of historic scenery information obtained and the field of currently playing scene from history play parameter set The corresponding history play parameter of the historic scenery information of scape information matches.
In the present embodiment, above-mentioned electronic equipment exists and currently playing scene in determining history play parameter set It after the corresponding history play parameter of the matched historic scenery information of scene information, then can respond: play and join from history During manifold is closed, history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene is obtained.Tool Body, it can find in set and be played with history corresponding to the matched historic scenery information of the scene information of current scene Parameter.It should be noted that can have with the current matched historic scenery information of scene information one or more of.Also, History play parameter corresponding to historic scenery information also may include one or more parameters.So above-mentioned electronic equipment obtains The history play parameter got can be one group, be also possible to multiple groups.
Step 204, based on acquired history play parameter, the target play parameter of currently playing scene is determined.
In the present embodiment, above-mentioned electronic equipment determines currently playing scene based on acquired history play parameter Target play parameter.Here history play parameter is the matched historic scenery information pair of scene information with currently playing scene The history play parameter answered.Target play parameter is the play parameter that the playback equipment in scene will use.Playback equipment Play parameter then realizes the adjusting of play parameter from currently playing parameter regulation to target play parameter.
Specifically, if above-mentioned electronic equipment obtains one group of history play parameter, above-mentioned electronic equipment can be incited somebody to action History play parameter is determined as target play parameter.If above-mentioned electronic equipment obtains history play parameter more than two, Can will wherein one group of history play parameter as target play parameter;It can also be to one in acquired history play parameter Group or history play parameter more than two are handled to obtain target play parameter.For example, history can be broadcast Parameter input preset formula is put to obtain target play parameter, for example, history play parameter can be multiplied with predetermined coefficient, is obtained To target play parameter.
It is one of the application scenarios of the method according to the present embodiment for adjusting play parameter with continued reference to Fig. 3, Fig. 3 Schematic diagram.In the application scenarios of Fig. 3, request is adjusted in response to receiving play parameter, electronic equipment 301 is set from other electronics Standby 302 obtain the scene information 303 of currently playing scene.Determining in history play parameter set whether there is and currently playing field The corresponding history play parameter 304 of the matched historic scenery information of scene information 303 of scape, wherein history play parameter set Including at least one set of history play parameter corresponding with historic scenery information.Exist in response to determining in history play parameter set History play parameter 304 corresponding with the matched historic scenery information of the scene information of currently playing scene plays from history and joins During manifold is closed, history play parameter 304 corresponding with the matched historic scenery information of the scene information of currently playing scene is obtained; Based on acquired history play parameter 304, the target play parameter 305 of currently playing scene is determined.
The method provided by the above embodiment of the application avoids the multiple interactive process with user, more accurately determines Target play parameter out realizes and adjusts play parameter more accurately.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of the method for adjusting play parameter. This is used to adjust the process 400 of the method for play parameter, comprising the following steps:
Step 401, request is adjusted in response to receiving play parameter, obtains the scene information of currently playing scene.
In the present embodiment, it is (such as shown in FIG. 1 to run electronic equipment thereon for the method for adjusting play parameter Server) it can be in the play parameter for receiving other electronic equipments (such as terminal device shown in FIG. 1) or user's sending After adjusting request, responds: obtaining the scene information of currently playing scene.It is request to broadcasting that play parameter, which adjusts request, The information that parameter is adjusted.Specifically, play parameter, which adjusts request, can be the information that user issues to terminal device, can also To be information that terminal device is issued to server.Play field locating for the scene and playback equipment that scene is audio broadcasting Scape.The scene information of broadcasting scene is the various information to describe broadcasting scene, for example, time, temperature etc..
In the present embodiment, play parameter, which adjusts request, can specifically include broadcast sound volume adjusting request.
In practice, obtaining scene information can be executed by terminal device, can also be executed by server.Specifically, field Scape information can initiatively be acquired by above-mentioned electronic equipment, can also be obtained by connecting with the sensor in scene.
Step 402, it determines in history play parameter set with the presence or absence of matched with the scene information of currently playing scene The corresponding history play parameter of historic scenery information.
In the present embodiment, above-mentioned electronic equipment can determine in history play parameter set and believe with the presence or absence of historic scenery Corresponding history play parameter is ceased, historic scenery information here is the matched history field of scene information with currently playing scene Scape information.Wherein, history play parameter set includes at least one set of history play parameter corresponding with historic scenery information.History Play parameter includes history playing duration and history broadcast sound volume.
The matched history field of scene information in some optional implementations of the present embodiment, with currently playing scene Scape information may include: with the matched historical time information of the temporal information of currently playing scene and/or with currently playing scene The matched history environment information of environmental information.
Step 403, it is matched in response to determining to exist in history play parameter set with the scene information of currently playing scene The corresponding history play parameter of historic scenery information obtained and the field of currently playing scene from history play parameter set The corresponding history play parameter of the historic scenery information of scape information matches.
In the present embodiment, above-mentioned electronic equipment exists and currently playing scene in determining history play parameter set It after the corresponding history play parameter of the matched historic scenery information of scene information, then can respond: play and join from history During manifold is closed, history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene is obtained.Tool Body, it determines to exist to can be to find in set and be gone through with corresponding to the matched historic scenery information of current scene information History play parameter.Later, then the history play parameter found can be obtained from set.It should be noted that with current The matched historic scenery information of scene information can have more than one or two.Also, it is gone through corresponding to historic scenery information History play parameter can also have more than one or two.So the history play parameter that gets of above-mentioned electronic equipment can be with It is one group, is also possible to more than two.
Step 404, it is gone through at least one set corresponding with the matched historic scenery information of the scene information of currently playing scene In history play parameter, longest one group of history playing duration is found out.
In the present embodiment, above-mentioned electronic equipment with the matched historic scenery information of the scene information of currently playing scene In corresponding at least one set history play parameter, longest one group of history playing duration is found out.Herein, one group of history plays Parameter includes at least history playing duration and history broadcast sound volume.
For example, there are two groups of history play parameter, the playing duration in A group history play parameter therein is 120 points Clock, the playing duration in B group history play parameter therein are 5 minutes.So A group is history playing duration longest in this two groups One group.
Step 405, according to the history broadcast sound volume in the longest one group of history play parameter of history playing duration, determination is worked as The preceding target broadcast sound volume for playing scene.
In the present embodiment, above-mentioned electronic equipment plays ginseng according to the longest one group of history of the history playing duration found History broadcast sound volume in number determines the target broadcast sound volume of currently playing scene.
In practice, the history broadcast sound volume in the longest one group of history play parameter found can be determined as Target broadcast sound volume.The history broadcast sound volume found can also be handled to obtain target broadcast sound volume, for example will be gone through The decibel value of history broadcast sound volume is multiplied with predetermined coefficient.
Step 406, in response to determining, there is no the fields with currently playing scene in the history play parameter set obtained The corresponding history play parameter of the historic scenery information of scape information matches determines that user issues saying when play parameter adjusts request Speech amount.
In the present embodiment, above-mentioned electronic equipment in determining the history play parameter set that has obtained there is no with it is current The corresponding history play parameter of historic scenery information for playing scene matching, then respond: determining that user issues play parameter Adjust speaking volume when request.Specifically, if above-mentioned electronic equipment is the terminal device played, user can directly be received Play parameter adjust request.User, which issues play parameter adjusting request, can use utterance.If above-mentioned electronics is set Standby is server, can receive play parameter transmitted by terminal device and adjusts request.Herein, the broadcasting that terminal device is sent Parameter regulation request is to adjust request by the play parameter that user issues to generate in terminal device triggering.
Step 407, in at least two history broadcast sound volumes in history play parameter set, determining issue with user is broadcast The immediate history broadcast sound volume of speaking volume when parameter regulation request is put, when will issue play parameter adjusting request with user The immediate history broadcast sound volume of speaking volume be determined as the target broadcast sound volume of currently playing scene.
In the present embodiment, at least two history broadcast sound volumes of the above-mentioned electronic equipment in history play parameter set In, the determining immediate history broadcast sound volume of speaking volume issued with user when play parameter adjusts request.Later, by really Fixed immediate history broadcast sound volume is as target broadcast sound volume.Specifically, can by history play parameter set with speak Volume differs the smallest history broadcast sound volume as target broadcast sound volume.
The present embodiment utilizes speaking for user when not finding historic scenery information matched with current scene information Volume adjusts volume, currently can more accurately determine broadcast sound volume playing the interaction mode in scene for user.
With further reference to Fig. 5, it illustrates the processes 500 of another embodiment of the method for adjusting play parameter. This is used to adjust the process 500 of the method for play parameter, comprising the following steps:
Step 501, request is adjusted in response to receiving play parameter, obtains the scene information of currently playing scene.
In the present embodiment, it is (such as shown in FIG. 1 to run electronic equipment thereon for the method for adjusting play parameter Server) it can be in the play parameter for receiving other electronic equipments (such as terminal device shown in FIG. 1) or user's sending After adjusting request, responds: obtaining the scene information of currently playing scene.It is request to broadcasting that play parameter, which adjusts request, The information that parameter is adjusted.Specifically, play parameter, which adjusts request, can be the information that user issues to terminal device, can also To be information that terminal device is issued to server.Play field locating for the scene and playback equipment that scene is audio broadcasting Scape.The scene information of broadcasting scene is the various information to describe broadcasting scene, for example, time, temperature etc..
In the present embodiment, play parameter, which adjusts request, can specifically include broadcast sound volume adjusting request.
In practice, obtaining scene information can be executed by terminal device, can also be executed by server.Specifically, field Scape information can initiatively be acquired by above-mentioned electronic equipment, can also be obtained by connecting with the sensor in scene.
Step 502, it determines in history play parameter set with the presence or absence of matched with the scene information of currently playing scene The corresponding history play parameter of historic scenery information.
In the present embodiment, above-mentioned electronic equipment can determine in history play parameter set and believe with the presence or absence of historic scenery Corresponding history play parameter is ceased, historic scenery information here is the matched history field of scene information with currently playing scene Scape information.Wherein, history play parameter set includes at least one set of history play parameter corresponding with historic scenery information.History Play parameter includes history playing duration and history broadcast sound volume.
The matched history field of scene information in some optional implementations of the present embodiment, with currently playing scene Scape information may include: with the matched historical time information of the temporal information of currently playing scene and/or with currently playing scene The matched history environment information of environmental information.
Step 503, it is matched in response to determining to exist in history play parameter set with the scene information of currently playing scene The corresponding history play parameter of historic scenery information obtained and the field of currently playing scene from history play parameter set The corresponding history play parameter of the historic scenery information of scape information matches.
In the present embodiment, above-mentioned electronic equipment exists and currently playing scene in determining history play parameter set It after the corresponding history play parameter of the matched historic scenery information of scene information, then can respond: play and join from history During manifold is closed, history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene is obtained.Tool Body, it determines to exist to can be to find in set and be gone through with corresponding to the matched historic scenery information of current scene information History play parameter.Later, then the history play parameter found can be obtained from set.It should be noted that with current The matched historic scenery information of scene information can have more than one or two.Also, it is gone through corresponding to historic scenery information History play parameter can also have more than one or two.So the history play parameter that gets of above-mentioned electronic equipment can be with It is one group, is also possible to more than two.
Step 504, it is gone through at least one set corresponding with the matched historic scenery information of the scene information of currently playing scene In history play parameter, longest one group of history playing duration is found out.
In the present embodiment, above-mentioned electronic equipment with the matched historic scenery information of the scene information of currently playing scene In corresponding at least one set history play parameter, longest one group of history playing duration is found out.Herein, one group of history plays Parameter includes at least history playing duration and history broadcast sound volume.
Step 505, the currently playing volume of currently playing scene is obtained.
In the present embodiment, above-mentioned electronic equipment obtains the currently playing volume of currently playing scene.Specifically, if on To state electronic equipment be server, then can by with the terminal device of broadcasting carry out data synchronize obtain currently playing volume. If above-mentioned electronic equipment is playback equipment, currently playing volume can be got from local.
Step 506, parsing broadcast sound volume adjusts request to determine the first volume adjustment direction.
In the present embodiment, above-mentioned electronic equipment adjusts request to broadcast sound volume and parses, to determine the first volume Adjust direction.Volume adjustment direction includes volume height-regulating and turning down sound volume.Broadcast sound volume adjusts request and indicates user's instruction Volume adjustment direction.
Step 507, it determines currently playing volume adjustment into the longest one group of history play parameter of history playing duration History broadcast sound volume the second volume adjustment direction.
In the present embodiment, above-mentioned electronic equipment determines the second volume adjustment direction, the second volume adjustment direction be by History broadcast sound volume of the currently playing volume adjustment into the longest one group of history play parameter of history playing duration is obtained Volume adjustment direction.If currently playing volume is played lower than the history in the longest one group of history play parameter of history playing duration Volume, then the second volume adjustment direction is the direction that volume is turned up, if currently playing volume is longest higher than history playing duration History broadcast sound volume in one group of history play parameter, then the second volume adjustment direction is the direction of turning down sound volume,
Step 508, determine whether the first volume adjustment direction and the second volume adjustment direction are consistent.
In the present embodiment, above-mentioned electronic equipment determined the first volume adjustment direction and the second volume adjustment direction it Afterwards, determine whether the first volume adjustment direction and the second volume adjustment direction are consistent.
Step 509, if the first volume adjustment direction is consistent with the second volume adjustment direction, history playing duration is longest History broadcast sound volume in one group of history play parameter is determined as the target broadcast sound volume of currently playing scene.
In the present embodiment, however, it is determined that the first volume adjustment direction and the whether consistent result in the second volume adjustment direction Be: the first volume adjustment direction is consistent with the second volume adjustment direction, then above-mentioned electronic equipment is longest by history playing duration History broadcast sound volume in one group of history play parameter is determined as the target broadcast sound volume of currently playing scene.
For example, it indicates user in broadcast sound volume adjusting request volume is turned up, the first volume adjustment direction is Volume is turned up.Current broadcast sound volume plays sound lower than the history in the longest one group of history play parameter of history playing duration Amount, then the second volume adjustment direction is volume height-regulating.So the two volume adjustment directions are then consistent.
Step 510, it if the first volume adjustment direction and the second volume adjustment direction are inconsistent, sends into current scene User inquires the instruction of volume, and the target broadcast sound volume of currently playing scene is determined with the volume parameters indicated according to user, or Determine that the broadcast sound volume after currently playing volume adjustment to be preset to decibel value is target broadcast sound volume.
In the present embodiment, however, it is determined that whether it is consistent the result is that: the first volume adjustment direction and the second volume adjustment side To inconsistent, then above-mentioned electronic equipment sends the instruction that the user into current scene inquires volume, with what is indicated according to user Volume parameters determine the target broadcast sound volume of currently playing scene.Or above-mentioned electronic equipment is determining pre- by currently playing volume adjustment If the broadcast sound volume after decibel value is target broadcast sound volume.Herein, the volume parameters of user's instruction can be specific decibel Numerical value is also possible to the adjusting step-length of volume.
In practice, above-mentioned electronic equipment can be server or terminal device.If it is server, above-mentioned electronics is set The standby user that can be sent to playback equipment into current scene inquires the instruction of volume, is referred to according to the user that playback equipment returns The volume parameters shown determine target broadcast sound volume.If it is terminal device, above-mentioned electronic equipment can then send to user and ask It asks the instruction of volume, then receives user for the feedback of instruction, determined with the volume parameters indicated in feedback according to user The target broadcast sound volume of currently playing scene.Alternatively, above-mentioned electronic equipment also adjustable default decibel value.Default decibel value That is the step-length of volume adjustment.Specifically, the first volume adjustment direction or the second volume adjustment direction can be determined as adjusting Direction, default decibel value is adjusted according to the direction, obtains target broadcast sound volume.
The present embodiment can adjust regulatory demand and currently playing sound of the user to volume in request according to broadcast sound volume The many factors such as amount and history broadcast sound volume, to determine the first volume adjustment direction and the second volume adjustment direction.And according to two A consistency for adjusting direction, more accurately carries out volume adjustment.
With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, this application provides one kind to broadcast for adjusting One embodiment of the device of parameter is put, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically may be used To be applied in various electronic equipments.
As shown in fig. 6, the device 600 for adjusting play parameter of the present embodiment includes: receiving unit 601, matching list Member 602, first acquisition unit 603 and the first determination unit 604.Wherein, receiving unit 601, in response to receiving play parameter Request is adjusted, the scene information of currently playing scene is obtained;Matching unit 602 determines whether deposit in history play parameter set In history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene, wherein history plays Parameter sets include at least one set of history play parameter corresponding with historic scenery information;First acquisition unit 603, in response to true Determine the presence of history corresponding with the matched historic scenery information of the scene information of currently playing scene in history play parameter set Play parameter obtains the matched historic scenery information of scene information with currently playing scene from history play parameter set Corresponding history play parameter;First determination unit 604 determines currently playing scene based on acquired history play parameter Target play parameter.
In some embodiments, receiving unit 601 can be in the broadcasting for receiving other electronic equipments or user's sending After parameter regulation request, responds: obtaining the scene information of currently playing scene.Play parameter adjusts request as request pair The information that play parameter is adjusted.Specifically, play parameter, which adjusts request, can be the information that user issues to terminal device, It is also possible to the information that terminal device is issued to server.It plays locating for the scene and playback equipment that scene is audio broadcasting Scene.The scene information of broadcasting scene is the various information to describe broadcasting scene, for example, time, temperature etc..
In some embodiments, matching unit 602 can determine in history play parameter set with the presence or absence of historic scenery The corresponding history play parameter of information.Wherein, history play parameter set includes at least one set of corresponding with historic scenery information History play parameter.History play parameter set can be prestored in the local of above-mentioned electronic equipment, be stored in and determined Other electronic equipments that unit 602 communicates to connect.
In some embodiments, first acquisition unit 603 in determining history play parameter set exist with it is currently playing After the corresponding history play parameter of the matched historic scenery information of the scene information of scene, then it can respond: from history In play parameter set, obtains history corresponding with the matched historic scenery information of the scene information of currently playing scene and play ginseng Number.Specifically, it can find in set and be gone through with corresponding to the matched historic scenery information of the scene information of current scene History play parameter.It should be noted that can have with the current matched historic scenery information of scene information one or more of. Also, history play parameter corresponding to historic scenery information also may include one or more parameters.So acquiring unit The 603 history play parameter got can be one group, be also possible to multiple groups.
In some embodiments, the first determination unit 604 determines currently playing field based on acquired history play parameter The target play parameter of scape.Here history play parameter is to believe with the matched historic scenery of the scene information of currently playing scene Cease corresponding history play parameter.Target play parameter is the play parameter that the playback equipment in scene will use.Broadcasting is set Standby play parameter then realizes the adjusting of play parameter from currently playing parameter regulation to target play parameter.
In some optional implementations of the present embodiment, it includes that broadcast sound volume adjusting is asked that play parameter, which adjusts request, It asks, history play parameter includes history playing duration and history broadcast sound volume;Determination unit based on acquired history for being broadcast Parameter is put, determines the target play parameter of currently playing scene as follows: in the scene information with currently playing scene Longest one group of history playing duration is found out in the corresponding at least one set of history play parameter of matched historic scenery information;Root Determine that the target of currently playing scene is broadcast according to the history broadcast sound volume in the longest one group of history play parameter of history playing duration Playback amount.
In some optional implementations of the present embodiment, the device further include: second acquisition unit is configured to obtain Take the currently playing volume of currently playing scene;And determination unit is further configured to determine as follows and currently broadcast Put the target broadcast sound volume of scene: parsing broadcast sound volume adjusts request to determine the first volume adjustment direction;Determination will currently be broadcast Playback amount is adjusted to the second volume adjustment of the history broadcast sound volume in the longest one group of history play parameter of history playing duration Direction;Determine whether the first volume adjustment direction and the second volume adjustment direction are consistent;If the first volume adjustment direction and second Volume adjustment direction is consistent, and the history broadcast sound volume in the longest one group of history play parameter of history playing duration is determined as working as The preceding target broadcast sound volume for playing scene;If the first volume adjustment direction and the second volume adjustment direction are inconsistent, send to working as User in preceding scene inquires the instruction of volume, determines that the target of currently playing scene is broadcast with the volume parameters indicated according to user Playback amount, or determine that the broadcast sound volume after currently playing volume adjustment to be preset to decibel value is target broadcast sound volume.
In some optional implementations of the present embodiment, the device further include: the second determination unit is configured to ring The matched history field of scene information with currently playing scene should be not present in the determining history play parameter set obtained The corresponding history play parameter of scape information determines that user issues speaking volume when play parameter adjusts request;Third determines single Member is configured in at least two history broadcast sound volumes in history play parameter set, and determining issue with user plays ginseng Number adjusts the immediate history broadcast sound volume of speaking volume when request, adjusts saying when requesting for play parameter is issued with user The immediate history broadcast sound volume of speech amount is determined as the target broadcast sound volume of currently playing scene.
In some optional implementations of the present embodiment, scene information includes temporal information and environmental information;With work as It is preceding play scene the matched historic scenery information of scene information include: and the matched history of the temporal information of currently playing scene Temporal information and/or the matched history environment information of environmental information with currently playing scene.
In some optional implementations of the present embodiment, environmental information includes at least one of below: temperature data, Number, light intensity data in humidity data, scene;Receiving unit is further configured to obtain as follows current It plays the scene information of scene: obtaining the temporal information of currently playing scene, and at least one of following: obtaining temperature detection dress Set the temperature data of the current scene of acquisition;Obtain the humidity data of the current scene of humidity detector acquisition;Obtain light intensity The light intensity data of the current scene of detection device acquisition;Obtain the image of the current scene of image acquisition device, inspection The quantity of people in altimetric image, the number quantity of people being determined as in scene;Obtain the audio-frequency information in current scene, identification The quantity of the user object of audio-frequency information is issued to determine the number in scene.
Below with reference to Fig. 7, it illustrates the computer systems 700 for the electronic equipment for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Electronic equipment shown in Fig. 7 is only an example, function to the embodiment of the present application and should not use model Shroud carrys out any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU) 701, it can be read-only according to being stored in Program in memory (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage section 708 and Execute various movements appropriate and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data. CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always Line 704.
I/O interface 705 is connected to lower component: the importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.; And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because The network of spy's net executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to read from thereon Computer program be mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 709, and/or from detachable media 711 are mounted.When the computer program is executed by central processing unit (CPU) 701, limited in execution the present processes Above-mentioned function.It should be noted that the computer-readable medium of the application can be computer-readable signal media or calculating Machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include receiving unit, determination unit, acquiring unit and target determination unit.Wherein, the title of these units is under certain conditions simultaneously The restriction to the unit itself is not constituted, for example, receiving unit is also described as " adjusting in response to receiving play parameter Request obtains the unit of history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device: request is adjusted in response to receiving play parameter, obtains the scene information of currently playing scene;Determine history play parameter It whether there is history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene in set, In, history play parameter set includes at least one set of history play parameter corresponding with historic scenery information;It is gone through in response to determination There is history corresponding with the matched historic scenery information of the scene information of currently playing scene in history play parameter set to play Parameter obtains corresponding with the matched historic scenery information of the scene information of currently playing scene from history play parameter set History play parameter;Based on acquired history play parameter, the target play parameter of currently playing scene is determined.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of method for adjusting play parameter, comprising:
Request is adjusted in response to receiving play parameter, obtains the scene information of currently playing scene;
It determines in history play parameter set with the presence or absence of the matched historic scenery information of scene information with currently playing scene Corresponding history play parameter, wherein the history play parameter set includes at least one set of corresponding with historic scenery information History play parameter;
Believe in response to determining in history play parameter set to exist with the matched historic scenery of the scene information of currently playing scene Corresponding history play parameter is ceased, from the history play parameter set, obtains the scene information with currently playing scene The corresponding history play parameter of the historic scenery information matched;
Based on acquired history play parameter, the target play parameter of currently playing scene is determined;
It includes that broadcast sound volume adjusts request that the play parameter, which adjusts request, and the history play parameter includes history playing duration With history broadcast sound volume;
It is described based on acquired history play parameter, determine the target play parameter of currently playing scene, comprising:
In at least one set of history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene Find out longest one group of history playing duration;
Currently playing scene is determined according to the history broadcast sound volume in the longest one group of history play parameter of history playing duration Target broadcast sound volume;
The method also includes:
Obtain the currently playing volume of the currently playing scene;And
The history broadcast sound volume according in the longest one group of history play parameter of history playing duration determines currently playing field The target broadcast sound volume of scape, comprising:
It parses the broadcast sound volume and adjusts request to determine the first volume adjustment direction;
History of the currently playing volume adjustment into the longest one group of history play parameter of history playing duration is broadcast in determination Second volume adjustment direction of playback amount;
Determine whether first volume adjustment direction and second volume adjustment direction are consistent;
It is if first volume adjustment direction is consistent with second volume adjustment direction, the history playing duration is longest History broadcast sound volume in one group of history play parameter is determined as the target broadcast sound volume of currently playing scene;
If first volume adjustment direction and second volume adjustment direction are inconsistent, the user into current scene is sent The instruction for inquiring volume is determined the target broadcast sound volume of currently playing scene with the volume parameters indicated according to user, or determined Broadcast sound volume after the currently playing volume adjustment to be preset to decibel value is target broadcast sound volume.
2. according to the method described in claim 1, wherein, the method also includes:
In response to determining, there is no matched with the scene information of currently playing scene in the history play parameter set obtained The corresponding history play parameter of historic scenery information determines that user issues speaking volume when play parameter adjusts request;
It is determining to issue play parameter tune with user in at least two history broadcast sound volumes in the history play parameter set The immediate history broadcast sound volume of speaking volume when section request issues saying when play parameter adjusting is requested with user for described The immediate history broadcast sound volume of speech amount is determined as the target broadcast sound volume of the currently playing scene.
3. -2 described in any item methods according to claim 1, wherein the scene information includes temporal information and environment letter Breath;
It is described to include: and the time of currently playing scene letter with the matched historic scenery information of currently playing scene scene information Cease matched historical time information and/or the matched history environment information of environmental information with currently playing scene.
4. the environmental information includes at least one of below according to the method described in claim 3, wherein: temperature data, wet Degree evidence, the number in scene, light intensity data;
The scene information for obtaining currently playing scene, comprising:
The temporal information of the currently playing scene is obtained, and at least one of following:
Obtain the temperature data of the current scene of temperature-detecting device acquisition;
Obtain the humidity data of the current scene of humidity detector acquisition;
Obtain the light intensity data of the current scene of light intensity test device acquisition;
The image of the current scene of image acquisition device is obtained, the quantity of the people in detection image determines the quantity of people For the number in scene;
The audio-frequency information in current scene is obtained, identification issues the quantity of the user object of audio-frequency information to determine the people in scene Number.
5. a kind of for adjusting the device of play parameter, comprising:
Receiving unit is configured to adjust request in response to receiving play parameter, obtains the scene information of currently playing scene;
Matching unit is configured to determine in history play parameter set with the presence or absence of the scene information with currently playing scene The corresponding history play parameter of the historic scenery information matched, wherein the history play parameter set include it is at least one set of with go through The corresponding history play parameter of history scene information;
First acquisition unit is configured in response to determining the scene existed in history play parameter set with currently playing scene The corresponding history play parameter of the historic scenery information of information matches obtains and current from the history play parameter set Play the corresponding history play parameter of the matched historic scenery information of scene information of scene;
First determination unit is configured to determine that the target of currently playing scene is played based on acquired history play parameter Parameter;
It includes that broadcast sound volume adjusts request that the play parameter, which adjusts request, and the history play parameter includes history playing duration With history broadcast sound volume;
The determination unit is configured to determine currently playing scene as follows based on acquired history play parameter Target play parameter:
In at least one set of history play parameter corresponding with the matched historic scenery information of the scene information of currently playing scene Find out longest one group of history playing duration;
Currently playing scene is determined according to the history broadcast sound volume in the longest one group of history play parameter of history playing duration Target broadcast sound volume;
Described device further include:
Second acquisition unit is configured to obtain the currently playing volume of the currently playing scene;And
The determination unit is further configured to determine the target broadcast sound volume of currently playing scene as follows:
It parses the broadcast sound volume and adjusts request to determine the first volume adjustment direction;
History of the currently playing volume adjustment into the longest one group of history play parameter of history playing duration is broadcast in determination Second volume adjustment direction of playback amount;
Determine whether first volume adjustment direction and second volume adjustment direction are consistent;
It is if first volume adjustment direction is consistent with second volume adjustment direction, the history playing duration is longest History broadcast sound volume in one group of history play parameter is determined as the target broadcast sound volume of currently playing scene;
If first volume adjustment direction and second volume adjustment direction are inconsistent, the user into current scene is sent The instruction for inquiring volume is determined the target broadcast sound volume of currently playing scene with the volume parameters indicated according to user, or determined Broadcast sound volume after the currently playing volume adjustment to be preset to decibel value is target broadcast sound volume.
6. device according to claim 5, wherein described device further include:
Second determination unit, be configured in response to determine in the history play parameter set that has obtained there is no with it is currently playing The corresponding history play parameter of the matched historic scenery information of the scene information of scene determines that user issues play parameter adjusting and asks Speaking volume when asking;
Third determination unit is configured in at least two history broadcast sound volumes in the history play parameter set, really Fixed and user issues the immediate history broadcast sound volume of speaking volume when play parameter adjusts request, described will issue with user The immediate history broadcast sound volume of speaking volume when play parameter adjusts request is determined as the target of the currently playing scene Broadcast sound volume.
7. according to the described in any item devices of claim 5-6, wherein the scene information includes temporal information and environment letter Breath;
It is described to include: and the time of currently playing scene letter with the matched historic scenery information of currently playing scene scene information Cease matched historical time information and/or the matched history environment information of environmental information with currently playing scene.
8. device according to claim 7, wherein the environmental information includes at least one of below: temperature data, wet Degree evidence, the number in scene, light intensity data;
The receiving unit is further configured to obtain the scene information of currently playing scene as follows: described in acquisition The temporal information of currently playing scene, and at least one of following:
Obtain the temperature data of the current scene of temperature-detecting device acquisition;
Obtain the humidity data of the current scene of humidity detector acquisition;
Obtain the light intensity data of the current scene of light intensity test device acquisition;
The image of the current scene of image acquisition device is obtained, the quantity of the people in detection image determines the quantity of people For the number in scene;
The audio-frequency information in current scene is obtained, identification issues the quantity of the user object of audio-frequency information to determine the people in scene Number.
9. a kind of electronic equipment, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-4.
10. a kind of computer readable storage medium, is stored thereon with computer program, wherein when the program is executed by processor Realize the method as described in any in claim 1-4.
CN201810097366.3A 2018-01-31 2018-01-31 Method and apparatus for adjusting play parameter Active CN108196820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810097366.3A CN108196820B (en) 2018-01-31 2018-01-31 Method and apparatus for adjusting play parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810097366.3A CN108196820B (en) 2018-01-31 2018-01-31 Method and apparatus for adjusting play parameter

Publications (2)

Publication Number Publication Date
CN108196820A CN108196820A (en) 2018-06-22
CN108196820B true CN108196820B (en) 2019-10-18

Family

ID=62592107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810097366.3A Active CN108196820B (en) 2018-01-31 2018-01-31 Method and apparatus for adjusting play parameter

Country Status (1)

Country Link
CN (1) CN108196820B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240637B (en) * 2018-08-21 2022-02-01 中国联合网络通信集团有限公司 Volume adjustment processing method, device, equipment and storage medium
CN109218535B (en) * 2018-10-24 2021-02-02 Oppo广东移动通信有限公司 Method and device for intelligently adjusting volume, storage medium and terminal
CN109375894A (en) * 2018-11-29 2019-02-22 努比亚技术有限公司 Earpiece volume based reminding method, device, mobile terminal and readable storage medium storing program for executing
CN109497882A (en) * 2018-12-06 2019-03-22 珠海格力电器股份有限公司 Method for heating and controlling, device, storage medium and the toilet seat pad of toilet seat pad
CN109785861B (en) * 2018-12-29 2021-07-30 惠州市德赛西威汽车电子股份有限公司 Multimedia playing control method based on driving data, storage medium and terminal
CN110418243B (en) * 2019-07-25 2021-02-26 深圳华强电子网集团股份有限公司 Intelligent sound box control system and control method
CN110489071A (en) * 2019-07-30 2019-11-22 联想(北京)有限公司 A kind of information processing method, electronic equipment and storage medium
CN111090412B (en) * 2019-12-18 2020-12-08 北京声智科技有限公司 Volume adjusting method and device and audio equipment
CN111930338A (en) * 2020-08-10 2020-11-13 北京字节跳动网络技术有限公司 Volume recommendation method, device, equipment and storage medium
CN112269895A (en) * 2020-11-06 2021-01-26 Oppo广东移动通信有限公司 Vibration control method and device and computer readable storage medium
CN114237060A (en) * 2021-11-30 2022-03-25 珠海大横琴科技发展有限公司 Conference room control method and device based on Internet of things

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8909779B2 (en) * 2006-05-03 2014-12-09 Cloud Systems, Inc. System and method for control and monitoring of multiple devices and inter-device connections
CN104869507A (en) * 2015-04-21 2015-08-26 广东欧珀移动通信有限公司 Music playing method applied to intelligent sound box, and intelligent sound box
CN106095384A (en) * 2016-06-16 2016-11-09 广东欧珀移动通信有限公司 A kind of effect adjusting method and user terminal
CN106648524A (en) * 2016-09-30 2017-05-10 四川九洲电器集团有限责任公司 Audio paying method and audio playing equipment
CN107247572A (en) * 2017-05-08 2017-10-13 深圳市科迈爱康科技有限公司 Audio frequency playing method, terminal and computer-readable recording medium
CN107277216A (en) * 2017-05-16 2017-10-20 努比亚技术有限公司 A kind of volume adjusting method, terminal and computer-readable recording medium
CN107483732A (en) * 2017-08-18 2017-12-15 广东欧珀移动通信有限公司 Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731617A (en) * 2013-12-03 2014-04-16 乐视致新电子科技(天津)有限公司 Volume adjustment method and device of smart television
CN105872752B (en) * 2016-04-27 2018-10-26 浪潮软件集团有限公司 Feedback type intelligent volume adjusting method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8909779B2 (en) * 2006-05-03 2014-12-09 Cloud Systems, Inc. System and method for control and monitoring of multiple devices and inter-device connections
CN104869507A (en) * 2015-04-21 2015-08-26 广东欧珀移动通信有限公司 Music playing method applied to intelligent sound box, and intelligent sound box
CN106095384A (en) * 2016-06-16 2016-11-09 广东欧珀移动通信有限公司 A kind of effect adjusting method and user terminal
CN106648524A (en) * 2016-09-30 2017-05-10 四川九洲电器集团有限责任公司 Audio paying method and audio playing equipment
CN107247572A (en) * 2017-05-08 2017-10-13 深圳市科迈爱康科技有限公司 Audio frequency playing method, terminal and computer-readable recording medium
CN107277216A (en) * 2017-05-16 2017-10-20 努比亚技术有限公司 A kind of volume adjusting method, terminal and computer-readable recording medium
CN107483732A (en) * 2017-08-18 2017-12-15 广东欧珀移动通信有限公司 Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal

Also Published As

Publication number Publication date
CN108196820A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108196820B (en) Method and apparatus for adjusting play parameter
CN108877770A (en) For testing the methods, devices and systems of intelligent sound equipment
CN108769745A (en) Video broadcasting method and device
KR20190024711A (en) Information verification method and device
CN108899023A (en) control method and device
CN110062309B (en) Method and device for controlling intelligent loudspeaker box
CN109496419A (en) Document handling method, device and system
CN109271556A (en) Method and apparatus for output information
CN108521516A (en) Control method and device for terminal device
CN108540831A (en) Method and apparatus for pushed information
CN110084317A (en) The method and apparatus of image for identification
CN109817214A (en) Exchange method and device applied to vehicle
CN107948623A (en) Projecting apparatus and its music related information display methods
CN110365745A (en) Data processing system, method, apparatus, server and computer-readable medium
CN109241721A (en) Method and apparatus for pushed information
CN109688086A (en) Authority control method and device for terminal device
CN110223694A (en) Method of speech processing, system and device
CN109640176A (en) Method and apparatus for generating information
CN109819042A (en) For providing the method and apparatus of Software Development Kit
CN109618193B (en) Method and apparatus for processing information
CN110046670A (en) Feature vector dimension reduction method and device
CN110335237A (en) For generating the method, apparatus and the method, apparatus of image for identification of model
CN109271397A (en) Method and apparatus for handling information
CN111626802A (en) Method and apparatus for processing information
CN109348298A (en) The method and apparatus that information pushes, plays multimedia data stream

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210512

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Patentee after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Patentee after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Patentee before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right