Playback state adjustment method, device, storage medium and mobile terminal
By scanning the code to determine the end user's riding status and speaker status in real time, and adjusting the playback status of the mobile terminal device, the problem of noise pollution on public transportation vehicles is solved and the quietness of the riding environment is improved.
Patent Information
- Application Number
- CN202210079269.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-24
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-01-24
Smart Images

Figure CN114629990B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communication technology, and in particular to a playback state adjustment method, device, storage medium and mobile terminal. Background Art
[0002] With the popularity and convenience of mobile terminals in daily life, people often use mobile terminals to listen to music, watch videos, etc. when taking public transportation (such as subways, buses, etc.). Sometimes the volume of the mobile terminal is too loud, which will have an adverse effect on other people on public transportation vehicles.
[0003] Currently, in order to reduce this adverse effect, we can only rely on mobile terminal users to adjust the playback status of the mobile terminal under self-supervision or supervision by others, such as plugging in headphones, turning down the volume, etc., but users often cannot adjust the playback status of the mobile terminal in time, and the supervision and reminders from others are very limited, so it is difficult to achieve good results. Summary of the invention
[0004] The inventors have found that when users use terminal devices on public transportation vehicles, the loud sound of the external speakers is too loud and easily causes noise pollution, affecting other people on the public transportation vehicles. However, the prior art lacks a method that can effectively improve the external speaker situation of the terminal on public transportation vehicles. In order to at least partially solve the technical problems existing in the prior art, the inventors have made the present invention, and through specific implementation methods, the technical solutions provided are as follows:
[0005] In a first aspect, an embodiment of the present invention provides a method for adjusting a playback state, comprising:
[0006] Confirm that the end user has completed the QR code scanning for boarding;
[0007] Determine whether the terminal user is in a riding state;
[0008] If yes, determining whether the speaker status of the terminal meets the preset status condition;
[0009] If so, adjust the terminal playback status.
[0010] Furthermore, the determining whether the terminal user is in a riding state specifically includes:
[0011] Acquire the moving speed of the terminal in real time, and determine whether the moving speed meets the preset speed condition. If so, the terminal is in the riding state; or,
[0012] Determine in real time whether the terminal user has completed the scan code when getting off the bus. If not, the user is in the boarding state.
[0013] Further, the determining whether the moving speed meets a preset speed condition specifically includes:
[0014] It is determined whether the moving speed is not continuously less than a first preset speed threshold within a first preset time period.
[0015] Furthermore, the step of determining whether the terminal user has completed the scanning of the QR code for boarding the vehicle specifically includes:
[0016] When feedback information of successful code scanning for boarding is received, it is determined that the terminal user has completed the code scanning for boarding; the feedback information of successful code scanning for boarding includes entry information or deduction information.
[0017] Further, the preset state condition includes: the terminal is in speaker mode and the terminal system volume is greater than a first preset volume;
[0018] The determining whether the speaker status of the terminal meets the preset status condition specifically includes:
[0019] Determine whether the terminal system volume is greater than a first preset volume; if so, determine whether the terminal is in speaker mode; if so, the preset state condition is met; or,
[0020] Determine whether the terminal is in speaker mode; if so, determine whether the terminal system volume is greater than a first preset volume; if so, the preset state condition is met.
[0021] Furthermore, the preset state condition also includes: the terminal is playing;
[0022] The determining whether the speaker status of the terminal meets the preset status condition specifically includes:
[0023] Determine whether the system volume is greater than a first preset volume; if so, determine whether the terminal is in speaker mode; if so, determine whether the terminal is playing, and if so, the preset state condition is met; or,
[0024] Determine whether the terminal is in speaker mode; if so, determine whether the system volume is greater than a first preset volume; if so, determine whether the terminal is playing, and if so, the preset state condition is met; or,
[0025] Determine whether the terminal is in speaker mode; if so, determine whether the terminal is playing; if so, determine whether the system volume is greater than a first preset volume, and if so, the preset state condition is met.
[0026] Furthermore, before adjusting the terminal playback state, the playback state adjustment method further includes:
[0027] Prompting the terminal user to adjust the terminal playback state, and after the second preset time length of the prompt, determining whether the terminal user is in a riding state;
[0028] If yes, determining whether the speaker status of the terminal meets the preset status condition;
[0029] If so, adjust the terminal playback status.
[0030] In a second aspect, an embodiment of the present invention provides a playback state adjustment device, comprising:
[0031] The boarding code scanning monitoring module is used to determine whether the terminal user has completed the boarding code scanning;
[0032] A riding status detection module is used to determine whether the terminal user is in a riding status;
[0033] The speaker status detection module is used to determine whether the speaker status of the terminal meets the preset status conditions when the user is in the vehicle state;
[0034] The playback state adjustment module is used to adjust the terminal playback state when the speaker state meets the preset state conditions.
[0035] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a playback status adjustment method as described in any one of the above-mentioned solutions.
[0036] In a fourth aspect, an embodiment of the present invention provides a mobile terminal, comprising a memory, a processor, and at least one of the above-mentioned playback status adjustment devices stored in the memory and executable on the processor, wherein the processor implements a playback status adjustment method as described in any one of the above-mentioned schemes when executing a program in the playback status adjustment device.
[0037] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:
[0038] After the user completes the boarding code scanning using the terminal, the embodiment of the present invention begins to judge the user's boarding status, and when it is judged that the user is in the boarding status, the speaker status of the terminal carried by the user is detected, and when it is confirmed that the speaker status meets the preset status conditions, the terminal playback status is adjusted. The embodiment of the present invention can effectively improve the problem of excessive external sound of the terminal on public transportation vehicles, reduce the noise pollution of the terminal equipment to the riding environment, and improve the riding environment by detecting the speaker status of the terminal carried by the user during the user's ride and adjusting the terminal playback status when the terminal speaker status does not meet the preset requirements.
[0039] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0040] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0042] Figure 1 This is a flow chart of a method for adjusting a playback state in Embodiment 1 of the present invention;
[0043] Figure 2 This is a flow chart of another method for adjusting the playback state in the first embodiment of the present invention;
[0044] Figure 3 This is a flow chart of another method for adjusting the playback state in the first embodiment of the present invention;
[0045] Figure 4 This is a flow chart of another method for adjusting the playback state in the first embodiment of the present invention;
[0046] Figure 5 This is a flow chart of another method for adjusting the playback state in the first embodiment of the present invention;
[0047] Figure 6 This is a flow chart of another method for adjusting the playback state in the first embodiment of the present invention;
[0048] Figure 7 This is a structural block diagram of a playback status adjustment device in Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0049] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0050] Most public transportation vehicles (such as subways, buses, etc.) can obtain boarding permits by scanning codes. Based on the process of using a terminal to scan codes to board a vehicle, an embodiment of the present invention provides a playback status adjustment method. This playback status adjustment method is applicable to a terminal, which can be an electronic device with a code scanning function and a sound playback function, for example, a smart phone, a smart tablet, a personal computer, and an intelligent robot. When using the terminal to scan a code to board a vehicle, the terminal can receive feedback information about the successful code scanning, such as boarding information or deduction information. The embodiment of the present invention confirms that the user has boarded the vehicle based on the feedback information after the terminal successfully scans the code, and then detects the user's boarding status and the terminal speaker status, and adjusts the terminal playback status to improve the terminal external speaker situation in public transportation vehicles.
[0051] The embodiment of the present invention provides a method for adjusting a playback state. Figure 1 As shown, the following steps are included:
[0052] S11, confirm that the terminal user has completed the QR code scanning for boarding.
[0053] S12, determine whether the terminal user is in a riding state, if so, execute step S13.
[0054] S13, determining whether the speaker status of the terminal meets the preset status condition, if so, executing step S14.
[0055] S14, adjusting the terminal playback status.
[0056] In step S11, when the user scans the code to board the bus, he needs to use the bus application (application) bound to the account on the terminal to generate a station entry QR code or a boarding QR code for the machine to scan. After the QR code is successfully scanned, the machine uploads the scanning information to the server, and the server feeds back the scanning result to the bus application of the corresponding account. After confirming that it has received the feedback information that the boarding code scanning is successful, the bus application generates a start instruction and starts executing the boarding status judgment program.
[0057] Preferably, the ride application monitors whether the scan result information is received when the ride code page is open. It is understandable that the user usually has to open the ride code page before scanning the code. According to this action, when the ride code page is opened, the ride application starts to monitor whether the feedback information of successful scan code is received, and under certain conditions, such as when the ride code page is closed or after a certain period of time when the ride code page is closed, the default scanning process ends and monitoring stops to reduce resource usage. Of course, if it has been determined that the feedback information of successful scan code has been received, the monitoring can be stopped immediately, and the monitoring can be started again when the ride code page is opened again.
[0058] For example, when a user uses a ride application bound to an account to scan a code to enter a subway gate, the gate server can send an entry information to the ride application of the corresponding account. After receiving the entry information, the ride application starts the ride status judgment program. For another example, when the ride application bound to an account scans a code to take some buses, the bus code scanner sends a transaction order to the deduction platform. After the deduction platform deducts the money, it returns the deduction information to the ride application of the corresponding account. After receiving the deduction information, the ride application starts the ride status judgment program.
[0059] In actual application, a setting option for whether to automatically adjust the playback status can be provided in the riding application. When the user sets the system to the automatic adjustment playback status mode, the terminal will execute step S11; of course, the riding application can also be forcibly set to the automatic adjustment playback status mode to restrict the terminal playback status of the user when riding in a public transportation vehicle.
[0060] In step S12, it can be understood that when it is determined that the terminal user has completed scanning the code for boarding, the user is generally in the state of getting on the bus or has already got on the bus. At this time, the terminal speaker status can be detected, and based on the judgment result of the speaker status, it can be decided whether the terminal playback status needs to be adjusted.
[0061] If you want to detect the terminal speaker status in real time while the user is riding, and stop detecting after the user gets off the bus, you need to determine whether the user is in the riding state, that is, whether the user has gotten off the bus or is getting off the bus. When the user is no longer in the riding state, the real-time judgment process of the user's riding state can be stopped immediately; or, the judgment process can be stopped after a certain period of time after the user ends the riding state, depending on the actual application needs.
[0062] In one embodiment, Figure 2 As shown, the step S12 specifically includes:
[0063] S121, determine in real time whether the terminal user has completed scanning the code when getting off the vehicle. If not, determine that the user is in the riding state and execute step S13.
[0064] It is known that there are generally two existing payment methods for rides. One is to deduct money when boarding, such as most buses, and the other is to pay according to the distance between the boarding station and the alighting station, such as subways and a few buses. When riding a subway vehicle, you will receive feedback information about the successful boarding code scanning when you scan the code at the station, such as the station entry information, and you will receive feedback information about the successful exit code scanning when you scan the code at the exit, such as the deduction information and the exit station information. Therefore, for vehicles such as subways, if the ride application receives feedback information about the successful exit code scanning, it can be determined that the user has gotten off or is getting off.
[0065] In another embodiment, Figure 3 As shown, the step S12 specifically includes:
[0066] S122, obtaining the moving speed of the terminal in real time, and determining whether the moving speed meets the preset speed condition. If so, determining that the user is in a riding state, and executing step S13.
[0067] It is known that when public transportation vehicles are running, they usually only stop briefly at designated stations. Therefore, compared with the non-riding state, the riding state of users is in a high-speed moving state for most of the time, and the duration of each stop or slow movement is not too long. Based on this feature, it is possible to determine whether the terminal user is in the riding state based on the terminal's moving speed characteristics. In this embodiment, the terminal's moving speed can be calculated by obtaining GPS (Global Positioning System) positioning in real time.
[0068] In this embodiment, the preset speed condition may be that the moving speed of the terminal is not continuously less than the first preset speed threshold within the first preset duration. Specifically, the first preset duration is set to correspond to the stop duration of the public transportation vehicle at the station, and can be specifically set to be not less than the maximum stop duration of the corresponding public transportation vehicle at each regular station. The first preset speed threshold is set between the regular moving speed of a person and the lower moving speed of the public transportation vehicle. For example, the walking speed of a person is about 5 kilometers per hour, the speed of the subway is generally not less than 50 kilometers per hour, and the moving speed of the urban bus is about 30 kilometers. The first preset speed threshold can be set to 15 kilometers per hour. When the terminal moves at a speed lower than 15 kilometers per hour for more than a certain period of time, it is considered that the user is in a ground movement state such as walking, that is, the user has got off the bus. Therefore, it can be determined whether the user is in a riding state by determining whether the moving speed of the terminal is not continuously less than the first preset speed threshold within the first preset duration.
[0069] In step S13, in order to reduce the impact of the external sound of the terminal on the riding environment, it is necessary to limit the external volume of the terminal. To this end, a preset state condition can be set. When the speaker state of the terminal meets the preset state condition, it is necessary to adjust the terminal playback state. The preset state condition can be set according to actual needs. For example, the preset state condition may include: the terminal is in speaker mode and the terminal system volume is greater than the first preset volume; or it also includes: the terminal is playing. In specific implementation, the judgment process is different according to different preset state conditions.
[0070] In one embodiment, Figure 4 As shown, if the preset requirement is: the terminal is in speaker mode and the terminal system volume is greater than the first preset volume, step S13 specifically includes:
[0071] S1311, determine whether the terminal is in speaker mode; if so, execute step S1312.
[0072] Specifically, it is possible to determine whether the terminal is in speaker mode by detecting the current multimedia data playback path of the terminal. For example, the playback path can be: the terminal's own speaker, receiver, or external device; the external device can be divided into earphones or speakers, and when the playback path is speakers, it is also considered as a speaker.
[0073] When the playback path is the speaker, the terminal is in speaker mode. At this time, the speaker may be in standby mode or in playing mode. It is understandable that in the speaker standby mode, although the terminal will not directly emit sound, if the external speaker volume is set high, when the terminal rings or the user turns on the audio or video player on the terminal, a loud sound will suddenly be emitted, which may have an adverse effect on other passengers on public transportation vehicles. Therefore, adjusting the terminal playback state in the speaker standby mode is also an implementation method of this solution.
[0074] S1312, determine whether the terminal system volume is greater than a first preset volume; if so, determine that the speaker state meets the preset state condition.
[0075] Specifically, the set volume in the terminal system can be directly detected to determine whether it is greater than the first preset volume threshold. Generally speaking, the system setting volume of the terminal device can include the ringtone volume, media playback volume, and alarm volume, etc., and each volume can be set separately and can also be detected separately. Therefore, the first preset volume is a percentage of the set system volume. According to actual application requirements, the above three system volumes can be set below the first preset volume threshold; or one or two of the above three system volumes can be set below the first preset volume threshold; or a corresponding set of first preset volume thresholds can be set for the three system volumes, and it can be determined whether each system volume is greater than its corresponding first preset volume threshold.
[0076] This embodiment provides an implementation method for determining whether the playing state needs to be adjusted. Regardless of whether the terminal is playing sound, as long as the terminal is in speaker mode and the set system volume is greater than the first preset volume, the playing state of the terminal is adjusted.
[0077] In some other embodiments, step S1312 may be performed first, and then step S1311 may be performed, that is, first determining whether the terminal system volume is greater than the first preset volume, and if so, then determining whether the terminal is in speaker mode, and if so, determining that the speaker state meets the preset state condition. This embodiment provides another implementation method for determining whether the playback state needs to be adjusted, and the specific implementation process can refer to the implementation of the above embodiment, which will not be repeated here.
[0078] In one embodiment, Figure 5 As shown, if the preset requirement is: the terminal is in speaker mode, the terminal system volume is greater than the first preset volume, and the terminal is playing, step S13 specifically includes:
[0079] S1321, determine whether the terminal is in speaker mode; if so, execute step S1322.
[0080] The implementation method of step S1321 in this embodiment is similar to the implementation method of the aforementioned step S1311, and will not be repeated here.
[0081] S1322, determine whether the terminal corresponding to the speaker mode is playing; if so, execute step S1323.
[0082] Specifically, it is possible to determine whether the terminal is playing sound by detecting whether the speaker of the terminal is occupied; it is also possible to determine whether the terminal player is playing; it is also possible to monitor whether the terminal makes sound through the terminal microphone. The implementation of the specific detection process can be referred to the implementation in the prior art, which will not be repeated here.
[0083] S1323, determine whether the terminal system volume is greater than a first preset volume; if so, determine that the speaker state meets the preset state condition.
[0084] The implementation method of step S1323 in this embodiment is similar to the implementation method of the aforementioned step S1312, and will not be repeated here.
[0085] This embodiment provides an implementation method for determining whether the playback state needs to be adjusted. The playback state of the terminal is adjusted only when the terminal is playing sound externally and the system volume is greater than a first preset volume.
[0086] In other embodiments, step S1323 may be performed first, and if the judgment is yes, step S1321 may be performed, and if the judgment is yes, step S1322 may be performed; or step S1321 may be performed first, and if the judgment is yes, step S1323 may be performed, and if the judgment is yes, step S1322 may be performed. This embodiment provides another implementation method for determining whether the playback state needs to be adjusted. The specific implementation process can refer to the implementation of the above embodiment, and will not be repeated here.
[0087] It is understandable that when the terminal is playing sound, the system setting volume can only reflect the volume percentage of the current system playback, but does not take into account the original volume of the playback source, which may cause large differences in the volume actually played by the terminal.
[0088] To solve this problem, in one embodiment, when it is detected that the system volume is greater than the first preset volume, the actual playback volume of the terminal can continue to be detected. Specifically, the terminal can be recorded with sound in the system, and the audio volume obtained by the sound recording in the system is also controlled by the volume setting of the system. Therefore, the screen recording volume is very close to the actual volume played by the terminal. The screen recording sound is uploaded to the server for analysis, and the decibel value of the screen recording sound is identified, and the actual volume intensity of the sound emitted by the terminal is judged. Preferably, a sound intensity recognition program can also be set in the terminal device, through which the decibel value of the screen recording sound can be identified without uploading the screen recording sound to the server for analysis.
[0089] This embodiment combines the volume of the playback source to identify the volume intensity actually played by the terminal. Compared with only identifying the system setting volume of the terminal, it can more accurately measure the terminal playback volume, thereby setting a more reasonable playback status restriction condition.
[0090] S14, adjusting the terminal playback status.
[0091] In step S14, the terminal playing state may be adjusted by adjusting the terminal playing mode to a silent mode or a handset mode, or by adjusting the terminal system volume to below a first preset volume.
[0092] After the user completes the boarding code scanning using the terminal, this embodiment begins to judge the user's boarding status, and when it is judged that the user is in the boarding status, the speaker status of the terminal carried by the user is detected, and when it is confirmed that the speaker status meets the preset status conditions, the terminal playback status is adjusted. This embodiment can effectively improve the problem of excessive external sound of the terminal on public transportation vehicles, reduce the noise pollution of the terminal equipment to the riding environment, and improve the riding environment by detecting the speaker status of the terminal carried by the user during the ride, and adjusting the terminal playback status when the terminal speaker status does not meet the preset requirements.
[0093] Figure 6 FIG. 1 is a flow chart of a method for adjusting a playback state according to another exemplary embodiment of the present invention. Figure 6 As shown, the playback state adjustment method provided in this embodiment includes:
[0094] S21, confirming that the terminal user has completed the QR code scanning for boarding.
[0095] The implementation method of step S21 in this embodiment is similar to the implementation method of the aforementioned step S11, and will not be described in detail here.
[0096] S22, determine whether the terminal user is in a riding state, if so, execute step S23.
[0097] The implementation method of step S22 in this embodiment is similar to the implementation method of the aforementioned step S12, and will not be described in detail here.
[0098] S23, determining whether the speaker status of the terminal meets the preset status condition, if so, executing step S24.
[0099] The implementation method of step S23 in this embodiment is similar to the implementation method of the aforementioned step S13, and will not be described in detail here.
[0100] S24, prompting the terminal user to adjust the terminal playback status, and after the second preset time of the prompt, determining whether the terminal user is in a vehicle state and the speaker state of the terminal meets the preset state conditions, if both are true, executing step S25 or S26.
[0101] Specifically, the user can be guided to adjust the terminal playback status through pop-up boxes, push notifications, vibrations, or sound reminders. After prompting the user, the timing starts according to the second preset duration pre-stored on the terminal. After the second preset duration, it is determined again whether the user is in the riding state and whether the terminal playback state is adjusted to a reasonable range, that is, adjusted to not meet the preset state conditions. If the terminal playback state is already within a reasonable range, there is no need to adjust the playback state, and the process ends.
[0102] In order to address the problem that the terminal user fails to adjust the terminal playback state in time after being prompted for the first time, further measures may be taken to promote the adjustment of the terminal playback state. Specifically, step S25 or S26 may be continued.
[0103] S25, prompting the terminal user to adjust the terminal playback status, and after the third preset time of the prompt, determining whether the terminal user is in a vehicle state and the speaker state of the terminal meets the preset state conditions, if both are true, executing step S26.
[0104] This step S25 is used to repeatedly prompt the user, which is similar to the function and principle of step S24, and is not limited to prompting only once. When the terminal still does not meet the preset requirements after multiple prompts, step S26 can be executed again. In actual applications, the preset waiting time before executing step S25 and executing step S26 can be different or the same.
[0105] S26, adjusting the terminal playback state.
[0106] Specifically, the terminal system volume can be actively adjusted to below a preset volume, or directly set to a silent mode, or the terminal playback path can be set to earpiece playback, etc.
[0107] It should be noted that the steps of adjusting the terminal playback state described in steps S23-S26 of this embodiment are not only applicable to Figure 1 The embodiment shown is also applicable to Figures 2 to 5 The two methods of prompting the user to adjust the terminal playback state and actively adjusting the terminal playback state are both for the purpose of adjusting the terminal playback state to meet the preset requirements, and can be applied in the process of adjusting the terminal playback state, which will not be repeated here.
[0108] When this embodiment detects that the terminal playback status does not meet the preset requirements, it first prompts the user to make adjustments to remind customers, improve user experience, and enhance users' awareness of civilized riding; after prompting the terminal user to adjust the terminal playback status, it continues to monitor the terminal playback status. When the terminal user fails to adjust the terminal playback status to meet the preset requirements, further adjustment measures are provided to ensure that the terminal playback status is adjusted.
[0109] Embodiment 2
[0110] Based on the inventive concept of the first embodiment, the present invention also provides a playback state adjustment device, such as Figure 7 As shown, the playback state adjustment device includes:
[0111] The boarding code scanning monitoring module 301 is used to determine whether the terminal user has completed the boarding code scanning;
[0112] The riding status detection module 302 is used to determine whether the terminal user is in the riding status after the riding code scanning monitoring module 301 determines that the terminal user has completed the riding code scanning;
[0113] The speaker status detection module 303 is used to determine whether the speaker status of the terminal meets the preset status condition when the riding status detection module 302 determines that the user is in the riding state;
[0114] The play state adjustment module 304 is used to adjust the terminal play state when the speaker state detection module 303 determines that the speaker state meets the preset state condition.
[0115] Since the principle of the problem solved by the playback state adjustment device is similar to that of the playback state adjustment method in the first embodiment, the implementation of the playback state adjustment device can refer to the implementation of the method in the first embodiment, and the repeated parts will not be repeated.
[0116] According to an embodiment of the present invention, a non-temporary computer-readable storage medium is further provided, on which a computer program is stored. When the program in the storage medium is executed by a processor, the above-mentioned playback status adjustment method can be implemented.
[0117] A mobile terminal comprises a memory, a processor and at least one of the above-mentioned play state adjustment devices stored in the memory and operable on the processor, wherein the processor implements any of the above-mentioned play state adjustment methods when executing a program in the play state adjustment device.
[0118] Regarding the mobile terminal in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the playback state adjustment method, and will not be elaborated here.
[0119] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0120] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0121] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0122] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0123] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for adjusting a playback state, characterized in that: include: The user terminal receives the bus deduction information or subway station entry information corresponding to the account information of the user terminal fed back by the server; If the received information is a bus deduction information, it is determined that the user takes the bus; If the received information is subway entry information, it is determined that the user takes the subway; When the user takes a bus or subway, determine whether the speaker status of the user terminal meets the preset status condition, and the preset status condition includes: the terminal is in speaker mode and the terminal system volume is greater than a first preset volume; If yes, the sound of the user terminal is recorded and sent to the server for analysis, and the decibel value of the recorded sound fed back by the server is received. If the decibel value of the recorded sound is greater than the first preset volume, the terminal user is prompted to adjust the terminal playback state; When the user terminal receives the subway exit information fed back by the server, it stops monitoring the speaker status.
2. The method for adjusting the playback state according to claim 1, characterized in that: If the received information is bus deduction information, it is determined whether the moving speed of the user terminal meets the preset bus speed. If so, it is determined that the user takes the bus; when the moving speed of the user terminal does not meet the preset bus speed condition, the monitoring of the speaker status is stopped.
3. The method for adjusting the playback state according to claim 1, wherein: The determining whether the speaker status of the user terminal meets the preset status condition specifically includes: Determine whether the user terminal system volume is greater than a first preset volume; if so, determine whether the user terminal is in speaker mode; if so, the preset state condition is met; or, Determine whether the user terminal is in speaker mode; if so, determine whether the user terminal system volume is greater than a first preset volume; if so, the preset state condition is met.
4. The method for adjusting the playback state according to claim 1, wherein: The preset status condition also includes determining whether the user terminal is playing.
5. The method for adjusting the playback state according to claim 1, wherein: After prompting the terminal user to adjust the terminal playback status, it also includes: After the second preset time, it is determined again whether the user is in a riding state and whether the terminal playback state is adjusted to a reasonable range. If the user is in a riding state but the terminal playback state is not adjusted to a reasonable range, the user terminal autonomously adjusts the terminal playback state to a reasonable range.
6. The method for adjusting the playback state according to claim 1, wherein: Prompt the terminal user to adjust the terminal playback status, including: Guide users to adjust the terminal playback status through pop-up windows, push notifications, vibrations, or sound reminders.
7. A playback state adjustment device, characterized in that: include: The bus scanning code monitoring module is used to receive the bus deduction information or subway entry information corresponding to the user terminal's account information fed back by the server, and is also used to receive the exit information fed back by the server; The riding status detection module is used to determine whether the user is riding the bus if the received information is bus deduction information; and is also used to determine whether the user is riding the subway if the received information is subway entry information; The speaker status detection module is used to determine whether the speaker status of the user terminal meets the preset status conditions when the user takes the bus or subway. The preset status conditions include: the terminal is in speaker mode and the terminal system volume is greater than a first preset volume; It is also used to stop monitoring the speaker status when the user terminal receives the subway exit information fed back by the server; The playback status adjustment module is used to record the sound of the user terminal and send it to the server for analysis when the speaker status meets the preset status conditions, and receive the decibel value of the recorded sound fed back by the server. If the decibel value of the recorded sound is greater than the first preset volume, the terminal user is prompted to adjust the terminal playback status.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the playback state adjustment method as described in any one of claims 1 to 6 is implemented.
9. A mobile terminal, characterized in that: The device comprises a memory, a processor and at least one playback state adjustment device as claimed in claim 7 which is stored in the memory and can be run on the processor, and the processor implements the playback state adjustment method as claimed in any one of claims 1 to 6 when executing the program in the playback state adjustment device.
