CN110392299B - Volume processing method and device, electronic equipment and storage medium - Google Patents

Volume processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110392299B
CN110392299B CN201910523128.9A CN201910523128A CN110392299B CN 110392299 B CN110392299 B CN 110392299B CN 201910523128 A CN201910523128 A CN 201910523128A CN 110392299 B CN110392299 B CN 110392299B
Authority
CN
China
Prior art keywords
playing
volume
position data
data
public
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
CN201910523128.9A
Other languages
Chinese (zh)
Other versions
CN110392299A (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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910523128.9A priority Critical patent/CN110392299B/en
Publication of CN110392299A publication Critical patent/CN110392299A/en
Application granted granted Critical
Publication of CN110392299B publication Critical patent/CN110392299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Abstract

The disclosure relates to a volume processing method and device, electronic equipment and a storage medium. The method comprises the following steps: when media data are played, a playing mode and playing volume are obtained; when the playing mode is a play-out mode and the playing volume exceeds a set volume threshold, determining whether the playing mode is currently in a public area; and when the current position is in the public area, outputting prompt information. Through this disclosure, the user learns that current broadcast volume is too big after seeing the tip information, can produce the influence to other people in this public zone to the user can turn down the broadcast volume or switch to earphone mode broadcast, avoids producing the influence to other people, promotes user experience.

Description

Volume processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a volume processing method and apparatus, an electronic device, and a storage medium.
Background
With the popularization of mobile terminals and the rapid development of mobile terminal audio and video technologies, users can play audio and video anytime and anywhere through mobile terminals such as mobile phones and tablet computers.
The above techniques also create problems while providing convenience to users. For example, in public areas with dense staff, such as high-speed rails, buses, subways and the like, users play audio and video by using a mobile terminal in an external mode, and the playing volume is large, so that the effect on other people is greatly influenced, and the impression of the playing software in use in the mind of other people is also influenced. The users lack public awareness or are immersed in the content of the audios and videos, so that the feeling of others is ignored, and strangers around the users are difficult to remind actively.
Therefore, in the related art, the situation that the influence is generated on other people when the audio and video are played cannot be processed, and the user experience is poor.
Disclosure of Invention
The disclosure provides a volume processing method, a volume processing device, an electronic device, a storage medium method, a storage medium device and a storage medium system, and aims to at least solve the problem that the influence on others during audio and video playing cannot be processed in the related art, and the user experience is poor. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for processing a volume, including: when media data are played, a playing mode and playing volume are obtained; when the playing mode is a play-out mode and the playing volume exceeds a set volume threshold, determining whether the playing mode is currently in a public area; when the current is in the public area, outputting prompt information; the prompt information is used for prompting the user to turn down the playing volume.
Optionally, the public area comprises public places and public transportation means; the determining whether the current is in the common area comprises: acquiring position data once every set time to obtain a plurality of position data; calculating an average moving speed according to the plurality of position data; when the average moving speed is smaller than a set first speed threshold value, determining whether the mobile terminal is in a public place currently; when the average moving speed is smaller than a set second speed threshold, determining whether the vehicle is currently on a public transport means; the first speed threshold is less than the second speed threshold.
Optionally, the step of calculating an average moving speed from the plurality of position data comprises: calculating the distance between every two adjacent position data; calculating the moving speed between every two adjacent position data according to the distance and the set time; and calculating the average value of all the moving speeds to obtain the average moving speed.
Optionally, the step of determining whether the current location is in a public place comprises: respectively determining whether each position data is in a position coverage range of a preset public place; and when at least a set proportion of the position data are in the position coverage range of the public place, determining that the position data are currently in the public place.
Optionally, the determining whether the vehicle is currently on a public vehicle step comprises: respectively determining whether each position data is on a route of the public transport means corresponding to the preset average moving speed; determining to be currently on a public transportation vehicle when at least a set percentage of the position data is on the route of the public transportation vehicle.
Optionally, the route of the public transportation means includes a plurality of reference points, and the position data of each reference point is one reference position data; the step of respectively determining whether each position data is on the route of the public transportation means corresponding to the preset average moving speed comprises the following steps: respectively determining whether the shortest distance between each position data and a plurality of reference position data is smaller than a set distance threshold value; and when the shortest distance between the current position data and the plurality of reference position data is smaller than a set distance threshold value, determining that the current position data is on the route of the public transport means.
Optionally, after the step of determining whether the current volume is in the public area, the processing method of the volume further includes: when the current position is in the public area, playing first audio data generated in advance; the first audio data comprises a unique identifier of the playing terminal.
Optionally, before the playing the pre-generated first audio data, the method further comprises: acquiring a unique identifier of a playing terminal; carrying out audio coding on the unique identifier to obtain an audio signal; and modulating the audio signal to obtain the first audio data.
Optionally, before acquiring the play mode and the play volume when the media data is played, the method further includes: sending a media data acquisition request to a server, wherein the media data acquisition request comprises a unique identifier of a playing terminal; and receiving the media data returned by the server, wherein the media data comprises first audio data, and the first audio data comprises the unique identifier of the playing terminal.
Optionally, the method further comprises: adding pre-generated first audio data to the media data when the media data are played; the first audio data comprises a unique identifier of the playing terminal.
Optionally, the method further comprises: outputting the report feedback information after receiving the report feedback information aiming at the first audio data; the reporting feedback information is used for prompting that the playing volume is reported.
Optionally, after the step of determining whether the current volume is in the public area, the processing method of the volume further includes: and when the current position is in the public area, converting the playing volume into a preset target volume.
According to a second aspect of the embodiments of the present disclosure, there is provided a processing apparatus of a volume, including: the first acquisition module is configured to acquire a play mode and a play volume when the media data is played; the determining module is configured to determine whether the playing mode is a play-out mode and the playing volume exceeds a set volume threshold value; the first output module is configured to output prompt information when the current public area is in the public area; the prompt information is used for prompting the user to turn down the playing volume.
Optionally, the public area comprises public places and public transportation means; the determining module comprises: a position acquisition unit configured to perform acquisition of position data every set time, resulting in a plurality of position data; a speed calculation unit configured to perform calculation of an average moving speed from the plurality of position data; a first determination unit configured to perform, when the average moving speed is less than a set first speed threshold, determination of whether or not it is currently in a public place; a second determination unit configured to perform, when the average moving speed is less than a set second speed threshold, determining whether or not it is currently on a public transportation; the first speed threshold is less than the second speed threshold.
Optionally, the speed calculation unit includes: a first calculation subunit configured to perform calculation of a distance between each adjacent two pieces of position data; a second calculation subunit configured to perform calculation of a moving speed between each adjacent two pieces of position data in accordance with the distance and the set time; a third calculation subunit configured to perform an average of all the moving speeds, resulting in the average moving speed.
Optionally, the first determining unit includes: a first position determination subunit configured to perform determination of whether each position data is within a position coverage of a preset public place, respectively; a first result determination subunit configured to perform determination that the mobile terminal is currently in the public place when at least a set percentage of the position data is within a position coverage of the public place.
Optionally, the second determining unit includes: a second position determination subunit configured to perform determination of whether each position data is on a route of a public transportation means corresponding to the preset average moving speed, respectively; a second result determination subunit configured to determine that it is currently on the public transportation means when at least the set-proportion position data is on the route of the public transportation means.
Optionally, the route of the public transportation means includes a plurality of reference points, and the position data of each reference point is one reference position data; the second position determining subunit is specifically configured to determine whether a shortest distance between each piece of position data and the plurality of pieces of reference position data is smaller than a set distance threshold value; and when the shortest distance between the current position data and the plurality of reference position data is smaller than a set distance threshold value, determining that the current position data is on the route of the public transport means.
Optionally, the processing device of the volume further includes: the playing module is configured to play the pre-generated first audio data when the playing module is currently in the public area; the first audio data comprises a unique identifier of the playing terminal.
Optionally, the apparatus further comprises: the second acquisition module is configured to execute acquisition of the unique identifier of the playing terminal; the encoding module is configured to perform audio encoding on the unique identifier to obtain an audio signal; a modulation module configured to perform modulation on the audio signal to obtain the first audio data.
Optionally, the apparatus further comprises: the system comprises a sending module, a receiving module and a sending module, wherein the sending module is configured to execute sending of a media data obtaining request to a server, and the media data obtaining request comprises a unique identifier of a playing terminal; the receiving module is configured to execute receiving of the media data returned by the server, where the media data includes first audio data, and the first audio data includes a unique identifier of the playing terminal.
Optionally, the apparatus further comprises: the adding module is configured to add first audio data generated in advance to the media data when the media data are played; the first audio data comprises a unique identifier of the playing terminal.
Optionally, the apparatus further comprises: a second output module configured to perform outputting the report feedback information after receiving the report feedback information for the first audio data; the reporting feedback information is used for prompting that the playing volume is reported.
Optionally, the processing device of the volume further includes: and the conversion module is configured to convert the playing volume into a preset target volume when the playing volume is currently in a public area.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus, including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the volume processing method as described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the processing method of volume as described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising readable program code which, when run on a computing device, causes the computing device to perform the method of processing volume as described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the embodiment of the disclosure, when media data is played, a playing mode and a playing volume are obtained; when the playing mode is the playing mode and the playing volume exceeds a set volume threshold, determining whether the playing mode is currently in a public area; when the current public area is in, outputting prompt information, wherein the prompt information is used for prompting a user to turn down the playing volume. After seeing the prompt message, the user knows that the current playing volume is too large and can influence other people in the public area, so that the user can turn down the playing volume or switch to an earphone mode for playing, influence on other people is avoided, and user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flow chart illustrating a method of processing volume according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of processing volume according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating a volume processing device according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flow chart illustrating a method of processing volume according to an exemplary embodiment. As shown in fig. 1, the method for processing volume is used in an electronic device and includes the following steps.
In step S11, when the media data is played, the playback mode and playback volume are acquired.
The user can install the playing software on the electronic equipment, and the media data can be played through the playing software. For example, the playing software may be music software, video software, short video software, and the like. The played media data may include audio data and video data.
When playing the media data, the current playing mode and playing volume can be obtained. The play mode may include a play-out mode and an earphone mode.
In step S12, when the playback mode is the play-out mode and the playback volume exceeds a set volume threshold, it is determined whether it is currently in the public area.
After the playing mode and the playing volume are obtained, whether the playing mode is the playing mode or not is determined, and the playing volume is determined to exceed a set volume threshold. When the play mode is the play-out mode and the play volume exceeds the set volume threshold, if the electronic device is currently located in the public area, the play behavior may affect other people in the public area. Therefore, in this embodiment, when the play mode is the play-out mode and the play volume exceeds the set volume threshold, it is determined whether the current play mode is in the public area, so as to perform corresponding processing according to the current environment.
For the specific value of the volume threshold, a person skilled in the art may select any suitable value according to practical experience, and the embodiment does not limit this. For example, if the playback volume is in the range of 0 to 100, volume thresholds 40, 50, 60, etc. may be set.
In step S13, when the user is currently in the public area, the presentation information is output.
And when the current position is determined to be in the public area, outputting prompt information, wherein the prompt information is used for prompting a user that the playing volume is too large and needs to be reduced. After seeing the prompt message, the user can turn down the playing volume or switch to the earphone mode for playing in order to avoid influencing other people.
In the embodiment of the disclosure, when media data is played, a playing mode and a playing volume are obtained; when the playing mode is the playing mode and the playing volume exceeds a set volume threshold, determining whether the playing mode is currently in a public area; and when the current position is in the public area, outputting prompt information. After seeing the prompt message, the user knows that the current playing volume is too large and can influence other people in the public area, so that the user can turn down the playing volume or switch to an earphone mode for playing, influence on other people is avoided, and user experience is improved.
Fig. 2 is a flow chart illustrating a method of processing volume according to an exemplary embodiment. As shown in fig. 2, the processing method of the volume includes the following steps.
In step S21, when the media data is played, the playback mode and playback volume are acquired.
The volume processing method of the embodiment is applied to an electronic device, and the electronic device is a playing terminal for playing media data, such as a mobile phone, a tablet computer, a wearable device, and the like.
In one implementation, when the playing terminal plays the media data, the playing mode may be determined by detecting whether an earphone is connected. If the playing terminal is connected with the earphone, the playing mode is an earphone mode; and if the playing terminal is not connected with the earphone, the playing mode is the play-out mode.
In step S22, when the playback mode is the play-out mode and the playback volume exceeds a set volume threshold, it is determined whether it is currently in the public area.
Public areas may include public places and public transportation. The public places can include hospitals, schools, markets, waiting halls and the like. Public transportation may include public transportation, subways, trains, airplanes, and the like. Considering that the moving speed in a public place is greatly different from the moving speed on a public vehicle, it is possible to distinguish whether it is in the public place or on the public vehicle according to the moving speed.
In this embodiment, the step of determining whether the current location is in the public area may include a1 to a 4:
a1, position data is acquired at every set time, and a plurality of position data are obtained.
In one implementation, the playback terminal may obtain the position data through a positioning function. The position data may be GPS (Global Positioning System) data.
For the specific value of the set time, a person skilled in the art may select any suitable value according to practical experience, and the embodiment does not limit this. For example, the set time may be 2s, 3s, 5s, and so on.
A2, calculating an average moving speed according to the plurality of position data.
The step of calculating an average moving speed from the plurality of position data may comprise: calculating the distance between every two adjacent position data; calculating the moving speed between every two adjacent position data according to the distance and the set time; and calculating the average value of all the moving speeds to obtain the average moving speed.
For example, the GPS data is acquired every n seconds for m times to obtain m GPS data, that is, a GPS array G [ m ] having m elements. Calculating the distance between every two adjacent GPS data in the GPS array G [ m ] can obtain (m-1) distance data, namely a distance array D [ m-1] with (m-1) elements. Dividing each distance data in the distance array D [ m-1] by n yields (m-1) velocity data, i.e., a velocity array V [ m-1] having (m-1) elements. And calculating the average value of all the speed data in the speed array V [ m-1] to obtain the average moving speed. Wherein m and n are both natural numbers.
Next, a process of calculating the distance between two GPS data is described. The GPS data may specifically be latitude and longitude data. The earth is a nearly standard ellipsoid with an equatorial radius of 6378.140 km, a polar radius of 6356.755 km, and an average radius of 6371.004 km. If we assume that the earth is a perfect sphere, its radius is the average radius of the earth, denoted as R. If the meridian of 0 degree is taken as a reference, the earth surface distance between any two points on the earth surface can be calculated according to the longitude and latitude of the two points (the error of the earth surface topography on the calculation is ignored, and is only a theoretical estimation value). Let the longitude and latitude of the first point a be (LonA, LatA), and the longitude and latitude of the second point B be (LonB, LatB).
If the east Longitude takes a positive value (Longitude) of the Longitude, the west Longitude takes a negative value (-Longitude), the north Latitude takes a 90-Latitude value (90-Latitude), and the south Latitude takes a 90+ Latitude value (90+ Latitude) according to the reference of 0-degree Longitude, the processed Longitude and Latitude of the point A are recorded as (MLona, MLata), and the Longitude and Latitude of the point B are recorded as (MLonB, MLatB). The following formula for calculating the distance between points a and B:
C=sin(MLatA)*sin(MLatB)*cos(MLonA-MLonB)+cos(MLatA)*cos(MLatB)
Distance=R*Arccos(C)*Pi/180
wherein R is the earth radius, Pi is the circumference ratio, and Distance is the Distance between the points A and B.
If the east Longitude takes the positive value of Longitude (Longitude) and the west Longitude takes the negative value of Longitude (-Longitude) based on the 0-degree Longitude, the Latitude is not processed by the above-mentioned (90-Latitude) and (90+ Latitude). The following formula for calculating the distance between points a and B:
C=sin(LatA)*sin(LatB)+cos(LatA)*cos(LatB)*cos(MLonA-MLonB)
Distance=R*Arccos(C)*Pi/180
if the input and output of the trigonometric function both take the value of the camber, the formula can also be written as:
C=sin(LatA*Pi/180)*sin(LatB*Pi/180)+cos(LatA*Pi/180)*cos(LatB*Pi/180)*cos((MLonA-MLonB)*Pi/180)
Distance=R*Arccos(C)
that is:
C=sin(LatA/57.2958)*sin(LatB/57.2958)+cos(LatA/57.2958)*cos(LatB/57.2958)*cos((MLonA-MLonB)/57.2958)
Distance=R*Arccos(C)
a3, when the average moving speed is less than the set first speed threshold, determining whether the mobile terminal is currently in the public place.
If in a public place, the user may be stationary or walking, and thus the average moving speed is small. A first speed threshold value with a smaller value is set so as to be used as a preliminary judgment basis for judging whether the vehicle is in a public place. The first speed threshold may be set according to walking speed, and any suitable value may be set, for example, the first speed threshold may be 3km/h to 6km/h, and so on.
And when the average moving speed is less than a set first speed threshold value, determining whether the mobile terminal is currently in a public place. The step of determining whether the current location is in a public place may include: respectively determining whether each position data is in a position coverage range of a preset public place; and when at least a set proportion of the position data are in the position coverage range of the public place, determining that the position data are currently in the public place.
In this embodiment, the location coverage of common public places may be preset, and the location coverage of these public places may be stored. In implementation, the location coverage of these public places may be stored locally at the playback terminal, or may be stored at the server. The server is corresponding to the playing software.
If the locations of these public places are stored locally at the cast terminal, the step of determining whether they are currently in the public places may include: the playing terminal respectively determines whether each position data is in a position coverage range of a preset public place; and when at least a set proportion of the position data are in the position coverage range of the public place, determining that the position data are currently in the public place.
If the locations of these public places are stored at the server, the step of determining whether they are currently within the public places may comprise: the playing terminal uploads the position data to the server; the server respectively determines whether each piece of position data is in a preset position coverage range of the public place and returns a result of whether each piece of position data is in the preset position coverage range of the public place to the playing terminal; and the playing terminal receives the result that whether each position data is in the preset position coverage range of the public place or not, and determines that the position data is currently in the public place when at least a set proportion of the position data is in the position coverage range of the public place.
For the specific value of the set ratio, a person skilled in the art may select any suitable value according to practical experience, and the embodiment does not limit this. For example, the set ratio may be 70%, 80%, etc.
A4, when the average moving speed is less than the set second speed threshold, determining whether the vehicle is currently on the public transportation vehicle.
If the vehicle is on a public transport vehicle, the average moving speed is large. A second speed threshold value with a larger value is set to be used as a preliminary judgment basis for judging whether the public transportation vehicle is on. The second speed threshold may be set according to the speed of the slowest public transportation vehicle, and any suitable value may be set, for example, the second speed threshold may be 50km/h to 120km/h, and so on.
And when the average moving speed is less than a set second speed threshold value, determining whether the vehicle is currently on the public transportation vehicle. The step of determining whether the vehicle is currently on a public transportation means may comprise: respectively determining whether each position data is on a route of the public transport means corresponding to the preset average moving speed; determining to be currently on a public transportation vehicle when at least a set percentage of the position data is on the route of the public transportation vehicle.
In this embodiment, a route of a common public transportation means may be preset, and the route of the public transportation means and the moving speed of the public transportation means may be stored correspondingly. In implementation, the storage may be local to the playing terminal or may be stored in the server.
If stored locally at the cast terminal, the step of determining whether it is currently on a public transportation means may include: the playing terminal respectively determines whether each position data is on a route of the public transport means corresponding to the preset average moving speed; determining to be currently on a public transportation vehicle when at least a set percentage of the position data is on the route of the public transportation vehicle.
If stored at the server, the step of determining whether the vehicle is currently on a public transportation vehicle may include: the playing terminal uploads the position data to the server; the server respectively determines whether each piece of position data is on the route of the public transport means corresponding to the preset average moving speed, and returns the result of whether each piece of position data is on the route of the public transport means corresponding to the preset average moving speed to the playing terminal; and the playing terminal receives the result of whether each position data is on the route of the public transport means corresponding to the preset average moving speed, and determines that the position data is currently on the public transport means when at least the position data with the set proportion is on the route of the public transport means.
In an implementation, a route of the public transportation means corresponding to the average moving speed can be determined according to the calculated average moving speed. For example, when the average moving speed is 200km/h to 400km/h, the public transportation means can be presumed to be a high-speed rail, and when the average moving speed is 50km/h to 120km/h, the public transportation means can be presumed to be a bus. The route of the public transportation means may include a plurality of reference points, and the position data of each reference point is one reference position data. The step of determining whether each position data is on the route of the public transportation means corresponding to the preset average moving speed may include: respectively determining whether the shortest distance between each position data and a plurality of reference position data is smaller than a set distance threshold value; and when the shortest distance between the current position data and the plurality of reference position data is smaller than a set distance threshold value, determining that the current position data is on the route of the public transport means.
And respectively calculating the distances between the current position data and the plurality of reference position data aiming at each position data, selecting the shortest distance from the current position data and the plurality of reference position data, comparing the shortest distance with a set distance threshold, and determining that the current position data is positioned on the route of the public transport means if the shortest distance is less than the set distance threshold.
In step S23, when the user is currently in the public area, the presentation information is output.
In the implementation, the playing terminal can output prompt information for prompting that the playing volume is too large through modes such as popup window and the like.
In step S24, the playback volume is turned down when it is currently in the public area.
In this embodiment, when the play terminal determines that the play terminal is currently located in the public area, the current play volume may be automatically turned down, or after the play terminal outputs the prompt message, if it is detected that the play volume is not turned down by the user, the current play volume may be automatically turned down. Therefore, the influence on other people in the public area is reduced, the process that the user manually turns down the volume is omitted, and the process is simpler and more convenient.
In an implementation, the playback volume may be turned down in the following manner. In one mode, the target volume can be preset, and the playing terminal automatically converts the playing volume into the preset target volume. In another way, the play terminal may perform volume processing, such as muting processing, on the received media data, so as to reduce the play volume. In another mode, a volume adjustment value may be preset, and the playing terminal determines whether the current playing volume is smaller than a set threshold, and automatically reduces the playing volume by the volume adjustment value when the current playing volume is smaller than the set threshold.
In step S25, the first audio data is played.
In this embodiment, a manner in which other people in the public area report on the play terminal may also be set, and the electronic device that reports is called a reporting terminal.
For example, ultrasonic communication techniques may be employed. Ultrasonic communication is the transmission of information between terminals using ultrasonic technology. The principle is that simply speaking, a long-time frequency is used as a signal, a sender encodes the signal into a plurality of equal-length frequencies, and the equal-length frequencies are transmitted by broadcasting equipment; the receiver records the sound through the recording equipment, then identifies the frequency with equal length, and finally restores the frequency into a corresponding signal, thereby realizing sound wave transmission. For example, the code is 32-ary (0-31), the corresponding frequency is set to be 1 k-4.1 k, the time duration corresponding to each signal is 100ms, if the sending party sends signals 3, 2, 10, 30, the corresponding frequency is 1.3k, 1.2k, 2k, 4k, the time duration of each frequency is 100ms, and the receiving party identifier mainly serves to identify the frequencies of 100ms and then restore the frequencies to signals.
In an alternative embodiment, the first audio data may be generated in advance in the play terminal, and the first audio data may include a unique identifier of the play terminal. In the implementation, the unique identifier of the playing terminal is obtained; carrying out audio coding on the unique identifier of the playing terminal, for example, carrying out audio coding on the unique identifier of the playing terminal by using a Dual Tone Multi Frequency (DTMF) coding and decoding mode with strong noise immunity, and coding the unique identifier into sixteen DTMF audio signals corresponding to 0-15; and then modulating the audio signal obtained by encoding to obtain an audio file in an MP3 or WAV format, wherein the audio file is the first audio data. And when the playing terminal determines that the playing terminal is currently in the public area, the pre-generated first audio data is played while the media data is played.
In another alternative embodiment, before playing the media data, the playing terminal sends a media data obtaining request to the server so as to request to obtain the media data from the server, where the media data obtaining request may include information such as an identifier (such as a name, an author, and the like) of the media data, a unique identifier of the playing terminal, and the like. After receiving the media data acquisition request, the server acquires media data corresponding to the request, performs audio coding on the unique identifier of the playing terminal according to the above mode to obtain an audio signal, and modulates the audio signal to obtain first audio data. The server adds the first audio data to the media data and returns the media data to the playing terminal. In this case, the first audio data is added to the media data played by the playing terminal, so that the first audio data is added to the media data for playing.
In another alternative embodiment, the first audio data may be generated in advance in the play terminal, and the first audio data may include a unique identifier of the play terminal. For the generation process of the first audio data, the above-mentioned related description may be referred to. The playing terminal may add the first audio data generated in advance to the media data in the process of playing the media data. In this case, the first audio data is added to the media data played by the playing terminal, so that the first audio data is added to the media data for playing.
In step S26, the first audio data is output after receiving the report feedback information.
When the reporting terminal is close to the playing terminal, the reporting terminal is influenced by the overlarge playing volume of the playing terminal, a user of the reporting terminal can start playing software and click a reporting button to trigger a reporting instruction. And after receiving the reporting instruction, the reporting terminal starts the recording function to record external audio data, namely second audio data.
In an optional implementation manner, the reporting terminal may analyze the second audio data, and if the reporting terminal can receive the first audio data played by the playing terminal, the second audio data recorded by the reporting terminal includes the first audio data, so that the reporting terminal can identify the unique identifier of the playing terminal included in the first audio data. The reporting terminal generates reporting information carrying the unique identifier according to the identified unique identifier of the playing terminal, the reporting information also comprises the unique identifier of the reporting terminal, and the reporting terminal uploads the reporting information to the server. And after receiving the report information uploaded by the report terminal, the server analyzes the report information to obtain the unique identifier of the playing terminal and the unique identifier of the report terminal, verifies the authenticity of the report information, generates report feedback information in real time of the report information, and returns the report feedback information to the playing terminal. The process of verifying the authenticity of the reported information may include: and verifying whether the playing terminal is playing the media data and whether the distance between the playing terminal and the reporting terminal is smaller than a set distance threshold.
In another optional implementation manner, the reporting terminal may generate reporting information carrying the second audio data, the reporting information further includes a unique identifier of the reporting terminal, and the reporting terminal uploads the reporting information to the server. And after receiving the reporting information uploaded by the reporting terminal, the server analyzes the reporting information to obtain the second audio data carried in the reporting information and the unique identifier of the reporting terminal. The reporting terminal analyzes the second audio data, and if the reporting terminal can receive the first audio data played by the playing terminal, the second audio data recorded by the reporting terminal comprises the first audio data, so that the server can identify the unique identifier of the playing terminal in the first audio data. The server verifies the authenticity of the reporting information, generates reporting feedback information in real time of the reporting information, and returns the reporting feedback information to the playing terminal. The process of verifying the authenticity of the reported information may include: and verifying whether the playing terminal is playing the media data and whether the distance between the playing terminal and the reporting terminal is smaller than a set distance threshold.
And the playing terminal outputs the reporting feedback information after receiving the reporting feedback information aiming at the first audio data, wherein the reporting feedback information is used for prompting that the playing volume is reported. For example, the reporting feedback information may include reporting content, such as "reported when the volume of the playing is too large". After seeing the report feedback information, the user can be reminded to turn down the playing volume or switch to an earphone mode.
In the embodiment of the disclosure, on the one hand, the playing terminal can output the prompt information so as to remind the user of the playing terminal that the playing volume is too large, on the other hand, the reporting terminal reports the playing volume after being influenced by the playing terminal, and the server reminds the user of the playing terminal that the playing volume is too large, so that the user is reminded more comprehensively and more effectively.
Fig. 3 is a block diagram illustrating a volume processing device according to an exemplary embodiment. Referring to fig. 3, the apparatus includes a first obtaining module 301, a determining module 302, and a first outputting module 303.
The obtaining module 301 is configured to obtain a playing mode and a playing volume when playing the media data.
A determining module 302 configured to determine whether the playback mode is a play-out mode and the playback volume exceeds a set volume threshold.
And a first output module 303 configured to output the prompt message when the current location is in the public area.
In an alternative embodiment, the public area includes public places and public transportation; the determining module comprises: a position acquisition unit configured to perform acquisition of position data every set time, resulting in a plurality of position data; a speed calculation unit configured to perform calculation of an average moving speed from the plurality of position data; a first determination unit configured to perform, when the average moving speed is less than a set first speed threshold, determination of whether or not it is currently in a public place; a second determination unit configured to perform, when the average moving speed is less than a set second speed threshold, determining whether or not it is currently on a public transportation; the first speed threshold is less than the second speed threshold.
In an alternative embodiment, the speed calculation unit comprises: a first calculation subunit configured to perform calculation of a distance between each adjacent two pieces of position data; a second calculation subunit configured to perform calculation of a moving speed between each adjacent two pieces of position data in accordance with the distance and the set time; a third calculation subunit configured to perform an average of all the moving speeds, resulting in the average moving speed.
In an optional embodiment, the first determining unit comprises: a first position determination subunit configured to perform determination of whether each position data is within a position coverage of a preset public place, respectively; a first result determination subunit configured to perform determination that the mobile terminal is currently in the public place when at least a set percentage of the position data is within a position coverage of the public place.
In an optional embodiment, the second determining unit comprises: a second position determination subunit configured to perform determination of whether each position data is on a route of a public transportation means corresponding to the preset average moving speed, respectively; a second result determination subunit configured to determine that it is currently on the public transportation means when at least the set-proportion position data is on the route of the public transportation means.
In an alternative embodiment, the route of the public transportation means includes a plurality of reference points, and the position data of each reference point is one reference position data; the second position determining subunit is specifically configured to determine whether a shortest distance between each piece of position data and the plurality of pieces of reference position data is smaller than a set distance threshold value; and when the shortest distance between the current position data and the plurality of reference position data is smaller than a set distance threshold value, determining that the current position data is on the route of the public transport means.
In an optional implementation, the processing device of the volume further includes: the playing module is configured to play the pre-generated first audio data when the playing module is currently in the public area; the first audio data comprises a unique identifier of the playing terminal.
In an alternative embodiment, the apparatus further comprises: the second acquisition module is configured to execute acquisition of the unique identifier of the playing terminal; the encoding module is configured to perform audio encoding on the unique identifier to obtain an audio signal; a modulation module configured to perform modulation on the audio signal to obtain the first audio data.
In an alternative embodiment, the apparatus further comprises: the system comprises a sending module, a receiving module and a sending module, wherein the sending module is configured to execute sending of a media data obtaining request to a server, and the media data obtaining request comprises a unique identifier of a playing terminal; the receiving module is configured to execute receiving of the media data returned by the server, where the media data includes first audio data, and the first audio data includes a unique identifier of the playing terminal.
In an alternative embodiment, the apparatus further comprises: the adding module is configured to add first audio data generated in advance to the media data when the media data are played; the first audio data comprises a unique identifier of the playing terminal.
In an alternative embodiment, the apparatus further comprises: a second output module configured to perform outputting the report feedback information after receiving the report feedback information for the first audio data; the reporting feedback information is used for prompting that the playing volume is reported.
In an optional implementation, the processing device of the volume further includes: and the conversion module is configured to convert the playing volume into a preset target volume when the playing volume is currently in a public area.
In the embodiment of the disclosure, after seeing the prompt message, the user knows that the current playing volume is too large, and the influence is generated on other people in the public area, so that the user can turn down the playing volume or switch to an earphone mode for playing, the influence on other people is avoided, and the user experience is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a block diagram illustrating an apparatus 400 for processing of volume according to an example embodiment. The apparatus 400 may be provided as an electronic device. For example, the apparatus 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an interface for input/output (I/O) 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 400 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as a display and keypad of the apparatus 400, the sensor component 414 can also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the method described above is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which comprises readable program code executable by the processor 420 of the apparatus 400 to perform the above-described method. Alternatively, the program code may be stored in a storage medium of the apparatus 400, which may be a non-transitory computer readable storage medium, for example, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (22)

1. A method for processing volume, comprising:
when media data are played, a playing mode and playing volume are obtained;
when the playing mode is a play-out mode and the playing volume exceeds a set volume threshold, determining whether the playing mode is currently in a public area;
when the current is in the public area, outputting prompt information; the prompt information is used for prompting a user to turn down the playing volume;
wherein after the determining whether the current is within the common area, the method further comprises:
when the current position is in the public area, playing first audio data generated in advance; the first audio data comprises a unique identifier of the playing terminal;
after first feedback information aiming at the first audio data and sent by a server is received, outputting the first feedback information; the first feedback information is used for prompting that the playing volume is fed back; the server is configured to receive second feedback information uploaded by a feedback terminal, verify the authenticity of the second feedback information, and generate the first feedback information when the second feedback information is authentic; the feedback terminal is configured to record the first audio data to obtain second audio data; analyzing the second audio data to obtain a unique identifier of the playing terminal; and generating the second feedback information according to the unique identifier of the playing terminal and the unique identifier of the feedback terminal.
2. The processing method of sound volume according to claim 1, wherein the public area includes public places and public transportation means; the determining whether the current is in the common area comprises:
acquiring position data once every set time to obtain a plurality of position data;
calculating an average moving speed according to the plurality of position data;
when the average moving speed is smaller than a set first speed threshold value, determining whether the mobile terminal is in a public place currently;
when the average moving speed is smaller than a set second speed threshold, determining whether the vehicle is currently on a public transport means;
the first speed threshold is less than the second speed threshold.
3. The method of processing volume according to claim 2, wherein said calculating an average moving speed from the plurality of position data comprises:
calculating the distance between every two adjacent position data;
calculating the moving speed between every two adjacent position data according to the distance and the set time;
and calculating the average value of all the moving speeds to obtain the average moving speed.
4. The method of processing volume according to claim 2, wherein the determining whether the current location is in a public place comprises:
respectively determining whether each position data is in a position coverage range of a preset public place;
and when at least a set proportion of the position data are in the position coverage range of the public place, determining that the position data are currently in the public place.
5. The method of processing volume according to claim 2, wherein said determining whether or not it is currently on a public transportation means comprises:
respectively determining whether each position data is on a route of the public transport means corresponding to the preset average moving speed;
determining to be currently on a public transportation vehicle when at least a set percentage of the position data is on the route of the public transportation vehicle.
6. The processing method of sound volume according to claim 5, wherein the route of the public transportation means includes a plurality of reference points, and the position data of each reference point is one reference position data; the respectively determining whether each position data is on the route of the public transportation means corresponding to the preset average moving speed comprises:
respectively determining whether the shortest distance between each position data and a plurality of reference position data is smaller than a set distance threshold value;
and when the shortest distance between the current position data and the plurality of reference position data is smaller than a set distance threshold value, determining that the current position data is on the route of the public transport means.
7. The method for processing the volume according to claim 1, wherein before the playing the pre-generated first audio data, the method further comprises:
acquiring a unique identifier of a playing terminal;
carrying out audio coding on the unique identifier to obtain an audio signal;
and modulating the audio signal to obtain the first audio data.
8. The method for processing the volume according to claim 1, wherein before acquiring the play mode and the play volume when playing the media data, the method further comprises:
sending a media data acquisition request to a server, wherein the media data acquisition request comprises a unique identifier of a playing terminal;
and receiving the media data returned by the server, wherein the media data comprises first audio data, and the first audio data comprises the unique identifier of the playing terminal.
9. The method for processing the volume according to claim 1, wherein the method further comprises:
adding pre-generated first audio data to the media data when the media data are played; the first audio data comprises a unique identifier of the playing terminal.
10. The method of processing volume according to claim 1, wherein after the determining whether or not it is currently in a public area, the method further comprises:
and when the current position is in the public area, converting the playing volume into a preset target volume.
11. A device for processing volume, comprising:
the first acquisition module is configured to acquire a play mode and a play volume when the media data is played;
the determining module is configured to determine whether the playing mode is a play-out mode and the playing volume exceeds a set volume threshold value;
the first output module is configured to output prompt information when the current public area is in the public area; the prompt information is used for prompting a user to turn down the playing volume;
the device further comprises:
the playing module is configured to play the pre-generated first audio data when the playing module is currently in the public area; the first audio data comprises a unique identifier of the playing terminal;
the second output module is configured to output the first feedback information after receiving the first feedback information aiming at the first audio data sent by the server; the first feedback information is used for prompting that the playing volume is fed back; the server is configured to receive second feedback information uploaded by a feedback terminal, verify the authenticity of the second feedback information, and generate the first feedback information when the second feedback information is authentic; the feedback terminal is configured to record the first audio data to obtain second audio data; analyzing the second audio data to obtain a unique identifier of the playing terminal; and generating the second feedback information according to the unique identifier of the playing terminal and the unique identifier of the feedback terminal.
12. The processing device of sound volume according to claim 11, wherein the public area includes public places and public transportation means; the determining module comprises:
a position acquisition unit configured to perform acquisition of position data every set time, resulting in a plurality of position data;
a speed calculation unit configured to perform calculation of an average moving speed from the plurality of position data;
a first determination unit configured to perform, when the average moving speed is less than a set first speed threshold, determination of whether or not it is currently in a public place;
a second determination unit configured to perform, when the average moving speed is less than a set second speed threshold, determining whether or not it is currently on a public transportation;
the first speed threshold is less than the second speed threshold.
13. The processing device of the volume according to claim 12, wherein the velocity calculating unit comprises:
a first calculation subunit configured to perform calculation of a distance between each adjacent two pieces of position data;
a second calculation subunit configured to perform calculation of a moving speed between each adjacent two pieces of position data in accordance with the distance and the set time;
a third calculation subunit configured to perform an average of all the moving speeds, resulting in the average moving speed.
14. The apparatus for processing the volume according to claim 12, wherein the first determining unit includes:
a first position determination subunit configured to perform determination of whether each position data is within a position coverage of a preset public place, respectively;
a first result determination subunit configured to perform determination that the mobile terminal is currently in the public place when at least a set percentage of the position data is within a position coverage of the public place.
15. The apparatus for processing the volume according to claim 12, wherein the second determining unit includes:
a second position determination subunit configured to perform determination of whether each position data is on a route of a public transportation means corresponding to the preset average moving speed, respectively;
a second result determination subunit configured to determine that it is currently on the public transportation means when at least the set-proportion position data is on the route of the public transportation means.
16. The processing device of sound volume according to claim 15, wherein the route of the public transportation means includes a plurality of reference points, and the position data of each reference point is one reference position data;
the second position determining subunit is specifically configured to determine whether a shortest distance between each piece of position data and the plurality of pieces of reference position data is smaller than a set distance threshold value; and when the shortest distance between the current position data and the plurality of reference position data is smaller than a set distance threshold value, determining that the current position data is on the route of the public transport means.
17. The apparatus for processing volume according to claim 11, wherein the apparatus further comprises:
the second acquisition module is configured to execute acquisition of the unique identifier of the playing terminal;
the encoding module is configured to perform audio encoding on the unique identifier to obtain an audio signal;
a modulation module configured to perform modulation on the audio signal to obtain the first audio data.
18. The apparatus for processing volume according to claim 11, wherein the apparatus further comprises:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is configured to execute sending of a media data obtaining request to a server, and the media data obtaining request comprises a unique identifier of a playing terminal;
the receiving module is configured to execute receiving of the media data returned by the server, where the media data includes first audio data, and the first audio data includes a unique identifier of the playing terminal.
19. The apparatus for processing volume according to claim 11, wherein the apparatus further comprises:
the adding module is configured to add first audio data generated in advance to the media data when the media data are played; the first audio data comprises a unique identifier of the playing terminal.
20. The apparatus for processing volume according to claim 11, wherein the apparatus further comprises:
and the conversion module is configured to convert the playing volume into a preset target volume when the playing volume is currently in a public area.
21. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement a method of processing volume as claimed in any one of claims 1 to 10.
22. A storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a method of processing a volume as claimed in any one of claims 1 to 10.
CN201910523128.9A 2019-06-17 2019-06-17 Volume processing method and device, electronic equipment and storage medium Active CN110392299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910523128.9A CN110392299B (en) 2019-06-17 2019-06-17 Volume processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910523128.9A CN110392299B (en) 2019-06-17 2019-06-17 Volume processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110392299A CN110392299A (en) 2019-10-29
CN110392299B true CN110392299B (en) 2022-03-25

Family

ID=68285703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910523128.9A Active CN110392299B (en) 2019-06-17 2019-06-17 Volume processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110392299B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118357B (en) * 2020-09-21 2021-08-20 珠海格力电器股份有限公司 Intelligent terminal management method and device, storage medium and electronic device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015125142A1 (en) * 2014-02-19 2015-08-27 Shomroni Less Dafna Miriam Methods and systems for personalized sensory sensitivity simulation and alerting
CN105244048B (en) * 2015-09-25 2017-12-05 小米科技有限责任公司 Audio play control method and device
US10708701B2 (en) * 2015-10-28 2020-07-07 Music Tribe Global Brands Ltd. Sound level estimation
CN105898365A (en) * 2015-11-16 2016-08-24 乐视网信息技术(北京)股份有限公司 Cross screen interaction method, device, server and terminal device
CN105872746A (en) * 2015-11-26 2016-08-17 乐视网信息技术(北京)股份有限公司 Muting method according to use scenes and terminal device
CN106227479A (en) * 2016-07-25 2016-12-14 安宇 A kind of public transport device for display of message terminal and using method
CN106412287B (en) * 2016-09-27 2019-10-01 广东小天才科技有限公司 A kind of method and device of volume adjustment
CN106488036A (en) * 2016-11-29 2017-03-08 深圳天珑无线科技有限公司 Volume adjusting method and device
CN107124149B (en) * 2017-05-05 2020-12-01 北京小鱼在家科技有限公司 Volume adjustment method, device and equipment
CN108521521B (en) * 2018-04-19 2021-04-02 Oppo广东移动通信有限公司 Volume adjusting method, mobile terminal and computer readable storage medium
CN109151185A (en) * 2018-08-01 2019-01-04 张家港市鸿嘉数字科技有限公司 A kind of method and device according to vehicle driving scene matching music type
CN109688438B (en) * 2018-12-24 2021-06-22 江西云本数字科技有限公司 Advertisement playing method and equipment

Also Published As

Publication number Publication date
CN110392299A (en) 2019-10-29

Similar Documents

Publication Publication Date Title
CN108446022B (en) User device and control method thereof
CN109859730B (en) Audio processing method and device
CN106911967B (en) Live broadcast playback method and device
CN110503935B (en) Audio data processing method and device, electronic equipment and storage medium
US20080195305A1 (en) System and method for broadcasting navigation prompts
CN107911386B (en) Method and device for acquiring service authorization information
CN112969096A (en) Media playing method and device and electronic equipment
JP2016517253A (en) Voice call method, voice playback method, apparatus, program, and recording medium
CN113098629B (en) Network distribution method, device and storage medium
CN111246283A (en) Video playing method and device, electronic equipment and storage medium
CN111007462A (en) Positioning method, positioning device, positioning equipment and electronic equipment
CN110992920B (en) Live broadcasting chorus method and device, electronic equipment and storage medium
CN106936836B (en) Multimedia communication method and device
CN110392299B (en) Volume processing method and device, electronic equipment and storage medium
CN111696577A (en) Reminding method and device and earphone
CN106375846B (en) The processing method and processing device of live audio
KR101533368B1 (en) Control method of master mobile apparatus and slave mobile apparatus, recording medium for performing the method
CN105099884B (en) The rendering method and device of instant communication information
CN104599691B (en) Audio frequency playing method and device
CN105100665A (en) Method and apparatus for storing multimedia information acquired by aircraft
CN109461461B (en) Audio playing method and device, electronic equipment and storage medium
US10880525B2 (en) Body worn video device and process having cellular enabled video streaming
CN105101409A (en) Mobile terminal positioning method and device
KR101805533B1 (en) Mobile terminal, news providing apparatus and position based news providing method
CN111696578B (en) Reminding method and device, earphone and earphone storage device

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