CN115278353A - Playing information adjusting method and device - Google Patents

Playing information adjusting method and device Download PDF

Info

Publication number
CN115278353A
CN115278353A CN202210892567.9A CN202210892567A CN115278353A CN 115278353 A CN115278353 A CN 115278353A CN 202210892567 A CN202210892567 A CN 202210892567A CN 115278353 A CN115278353 A CN 115278353A
Authority
CN
China
Prior art keywords
playing
information
media
target
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210892567.9A
Other languages
Chinese (zh)
Inventor
焦婷婷
许可喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics 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 Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN202210892567.9A priority Critical patent/CN115278353A/en
Publication of CN115278353A publication Critical patent/CN115278353A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4852End-user interface for client configuration for modifying audio parameters, e.g. switching between mono and stereo

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

According to the playing information adjusting method and device provided by the embodiment of the disclosure, the background information and the media playing information corresponding to the playing device are obtained, then the target playing information corresponding to the background information is calculated based on the preset playing data and the background information, the preset playing data comprises different playing information corresponding to different background information, a first adjusting instruction for adjusting the media playing information is generated based on the media playing information and the target playing information, and finally the first adjusting instruction is sent to the playing device, so that the playing device adjusts the media playing information based on the first adjusting instruction, and the flexibility and the accuracy of the adjustment of the playing information are improved.

Description

Playing information adjusting method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of device playing and information processing technologies, and in particular, to a method and an apparatus for adjusting playing information.
Background
An increasing number of users seek quality of life, many watching television in leisure activities. The method for adjusting the television volume is used for adjusting according to the distance between a user and the television, detecting the volume of different programs, detecting the volume of the environment and the like, most of the methods are used for detecting and adjusting by using a television end, decibels heard at different positions can be attenuated in a room, sounds heard by the user when the user moves can also change, and the adjustment of playing information is not flexible and accurate.
Disclosure of Invention
The embodiment of the disclosure provides a playing information adjusting method and device, electronic equipment and a computer readable medium.
In a first aspect, an embodiment of the present disclosure provides a method for adjusting playing information, where the method includes: acquiring background information and media playing information corresponding to playing equipment; calculating target playing information corresponding to the background information based on preset playing data and the background information, wherein the preset playing data comprises different playing information corresponding to different background information; generating a first adjusting instruction for adjusting the media playing information based on the media playing information and the target playing information; and sending the first adjusting instruction to the playing equipment so that the playing equipment adjusts the media playing information based on the first adjusting instruction.
In some embodiments, obtaining the background information and the media playing information corresponding to the playing device includes: collecting environment information corresponding to the playing equipment in response to the connection with the playing equipment; acquiring media information from a playing device; and based on the environment information and the media information, acquiring background information and media playing information corresponding to the playing equipment by utilizing sound source separation detection.
In some embodiments, the media playback information includes a media playback volume; and, the method further comprises: classifying and identifying the background information, and determining the noise type of the background information; generating a second adjusting instruction for adjusting the media playing information in response to determining that the noise type is the preset noise type; and sending the second adjusting instruction to the playing equipment so that the playing equipment reduces the media playing volume based on the second adjusting instruction.
In some embodiments, calculating the target playing information corresponding to the background information based on the preset playing data and the background information includes: and in response to determining that the noise type is not the preset noise type, calculating target playing information corresponding to the background information based on the preset playing data and the background information.
In some embodiments, the preset playback data is obtained based on the following steps: acquiring a first playing threshold corresponding to a target user, wherein the first playing threshold represents a hearing range of the target user for media information in a target environment; acquiring a second playing threshold corresponding to the target user, wherein the second playing threshold represents the hearing range of the target user for the media information in different background information; and acquiring preset playing data based on the first playing threshold and the second playing threshold.
In some embodiments, the method further comprises: responding to the first adjusting instruction sent to the playing equipment, and acquiring current media playing information corresponding to the playing equipment; judging whether the media playing information meets playing conditions or not based on the current media playing information and the target playing information; and generating and sending a new adjusting instruction to the playing equipment based on the current media playing information and the target playing information in response to the fact that the current media playing information does not meet the playing condition.
In a second aspect, an embodiment of the present disclosure provides a play information adjusting apparatus, including: the acquisition module is configured to acquire background information and media playing information corresponding to the playing equipment; a calculating module configured to calculate target playing information corresponding to the background information based on preset playing data and the background information, wherein the preset playing data includes different playing information corresponding to different background information; a generating module configured to generate a first adjusting instruction for adjusting the media playing information based on the media playing information and the target playing information; and the sending module is configured to send the first adjusting instruction to the playing device, so that the playing device adjusts the media playing information based on the first adjusting instruction.
In some embodiments, the obtaining module is further configured to: collecting environment information corresponding to the playing equipment in response to the connection with the playing equipment; acquiring media information from a playing device; and based on the environment information and the media information, acquiring background information and media playing information corresponding to the playing equipment by utilizing sound source separation detection.
In some embodiments, the media playback information includes a media playback volume; and, the apparatus further comprises: an identification module; an identification module configured to: classifying and identifying the background information, and determining the noise type of the background information; a generation module configured to: generating a second adjusting instruction for adjusting the media playing information in response to determining that the noise type is the preset noise type; a sending module configured to: and sending the second adjusting instruction to the playing equipment so that the playing equipment reduces the media playing volume based on the second adjusting instruction.
In some embodiments, the computing module is further configured to: and in response to determining that the noise type is not the preset noise type, calculating target playing information corresponding to the background information based on the preset playing data and the background information.
In some embodiments, the preset playback data is obtained based on the following steps: acquiring a first playing threshold corresponding to a target user, wherein the first playing threshold represents a hearing range of the target user for media information in a target environment; acquiring a second playing threshold corresponding to the target user, wherein the second playing threshold represents the hearing range of the target user aiming at the media information in different background information; and acquiring preset playing data based on the first playing threshold and the second playing threshold.
In some embodiments, the apparatus further comprises: a judgment module; an acquisition module configured to: responding to the first adjusting instruction sent to the playing equipment, and acquiring current media playing information corresponding to the playing equipment; a determination module configured to: judging whether the media playing information meets playing conditions or not based on the current media playing information and the target playing information; a sending module configured to: and generating and sending a new adjusting instruction to the playing equipment based on the current media playing information and the target playing information in response to the fact that the current media playing information does not meet the playing condition.
In a third aspect, the present application provides an electronic device comprising one or more processors; a storage device, on which one or more programs are stored, which, when executed by one or more processors, cause the one or more processors to implement the play information adjusting method as described in any one of the implementations of the first aspect.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the play information adjusting method as described in any of the implementations of the first aspect.
The playing information adjusting method and device provided by the embodiment of the disclosure calculate target playing information corresponding to background information by obtaining the background information and media playing information corresponding to a playing device, and then calculate the target playing information corresponding to the background information based on preset playing data and the background information, wherein the preset playing data comprises different playing information corresponding to different background information, and generate a first adjusting instruction for adjusting the media playing information based on the media playing information and the target playing information, and finally send the first adjusting instruction to the playing device, so that the playing device adjusts the media playing information based on the first adjusting instruction, and use a mobile terminal to detect the background information and the media playing information corresponding to the playing device.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates an exemplary system architecture diagram in which some embodiments of the present disclosure may be applied;
FIG. 2 illustrates a flow diagram of one embodiment of a play information adjustment method of the present disclosure;
fig. 3 is a schematic diagram illustrating an application scenario of the play information adjusting method of the present disclosure;
fig. 4 is a schematic diagram illustrating another embodiment of a play information adjusting method according to the present disclosure;
fig. 5 is a schematic diagram illustrating a further embodiment of a play information adjusting method according to the present disclosure;
fig. 6 is a schematic structural diagram illustrating an embodiment of a playback information adjusting apparatus according to the present disclosure;
FIG. 7 illustrates a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the figures and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which a play information adjusting method or a play information adjusting apparatus of an embodiment of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, a network 103, and playback devices 104, 105. The network 103 serves as a medium for providing communication links between the terminal devices 101, 102 and the playback devices 104, 105. Network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may interact with the playback devices 104, 105 via the network 103 via the terminal devices 101, 102 to receive or transmit information or the like. Various applications, such as an information collection application, a data analysis application, an information detection application, etc., may be installed on the terminal devices 101, 102.
The terminal apparatuses 101 and 102 may be hardware or software. When the terminal device is hardware, it may be various electronic devices having a display screen and supporting communication with the server, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like. When the terminal device is software, the terminal device can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
The terminal devices 101 and 102 may obtain background information and media playing information corresponding to the playing device, and then calculate target playing information corresponding to the background information based on preset playing data and the background information, where the preset playing data includes different playing information corresponding to different background information. Then, the terminal device 101, 102 may generate a first adjustment instruction for adjusting the media playing information based on the media playing information and the target playing information, and send the first adjustment instruction to the playing device 104, 105, so that the playing device 104, 105 adjusts the media playing information based on the first adjustment instruction.
The playback devices 104, 105 may be hardware or software. When the terminal device is hardware, it may be various electronic devices having a display screen and supporting communication with the server, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like. When the terminal device is software, the terminal device can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
The server may be hardware or software. When the server is hardware, it may be various electronic devices that provide various services to the terminal device. When the server is software, it may be implemented as a plurality of software or software modules that provide various services to the terminal device, or may be implemented as a single software or software module that provides various services to the terminal device. And is not particularly limited herein.
It should be noted that the play information adjusting method provided by the embodiment of the present disclosure may be executed by the terminal devices 101 and 102. Accordingly, the play information adjusting means is provided in the terminal devices 101, 102.
It should be understood that the number of terminal devices, networks and playback devices in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a play information adjustment method according to the present disclosure is shown. The playing information adjusting method can comprise the following steps:
step 210, obtaining background information and media playing information corresponding to the playing device.
In this step, the execution subject of the play information adjusting method (for example, the terminal devices 104, 105, and 106 shown in fig. 1) may detect the play device, acquire the play device within the connection range, and connect with the play device. The execution main body may determine whether an information detection condition is currently satisfied, where the information detection condition may represent a condition that the execution main body starts to detect background information and media playback information of the playback device in an environment, and the information detection condition may include that a current time is a preset detection time, an interval preset time period, or a voice wake-up received from a user, and the like.
If it is determined that the information detection condition is currently satisfied, the execution main body may send a mute instruction to the playback device, and after receiving the mute instruction, the playback device may perform mute processing on the playback content, and then the execution main body may start to detect background information corresponding to the playback device, where the background information may include a noise frequency, a noise volume, a noise type, and the like. Alternatively, the execution main body may also detect corresponding background information before the playback device performs playback.
The execution main body may detect mixed information corresponding to the background information and media playing information in the playing device, and perform background information and media playing information separation on the mixed information by using sound source separation detection to obtain media playing information corresponding to the playing device, where the media playing information may include media playing volume, media playing frequency, media playing type, and the like of the playing content in the playing device.
In some optional implementation manners of this embodiment, in the step 210, acquiring the background information and the media playing information corresponding to the playing device may include the following steps: collecting environment information corresponding to the playing equipment in response to the connection with the playing equipment; acquiring media information from a playing device; and based on the environment information and the media information, acquiring background information and media playing information corresponding to the playing equipment by utilizing sound source separation detection.
Specifically, the execution main body may detect the playback device, acquire the playback device within the connection range, and connect with the playback device, and if it is determined that the execution main body is connected with the playback device, the execution main body may detect environment information corresponding to the playback device, where the environment information may represent mixed information of background information and media playback information corresponding to the playback device.
Then, the execution main body may send an acquisition request for media information to the playback device, and the playback device returns corresponding media information to the execution main body based on the acquisition request, where the media information may represent media attribute information being played in the playback device, and may include playback volume, playback frequency, playback type, and the like of the playback device for currently played content. After the execution main body obtains the media information returned by the playing device, the execution main body can convert the media information based on the playing attribute information of the playing device and the preset playing attribute information in the execution main body to obtain the media playing information corresponding to the playing device. And then the execution main body can utilize sound source separation detection to separate the background information and the media playing information of the environmental information according to the collected environmental information and the media playing information corresponding to the playing equipment, so as to obtain the background information and the media playing information corresponding to the playing equipment.
In this implementation manner, the background information and the media playing information corresponding to the playing device are obtained by separating the background information and the media playing information from the environmental information through sound source separation detection, so that the background information and the media playing information corresponding to the playing device can be accurately determined.
Step 220, based on the preset playing data and the background information, calculating target playing information corresponding to the background information.
In this step, after obtaining the background information and the media playing information corresponding to the playing device, the executing entity may read locally stored preset playing data, where the preset playing data may represent a comfortable hearing range of the user in different background information, and may include different playing information corresponding to different background information, that is, a comfortable volume range, a media frequency, and the like in different background information. The execution main body may calculate the background information by using preset playing data, and obtain target playing information corresponding to the background information, where the target playing information may represent playing information that may be received by a user in the background information, such as playing volume or playing frequency.
In some optional implementation manners of this embodiment, the preset playing data may be obtained based on the following steps:
the method comprises the steps of firstly, collecting a first playing threshold corresponding to a target user.
Specifically, the executing subject may collect in advance a hearing range of the target user in a target environment, where the target environment may be a quiet environment and there is no other environment playing sound. The execution main body tests the minimum hearing value, the uncomfortable volume, the comfortable volume and the like of the target user at different frequencies in a target environment, and performs A weighting on a decibel value dB of the volume according to the sensitivity of the human ear to different frequencies, namely dB (A), wherein the dB (A) has good correlation with the subjective reflection of the human ear, and the actual engineering is wide in use. The execution main body obtains a first playing threshold corresponding to the target user through testing, wherein the first playing threshold represents a hearing range of the target user for the media information in the target environment, and the hearing range may include a volume range, a frequency range and the like.
And secondly, acquiring a second playing threshold corresponding to the target user.
In this step, the execution main body may obtain different background information, test the hearing ranges of the target user under the different background information, and statistically determine a second playing threshold corresponding to the target user, where the second playing threshold represents the hearing range of the target user for the media information in the different background information.
And thirdly, acquiring preset playing data based on the first playing threshold and the second playing threshold.
In this step, after the execution main body obtains the first playing threshold and the second playing threshold corresponding to the target user, the first playing threshold and the second playing threshold may be subjected to data processing by using linear regression, a hearing curve corresponding to the target user is simulated, and preset playing data including different playing information corresponding to different background information, that is, different hearing ranges corresponding to different background information, which may include different playing volumes, playing frequencies, and the like corresponding to different background information, may be obtained by using straight line fitting or curve fitting.
In this implementation manner, the preset playing data is determined by pre-collecting the first playing threshold and the second playing threshold corresponding to the target user, so that the hearing test can be performed on the target user in advance, and the comfortable hearing range of the target user is determined for subsequently adjusting the media playing information in the playing device.
Step 230, based on the media playing information and the target playing information, a first adjusting instruction for adjusting the media playing information is generated.
In this step, after the execution main body determines the target playing information, the execution main body may compare the media playing information with the target playing information, and determine whether the media playing information is equal to the target playing information, or whether the media playing information is within a preset range of the target playing information.
The executing body may generate a first adjusting instruction for adjusting the media playing information according to the comparison result, and if the media playing information is the media playing volume and the target playing information is the target playing volume, the first adjusting instruction may include an adjusting instruction for increasing the media playing volume and an adjusting instruction for decreasing the media playing volume; if the media playing information is the media playing frequency and the target playing information is the target playing frequency, the first adjusting instruction may include an adjusting instruction for increasing the media playing frequency and an adjusting instruction for decreasing the media playing frequency.
Step 240, sending the first adjusting instruction to the playing device, so that the playing device adjusts the media playing information based on the first adjusting instruction.
In this step, the execution main body may send the first adjustment instruction to the playback device. After receiving the first adjustment instruction, the playing device may adjust the media playing information based on the first adjustment instruction, for example, adjust the media playing volume or adjust the media playing frequency. When the playing device adjusts the playing volume of the media, the playing information of the media can be adjusted according to step lengths such as gradient, and the decibel value corresponding to the unit change of the playing device volume can be calculated in the adjusting process, so that the volume can be directly set.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the play information adjusting method according to the present embodiment. The method can be applied to the application scenario of fig. 3, where the mobile terminal 301 detects a peripheral playback device and connects with the playback device. The mobile terminal 301 detects the playing state of the connected playing device, and detects that the playing device 302 is playing the content. The mobile terminal 301 obtains that the noise decibel corresponding to the playing device 302 is 35dba and the media playing decibel is 35dba, determines that the signal-to-noise ratio is 0db, then calculates a comfortable volume range according to the preset playing data to the noise decibel, and calculates a target playing decibel under the noise decibel of 35dba to be 54dba. The mobile terminal 301 generates a first adjustment instruction for increasing the media playing decibel according to the target playing decibel and the media playing decibel, and sends the first adjustment instruction to the playing device 302, so that the playing device 302 increases the volume of the media playing according to the first adjustment instruction.
The playing information adjusting method provided by the above embodiment of the present disclosure includes obtaining background information and media playing information corresponding to a playing device, then calculating target playing information corresponding to the background information based on preset playing data and the background information, where the preset playing data includes different playing information corresponding to different background information, and based on the media playing information and the target playing information, generating a first adjusting instruction for adjusting the media playing information, and finally sending the first adjusting instruction to the playing device, so that the playing device adjusts the media playing information based on the first adjusting instruction, and using a mobile terminal to detect the background information and the media playing information corresponding to the playing device.
Referring to fig. 4, fig. 4 shows a flow 400 of yet another embodiment of a play information adjustment method. The playing information adjusting method can comprise the following steps:
step 410, obtaining the background information and the media playing information corresponding to the playing device.
In this step, step 410 is the same as step 210 in the embodiment shown in fig. 2, and is not described herein again.
And step 420, classifying and identifying the background information, and determining the noise type of the background information.
In this step, after the execution main body obtains the background information corresponding to the playback device, the execution main body may classify and identify the background information corresponding to the playback device, and determine the noise type of the background information, where the noise type may include a telephone ring, an alarm sound, a door knock, a child cry, a speaking sound, a decoration sound, and the like.
Step 430, in response to determining that the noise type is the preset noise type, generating a second adjustment instruction for adjusting the media playing information.
The media playing information may include a media playing volume.
In this step, after determining the noise type of the background information, the execution subject may determine whether the noise type is a preset noise type, where the preset noise type may represent a noise type that needs to reduce the media playing volume, and may include a telephone ring, an alarm, a knock, a child cry, a speaking voice, and so on. And if the executing main body determines that the noise type is the preset noise type through judgment, generating a second adjusting instruction for adjusting the media playing information, wherein the second adjusting instruction is used for reducing the media playing volume.
Step 440, sending the second adjustment instruction to the playback device, so that the playback device decreases the media playback volume based on the second adjustment instruction.
In this step, the execution main body may send the second adjustment instruction to the playback device. After receiving the second adjustment instruction, the playback device may decrease the media playback volume based on the second adjustment instruction.
In this embodiment, by classifying and identifying the background information in advance, different environmental noises can be analyzed to perform different sound processing, so that flexibility and pertinence of adjustment of the playing information are improved.
Referring to fig. 4, the method for adjusting the playing information may further include the following steps:
step 450, in response to determining that the noise type is not the preset noise type, calculating target playing information corresponding to the background information based on the preset playing data and the background information.
In this step, if the executing entity determines that the noise type is not the preset noise type through judgment, the target playing information corresponding to the background information may be calculated based on the preset playing data and the background information.
Step 460, based on the media playing information and the target playing information, a first adjusting instruction for adjusting the media playing information is generated.
In this step, step 460 is the same as step 230 in the embodiment shown in fig. 2, and is not described herein again.
Step 470, sending the first adjusting instruction to the playing device, so that the playing device adjusts the media playing information based on the first adjusting instruction.
In this step, step 470 is the same as step 240 in the embodiment shown in fig. 2, and is not described herein again.
In the implementation mode, the background information is classified and identified in advance, different environmental noises can be analyzed to perform different sound processing, and the flexibility and pertinence of adjustment of the playing information are improved.
Referring further to fig. 5, fig. 5 shows a schematic diagram 500 of another embodiment of a playback information adjustment method, which may include the following steps:
step 510, obtaining background information and media playing information corresponding to the playing device.
In this step, step 510 is the same as step 210 in the embodiment shown in fig. 2, and is not described herein again.
Step 520, based on the preset playing data and the background information, calculating target playing information corresponding to the background information.
In this step, step 520 is the same as step 220 in the embodiment shown in fig. 2, and is not described herein again.
Step 530, based on the media playing information and the target playing information, a first adjusting instruction for adjusting the media playing information is generated.
In this step, step 530 is the same as step 230 in the embodiment shown in fig. 2, and is not described herein again.
Step 540, sending the first adjusting instruction to the playing device, so that the playing device adjusts the media playing information based on the first adjusting instruction.
In this step, step 540 is the same as step 240 in the embodiment shown in fig. 2, and is not described herein again.
In step 550, in response to sending the first adjustment instruction to the playing device, current media playing information corresponding to the playing device is obtained.
In this step, after the execution main body sends the first adjustment instruction to the playback device, the current media playback information corresponding to the playback device may be further detected, that is, the mixed information corresponding to the background information and the current media playback information may be detected, and the background information and the current media playback information are separated from each other by using sound source separation detection, so as to obtain the current media playback information corresponding to the playback device.
Step 560, based on the current media playing information and the target playing information, determining whether the media playing information satisfies the playing condition.
In this step, after the execution main body obtains the current media playing information, the execution main body compares the current media playing information with the target playing information, and determines whether the current media playing information is equal to the target playing information, or whether the current media playing information is within a preset range of the target playing information.
Step 570, in response to determining that the current media playing information does not satisfy the playing condition, generating and sending a new adjusting instruction to the playing device based on the current media playing information and the target playing information.
In this step, the executing body determines, through judgment, that the current media playing information does not satisfy the playing condition, and then generates a new adjusting instruction for adjusting the media playing information according to a comparison result between the current media playing information and the target playing information, where if the current media playing information is the media playing volume and the target playing information is the target playing volume, the new adjusting instruction may include an adjusting instruction for increasing the media playing volume and an adjusting instruction for decreasing the media playing volume; if the current media playing information is the media playing frequency and the target playing information is the target playing frequency, the new adjusting instruction may include an adjusting instruction for increasing the media playing frequency and an adjusting instruction for decreasing the media playing frequency.
In this embodiment, after the first adjustment instruction is sent, the current media playing information of the playing device continues to be collected, and whether the playing device has been adjusted is determined, so that the accuracy of playing information adjustment is ensured.
With further reference to fig. 6, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of a playing information adjusting apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 6, the play information adjusting apparatus 600 of the present embodiment includes: an acquisition module 610, a calculation module 620, a generation module 630, and a sending module 640.
The obtaining module 610 is configured to obtain background information and media playing information corresponding to a playing device;
a calculating module 620 configured to calculate target playing information corresponding to the background information based on preset playing data and the background information, wherein the preset playing data includes different playing information corresponding to different background information;
a generating module 630 configured to generate a first adjusting instruction for adjusting the media playing information based on the media playing information and the target playing information;
the sending module 640 is configured to send the first adjustment instruction to the playback device, so that the playback device adjusts the media playback information based on the first adjustment instruction.
In some optional implementations of this embodiment, the obtaining module is further configured to: collecting environment information corresponding to the playing equipment in response to the connection with the playing equipment; acquiring media information from a playing device; and based on the environmental information and the media information, acquiring background information and media playing information corresponding to the playing equipment by utilizing sound source separation detection.
In some optional implementations of this embodiment, the media playing information includes a media playing volume; and, the apparatus further comprises: an identification module; an identification module configured to: classifying and identifying the background information, and determining the noise type of the background information; a generation module configured to: generating a second adjusting instruction for adjusting the media playing information in response to determining that the noise type is the preset noise type; a sending module configured to: and sending the second adjusting instruction to the playing equipment so that the playing equipment can reduce the media playing volume based on the second adjusting instruction.
In some optional implementations of this embodiment, the computing module is further configured to: and in response to determining that the noise type is not the preset noise type, calculating target playing information corresponding to the background information based on the preset playing data and the background information.
In some optional implementations of this embodiment, the preset playing data is obtained based on the following steps: acquiring a first playing threshold corresponding to a target user, wherein the first playing threshold represents a hearing range of the target user for media information in a target environment; acquiring a second playing threshold corresponding to the target user, wherein the second playing threshold represents the hearing range of the target user aiming at the media information in different background information; and acquiring preset playing data based on the first playing threshold and the second playing threshold.
In some optional implementations of this embodiment, the apparatus further includes: a judgment module; an acquisition module configured to: responding to the first adjusting instruction sent to the playing equipment, and acquiring current media playing information corresponding to the playing equipment; a determination module configured to: judging whether the media playing information meets playing conditions or not based on the current media playing information and the target playing information; a sending module configured to: and generating and sending a new adjusting instruction to the playing equipment based on the current media playing information and the target playing information in response to the fact that the current media playing information does not meet the playing condition.
The playing information adjusting device provided by the above embodiment of the present disclosure obtains background information and media playing information corresponding to a playing device, then calculates target playing information corresponding to the background information based on preset playing data and the background information, where the preset playing data includes different playing information corresponding to different background information, and generates a first adjusting instruction for adjusting the media playing information based on the media playing information and the target playing information, and finally sends the first adjusting instruction to the playing device, so that the playing device adjusts the media playing information based on the first adjusting instruction, and uses a mobile terminal to detect the background information and the media playing information corresponding to the playing device.
Those skilled in the art will appreciate that the above-described apparatus may also include some other well-known structure, such as a processor, memory, etc., which is not shown in fig. 6 in order to not unnecessarily obscure embodiments of the present disclosure.
Referring now to fig. 7, shown is a schematic diagram of an electronic device (e.g., terminal device in fig. 1) 700 suitable for use in implementing embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 may include a processing means (e.g., central processing unit, graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 702 or a program loaded from storage 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, or the like; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 7 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium described in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring background information and media playing information corresponding to playing equipment; calculating target playing information corresponding to the background information based on preset playing data and the background information, wherein the preset playing data comprise different playing information corresponding to different background information; generating a first adjusting instruction for adjusting the media playing information based on the media playing information and the target playing information; and sending the first adjusting instruction to the playing equipment so that the playing equipment adjusts the media playing information based on the first adjusting instruction.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and including conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present application may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises an acquisition module, a calculation module, a generation module and a sending module. The names of these modules do not form a limitation on the module itself in some cases, for example, the obtaining module may also be described as a "module that obtains background information and media playing information corresponding to a playing device".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combinations of the above-mentioned features, and other embodiments in which the above-mentioned features or their equivalents are combined arbitrarily without departing from the spirit of the invention are also encompassed. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (14)

1. A playing information adjusting method is applied to a mobile terminal and comprises the following steps:
acquiring background information and media playing information corresponding to playing equipment;
calculating target playing information corresponding to the background information based on preset playing data and the background information, wherein the preset playing data comprises different playing information corresponding to different background information;
generating a first adjusting instruction for adjusting the media playing information based on the media playing information and the target playing information;
and sending the first adjusting instruction to the playing equipment so that the playing equipment adjusts the media playing information based on the first adjusting instruction.
2. The method of claim 1, wherein the obtaining of the background information and the media playing information corresponding to the playing device comprises:
responding to the connection with the playing equipment, and collecting environment information corresponding to the playing equipment;
acquiring media information from the playing equipment;
and based on the environment information and the media information, acquiring background information and media playing information corresponding to the playing equipment by utilizing sound source separation detection.
3. The method of claim 1 or 2, wherein the media playback information comprises a media playback volume; and, the method further comprises:
classifying and identifying the background information, and determining the noise type of the background information;
generating a second adjusting instruction for adjusting the media playing information in response to determining that the noise type is a preset noise type;
and sending the second adjusting instruction to the playing equipment so that the playing equipment reduces the media playing volume based on the second adjusting instruction.
4. The method according to claim 3, wherein the calculating target playing information corresponding to the background information based on preset playing data and the background information comprises:
and in response to determining that the noise type is not the preset noise type, calculating target playing information corresponding to the background information based on preset playing data and the background information.
5. The method of claim 1, wherein the preset playback data is obtained based on the steps of:
acquiring a first playing threshold corresponding to a target user, wherein the first playing threshold represents a hearing range of the target user for media information in a target environment;
acquiring a second playing threshold corresponding to the target user, wherein the second playing threshold represents a hearing range of the target user for media information in different background information;
and acquiring the preset playing data based on the first playing threshold and the second playing threshold.
6. The method of claim 1, further comprising:
responding to the first adjusting instruction sent to the playing equipment, and acquiring current media playing information corresponding to the playing equipment;
judging whether the media playing information meets playing conditions or not based on the current media playing information and the target playing information;
and in response to determining that the current media playing information does not meet the playing condition, generating and sending a new adjusting instruction to the playing device based on the current media playing information and the target playing information.
7. A play information adjusting device is applied to a mobile terminal and comprises:
the acquisition module is configured to acquire background information and media playing information corresponding to the playing equipment;
a calculating module configured to calculate target playing information corresponding to the background information based on preset playing data and the background information, wherein the preset playing data includes different playing information corresponding to different background information;
a generating module configured to generate a first adjusting instruction for adjusting the media playing information based on the media playing information and the target playing information;
a sending module configured to send the first adjustment instruction to the playback device, so that the playback device adjusts the media playback information based on the first adjustment instruction.
8. The apparatus of claim 7, wherein the acquisition module is further configured to:
responding to the connection with the playing equipment, and collecting environment information corresponding to the playing equipment;
acquiring media information from the playing equipment;
and based on the environment information and the media information, acquiring background information and media playing information corresponding to the playing equipment by utilizing sound source separation detection.
9. The apparatus of claim 7 or 8, wherein the media playback information comprises a media playback volume; and, the apparatus further comprises: an identification module;
the identification module configured to: classifying and identifying the background information, and determining the noise type of the background information;
the generation module configured to: generating a second adjusting instruction for adjusting the media playing information in response to determining that the noise type is a preset noise type;
the sending module configured to: and sending the second adjusting instruction to the playing equipment so as to enable the playing equipment to reduce the media playing volume based on the second adjusting instruction.
10. The apparatus of claim 9, wherein the computing module is further configured to:
and in response to determining that the noise type is not the preset noise type, calculating target playing information corresponding to the background information based on preset playing data and the background information.
11. The apparatus of claim 7, wherein the preset playback data is obtained based on:
acquiring a first playing threshold corresponding to a target user, wherein the first playing threshold represents a hearing range of the target user for media information in a target environment;
collecting a second playing threshold corresponding to the target user, wherein the second playing threshold represents a hearing range of the target user for the media information in different background information;
and acquiring the preset playing data based on the first playing threshold and the second playing threshold.
12. The apparatus of claim 8, the apparatus further comprising: a judgment module;
the acquisition module configured to: responding to the first adjusting instruction sent to the playing equipment, and acquiring current media playing information corresponding to the playing equipment;
the determination module configured to: judging whether the media playing information meets playing conditions or not based on the current media playing information and the target playing information;
the sending module configured to: and in response to determining that the current media playing information does not satisfy the playing condition, generating and sending a new adjusting instruction to the playing device based on the current media playing information and the target playing information.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-6.
CN202210892567.9A 2022-07-27 2022-07-27 Playing information adjusting method and device Pending CN115278353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210892567.9A CN115278353A (en) 2022-07-27 2022-07-27 Playing information adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210892567.9A CN115278353A (en) 2022-07-27 2022-07-27 Playing information adjusting method and device

Publications (1)

Publication Number Publication Date
CN115278353A true CN115278353A (en) 2022-11-01

Family

ID=83772044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210892567.9A Pending CN115278353A (en) 2022-07-27 2022-07-27 Playing information adjusting method and device

Country Status (1)

Country Link
CN (1) CN115278353A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10016153A1 (en) * 2000-03-27 2001-12-13 Dannemann Marco Digitized audio/video data reduction method for data storage and transmission, involves generating dynamic envelope parameters for removing dynamic redundancy in digital signal
CN106331338A (en) * 2016-08-22 2017-01-11 北京小米移动软件有限公司 Volume adjusting method and device
CN107371102A (en) * 2017-08-18 2017-11-21 广东欧珀移动通信有限公司 Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN107526568A (en) * 2017-08-18 2017-12-29 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
CN108733342A (en) * 2018-05-22 2018-11-02 Oppo(重庆)智能科技有限公司 volume adjusting method, mobile terminal and computer readable storage medium
CN110022487A (en) * 2018-01-08 2019-07-16 腾讯科技(深圳)有限公司 Volume adjusting method and device
CN110367998A (en) * 2019-03-27 2019-10-25 美律电子(深圳)有限公司 Hearing test system and hearing test method
CN111031445A (en) * 2019-11-29 2020-04-17 深圳普罗声声学科技有限公司 Volume compensation method and device, computer equipment and storage medium
CN111447539A (en) * 2020-03-25 2020-07-24 北京聆通科技有限公司 Fitting method and device for hearing earphones
CN112740169A (en) * 2019-12-23 2021-04-30 深圳市易优斯科技有限公司 Equalizer setting method, device, equipment and computer readable storage medium
CN113746983A (en) * 2021-09-06 2021-12-03 周恪睿 Hearing aid method and device, storage medium and intelligent terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10016153A1 (en) * 2000-03-27 2001-12-13 Dannemann Marco Digitized audio/video data reduction method for data storage and transmission, involves generating dynamic envelope parameters for removing dynamic redundancy in digital signal
CN106331338A (en) * 2016-08-22 2017-01-11 北京小米移动软件有限公司 Volume adjusting method and device
CN107371102A (en) * 2017-08-18 2017-11-21 广东欧珀移动通信有限公司 Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN107526568A (en) * 2017-08-18 2017-12-29 广东欧珀移动通信有限公司 volume adjusting method, device, terminal device and storage medium
CN110022487A (en) * 2018-01-08 2019-07-16 腾讯科技(深圳)有限公司 Volume adjusting method and device
CN108733342A (en) * 2018-05-22 2018-11-02 Oppo(重庆)智能科技有限公司 volume adjusting method, mobile terminal and computer readable storage medium
CN110367998A (en) * 2019-03-27 2019-10-25 美律电子(深圳)有限公司 Hearing test system and hearing test method
CN111031445A (en) * 2019-11-29 2020-04-17 深圳普罗声声学科技有限公司 Volume compensation method and device, computer equipment and storage medium
CN112740169A (en) * 2019-12-23 2021-04-30 深圳市易优斯科技有限公司 Equalizer setting method, device, equipment and computer readable storage medium
CN111447539A (en) * 2020-03-25 2020-07-24 北京聆通科技有限公司 Fitting method and device for hearing earphones
CN113746983A (en) * 2021-09-06 2021-12-03 周恪睿 Hearing aid method and device, storage medium and intelligent terminal

Similar Documents

Publication Publication Date Title
US10045140B2 (en) Utilizing digital microphones for low power keyword detection and noise suppression
CN112306448A (en) Method, apparatus, device and medium for adjusting output audio according to environmental noise
US11284151B2 (en) Loudness adjustment method and apparatus, and electronic device and storage medium
CN105979462A (en) Test processing method and device based on microphone
CN111128253B (en) Audio editing method and device
CN111462764B (en) Audio encoding method, apparatus, computer-readable storage medium and device
CN113726940A (en) Recording method and device
CN113963716A (en) Volume balancing method, device and equipment for talking doorbell and readable storage medium
CN112863545B (en) Performance test method, device, electronic equipment and computer readable storage medium
CN111294704B (en) Audio processing method, device and storage medium
CN111383629B (en) Voice processing method and device, electronic equipment and storage medium
CN111045634B (en) Audio processing method and device
CN115278353A (en) Playing information adjusting method and device
CN104581538A (en) Noise eliminating method and device
CN114302278A (en) Headset wearing calibration method, electronic device and computer-readable storage medium
CN112333534B (en) Noise elimination method and device, intelligent television system and readable storage medium
CN112307161B (en) Method and apparatus for playing audio
US11166118B1 (en) Mobile aware intermodal assistant
CN114121050A (en) Audio playing method and device, electronic equipment and storage medium
CN113674739B (en) Time determination method, device, equipment and storage medium
CN111145792B (en) Audio processing method and device
US9532155B1 (en) Real time monitoring of acoustic environments using ultrasound
CN113593619B (en) Method, apparatus, device and medium for recording audio
CN112309420B (en) Method and device for detecting wind noise
CN113156373B (en) Sound source positioning method, digital signal processing device and audio system

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