Audio playing method, device and equipment and computer readable storage medium

By acquiring and processing audio data in the TV, and determining the playback rules according to the user environment, the problem of unclear sound on the TV in a noisy environment is solved, and clear audio playback in a noisy environment is achieved.

CN118748725APending Publication Date: 2024-10-08SHENZHEN MTC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410789487.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-10-29
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

When the TV plays audio in a noisy environment, the sound is difficult to hear clearly and cannot meet the user's demand for beautiful sound effects.

Method used

By obtaining the target audio data to be played, and determining whether there is a target user based on the wireless signal received by the TV. If there is, determine the audio playback rules based on the target user's environmental sound data and preset standard sound data, and process the audio data. to reduce noise interference.

Benefits of technology

Ensure the clarity of audio information in noisy environments, reduce the impact of external noise, and enable users to hear clear audio content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748725A_ABST
    Figure CN118748725A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an audio playing method and device, equipment and a computer readable storage medium. According to the method, target audio data to be played are obtained, whether a target user exists in a preset area where the television is located or not is determined according to a wireless signal received by the television, and if the target user exists in the preset area where the television is located, the target audio data is played. If yes, determining an audio playing rule according to the environment sound data of the target area where the target user is located and the preset standard sound data, then processing the target audio data according to the audio playing rule, obtaining the processed target audio data, and playing the processed target audio data, thereby reducing the interference of external noise, and improving the user experience. Therefore, the audio data played by the television is not influenced by environmental noise, and a user can hear clear audio information in a noise environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an audio playback method, apparatus, device and computer-readable storage medium. Background Art

[0002] With the rapid development of science and technology, various consumer electronic products are becoming increasingly popular. For example, the penetration rate of televisions in homes, schools, entertainment venues, etc. is quite high; the competition among manufacturers and sellers is also becoming increasingly fierce.

[0003] At present, the requirements for TV sets are getting higher and higher. For example, people hope to enjoy the beautiful sound effects brought by the audio processing part of the TV set. However, the TV set is an entertainment device. During the TV playing process, the surrounding environment is usually in a messy situation, so people often cannot hear the content of the TV at all, so it is difficult to meet people's requirements. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present application provides an audio playback method, device, equipment and computer-readable storage medium, which can improve the technical problem of the influence of noise around the TV on the TV sound during the existing TV playback process.

[0005] To solve the above problems, in a first aspect, the present application provides an audio playback method, which is applied to a television set, and the method comprises:

[0006] Get the target audio data to be played;

[0007] Determining whether there is a target user in a preset area where the television is located according to the wireless signal received by the television;

[0008] If there is a target user in the preset area where the TV is located, determining an audio playback rule according to the ambient sound data of the target area where the target user is located and preset standard sound data;

[0009] The target audio data is processed according to the audio playing rule to obtain the processed target audio data and play it.

[0010] In a second aspect, the present application further provides an audio playback device, comprising:

[0011] An acquisition unit, used for acquiring target audio data to be played;

[0012] A first determining unit, configured to determine whether a target user exists in a preset area where the TV is located according to a wireless signal received by the TV;

[0013] A second determining unit is used to determine an audio playing rule according to the environmental sound data of the target area where the target user is located and preset standard sound data if there is a target user in the preset area where the TV is located;

[0014] The playing unit is used to process the target audio data according to the audio playing rule, obtain the processed target audio data and play it.

[0015] In a third aspect, an embodiment of the present application further provides an electronic device, one or more processors;

[0016] Memory; and

[0017] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in the audio playback method.

[0018] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the audio playback method.

[0019] The audio playback method provided by the present application obtains target audio data to be played, and determines whether there is a target user in a preset area where the TV is located based on the wireless signal received by the TV. If there is a target user in the preset area where the TV is located, an audio playback rule is determined based on the ambient sound data of the target area where the target user is located and preset standard sound data. Then, the target audio data can be processed according to the audio playback rule to obtain the processed target audio data and play it, thereby reducing interference from external noise, so that the audio data played by the TV is not affected by the ambient noise, and the user can hear clear audio information even in a noisy environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 A schematic diagram of a specific scenario of the audio playback method provided in an embodiment of the present application;

[0022] Figure 2 A schematic diagram of a first process flow of an audio playback method provided in an embodiment of the present application;

[0023] Figure 3A second flow chart of the audio playback method provided in an embodiment of the present application;

[0024] Figure 4 A third flow chart of the audio playback method provided in the embodiment of the present application;

[0025] Figure 5 A fourth flow chart of the audio playback method provided in an embodiment of the present application;

[0026] Figure 6 A fifth flow chart of the audio playback method provided in an embodiment of the present application;

[0027] Figure 7 A sixth flow chart of the audio playback method provided in an embodiment of the present application;

[0028] Figure 8 A seventh flow chart of the audio playback method provided in an embodiment of the present application;

[0029] Fig. 9 A schematic block diagram of an audio playback device provided in an embodiment of the present application;

[0030] Fig.10 A schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of the present application.

[0032] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0033] In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.

[0034] The embodiments of the present application provide an audio playback method, apparatus, device, and computer-readable storage medium, which are described in detail below.

[0035] The audio playback method in the embodiment of the present application is applied to an audio playback device, and the audio playback device is arranged in the audio playback device. The audio playback device is provided with one or more processors, a memory, and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the audio playback method; the audio playback device can be a terminal, such as a mobile phone or a tablet computer, and the audio playback device can also be a server, or a service cluster composed of multiple servers.

[0036] like Figure 1 As shown, Figure 1 A schematic diagram of a specific scenario of the audio playback method provided in an embodiment of the present application. The audio playback scenario in the embodiment of the present application includes an audio playback device 100 (an audio playback device is integrated in the audio playback device 100), and a computer-readable storage medium corresponding to the audio playback runs in the audio playback device 100 to execute the audio playback steps.

[0037] Understandably, Figure 1 The audio playback device in the scenario of the audio playback method shown, or the devices included in the audio playback device, does not constitute a limitation on the embodiments of the present application. That is, the number of devices and types of devices included in the scenario of the audio playback method, or the number of devices and types of devices included in each device, do not affect the overall implementation of the technical solution in the embodiments of the present application, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected in the embodiments of the present application.

[0038] In the embodiment of the present application, the audio playback device 100 is mainly used to: obtain target audio data to be played, and determine whether there is a target user in the preset area where the TV is located based on the wireless signal received by the TV. If there is a target user in the preset area where the TV is located, then determine the audio playback rules based on the ambient sound data of the target area where the target user is located and the preset standard sound data, and then process the target audio data according to the audio playback rules to obtain the processed target audio data and play it.

[0039] In the embodiment of the present application, the audio playback device 100 may be an independent audio playback device, or an audio playback device network or an audio playback device cluster composed of audio playback devices. For example, the audio playback device 100 described in the embodiment of the present application includes but is not limited to a computer, a network host, a single network audio playback device, a set of multiple network audio playback devices, or a cloud audio playback device composed of multiple audio playback devices. The cloud audio playback device is composed of a large number of computers or network audio playback devices based on cloud computing.

[0040] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer audio playback devices, or network connection relationships of audio playback devices, such as Figure 1 Only one audio playback device is shown. It can be understood that the scenario of the audio playback method can also include one or more other audio playback devices, which are not specifically limited here. The audio playback device 100 can also include a memory for target audio data.

[0041] In addition, in the scenario of the audio playback method of the present application, the audio playback device 100 may be provided with a display device, or the audio playback device 100 may not be provided with a display device and may be communicated with an external display device 200, and the display device 200 is used to output the result of the execution of the audio playback method in the audio playback device. The audio playback device 100 may access a background database 300 (the background database may be in the local memory of the audio playback device, or may be set in the cloud), and the background database 300 may store information related to audio playback.

[0042] It should be noted that Figure 1 The scenario diagram of the audio playback method shown is merely an example. The scenario of the audio playback method described in the embodiment of the present application is intended to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application.

[0043] The audio playing method is described in detail below.

[0044] like Figure 2 As shown, the method includes the following steps S110 to S140.

[0045] S110: Obtain target audio data to be played.

[0046] The audio playback method in this embodiment is applied to an audio playback device. The type of the audio playback device is not specifically limited. The audio playback device may be a server or a terminal, such as a television. In this embodiment, the audio playback method is described using a television as an example.

[0047] Among them, the TV receives the play request, and the triggering method of the play request is not limited, that is, the play request can be actively triggered by the user, for example, the user selects a specific video on the TV and clicks the play button to actively trigger the play request; in addition, the play request can also be automatically triggered by the TV, for example, the TV is pre-set to automatically trigger the play request when the TV is turned on.

[0048] After receiving the play request, the TV obtains the target audio data to be played. The data volume and data source of the target audio data are not specifically limited. For example, the target audio data may be in the video, or may be pre-stored in the application software.

[0049] S120: Determine whether there is a target user in a preset area where the TV is located according to the wireless signal received by the TV.

[0050] In this embodiment, after the TV obtains the target audio data to be played, the TV needs to analyze the surrounding environment of the TV to determine whether there is a target user around the TV. In this embodiment, the surrounding environment of the TV is a preset area, and the preset area refers to the area where the TV picture can be received. For example, when the TV is in a home, the preset area refers to the room where the TV is located; or when the TV is in a public area, the preset area refers to the arc range of the front of the TV; or the preset area is within a diameter of 10m of the TV.

[0051] Specifically, after the television acquires the target audio data to be played, the wireless signal analysis module of the television can analyze the change of the wireless signal to determine whether there is a target user in the preset area.

[0052] It should be noted that, in this embodiment, the television analyzes the surrounding environment to determine whether the preset area where the television is located contains the target user in the following ways:

[0053] Implementation method 1: An infrared camera is set on the TV, and the TV collects infrared images and analyzes the collected infrared images to determine whether there is a target user in the preset area where the TV is located;

[0054] Implementation method 2: An image analysis algorithm is set in the TV. The TV receives the image transmitted by the camera, analyzes the image, and identifies whether the preset area where the TV is located in the image contains the target user.

[0055] S130: If there is a target user in the preset area where the TV is located, determine an audio playback rule according to the ambient sound data of the target area where the target user is located and preset standard sound data.

[0056] Specifically, if there is a target user in the preset area where the TV is located, the TV receives the sound waveform close to the human ear through the microphone, that is, the microphone samples and quantizes the sound waveform and sends it to the Bluetooth module, the Bluetooth module sends the ambient sound data of the target area where the target user is located to the TV, the TV receives the ambient sound data of the target area where the target user is located sent by the Bluetooth module, and the TV determines the audio playback rules according to the ambient sound data of the target area where the target user is located and the preset standard sound data.

[0057] That is, standard sound data is pre-stored in the TV, the standard sound data is set according to human hearing conditions, and the signal-to-noise ratio of the standard sound data meets the standard. The TV compares the ambient sound data of the target area where the target user is located with the preset standard sound data. If the ambient sound data of the target area where the target user is located matches the preset standard sound data, the TV does not process it; if the ambient sound data of the target area where the target user is located does not match the preset standard sound data, the audio playback rules are determined based on the comparison results.

[0058] In some embodiments, Figure 3 As shown, step S130 includes steps S131, S132 and S133.

[0059] S131, if there is a target user in the preset area where the TV is located, query the preset database to obtain preset standard sound data corresponding to the target user;

[0060] S132, comparing the ambient sound data of the target area where the target user is located with the standard sound data, and obtaining target sound data in the ambient sound data that does not match the standard sound data;

[0061] S133: Calculate difference information between the target sound data and the standard sound data, and determine an audio playback rule corresponding to the target sound data according to the difference information.

[0062] Specifically, if there is a target user in the preset area where the TV is located, the TV queries a preset database to obtain preset standard sound data corresponding to the target user, and the preset database stores the standard sound data.

[0063] The TV compares the ambient sound data of the target area where the target user is located with the standard sound data, calculates the volume difference between the ambient sound data of the target area and the standard sound data, and if the volume difference is greater than a preset volume difference threshold, the TV determines that the ambient sound data does not match the standard sound data; if the volume difference is less than or equal to the preset volume difference threshold, the TV determines that the ambient sound data matches the standard sound data; the TV obtains the target sound data in the ambient sound data that does not match the standard sound data.

[0064] The TV calculates the difference information between the target sound data and the standard sound data, and determines the audio playback rule corresponding to the target sound data according to the difference information. For example, if the difference information is to increase the volume, the audio playback rule is to superimpose, and if the difference information is noise, the noise information is removed.

[0065] In this embodiment, the TV pre-saves the user volume adjustment information, sets the standard sound data according to the user's operation, and thus determines the audio playback rules, so that different users correspond to different audio playback rules, making the sound more in line with people's needs.

[0066] In some embodiments, Figure 4 As shown, before step S131, steps S210, S220 and S230 are also included.

[0067] S210, receiving a sound adjustment instruction, and obtaining a user identifier and adjustment information corresponding to the sound adjustment instruction;

[0068] S220, collecting statistics on adjustment information of the user identifier in a preset time period, and setting standard sound data according to the adjustment information;

[0069] S230: Associate the standard sound data with the user standard and save it in a preset database.

[0070] In this embodiment, the TV receives a sound adjustment instruction and obtains a user identifier and adjustment information corresponding to the sound adjustment instruction; the TV counts the adjustment information of the user identifier in a preset time period, and the preset time period information can be set according to a specific scenario. For example, the preset time period information is one month, and the adjustment information includes increasing the volume, decreasing the volume, the left channel and / or the right channel, and the TV sets standard sound data according to the adjustment information; for example, the user often chooses to increase the sound, and the TV selects the increased sound as the standard sound data, and the TV saves the standard sound data and the user standard in association to a preset database.

[0071] In some embodiments, Figure 5 As shown, after step S110, steps S310, S320 and S330 are also included.

[0072] S310, obtaining the sound volume of the target audio data, and comparing the sound volume with a preset volume threshold;

[0073] S320: if the sound volume is less than a preset volume threshold, acquiring an environment image;

[0074] S330: Perform image recognition on the environment image to determine whether there is a target user in the preset area where the TV is located.

[0075] Specifically, the TV obtains the sound volume of the target audio data, and compares the sound volume with a preset volume threshold, wherein the preset volume threshold is set according to the specific scenario, for example, the preset volume threshold is 40 decibels. If the sound volume is greater than or equal to the preset volume threshold, the TV determines that the ambient noise is too loud and does not process it, which can reduce invalid audio playback steps.

[0076] If the sound volume is less than the preset volume threshold, the TV obtains the environmental image; the TV performs image recognition on the environmental image to determine whether there is a target user in the preset area where the TV is located, that is, the TV extracts features from the image through the image recognition neural network to identify whether the target user is included in the image. If the target user is included in the environmental image, the audio playback rules are determined according to the target user and the target area where the target user is located for processing; if there is no target user in the environmental image, the sound is transmitted transparently so that the user can hear the sound clearly. In this embodiment, the TV analyzes the environmental sound and the user in the environment to determine whether to perform target audio processing, making the audio processing more intelligent.

[0077] In some embodiments, Figure 6 As shown, after step S120, steps S410, S420 and S430 are also included.

[0078] S410: If there is no target user in the preset area where the TV is located, obtaining the working mode of the TV;

[0079] S420: If the working mode of the television is the transparent transmission mode, the target audio data to be played is sent to a preset terminal;

[0080] S430: Receive a control instruction sent by the preset terminal, and send video image information corresponding to the target audio data according to the control instruction.

[0081] Specifically, if there is no target user in the preset area where the TV is located, the TV obtains its own working mode, which includes normal mode and transparent transmission mode. The transparent transmission mode means that the TV transmits the target audio data to the mobile phone via Bluetooth. After receiving the target audio data, the mobile phone can parse and play the audio in real time, and people can listen to it through the mobile phone speaker or headphones. Application scenario: TV viewers are watching a program, but need to leave the viewing and listening range of the TV for other things, but want to continue to pay attention to the program information being played in real time. The TV achieves this through the transparent transmission mode. For example, the TV is in the living room, and he has to go to the kitchen, bedroom or bathroom to do other things.

[0082] Furthermore, if the working mode of the television is the transparent transmission mode, the television sends the target audio data to be played to a preset terminal, wherein the preset terminal refers to a terminal that is communicatively connected to the television, for example, a handheld terminal of a target user.

[0083] After the preset terminal receives the target audio data, the preset terminal may output prompt information to prompt the user to control the target audio data. The preset terminal receives the control command triggered by the user and sends the control command to the TV.

[0084] The TV receives the control command sent by the preset terminal, and sends the video image information corresponding to the target audio data to the preset terminal according to the control command, so that the user can play the audio and video synchronously. In this embodiment, the TV is set in the transparent transmission mode, and the user can obtain clear audio data when he is not in the preset area where the TV is located, so that the user can have a good viewing experience.

[0085] S140: Process the target audio data according to the audio playing rule to obtain the processed target audio data and play the processed target audio data.

[0086] The TV processes the target audio data according to the audio playback rules. The TV compares the received target audio data with the standard sound data, filters out the sound data portion that is larger than the error range, performs data compensation and superposition, minimizes the impact of noise in the viewing environment as much as possible, obtains the processed target audio data and plays it.

[0087] In some embodiments, Figure 7 As shown, step S140 includes steps S141, S142 and S143.

[0088] S141, performing speech recognition on the target audio data to obtain an initial phoneme set corresponding to the target audio data;

[0089] S142: If there is a target phoneme in the initial phoneme set that is the same as a preset phoneme in the preset phoneme set, the target phoneme is compensated and / or superimposed according to the audio playback rule to obtain a processed target phoneme;

[0090] S143, synthesizing the processed target phonemes to obtain processed target audio data and playing the processed target audio data.

[0091] Specifically, the television performs voice recognition on the target audio data to obtain a phoneme set corresponding to the target audio data; the television compares each phoneme in the initial phoneme set with a preset phoneme in the preset phoneme set, wherein the preset phoneme set contains phonemes that are greatly affected by noise, and the television obtains the target phonemes in the initial phoneme set that are the same as the preset phonemes in the preset phoneme set, and then compensates and / or superimposes the target phonemes according to the audio playback rules to obtain processed target phonemes; the television synthesizes the processed target phonemes to obtain processed target audio data and plays them.

[0092] In some embodiments, Figure 8 As shown, after step S140, steps S150, S160 and S170 are also included.

[0093] S150, collecting processed target audio data of the target area where the target user is located, and comparing the processed target audio data with preset standard sound data;

[0094] S160: If the processed target audio data matches the preset standard sound data, new target audio data to be played is obtained;

[0095] S170: Process the new target audio data to be played according to the audio playing rule corresponding to the target user, obtain the processed target audio data, and play the processed target audio data.

[0096] Specifically, the TV collects the processed target audio data of the target area where the target user is located, and compares the processed target audio data with the preset standard sound data; if the processed target audio data and the preset standard sound data do not match, a prompt is given to reduce invalid audio playback steps.

[0097] At the same time, if the processed target audio data matches the preset standard sound data, the TV determines that the processed sound meets the specification, and the TV can directly process the new target audio data to be played according to the audio playback rules. Specifically, the TV obtains the new target audio data to be played; the TV processes the new target audio data to be played according to the audio playback rules corresponding to the target user, obtains the processed target audio data and plays it. In this embodiment, audio playback can be performed cyclically without repeatedly determining whether the target area contains the target user, which reduces the algorithm of the TV and makes the audio playback more efficient.

[0098] In the audio playback method provided in the embodiment of the present application, audio playback rules are determined based on the ambient sound data around the target user, and the target audio data to be played is processed according to the determined audio playback rules, thereby reducing the interference of external noise, so that the audio data played by the TV is not affected by the ambient noise, and the user can hear clear audio information even in a noisy environment.

[0099] The embodiment of the present application further provides an audio playback device 500, which is used to execute any embodiment of the aforementioned audio playback method.

[0100] Specifically, see Fig. 9 , Fig. 9 It is a schematic block diagram of an audio playback device 500 provided in an embodiment of the present application.

[0101] like Fig. 9 As shown, the audio playback device 500 includes:

[0102] An acquisition unit 510 is used to acquire target audio data to be played;

[0103] A first determining unit 520 is used to determine whether there is a target user in a preset area where the TV is located according to the wireless signal received by the TV;

[0104] The second determining unit 530 is configured to determine an audio playing rule according to the ambient sound data of the target area where the target user is located and preset standard sound data if there is a target user in the preset area where the TV is located;

[0105] The playing unit 540 is used to process the target audio data according to the audio playing rule, obtain the processed target audio data, and play it.

[0106] The audio playback device 500 provided in the embodiment of the present application is used to execute the above-mentioned acquisition of target audio data to be played; determine whether there is a target user in the preset area where the TV is located based on the wireless signal received by the TV; if there is a target user in the preset area where the TV is located, determine the audio playback rules based on the ambient sound data of the target area where the target user is located and the preset standard sound data; process the target audio data according to the audio playback rules, obtain the processed target audio data and play it.

[0107] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned audio playback device 500 and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.

[0108] The present application also provides an electronic device, such as Fig.10 Show, Fig.10 A schematic block diagram of an electronic device provided in an embodiment of the present application.

[0109] An electronic device is integrated with any one of the audio playback devices provided in the embodiments of the present application, and the electronic device includes:

[0110] one or more processors;

[0111] Memory; and

[0112] One or more applications, wherein the one or more applications are stored in the memory and are configured so that the processor executes the steps of the audio playback method described in any of the above-mentioned audio playback method embodiments.

[0113] Specifically, the electronic device may include one or more processors 601 of processing cores, one or more computer-readable storage media memories 602, a power supply 603, an input unit 604 and other components. Those skilled in the art will appreciate that Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0114] The processor 601 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and modules stored in the memory 602, and calling data stored in the memory 602, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0115] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, a video playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0116] The electronic device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 603 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0117] The electronic device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0118] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 601 in the electronic device will load the executable file corresponding to the process of one or more applications into the memory 602 according to the following instructions, and the processor 601 will run the application stored in the memory 602 to achieve various functions, as follows: obtain the target audio data to be played; determine whether there is a target user in the preset area where the TV is located based on the wireless signal received by the TV; if there is a target user in the preset area where the TV is located, determine the audio playback rules based on the ambient sound data of the target area where the target user is located and the preset standard sound data; process the target audio data according to the audio playback rules, obtain the processed target audio data and play it.

[0119] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0120] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the audio playback methods provided in the embodiments of the present application. For example, the computer program loaded by the processor can execute the following steps: obtaining the target audio data to be played; determining whether there is a target user in the preset area where the TV is located according to the wireless signal received by the TV; if there is a target user in the preset area where the TV is located, determining the audio playback rules according to the ambient sound data of the target area where the target user is located and the preset standard sound data; processing the target audio data according to the audio playback rules, obtaining the processed target audio data and playing it.

[0121] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0122] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.

[0123] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0124] The above is a detailed introduction to an audio playback method provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An audio playback method, It is characterized in that Applied to a television, the method comprises: Get the target audio data to be played; Determining whether there is a target user in a preset area where the television is located according to the wireless signal received by the television; If there is a target user in the preset area where the TV is located, determining an audio playback rule according to the ambient sound data of the target area where the target user is located and preset standard sound data; The target audio data is processed according to the audio playing rule to obtain the processed target audio data and play it.

2. The audio playback method according to claim 1, It is characterized in that The step of determining whether a target user exists in a preset area where the television is located according to the wireless signal received by the television comprises: The wireless signal analysis module of the television analyzes the change of the wireless signal to determine whether the target user exists in the preset area.

3. The audio playback method according to claim 1, It is characterized in that After determining whether there is a target user in the preset area where the television is located, the method further includes: If there is no target user in the preset area where the TV is located, obtaining the working mode of the TV; If the working mode of the television is the transparent transmission mode, the target audio data to be played is sent to the preset terminal; A control instruction sent by the preset terminal is received, and video image information corresponding to the target audio data is sent according to the control instruction.

4. The audio playback method according to claim 1, It is characterized in that If there is a target user in the preset area where the TV is located, determining an audio playback rule according to the ambient sound data of the target area where the target user is located and the preset standard sound data, including: If there is a target user in the preset area where the TV is located, query the preset database to obtain preset standard sound data corresponding to the target user; Comparing the ambient sound data of the target area where the target user is located with the standard sound data, and obtaining target sound data in the ambient sound data that does not match the standard sound data; Difference information between the target sound data and the standard sound data is calculated, and an audio playing rule corresponding to the target sound data is determined according to the difference information.

5. The audio playback method according to claim 4, It is characterized in that Before the step of querying a preset database to obtain preset standard sound data corresponding to the target user if there is a target user in the preset area where the TV is located, the method further includes: Receiving a sound adjustment instruction, and obtaining a user identifier and adjustment information corresponding to the sound adjustment instruction; Counting adjustment information of the user identification in a preset time period, and setting standard sound data according to the adjustment information; The standard sound data and the user standard are associated and saved in a preset database.

6. The audio playback method according to claim 1, It is characterized in that The step of processing the target audio data according to the audio playing rule to obtain the processed target audio data and playing the processed target audio data comprises: Performing speech recognition on the target audio data to obtain an initial phoneme set corresponding to the target audio data; If there is a target phoneme in the initial phoneme set that is the same as a preset phoneme in the preset phoneme set, the target phoneme is compensated and / or superimposed according to the audio playback rule to obtain a processed target phoneme; The processed target phonemes are synthesized to obtain processed target audio data and play them.

7. The audio playing method according to any one of claims 1 to 6, It is characterized in that After the target audio data is processed according to the audio playing rule to obtain the processed target audio data and play it, the method further includes: Collecting processed target audio data of the target area where the target user is located, and comparing the processed target audio data with preset standard sound data; If the processed target audio data matches the preset standard sound data, new target audio data to be played is obtained; The new target audio data to be played is processed according to the audio playing rule corresponding to the target user to obtain the processed target audio data and play it.

8. An audio playback device, It is characterized in that include: An acquisition unit, used for acquiring target audio data to be played; A first determining unit, configured to determine whether a target user exists in a preset area where the TV is located according to a wireless signal received by the TV; A second determining unit is used to determine an audio playing rule according to the environmental sound data of the target area where the target user is located and preset standard sound data if there is a target user in the preset area where the TV is located; The playing unit is used to process the target audio data according to the audio playing rule, obtain the processed target audio data and play it.

9. An electronic device, It is characterized in that include: one or more processors; Memory; as well as One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to implement the steps in the audio playback method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The computer program is loaded by a processor to execute the steps in the audio playing method according to any one of claims 1 to 7.