Audio configuration system and method, electronic device, storage medium and program product
By writing structures containing audio parameter information in each area into the audio device and updating the configuration when the device is started, the problem of audio devices adapting to authentication standards in different areas is solved, improving device performance and user experience.
Patent Information
- Application Number
- CN202411742110.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-25
AI Technical Summary
The prior art is difficult to adapt to the certification standards in different regions after the audio equipment is shipped, resulting in poor performance of audio equipment when used in other regions and reducing user experience.
The audio parameter structure is generated by configuring the device, including the area codes of each region and the audio parameter information indicated by the authentication standard, and written to the audio device to be shipped. When the audio device is started, it determines the real-time area and updates the audio configuration according to the audio parameter structure to adapt to the authentication standards of the current area.
It realizes seamless adaptation of audio equipment between different regions, improves the working performance and user experience of audio equipment, and ensures that audio equipment meets certification standards in each region.
Smart Images

Figure CN119521080A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to an audio configuration system, method, electronic device, storage medium and program product. Background Art
[0002] Currently, different regions may have different certification standards for audio devices. Therefore, it is necessary to configure appropriate audio parameters for the audio device so that the audio device can achieve the expected effect and meet the certification standards of the region where the device is expected to be shipped.
[0003] Before an audio device leaves the factory, the prior art needs to determine the region to which each audio device is to be shipped, and configure the audio device with audio parameters that meet the certification standards of the region through relevant configuration equipment. After the configuration is completed, the corresponding audio device is shipped to the region to meet the requirements of the region for audio devices.
[0004] However, since the audio device may be moved again to other areas that do not meet the corresponding certification standards after shipment, it is easy to affect the use of the audio device in other areas and reduce the user experience. Summary of the invention
[0005] The embodiments of the present application provide an audio configuration system, method, electronic device, storage medium and program product to achieve precise adjustment of audio configuration, enhance the working performance of audio equipment, and improve the user experience in various areas.
[0006] In a first aspect, an embodiment of the present application provides an audio configuration system, including:
[0007] A configuration device is used to generate an audio parameter structure according to the certification standards of each region, and write the audio parameter structure into each audio device to be shipped; the audio parameter structure includes the region codes corresponding to the multiple regions and the audio parameter information indicated by the certification standards;
[0008] The audio device is used to determine the real-time area when receiving the startup instruction after shipment; when it is determined based on the real-time area that the current area is inconsistent with the previous area, determine the audio parameter information corresponding to the current area according to the audio parameter structure; and update the audio configuration based on the audio parameter information.
[0009] Optionally, when the audio device determines the audio parameter information corresponding to the current area according to the audio parameter structure, it is specifically used to:
[0010] Determine whether there is a region code corresponding to the current region in the audio parameter structure;
[0011] If it exists, the audio parameter information corresponding to the area code is determined according to the audio parameter structure; otherwise, the audio parameter information corresponding to the area code is determined to be the preset audio parameter information.
[0012] Optionally, the audio device is also used to:
[0013] When it is determined that the current region is consistent with the previous region, verifying the currently activated audio parameter information based on the audio parameter information of the current region;
[0014] If the verification fails, the audio parameter information corresponding to the region code of the current region is determined based on the audio parameter structure, and the audio configuration is updated.
[0015] Optionally, when determining the real-time area, the audio device is specifically configured to:
[0016] Acquire real-time communication data, determine the real-time location based on the real-time communication data, and obtain the area corresponding to the real-time location. The communication data includes cellular data, WIFI data, Bluetooth data, and GPS data.
[0017] Optionally, when the configuration device generates an audio parameter structure according to the certification standards of each region, it is specifically used to:
[0018] Obtaining the region codes corresponding to the respective regions where the certification standards exist, and determining the audio parameter information indicated by each certification standard;
[0019] Generate a configuration data set corresponding to each region according to the region code corresponding to each region, the certification standard, and the audio parameter information indicated by the certification standard;
[0020] The audio parameter structure is generated according to the configuration data sets corresponding to each area where the certification standard exists.
[0021] In a second aspect, an embodiment of the present application provides an audio configuration method, which is applied to a configuration device, including:
[0022] Generate an audio parameter structure according to the certification standards of each region; the audio parameter structure includes region codes corresponding to multiple regions and audio parameter information indicated by the certification standards;
[0023] The audio parameter structure is written into each audio device to be shipped, so that when the audio device determines based on the real-time region that the current region is inconsistent with the previous region, the audio configuration is updated based on the audio parameter information corresponding to the current region; wherein the real-time region is determined in real time by the audio setting when the startup instruction after shipment is received, and the audio parameter information corresponding to the current region is determined by the audio device according to the audio parameter structure.
[0024] Optionally, when generating the audio parameter structure according to the certification standards of each region, it specifically includes:
[0025] Obtaining the region codes corresponding to the respective regions where the certification standards exist, and determining the audio parameter information indicated by each certification standard;
[0026] Generate a configuration data set corresponding to each region according to the region code corresponding to each region, the certification standard, and the audio parameter information indicated by the certification standard;
[0027] The audio parameter structure is generated according to the configuration data sets corresponding to each area where the certification standard exists.
[0028] In a third aspect, an embodiment of the present application provides an audio configuration method, which is applied to an audio device, including:
[0029] When receiving the start instruction after shipment, determine the real-time area;
[0030] When the current area is determined to be inconsistent with the previous area based on the real-time area, the audio parameter information corresponding to the current area is determined according to the audio parameter structure, and the audio configuration is updated based on the audio parameter information. The audio parameter structure is generated and written by the configuration device according to the authentication standards of each area. The audio parameter structure includes the area codes corresponding to multiple areas and the audio parameter information indicated by the authentication standards.
[0031] Optionally, when determining the audio parameter information corresponding to the current area according to the audio parameter structure, it specifically includes:
[0032] Determine whether there is a region code corresponding to the current region in the audio parameter structure;
[0033] If it exists, the audio parameter information corresponding to the area code is determined according to the audio parameter structure; otherwise, the audio parameter information corresponding to the area code is determined to be the preset audio parameter information.
[0034] Optionally, the method further includes: when it is determined that the current area is consistent with the previous area, verifying the currently activated audio parameter information based on the audio parameter information of the current area;
[0035] If the verification fails, the audio parameter information corresponding to the region code of the current region is determined based on the audio parameter structure, and the audio configuration is updated.
[0036] Optionally, when determining the real-time area, it specifically includes: acquiring real-time communication data, determining the real-time position according to the real-time communication data, and obtaining the area corresponding to the real-time position, wherein the communication data includes cellular data, WIFI data, Bluetooth data and GPS data.
[0037] In a fourth aspect, an embodiment of the present application provides an audio configuration device, which is applied to configure a device, including:
[0038] A generating module, used to generate an audio parameter structure according to the certification standards of each region; the audio parameter structure includes region codes corresponding to multiple regions and audio parameter information indicated by the certification standards;
[0039] The first processing module is used to write the audio parameter structure into each audio device to be shipped, so that when the audio device determines based on the real-time area that the current area is inconsistent with the previous area, the audio configuration is updated based on the audio parameter information corresponding to the current area; wherein the real-time area is determined in real time by the audio setting when receiving the startup instruction after shipment, and the audio parameter information corresponding to the current area is determined by the audio device according to the audio parameter structure.
[0040] Optionally, the generating module is further used to obtain the area codes corresponding to the respective areas where the authentication standards exist, and determine the audio parameter information indicated by each authentication standard;
[0041] Generate a configuration data set corresponding to each region according to the region code corresponding to each region, the certification standard, and the audio parameter information indicated by the certification standard;
[0042] The audio parameter structure is generated according to the configuration data sets corresponding to each area where the certification standard exists.
[0043] In a fifth aspect, an embodiment of the present application provides an audio configuration device, applied to an audio device, including:
[0044] A receiving module, for determining the real-time area upon receiving a start instruction after shipment;
[0045] The second processing module is used to determine the audio parameter information corresponding to the current area according to the audio parameter structure when the current area is inconsistent with the previous area based on the real-time area, and update the audio configuration based on the audio parameter information. The audio parameter structure is generated and written by the configuration device according to the authentication standards of each area. The audio parameter structure includes area codes corresponding to multiple areas and audio parameter information indicated by the authentication standards.
[0046] Optionally, the second processing module is further used to determine whether there is a region code corresponding to the current region in the audio parameter structure;
[0047] If it exists, the audio parameter information corresponding to the area code is determined according to the audio parameter structure; otherwise, the audio parameter information corresponding to the area code is determined to be the preset audio parameter information.
[0048] Optionally, the second processing module is further configured to verify the currently activated audio parameter information based on the audio parameter information of the current area when it is determined that the current area is consistent with the previous area;
[0049] If the verification fails, the audio parameter information corresponding to the region code of the current region is determined based on the audio parameter structure, and the audio configuration is updated.
[0050] Optionally, the second processing module is also used to obtain real-time communication data, determine the real-time location based on the real-time communication data, and obtain an area corresponding to the real-time location, the communication data including cellular data, WIFI data, Bluetooth data and GPS data.
[0051] In a sixth aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0052] Memory stores computer-executable instructions;
[0053] The processor executes the computer-executable instructions stored in the memory, so that the processor executes various possible implementations of the second aspect and / or the third aspect as described above.
[0054] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-readable storage medium is stored computer execution instructions, which, when executed by a processor, are used to implement various possible implementations of the second aspect and / or the third aspect as described above.
[0055] In an eighth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements various possible implementations of the second aspect and / or the third aspect as described above.
[0056] The audio configuration system, method, electronic device, storage medium and program product provided in the embodiments of the present application obtain the authentication standards and area codes of each area by configuring the device, determine the audio parameter information indicated by each authentication standard, generate an audio parameter structure according to the area code and audio parameter information of each area, and write the audio parameter structure into each audio device to be shipped, so that when the audio device receives the start-up command, it determines the real-time area where it is located at the current moment. When it is determined that the current area is inconsistent with the previous area according to the real-time area, the audio parameter information corresponding to the current area is determined according to the audio parameter structure, so that the audio configuration is updated based on the audio parameter information, thereby realizing precise adjustment of the audio configuration, enhancing the working performance of the audio device, and improving the user experience in each area. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0058] Figure 1 Schematic diagram of application scenarios provided for this application;
[0059] Figure 2 A schematic diagram of the structure of the audio configuration system provided for this application;
[0060] Figure 3 A flowchart of the audio configuration method provided by this application;
[0061] Figure 4 The structure of the audio configuration device provided by this application is shown as follows Figure 1 ;
[0062] Figure 5 The structure of the audio configuration device provided by this application is shown as follows Figure 2 ;
[0063] Figure 6 A schematic diagram of the structure of the electronic device provided in this application.
[0064] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0065] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0066] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, real-time communication data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0067] Certification requirements for audio devices vary in different regions. Figure 1 The application scenario diagram provided for this application is as follows: Figure 1As shown, in order to meet the certification requirements of different regions, in the prior art, device manufacturers usually need to adjust the audio parameters of each audio device (e.g., audio device 1, audio device 2 ... audio device n) to be shipped to the target shipping destination according to the certification standards of the target shipping destination, so as to provide better playback effects and usage experience to users in the target shipping destination after shipping to the target shipping destination, where n is a positive integer.
[0068] However, when audio devices need to be shipped to multiple regions, the prior art requires that audio parameters that meet the requirements of the region be imported and activated in turn into each audio device for different shipping locations, thereby reducing the shipping efficiency of the device manufacturer.
[0069] In addition, when users in this area use audio devices, they may apply them in different areas. When the audio devices are used in other areas, it is difficult for the audio devices to provide users with playback effects that match the requirements of the current area, further affecting the user experience.
[0070] The audio configuration method provided by the present application obtains the regional codes of each area where the certification standards exist through the configuration device in the audio configuration system, determines the corresponding audio parameter information according to each certification standard, generates an audio parameter structure according to the regional code of each area and the corresponding audio parameter information, and writes the audio parameter structure into each audio device to be shipped, and transports it to the area to be shipped of each audio device. After the user in the corresponding area starts the audio device, the audio device receives the start-up instruction, obtains the area where the current audio device is located in real time based on the start-up instruction, determines whether the current area is consistent with the previous area, and when they are inconsistent, determines the audio parameter information corresponding to the regional code of the current area according to the stored audio parameter structure, and updates the audio configuration of the audio device according to the audio parameter information. The present application improves the shipping efficiency of audio devices, enables the configuration parameters of audio devices to meet the audio device certification standards in each area, and realizes the precise adjustment of audio parameters, thereby enhancing the working performance of audio devices and improving the user experience in each area.
[0071] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0072] Figure 2 A schematic diagram of the structure of the audio configuration system provided for this application, such as Figure 2As shown, the system includes: configuration equipment, units to be shipped and shipping locations, wherein the units to be shipped include audio devices that need to be shipped to various areas within the shipping location, such as audio device 1, audio device 2...audio device n, and the shipping location includes area 1, area 2...area m, where m is a positive integer. The configuration equipment is used to generate an audio parameter structure according to the certification standards of each area, and write the audio parameter structure into each audio device to be shipped; the audio parameter structure includes the area codes corresponding to multiple areas and the audio parameter information indicated by the certification standards; the audio device is used to determine the real-time area when receiving the start-up instruction after shipping; when the current area is determined to be inconsistent with the previous area based on the real-time area, the audio parameter information corresponding to the current area is determined according to the audio parameter structure; and the audio configuration is updated based on the audio parameter information. Among them, the audio parameter information includes the parameters to be configured and the corresponding configuration values, and the current area is the real-time area where the audio device is located at the current moment.
[0073] Optionally, the region in the embodiment of the present application includes but is not limited to a country. When the region is a country, the region code of the region is the country code of the above-mentioned country.
[0074] This embodiment generates an audio parameter structure based on the authentication standards of each region by configuring the device, and writes it into each audio device before shipment, so that when the user starts the audio device, it is determined whether the real-time region where the audio device is located has changed. When it changes, the audio parameter information corresponding to the real-time region is determined according to the audio parameter structure for configuration update, so that the audio device can adaptively adjust the configuration of audio parameters as the region changes during user use, improve audio output effects, and enhance user experience.
[0075] Optionally, when the configuration device generates an audio parameter structure according to the authentication standards of each region, it is specifically used to: obtain the region codes corresponding to each region where the authentication standards exist, and determine the audio parameter information indicated by each authentication standard; generate a configuration data set corresponding to the region according to the region code corresponding to each region, the authentication standard, and the audio parameter information indicated by the authentication standard; generate an audio parameter structure according to the configuration data sets corresponding to each region where the authentication standards exist.
[0076] In a possible embodiment, the configuration device determines each region where the certification standard exists, and obtains the region code and certification standard corresponding to the above-mentioned each region. For any certification standard, the audio parameter indicated by the certification standard that needs to comply with the certification and the corresponding value range are determined, and the audio parameter information corresponding to the certification standard is obtained. The name of the corresponding region is added to the audio parameter information, and a configuration data set of the region is generated according to the region code corresponding to the region, the certification standard, and the audio parameter information indicated by the certification standard. An audio parameter structure is generated according to the configuration data sets of each region where the certification standard exists.
[0077] For example, there are three areas of the certification standard, and the configuration data sets corresponding to the three areas are obtained, and the audio parameter structures corresponding to the three areas are shown in Table 1:
[0078] Table 1 Audio parameter structure
[0079] Region Name Area Code Audio parameter information Region 1 111 Parameter a, parameter b, parameter c Area 2 222 Parameter e, parameter t, parameter f Area 3 333 Parameter a, parameter x, parameter y
[0080] Among them, the area code corresponding to area 1 is 111, and the audio parameter information indicated by the corresponding certification standard includes the specific values of parameter a, parameter b and parameter c that meet the certification standard of area 1. The area code corresponding to area 2 is 222, and the audio parameter information indicated by the corresponding certification standard includes the specific values of parameter e, parameter t and parameter f that meet the certification standard of area 2. The area code corresponding to area 3 is 333, and the audio parameter information indicated by the corresponding certification standard includes the specific values of parameter a, parameter x and parameter y that meet the certification standard of area 3.
[0081] Optionally, this embodiment does not limit the storage form of the audio parameter information in the audio parameter structure. For example, a correspondence can be established between each area code and the audio parameter information of the corresponding area, or a correspondence can be established for each area name between the corresponding area code and the authentication standard, as well as a mapping relationship between each authentication standard and the indicated audio parameter information, and the audio parameter information with the mapping relationship added can be stored in the mapping database.
[0082] In a possible embodiment, the configuration device writes both the audio parameter structure and the above-mentioned mapping database into the storage area of each audio device to be shipped. After the audio device is shipped, a startup instruction is obtained, and the area where the audio device is located is determined based on the startup instruction. When it is determined that the new area has been entered at the current moment, the authentication standard corresponding to the area code of the new area is obtained based on the correspondence between the area code and the authentication standard, and the audio parameter information indicated by the authentication standard of the new area is obtained from the mapping database based on the mapping relationship between the authentication standard and the audio parameter information.
[0083] Optionally, when multiple new areas with certification standards are added to the shipping location, it is only necessary to update the audio parameter structure through the configuration device, that is, to generate a configuration data set corresponding to the new area based on the area code corresponding to the new area and the audio parameter information indicated by the certification standard, and add the configuration data sets corresponding to each new area to the audio parameter structure (when the certification standards of existing areas in the shipping location need to be updated, the audio parameter structure is updated according to the updated certification standards of the existing areas), to obtain the updated audio parameter structure, and based on the updated audio parameter structure, perform pre-shipment configuration on each subsequent audio device to be shipped.
[0084] This embodiment generates an audio parameter structure that is consistent with the actual situation in advance by configuring the device, so that when configuring each audio device before shipment, it is only necessary to uniformly write the audio parameter structure into each audio device to be shipped to execute the subsequent shipment process, thereby improving the configuration efficiency before shipment and further improving the shipment efficiency. When the actual certification standard is updated, the updated certification standard can be quickly applied to the configuration of the audio device before shipment, thereby improving the convenience of equipment shipment configuration and the accuracy of audio configuration.
[0085] Optionally, when determining the real-time area, the audio device is specifically used to: obtain real-time communication data, determine the real-time location according to the real-time communication data, and obtain the area corresponding to the real-time location, wherein the communication data includes cellular data, WIFI data, Bluetooth data and GPS data. Among them, GPS data includes but is not limited to map data, navigation data and positioning data.
[0086] In a possible embodiment, Figure 2 As shown, when the audio device is started, the cellular data of the audio device is obtained, the real-time location of the current audio device is determined according to the cellular data, and the area to which the real-time location belongs is determined to be area 1. If during the application of the audio device, the user carries the audio device and moves from area 1 to area 2, the audio device determines the current location in real time during the user's movement, so that when the audio device moves to area 2, the audio parameter information indicated by the certification standard that the audio configuration is area 2 is updated in time.
[0087] Exemplarily, by turning on the Bluetooth of the audio device, the audio device is connected to a device on the cellular network within a preset distance via Bluetooth, thereby determining the current real-time location of the audio device based on the cellular data of the connected device, and further obtaining the area to which the real-time location belongs.
[0088] Optionally, the audio device is also used to: when it is determined that the current area is consistent with the previous area, verify the currently activated audio parameter information based on the audio parameter information of the current area; if the verification fails, determine the audio parameter information corresponding to the area code of the current area based on the audio parameter structure, and update the audio configuration.
[0089] In a possible embodiment, when it is determined that the area corresponding to the current location has not changed from the area corresponding to the previous location, the audio parameter information activated by the current audio device is determined, and it is determined in the audio parameter structure whether there is an area code for the current area. When it is determined that there is, the audio parameter information corresponding to the area code is obtained, and the currently activated audio parameter information is compared with the audio parameter information corresponding to the area code. When the comparison is consistent, it is determined that the audio parameter information activated by the current audio device has been verified.
[0090] Exemplarily, after comparing the currently activated audio parameter information with the audio parameter information corresponding to the area code, if it is determined that the comparison is inconsistent, the audio configuration is updated according to the audio parameter information corresponding to the area code.
[0091] This embodiment determines the real-time location of the audio device by acquiring real-time communication data, thereby obtaining the area where it is located, and improves the reliability of updating the audio configuration. When the audio device determines that the area changes according to the real-time area, the audio configuration is updated to quickly adapt to the certification standards under the area where it is located, and when it is determined that the area has not changed, the currently activated audio parameter information is verified, which improves the stability and reliability of the audio configuration and further enhances the user experience.
[0092] Optionally, when the audio device determines the audio parameter information corresponding to the current area according to the audio parameter structure, it is specifically used to: determine whether there is an area code corresponding to the current area in the audio parameter structure; if so, determine the audio parameter information corresponding to the area code according to the audio parameter structure; otherwise, determine that the audio parameter information corresponding to the area code is preset audio parameter information.
[0093] In a possible embodiment, when the audio device determines that it has moved from area 1 to area 2, it queries the audio parameter structure stored in the storage area to see whether there is an area code corresponding to area 2. If it is determined that there is, the audio parameter information corresponding to the area code of area 2 is determined.
[0094] In a possible embodiment, when the audio device determines that it has currently moved from area 1 to area 2, it queries the audio parameter structure stored in the storage area whether there is a region code corresponding to area 2. If it is determined that there is no region code corresponding to area 2 in the audio parameter structure, it is determined that the audio parameter information corresponding to the region code of area 2 is preset audio parameter information. The preset audio parameter information is audio parameter information shared by areas without authentication standards.
[0095] This embodiment updates parameters according to the audio parameter information associated with the code of the area in the audio parameter structure for areas where authentication standards exist; and updates parameters according to preset audio parameter information for areas where authentication standards do not exist, so that the audio device can meet the authentication standards of each area, thereby improving the reliability of the audio configuration, further improving the device performance, and enhancing the user experience.
[0096] Figure 3 A flowchart of the audio configuration method provided in this application is shown in FIG. Figure 3 As shown, in this embodiment Figure 2 Based on the embodiment, the audio configuration method is described in detail, and the method includes:
[0097] S301, configuring a device to generate an audio parameter structure.
[0098] More specifically, the configuration device obtains the region code and the authentication standard of each region where the authentication standard exists, determines the audio parameter information corresponding to each authentication standard, and generates an audio parameter structure according to the region code and the audio parameter information corresponding to each region.
[0099] S302: The configuration device writes the audio parameter structure into the audio device to be shipped.
[0100] More specifically, the configuration device writes the audio parameter structure into a storage area of the audio device to be shipped.
[0101] S303: After receiving the start instruction, the audio device determines an initial area.
[0102] More specifically, after receiving the start-up instruction, the audio device obtains the cellular data registered with the network, determines the current real-time location according to the cellular data, and thereby obtains the initial area corresponding to the real-time location.
[0103] S304: The audio device determines the audio parameter information corresponding to the initial area based on the audio parameter structure and activates the audio configuration.
[0104] More specifically, the audio device determines whether there is a region code corresponding to the initial region in the audio parameter structure, and when it is determined that there is, obtains audio parameter information corresponding to the region code, thereby activating the audio configuration based on the audio parameter information.
[0105] S305: The audio device determines the real-time area.
[0106] More specifically, after activating the audio configuration, the audio device determines the real-time location to obtain the real-time area.
[0107] S306: When the audio device determines that the current area is consistent with the previous area, the audio device verifies the currently activated audio parameter information.
[0108] More specifically, when the audio device determines that the current area is consistent with the previous area according to the real-time area, the audio parameter information of the current configuration is determined. When it is determined that there is a region code of the current area according to the audio parameter structure, the audio parameter information corresponding to the region code of the current area is obtained, and the audio parameter information in the current configuration is compared with the audio parameter information corresponding to the region code. When the comparison is consistent, it is determined that the currently activated audio parameter information is valid.
[0109] Optionally, the currently activated audio parameter information is compared with the audio parameter information corresponding to the area code. When the comparison is inconsistent, it is determined that the currently activated audio parameter information is invalid, and the currently activated audio parameter information is updated based on the audio parameter information corresponding to the area code.
[0110] S307: When the audio device determines that the current area is inconsistent with the previous area, it determines the audio parameter information corresponding to the current area and updates the audio configuration.
[0111] More specifically, when the audio device determines that the current area is inconsistent with the previous area based on the real-time area, it queries the area code of the current area from the audio parameter structure, obtains the audio parameter information corresponding to the area code when the area code is queried, and updates the audio configuration according to the audio parameter information.
[0112] Optionally, the region code of the current region is queried from the audio parameter structure, and when the region code is not found, the audio configuration is updated according to preset audio parameter information.
[0113] The audio configuration method provided in the embodiment of the present application writes an audio parameter structure into each audio device by configuring the device, so that after the audio device is started, the audio parameter information corresponding to the current area is determined according to the stored audio parameter structure, so as to activate or update the audio configuration in a targeted manner according to the audio parameter information under the certification standard of the area, meet the audio device certification standards of multiple areas, improve the efficiency, accuracy and adaptability of the audio configuration to the certification standards of each area, enhance the working performance of the audio device, and improve the user experience in each area.
[0114] Figure 4 The structure of the audio configuration device provided by this application is shown as follows Figure 1 , used to configure devices, such as Figure 4 As shown, the audio configuration device 40 provided in this embodiment includes:
[0115] A generating module 401 is used to generate an audio parameter structure according to the authentication standards of each region; the audio parameter structure includes region codes corresponding to multiple regions and audio parameter information indicated by the authentication standards;
[0116] The first processing module 402 is used to write the audio parameter structure into each audio device to be shipped, so that when the audio device determines based on the real-time area that the current area is inconsistent with the previous area, the audio configuration is updated based on the audio parameter information corresponding to the current area; wherein the real-time area is determined in real time by the audio setting when the startup instruction after shipment is received, and the audio parameter information corresponding to the current area is determined by the audio device according to the audio parameter structure.
[0117] Optionally, the generating module 401 is further used to obtain the region codes corresponding to the respective regions where the authentication standards exist, and determine the audio parameter information indicated by each authentication standard;
[0118] Generate a configuration data set corresponding to each region according to the region code corresponding to each region, the certification standard, and the audio parameter information indicated by the certification standard;
[0119] The audio parameter structure is generated according to the configuration data sets corresponding to each area where the certification standard exists.
[0120] The audio configuration device provided in this embodiment is applied to a configuration device and can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar and will not be described in detail in this embodiment.
[0121] Figure 5 The structure of the audio configuration device provided by this application is shown as follows Figure 2 , used in audio equipment, such as Figure 5 As shown, the audio configuration device 50 provided in this embodiment includes:
[0122] The receiving module 501 is used to determine the real-time area when receiving the start instruction after shipment;
[0123] The second processing module 502 is used to determine the audio parameter information corresponding to the current area according to the audio parameter structure when the current area is inconsistent with the previous area based on the real-time area, and update the audio configuration based on the audio parameter information. The audio parameter structure is generated and written by the configuration device according to the authentication standards of each area. The audio parameter structure includes area codes corresponding to multiple areas and audio parameter information indicated by the authentication standards.
[0124] Optionally, the second processing module 502 is further used to determine whether there is a region code corresponding to the current region in the audio parameter structure;
[0125] If it exists, the audio parameter information corresponding to the area code is determined according to the audio parameter structure; otherwise, the audio parameter information corresponding to the area code is determined to be the preset audio parameter information.
[0126] Optionally, the second processing module 502 is further configured to verify the currently activated audio parameter information based on the audio parameter information of the current area when it is determined that the current area is consistent with the previous area;
[0127] If the verification fails, the audio parameter information corresponding to the region code of the current region is determined based on the audio parameter structure, and the audio configuration is updated.
[0128] Optionally, the second processing module 502 is further used to obtain real-time communication data, determine the real-time location according to the real-time communication data, and obtain an area corresponding to the real-time location, wherein the communication data includes cellular data, WIFI data, Bluetooth data and GPS data.
[0129] The audio configuration device provided in this embodiment is applied to an audio device and can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be described in detail here.
[0130] Figure 6 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 6 As shown, the electronic device 60 provided in this embodiment includes: at least one processor 601 and a memory 602. Optionally, the device 60 also includes a communication component 603. The processor 601, the memory 602 and the communication component 603 are connected via a bus 604.
[0131] In a specific implementation process, at least one processor 601 executes the computer execution instructions stored in the memory 602, so that at least one processor 601 executes the above method.
[0132] The specific implementation process of the processor 601 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0133] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.
[0134] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.
[0135] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0136] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0137] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0138] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0139] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0140] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0141] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0142] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0143] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0144] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0145] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. An audio configuration system, characterized in that: include: A configuration device is used to generate an audio parameter structure according to the certification standards of each region, and write the audio parameter structure into each audio device to be shipped; The audio parameter structure includes the region codes corresponding to the multiple regions and the audio parameter information indicated by the certification standard; Audio equipment, used to determine the real-time area when receiving the start command after shipment; When it is determined based on the real-time area that the current area is inconsistent with the previous area, determining audio parameter information corresponding to the current area according to the audio parameter structure; An audio configuration is updated based on the audio parameter information.
2. The system according to claim 1, characterized in that When the audio device determines the audio parameter information corresponding to the current area according to the audio parameter structure, it is specifically used to: Determine whether there is a region code corresponding to the current region in the audio parameter structure; If it exists, determining the audio parameter information corresponding to the area code according to the audio parameter structure; Otherwise, it is determined that the audio parameter information corresponding to the area code is preset audio parameter information.
3. The system according to claim 1, characterized in that The audio device is also used for: When it is determined that the current area is consistent with the previous area, verifying the currently activated audio parameter information based on the audio parameter information of the current area; If the verification fails, the audio parameter information corresponding to the area code of the current area is determined based on the audio parameter structure, and the audio configuration is updated.
4. The system according to any one of claims 1 to 3, characterized in that: When determining the real-time area, the audio device is specifically used to: Real-time communication data is acquired, a real-time location is determined according to the real-time communication data, and an area corresponding to the real-time location is obtained, wherein the communication data includes cellular data, WIFI data, Bluetooth data, and GPS data.
5. The system according to claim 4, characterized in that When the configuration device generates the audio parameter structure according to the authentication standards of each region, it is specifically used to: Obtaining the region codes corresponding to the respective regions where the certification standards exist, and determining the audio parameter information indicated by each certification standard; Generate a configuration data set corresponding to each area according to the area code corresponding to the area, the authentication standard and the audio parameter information indicated by the authentication standard; The audio parameter structure is generated according to the configuration data sets corresponding to each area where the certification standard exists.
6. An audio configuration method, characterized in that: Used to configure the device, including: Generate an audio parameter structure according to the authentication standards of each region; the audio parameter structure includes region codes corresponding to multiple regions and audio parameter information indicated by the authentication standards; The audio parameter structure is written into each audio device to be shipped, so that when the audio device determines based on the real-time area that the current area is inconsistent with the previous area, the audio configuration is updated based on the audio parameter information corresponding to the current area; wherein the real-time area is determined in real time by the audio setting when the startup instruction after shipment is received, and the audio parameter information corresponding to the current area is determined by the audio device according to the audio parameter structure.
7. An audio configuration method, characterized in that: Used in audio equipment, including: When receiving the start instruction after shipment, determine the real-time area; When it is determined based on the real-time area that the current area is inconsistent with the previous area, the audio parameter information corresponding to the current area is determined according to the audio parameter structure, and the audio configuration is updated based on the audio parameter information. The audio parameter structure is generated and written by the configuration device according to the authentication standards of each area, and the audio parameter structure includes area codes corresponding to multiple areas and audio parameter information indicated by the authentication standards.
8. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to claim 6 or 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to claim 6 or 7 when executed by a processor.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to claim 6 or 7 when being executed by a processor.