Dynamic mode switching method and device of audio bus equipment and electronic equipment
By adopting the dynamic mode switching method of audio bus devices, using USB_CTRL1 and 1700_USB_INT_CFG signal verification, and combining with the differential controller to adjust the power management chip, the space occupation, sound quality damage and device clutter problems of the 3.5mm headphone jack are solved, and the compatibility and aesthetics of the voice quality evaluation system are improved.
Patent Information
- Application Number
- CN202510770943.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-10
- Publication Date
- 2025-09-12
AI Technical Summary
In the existing technology, the 3.5mm headphone jack takes up space, damages sound quality, has messy device wiring, cannot be adapted to a variety of mobile phones, and voice transmission is susceptible to interference, which affects the voice quality assessment of mobile communication networks.
Through USB_CTRL1 interface status monitoring and 1700_USB_INT_CFG signal verification, dynamic mode switching of audio bus devices is realized. Combined with the differential controller, the output current of the power management chip is adjusted to support automatic adaptation of data interaction and audio mode.
It improves the compatibility of the operator's network voice quality evaluation system, eliminates the sound quality damage and wiring clutter caused by the 3.5mm interface, adapts to a variety of devices, and improves the device's aesthetics and troubleshooting efficiency.
Smart Images

Figure CN120640337A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mobile communication testing, and in particular to a dynamic mode switching method and device for an audio bus device, and electronic equipment. Background Art
[0002] With the development and widespread adoption of 5G wireless network technology, 5G, like 4G, will continue to utilize voice solutions based on the IMS architecture. Voice over 4G LTE networks is called VoLTE, while voice over 5G NR networks is called VoNR, commonly known as high-definition voice. Operators' ability to improve overall network voice quality directly influences user choice. Therefore, objectively analyzing the impact of mobile communication networks on voice quality is crucial.
[0003] Operators have long developed a comprehensive MOS (Metrics of Performance) voice evaluation solution for quantitative analysis and evaluation of voice quality, with acquiring the test voice as a key technology. The MOS value is a crucial metric for measuring voice quality in communication systems and ensuring user experience. It reflects end-to-end quality and is influenced by all network elements throughout the entire process. Currently, research on wireless parameters is being used to identify parameter solutions to improve MOS, such as adopting a QCI-based parameter strategy and implementing variable step-size adjustments for CQI. However, existing solutions have the following shortcomings: (1) Using a 3.5mm headphone audio interface requires separate wiring and takes up space; (2) The 3.5mm headphone jack will damage the sound quality and cannot provide a high-quality audio experience; (3) Audio acquisition and data acquisition are routed in two separate routes, which results in messy equipment routing, affects the appearance, and makes troubleshooting difficult; (4) Unable to adapt to many mobile phones with 3.5mm headphone audio interfaces on the market; (5) Voice transmission is mainly analog and is susceptible to various interferences.
[0004] Therefore, a method and apparatus for dynamic mode switching of an audio bus device and an electronic device are proposed. Summary of the Invention
[0005] This specification provides a method, device, and electronic device for dynamic mode switching of audio bus devices, which coordinate the control of data transparent transmission, high-definition audio, and dynamic charging, significantly improving the compatibility of operator network voice quality evaluation systems.
[0006] This specification provides a method for dynamic mode switching of an audio bus device, including: After receiving the device power-on initialization instruction, execute the control parameter initialization operation; Monitor the USB_CTRL1 interface level status; When the USB_CTRL1 interface is at a high level, it switches to the data interaction mode configuration; When the USB_CTRL1 interface is at a low level, verify the safety status of the 1700_USB_INT_CFG signal; When the 1700_USB_INT_CFG signal fails the security verification, it switches to the general audio private output mode configuration.
[0007] Optionally, the control parameter initialization operation includes setting DATA_PWR_EN=0 and MUX_OE=1.
[0008] Optionally, the switching to the data interaction mode configuration includes: outputting a low level to the IO control terminal to activate the BUS_SEL path selection signal, starting the DATA_PWR_EN power enable after a delay of 10ms×N, and completing the data interaction and processing mode switching.
[0009] Optionally, also include: When the 1700_USB_INT_CFG signal passes security verification and the 1700_2S_USB_INT_CFG signal passes verification at the same time, the target audio private output mode configuration is switched.
[0010] Optionally, verifying the security status of the 1700_USB_INT_CFG signal includes detecting the value of BIT0 of register 0x1700 and the value of BIT7 of register 0x1702; If and only if BIT0=1 and BIT7=1 are both true, the security verification is passed.
[0011] Optionally, the switching to the general audio private output mode configuration includes: Dynamically adjust the output current of the power chip through the differential controller, including: Connecting the enable terminal of the power management chip to the control pin of the microprocessor; Get the power consumption parameters of the device model connected to the mobile phone; When entering the audio private output mode, the target current value is calculated based on the power consumption parameter, and the PWM regulation control signal is generated by the differential controller to control the output current of the power management chip.
[0012] Optionally, the power management chip includes an MT3700 power management chip.
[0013] This specification provides a dynamic mode switching device for an audio bus device, comprising: An acquisition module is used to obtain the device power-on initialization instruction and then perform the control parameter initialization operation; Monitoring module, used to monitor the level status of USB_CTRL1 interface; A first switching module, configured to switch to a data interaction mode configuration when the USB_CTRL1 interface is at a high level; A verification module, configured to verify the safety status of the 1700_USB_INT_CFG signal when the USB_CTRL1 interface is at a low level; The second switching module is used to switch to the general audio private output mode configuration when the 1700_USB_INT_CFG signal fails the security verification.
[0014] Optionally, the control parameter initialization operation includes setting DATA_PWR_EN=0 and MUX_OE=1.
[0015] Optionally, the first switching module includes: outputting a low level to the IO control terminal to activate the BUS_SEL path selection signal, starting the DATA_PWR_EN power enable after a delay of 10ms×N, and completing data interaction and processing mode switching.
[0016] Optionally, also include: When the 1700_USB_INT_CFG signal passes security verification and the 1700_2S_USB_INT_CFG signal passes verification at the same time, the target audio private output mode configuration is switched.
[0017] Optionally, verifying the security status of the 1700_USB_INT_CFG signal includes detecting the value of BIT0 of register 0x1700 and the value of BIT7 of register 0x1702; If and only if BIT0=1 and BIT7=1 are both true, the security verification is passed.
[0018] Optionally, the second switching module includes: Dynamically adjust the output current of the power chip through the differential controller, including: Connecting the enable terminal of the power management chip to the control pin of the microprocessor; Get the power consumption parameters of the device model connected to the mobile phone; When entering the audio private output mode, the target current value is calculated based on the power consumption parameter, and the PWM regulation control signal is generated by the differential controller to control the output current of the power management chip.
[0019] Optionally, the power management chip includes an MT3700 power management chip.
[0020] This specification also provides an electronic device, wherein the electronic device includes: processor; and, A memory storing computer executable instructions, which, when executed, cause the processor to perform any of the above methods.
[0021] This specification also provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, any of the above methods is implemented.
[0022] In the present invention, the dual-path response mechanism is intelligently triggered by the USB_CTRL1 level state, a low level is used to activate the BUS_SEL path and dynamically delay the start of power enable in the data interaction mode, and the 1700_USB_INT_CFG / 1700_2S_USB_INT_CFG dual-signal security verification is innovatively integrated in the audio mode to achieve automatic adaptation of Huawei's proprietary protocol and general equipment; the dynamic adjustment technology of the differential controller is synchronously integrated to generate a PWM control signal to drive the MT3700 power management chip by obtaining the device power consumption parameters in real time, eliminating the problems of sound quality damage and messy wiring caused by the 3.5mm interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0024] Figure 1 A schematic diagram of the principle of a dynamic mode switching method for an audio bus device provided in an embodiment of this specification; Figure 2 A schematic structural diagram of a dynamic mode switching device for an audio bus device provided in an embodiment of this specification; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification; Figure 4 A schematic diagram of a computer-readable medium provided in accordance with an embodiment of this specification. DETAILED DESCRIPTION
[0025] The following description is intended to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are for illustrative purposes only, and those skilled in the art will readily appreciate other obvious variations. The basic principles of the present invention defined in the following description may be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not depart from the spirit and scope of the present invention.
[0026] The following is combined with Figure 1-4 The exemplary embodiments of the present invention are described more fully. However, the exemplary embodiments can be implemented in various forms, and the present invention should not be construed as being limited to the embodiments set forth herein. On the contrary, providing these exemplary embodiments enables the present invention to be more comprehensive and complete, and more conveniently conveys the inventive concept to those skilled in the art. In the figures, the same reference numerals represent the same or similar elements, components, or parts, and thus their repeated description will be omitted.
[0027] Under the premise of being consistent with the technical concept of the present invention, the features, structures, characteristics or other details described in a specific embodiment do not exclude that they can be combined in one or more other embodiments in a suitable manner.
[0028] In the description of specific embodiments, the features, structures, characteristics, or other details of the present invention are described to enable those skilled in the art to fully understand the embodiments. However, this does not preclude those skilled in the art from practicing the technical solutions of the present invention without one or more of the specific features, structures, characteristics, or other details.
[0029] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0030] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0031] The term "and / or" or "and / or" includes all combinations of any one or more of the associated listed items.
[0032] Figure 1 A schematic diagram of a method for dynamic mode switching of an audio bus device provided in an embodiment of this specification may include: S110: After obtaining the device power-on initialization instruction, execute the control parameter initialization operation; S120: monitor the level status of USB_CTRL1 interface; S130: When the USB_CTRL1 interface is at a high level, switching to a data interaction mode configuration; S140: When the USB_CTRL1 interface is at a low level, verify the safety status of the 1700_USB_INT_CFG signal; S150: When the 1700_USB_INT_CFG signal fails the security verification, switching to the general audio private output mode configuration.
[0033] In the specific implementation of this specification, after receiving the device power-on initialization instruction, the microprocessor starts the initialization process and sets parameters such as DATA_PWR_EN = 0 and MUX_OE = 1. The USB_CTRL1 interface level status is monitored: when USB_CTRL1 is high (1), the system enters the data interaction and processing mode initialization; when USB_CTRL1 is low (0), the security status of the 1700_USB_INT_CFG signal is verified; if 1700_USB_INT_CFG fails the verification, the device enters other audio private output mode.
[0034] Optionally, the control parameter initialization operation includes setting DATA_PWR_EN=0 and MUX_OE=1.
[0035] In a specific implementation of this specification, the microprocessor starts an initialization process, during which multiple parameters need to be set, such as DATA_PWR_EN=0, MUX_OE=1, etc.
[0036] Optionally, the switching to the data interaction mode configuration includes: outputting a low level to the IO control terminal to activate the BUS_SEL path selection signal, starting the DATA_PWR_EN power enable after a delay of 10ms×N, and completing the data interaction and processing mode switching.
[0037] In this specific implementation, when USB_CTRL1 = 1, the system enters the initialization phase of data exchange and processing mode. In this mode, a series of delays (each 10 milliseconds) are executed while related parameters are set. Specifically, the system outputs a low level to the IO control pin to activate the BUS_SEL signal path; after a delay of 10ms × N (N is the number of delays), the DATA_PWR_EN power enable is activated.
[0038] Optionally, also include: When the 1700_USB_INT_CFG signal passes security verification and the 1700_2S_USB_INT_CFG signal passes verification at the same time, the target audio private output mode configuration is switched.
[0039] In the specific implementation of this manual, if the USB_CTRL1 signal is 0 and the 1700_USB_INT_CFG and 1700_2S_USB_INT_CFG conditions are met, the device will enter Huawei's proprietary audio output mode. Otherwise, it will enter other proprietary audio output modes.
[0040] Optionally, verifying the security status of the 1700_USB_INT_CFG signal includes detecting the value of BIT0 of register 0x1700 and the value of BIT7 of register 0x1702; If and only if BIT0=1 and BIT7=1 are both true, the security verification is passed.
[0041] In the specific implementation of this specification, the 1700_USB_INT_CFG and 1700_2S_USB_INT_CFG conditions are met by detecting the value of BIT0 of register 0x1700 and the value of BIT7 of register 0x1702.
[0042] Optionally, the switching to the general audio private output mode configuration includes: Dynamically adjust the output current of the power chip through the differential controller, including: Connecting the enable terminal of the power management chip to the control pin of the microprocessor; Get the power consumption parameters of the device model connected to the mobile phone; When entering the audio private output mode, the target current value is calculated based on the power consumption parameter, and the PWM regulation control signal is generated by the differential controller to control the output current of the power management chip.
[0043] In this specification, a differential controller is used to dynamically adjust the charging current to ensure efficient and stable charging. This includes connecting the enable pin of the MT3700 power management chip to the MCU; the MCU adjusts the output parameters of the power management chip based on the power consumption of the mobile phone; and when entering audio mode, the differential controller generates a PWM signal to control the current.
[0044] Optionally, the power management chip includes an MT3700 power management chip.
[0045] In the specific implementation of this specification, the MT3700 power management chip receives the control signal of the MCU and controls the current output to the mobile phone to achieve a safe and efficient charging process.
[0046] In the present invention, the dual-path response mechanism is intelligently triggered by the USB_CTRL1 level state, a low level is used to activate the BUS_SEL path and dynamically delay the start of power enable in the data interaction mode, and the 1700_USB_INT_CFG / 1700_2S_USB_INT_CFG dual-signal security verification is innovatively integrated in the audio mode to achieve automatic adaptation of Huawei's proprietary protocol and general equipment; the dynamic adjustment technology of the differential controller is synchronously integrated to generate a PWM control signal to drive the MT3700 power management chip by obtaining the device power consumption parameters in real time, eliminating the problems of sound quality damage and messy wiring caused by the 3.5mm interface.
[0047] Figure 2 This is a schematic diagram of a principle of a dynamic mode switching device for an audio bus device provided in an embodiment of this specification. The device may include: An acquisition module 10 is used to obtain a device power-on initialization instruction and then perform a control parameter initialization operation; Monitoring module 20, used to monitor the level status of USB_CTRL1 interface; A first switching module 30 is configured to switch to a data interaction mode configuration when the USB_CTRL1 interface is at a high level; The verification module 40 is used to verify the security status of the 1700_USB_INT_CFG signal when the USB_CTRL1 interface is at a low level; The second switching module 50 is configured to switch to a general audio private output mode configuration when the 1700_USB_INT_CFG signal fails security verification.
[0048] Optionally, the control parameter initialization operation includes setting DATA_PWR_EN=0 and MUX_OE=1.
[0049] Optionally, the first switching module 30 includes: outputting a low level to the IO control terminal to activate the BUS_SEL path selection signal, starting the DATA_PWR_EN power enable after a delay of 10ms×N, and completing data interaction and processing mode switching.
[0050] Optionally, also include: When the 1700_USB_INT_CFG signal passes security verification and the 1700_2S_USB_INT_CFG signal passes verification at the same time, the target audio private output mode configuration is switched.
[0051] Optionally, verifying the security status of the 1700_USB_INT_CFG signal includes detecting the value of BIT0 of register 0x1700 and the value of BIT7 of register 0x1702; If and only if BIT0=1 and BIT7=1 are both true, the security verification is passed.
[0052] Optionally, the second switching module 50 includes: Dynamically adjust the output current of the power chip through the differential controller, including: Connecting the enable terminal of the power management chip to the control pin of the microprocessor; Get the power consumption parameters of the device model connected to the mobile phone; When entering the audio private output mode, the target current value is calculated based on the power consumption parameter, and the PWM regulation control signal is generated by the differential controller to control the output current of the power management chip.
[0053] Optionally, the power management chip includes an MT3700 power management chip.
[0054] The functions of the device in the embodiment of the present invention have been described in the above method embodiment. Therefore, for details not fully described in this embodiment, please refer to the relevant description in the above embodiment and will not be repeated here.
[0055] Based on the same inventive concept, an embodiment of this specification also provides an electronic device.
[0056] The following describes an electronic device embodiment of the present invention, which can be considered a specific physical implementation of the method and apparatus embodiments of the present invention described above. Details described in the electronic device embodiment of the present invention should be considered supplementary to the above-mentioned method or apparatus embodiments; details not disclosed in the electronic device embodiment of the present invention can be implemented with reference to the above-mentioned method or apparatus embodiments.
[0057] Figure 3 This is a schematic diagram of the structure of an electronic device provided in the embodiment of this specification. Figure 3 The electronic device 300 according to this embodiment of the present invention will be described. Figure 3 The electronic device 300 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present invention.
[0058] like Figure 3 As shown, electronic device 300 is implemented as a general-purpose computing device. Components of electronic device 300 may include, but are not limited to, at least one processing unit 310, at least one storage unit 320, a bus 330 connecting various system components (including storage unit 320 and processing unit 310), and a display unit 340.
[0059] The storage unit stores program codes that can be executed by the processing unit 310, so that the processing unit 310 performs the steps according to various exemplary embodiments of the present invention described in the above processing method section of this specification. For example, the processing unit 310 can perform the following steps: Figure 1 Steps shown.
[0060] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 3201 and / or a cache memory unit 3202 , and may further include a read-only memory unit (ROM) 3203 .
[0061] The storage unit 320 may also include a program / utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.
[0062] Bus 330 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0063] The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable viewers to interact with the electronic device 300, and / or any device that enables the electronic device 300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 350. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 360. The network adapter 360 may communicate with other modules of the electronic device 300 through the bus 330. It should be understood that although Figure 3 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0064] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the exemplary embodiments described in the present invention can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, server, or network device, etc.) to execute the above method according to the present invention. When the computer program is executed by a data processing device, the computer-readable medium is enabled to implement the above method of the present invention, that is: Figure 1 The method shown.
[0065] Figure 4 A schematic diagram of a computer-readable medium provided in accordance with an embodiment of this specification.
[0066] accomplish Figure 1 The computer program of the illustrated method can be stored on one or more computer-readable media. The computer-readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0067] The computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. The data signal propagated may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or component. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0068] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the viewer computing device, partially on the viewer device, as a stand-alone software package, partially on the viewer computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the viewer computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0069] In summary, the present invention can be implemented in hardware, or as a software module running on one or more processors, or a combination thereof. Those skilled in the art will appreciate that, in practice, general-purpose data processing devices such as microprocessors or digital signal processors (DSPs) can be used to implement some or all of the functions of some or all of the components according to the embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program or computer program product) for performing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium or in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
[0070] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the present invention is not inherently related to any specific computer, virtual device, or electronic device, and various general-purpose devices can also implement the present invention. The above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention.
[0071] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.
[0072] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A dynamic mode switching method for an audio bus device, characterized in that: include: After receiving the device power-on initialization instruction, execute the control parameter initialization operation; Monitor the USB_CTRL1 interface level status; When the USB_CTRL1 interface is at a high level, it switches to the data interaction mode configuration; When the USB_CTRL1 interface is at a low level, verify the safety status of the 1700_USB_INT_CFG signal; When the 1700_USB_INT_CFG signal fails the security verification, it switches to the general audio private output mode configuration.
2. The dynamic mode switching method of the audio bus device according to claim 1, wherein: The control parameter initialization operation includes setting DATA_PWR_EN=0 and MUX_OE=1.
3. The dynamic mode switching method of the audio bus device according to claim 2, wherein: The switching to the data interaction mode configuration includes: outputting a low level to the IO control terminal to activate the BUS_SEL path selection signal, starting the DATA_PWR_EN power enable after a delay of 10ms×N, and completing the data interaction and processing mode switching.
4. The dynamic mode switching method of the audio bus device according to claim 3, wherein: Also includes: When the 1700_USB_INT_CFG signal passes security verification and the 1700_2S_USB_INT_CFG signal passes verification at the same time, the target audio private output mode configuration is switched.
5. The dynamic mode switching method of the audio bus device according to claim 4, characterized in that: Verifying the security status of the 1700_USB_INT_CFG signal includes detecting the value of BIT0 of register 0x1700 and the value of BIT7 of register 0x1702; If and only if BIT0=1 and BIT7=1 are both true, the security verification is passed.
6. The dynamic mode switching method of the audio bus device according to claim 5, characterized in that: The switching to the general audio private output mode configuration includes: Dynamically adjust the output current of the power chip through the differential controller, including: Connecting the enable terminal of the power management chip to the control pin of the microprocessor; Get the power consumption parameters of the device model connected to the mobile phone; When entering the audio private output mode, the target current value is calculated based on the power consumption parameter, and the PWM regulation control signal is generated by the differential controller to control the output current of the power management chip.
7. The dynamic mode switching method of the audio bus device according to claim 6, wherein: The power management chip includes an MT3700 power management chip.
8. A dynamic mode switching device for an audio bus device, characterized in that: include: An acquisition module is used to obtain the device power-on initialization instruction and then perform the control parameter initialization operation; Monitoring module, used to monitor the level status of USB_CTRL1 interface; A first switching module, configured to switch to a data interaction mode configuration when the USB_CTRL1 interface is at a high level; A verification module, configured to verify the safety status of the 1700_USB_INT_CFG signal when the USB_CTRL1 interface is at a low level; The second switching module is used to switch to the general audio private output mode configuration when the 1700_USB_INT_CFG signal fails the security verification.
9. An electronic device, wherein: The electronic device includes: processor; and, A memory storing computer executable instructions which, when executed, cause the processor to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein: The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method of any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Android system-based autonomous audio source switching method, device and calculation equipment
CN113347459A
Switching method for audio transmission protocol of USB sound card
CN114442992A
Audio quality evaluation system and method
CN115623125A
Mode switching method and device and electronic equipment
CN118535109A
Voice interaction module and method, vehicle-mounted stand, computing device and storage medium
WO2020200147A1