A power and interface management method for a multifunctional audio system
By generating the working status information of the multi-functional audio system, comparing the power input interface and the built-in battery interface, and forming a continuous status information processing link, the problem of scattered interface status detection and operating parameter acquisition in the prior art is solved, and the stability and consistency of the system status are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUIZHOU DAYABAY PRECISION STAND ELECTRONICS CO LTD
- Filing Date
- 2026-04-09
- Publication Date
- 2026-06-30
AI Technical Summary
In existing power and interface management methods for multifunctional audio systems, the results of interface connection status detection and operating parameter acquisition are scattered, making it difficult to form a continuous working status information processing link. This results in discontinuity between main power supply path information and interface mode information, making it difficult to maintain stability and consistency.
By acquiring working status control information, performing interface connection status detection and collecting operating parameters, the first working status information is generated. Based on this information, the power input interface and the built-in battery interface are compared to generate the main power supply path information and the first interface mode information. Subsequently, continuous monitoring, mode matching and mode switching are performed to generate the second and third working status information, forming a consistent anomaly detection and write-back process.
It achieves unified processing of interface connection status information and operating parameter information, and continuous association between main power supply path information and interface mode information, ensuring the consistency and stability of status information of the multi-functional audio system in the operating scenario, and avoiding inconsistencies before and after mode switching.
Smart Images

Figure CN122309284A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of audio system power management and interface management technology, and in particular to a power and interface management method for a multifunctional audio system. Background Technology
[0002] In the field of audio system power management and interface management technology, existing solutions for multi-functional audio systems typically revolve around interface connection status detection, operating parameter acquisition, switching between power input interfaces and built-in battery interfaces, mode matching, and anomaly detection. These solutions suffer from limitations such as scattered operating status information, fragmented judgment of main power supply path information, and discontinuous operating status write-back links. Existing methods often process the operating status of audio input interfaces, audio output interfaces, digital playback interfaces, display devices, video interfaces, and network interfaces separately after interface access, and then perform switching based on the current status of the power input interface or built-in battery interface. In scenarios where interface connection status detection, operating parameter acquisition, and main power supply path information generation are independent, this can easily lead to a disconnect between main link activation status processing and module hierarchical enabling processing, and inconsistencies between continuous monitoring and mode switching, making it difficult to achieve stable implementation of power and interface management methods for multi-functional audio systems.
[0003] Regarding the joint processing of the first working status information, power input interface, built-in battery interface, and main power supply path information, existing technologies generally lack a processing link that unifies the interface connection status detection results with the operating parameter acquisition results to generate working status information. They also lack a continuous process that performs the following around the first working status information: comparison of the power input interface and built-in battery interface, main link activation status processing, module hierarchical enabling processing, continuous monitoring, mode matching, mode switching, anomaly detection, anomaly handling, and working status write-back. It is difficult to form a consistent process of acquisition, judgment, control, and write-back in the operating scenario of a multi-functional audio system, resulting in difficulty in maintaining a continuous correlation between the main power supply path information and the interface mode information, and difficulty in forming a stable connection between the second and third working status information. Summary of the Invention
[0004] To address the aforementioned technical problems, this invention provides a power and interface management method for a multifunctional audio system, comprising:
[0005] S100: Obtain working status control information, perform interface connection status detection, operation parameter acquisition and working status information generation processing to obtain first working status information; the working status control information includes power input interface, built-in battery interface, audio input interface, audio output interface, digital playback interface, display device, network interface, video interface, general IO interface and corresponding activation status, normal sleep mode and deep sleep mode.
[0006] S200: Based on the first working state information, compare the power input interface and the built-in battery interface, process the main link activation state and the module hierarchical enable process, and generate the main power supply path information and the first interface mode information.
[0007] S300. Based on the first interface mode information, perform continuous monitoring, mode matching and mode switching processing to generate second working status information;
[0008] S400. Based on the second working status information and the main power supply path information, perform anomaly detection, anomaly handling and working status write-back processing to generate third working status information.
[0009] Furthermore, the process of generating and processing the work status information includes:
[0010] Based on the interface connection status information output by the interface connection status detection and processing and the running parameter information output by the running parameter acquisition and processing, cross-layer fusion and semantic modeling are performed.
[0011] The cross-layer fusion includes: combining the power input interface access status, audio input interface access status, and digital playback interface access status in the interface connection status information with the playback status, audio sampling rate, and current clock source in the operation parameter information;
[0012] The semantic modeling includes: determining that when the digital playback interface is connected and the playback status is playback preparation or playback in progress, and the audio output interface or speaker interface is connected, generating an audio playback link established status.
[0013] Furthermore, the process of obtaining the first working status information includes:
[0014] When it is determined that HDMI or LVDS is connected and the display device has operating current, a display extension link is generated as established; if it is only physically connected but has no operating current, an established state is generated.
[0015] Record the currently invoked RC oscillator clock source or phase-locked loop as the current clock source, and write it in association with the audio sampling rate and playback status;
[0016] Matching is performed according to the five-segment sequence preset in the working status control information. The five-segment sequence includes: the first segment corresponds to the audio input interface, audio output interface, speaker interface and power amplifier; the second segment corresponds to USB, TF, SATA and Micro-USB; the third segment corresponds to HDMI, LVDS, video interface and display device; the fourth segment corresponds to the power input interface, built-in battery interface and battery voltage detection pin; and the fifth segment corresponds to the network interface and general I / O interface.
[0017] Furthermore, the process of obtaining the first working status information also includes:
[0018] First, match the first and second segments to generate an audio playback link established status;
[0019] Match the third segment to generate a display extended link status;
[0020] Match the fourth segment to generate the current power supply status;
[0021] Match the fifth segment to generate the network interface working status;
[0022] The first working status information is generated by merging the audio playback link established status, the display extension link established or not established status, the digital playback interface connected status, the current power supply status, the network interface working status, and the current clock source reading results.
[0023] Furthermore, the process of comparing the power input interface and the built-in battery interface includes:
[0024] First, read the current power supply status and link establishment status from the first working status information. Then, call the voltage monitoring module to perform current value reading and continuous value verification on the working voltage of the power input interface. At the same time, call the battery voltage detection pin to perform current value reading on the working voltage of the built-in battery interface.
[0025] When the first working status information includes the status of the display extension link being established and the status of the digital playback interface being connected, the current parameters corresponding to the display device, digital playback interface and power amplifier are additionally read as parallel conditions.
[0026] Furthermore, the process of comparing the power input interface and the built-in battery interface also includes:
[0027] The comparison process is executed according to the interface sequence stored in the working status control information. First, it is determined whether the power input interface is in a valid connection state and whether the working voltage is maintained within the range that allows the audio processing module, power amplifier and main control module to work continuously. If the condition is met, the power supply path where the power input interface is located is recorded as the current main power supply path.
[0028] If the operating voltage of the power input interface decreases continuously or the built-in battery interface is connected in the first operating status information, the operating voltage of the built-in battery interface is compared with the current parameters corresponding to the current power amplifier, display device, and digital playback interface. When the switching conditions are met, the power supply path where the built-in battery interface is located is recorded as the current main power supply path.
[0029] The main power supply path information obtained after comparison is saved as the output field name.
[0030] Furthermore, the process of handling the main link activation state includes:
[0031] First, read the main power supply path information to determine whether the main link is currently powered by the power input interface or the built-in battery interface. Then, sequentially send activation status commands to the audio processing module, power amplifier, and main control module.
[0032] When the first working status information includes the status that the audio playback link has been established, the system will immediately enter the activation state after completing the main power supply path comparison.
[0033] When the first working status information includes the status that the display extension link has been established and the main power supply path information corresponds to the power input interface, the conditions for the subsequent display device to enter the activation state are retained while activating the audio processing module and power amplifier.
[0034] Furthermore, the process of handling the main link activation state also includes:
[0035] When the main power supply path information corresponds to the built-in battery interface, the activation status processing of the audio processing module, power amplifier, and main control module is performed, but the display device and network interface are not started in this step; the record of whether the audio processing module, power amplifier, and main control module have entered the activation state is written into the data storage module as the main link activation status information.
[0036] Furthermore, the module hierarchical enabling process includes:
[0037] First, read the main link activation status information and confirm that the audio processing module, power amplifier and main control module are all in the activated record. Then, read the digital playback interface connected status, the extended link established status and the current power supply path in the main power supply path information in the first working status information.
[0038] If the main power supply path information corresponds to the power input interface and the first working status information includes the digital playback interface being connected, then activation status processing is performed on USB, TF and SATA, and the display device and video interface are set as interface objects that can enter the activation state.
[0039] If the main power supply path information corresponds to the built-in battery interface, the digital playback interface is processed according to the reading status. The interface currently providing playback content remains active, while the other digital playback interfaces enter normal sleep mode. Under this condition, the display device, video interface, and network interface do not directly enter the active state.
[0040] Furthermore, it also includes:
[0041] If the network interface working status has been recorded in the first working status information and the main power supply path information corresponds to the power input interface, then the network interface is put into normal sleep mode and the wake-up record is maintained; if the network interface working status is not recorded or the main power supply path information corresponds to the built-in battery interface, then the network interface is put into deep sleep mode.
[0042] The overall record of whether the digital playback interface, display device, video interface, network interface, and general I / O interface are currently active, in normal sleep mode, or in deep sleep mode is written into the data storage module as the first interface mode information.
[0043] The key innovations of this invention include:
[0044] (1) A continuous link is set up around the working status control information, including interface connection status detection, operation parameter acquisition and working status information generation and processing. The interface connection status detection result and the operation parameter acquisition result are used to generate the first working status information. The first working status information is used as the common input for subsequent comparison of power input interface and built-in battery interface, main link activation status processing and module hierarchical enable processing.
[0045] (2) Based on the first working state information, set up the sequential links of power input interface and built-in battery interface comparison processing, main link activation state processing, and module hierarchical enable processing. First, generate the main power supply path information, and then form the first interface mode information based on the main power supply path information, so that the main power supply path information and the interface mode information are continuously associated in the same processing chain.
[0046] (3) Set up a closed-loop link around the first interface mode information and the second working status information, including continuous monitoring, mode matching, mode switching, anomaly detection, anomaly handling and working status writeback, so that the second working status information, main power supply path information, safe operation mode information and the third working status information are connected and the status is updated in the same multi-functional audio system.
[0047] The following are its main beneficial effects:
[0048] (1) To address the problem of scattered working status information, the first working status information is formed by interface connection status detection, operation parameter acquisition and working status information generation and processing. This ensures that the interface connection status information and operation parameter information are uniformly organized before entering subsequent processing. The subsequent comparison of power input interface and built-in battery interface, main link activation status processing and module hierarchical enable processing are all carried out around the same status object, reducing the separation of the basis for the pre- and post-processing.
[0049] (2) To address the problem of fragmented judgment of main power supply path information, the power input interface and the built-in battery interface are compared based on the first working state information. After the comparison, the main link activation state processing and module hierarchical enable processing are continuously executed to ensure that the main power supply path information and the first interface mode information are sequentially corresponding, and the processing relationship between the power input interface, the built-in battery interface, the audio processing module, the power amplifier and the main control module remains consistent.
[0050] (3) To address the inconsistency between continuous monitoring and mode switching, continuous monitoring, mode matching, and mode switching are performed based on the first interface mode information to form the second working status information. This allows the status content obtained from continuous monitoring to directly enter the mode matching and mode switching link, forming a continuous mapping between the interface mode information and the second working status information.
[0051] (4) To address the problem of discontinuous links in anomaly detection, anomaly handling, and working status write-back, anomaly detection, anomaly handling, and working status write-back are performed based on the second working status information and the main power supply path information to form the third working status information. This allows the anomaly status information, safe operation mode information, and the third working status information to be continuously generated within the same link, facilitating subsequent processing and continued use.
[0052] (5) Based on the operation scenario of the multi-functional audio system, the working status control information, the first working status information, the main power supply path information, the first interface mode information, the second working status information and the third working status information are transmitted in sequence, so that the interface connection status detection, operation parameter acquisition, comparison of power input interface and built-in battery interface, mode matching, mode switching, anomaly detection and working status write-back form a consistent process, and the main link activation status processing and module hierarchical enable processing maintain a correspondence. Attached Figure Description
[0053] Figure 1 A flowchart illustrating a power and interface management method for a multifunctional audio system provided in this application embodiment;
[0054] Figure 2 This is a structural block diagram of a power supply and interface management method for a multifunctional audio system provided in an embodiment of this application. Detailed Implementation
[0055] Example 1: Refer to Figure 1 This is a flowchart illustrating a power and interface management method for a multifunctional audio system provided in an embodiment of the present invention. The process may include at least steps S100-S400:
[0056] S100: Obtain working status control information, perform interface connection status detection, operating parameter acquisition and working status information generation processing to obtain the first working status information;
[0057] S200: Based on the first working state information, compare the power input interface and the built-in battery interface, process the main link activation state and the module hierarchical enable process, and generate the main power supply path information and the first interface mode information.
[0058] S300. Based on the first interface mode information, perform continuous monitoring, mode matching and mode switching processing to generate second working status information;
[0059] S400. Based on the second working status information and the main power supply path information, perform anomaly detection, anomaly handling and working status write-back processing to generate third working status information.
[0060] Step S100 includes at least steps S110-S130:
[0061] S110. Obtain working status control information, perform interface connection status detection processing, and obtain interface connection status information.
[0062] Specifically, this step is performed by the main control module during the initialization process after the multi-functional audio amplifier board is powered on. The working status control information is pre-stored in the data storage module and is read by the main control module before starting the audio decoding, power amplification and power management.
[0063] The working status control information in this step refers to the preset content of each interface module and the working order of each module. It includes at least the power input interface, the built-in battery interface, the audio input interface, the audio output interface, the digital playback interface, the display device, the network interface, the video interface, the general I / O interface, and the corresponding activation status, normal sleep mode, and deep sleep mode.
[0064] Furthermore, in this embodiment, the digital playback interface includes the USB (Universal Serial Bus), the TF (TransFlash), and the SATA; the display device in this embodiment is connected to the multi-functional audio amplifier board via the HDMI (High Definition Multimedia Interface) or the LVDS (Low Voltage Differential Signaling), and the Micro-USB serves as a debugging port for interface connection status detection. The interface connection status detection process is performed by the main control module in conjunction with the interface module.
[0065] For the power input interface and the built-in battery interface, the main control module first reads the connection status of the corresponding interface, and then reads the status of the battery voltage detection pin to distinguish between the external DC power supply connection status and the built-in battery connection status. For the audio input interface, the audio output interface, the first speaker interface, the second speaker interface, and the aviation plug interface, the main control module performs an access judgment based on the connection response of the interface module, and records the connected, not connected, and no response after connection to the data storage module respectively. For the USB, TF, SATA, and Micro-USB, the main control module sends a transmission request one by one in the initialization order in the working status control information, and reads the reception completion notification returned by the interface module. If the reception completion notification exists, it is recorded as a connected status; if no reception completion notification is returned, it is recorded as an unestablished status.
[0066] For the HDMI, LVDS, video interface, network interface, and general I / O interface, the main control module calls the corresponding interface module to perform an initialization detection and a hold detection. The initialization detection is used to identify whether there is a physical connection at present, and the hold detection is used to identify whether there is a continuous connection response for a short period of time after initialization.
[0067] Understandably, this step does not directly change the activation state, normal sleep mode, and deep sleep mode of each module. Instead, it first completes access confirmation for each interface object in the working state control information and records the detection results as the interface connection status information. In this embodiment, the interface connection status information is written as an output field name into the data storage module and is directly called by S120 after this step is completed. It also serves as a prerequisite input for generating the first working state information in the subsequent S130.
[0068] S120. Based on the interface connection status information, voltage, current parameters, playback status, audio sampling rate, and current clock source are collected and processed to obtain operating parameter information.
[0069] Specifically, this step is executed immediately by the main control module after writing the interface connection status information, with the input source being the interface connection status information output by S110. The voltage and current parameters in this step are operational quantities synchronously corresponding to the interface access status and module operating status, and at least include the operating voltage of the power input interface, the operating voltage of the built-in battery interface, the power supply current of the power amplifier, the operating current of the display device, the operating current of the network interface, and the operating current of the digital playback interface.
[0070] In this step, the playback status refers to whether the audio processing module and the power amplifier are currently in a playback preparation, playback in progress, or playback idle state. The audio sampling rate is the sampling rate output from the audio decoder to the audio processing module. The current clock source is the clock source currently invoked by the main control module, which in this embodiment is provided by the RC oscillator clock source and the active working item in the phase-locked loop.
[0071] Furthermore, the main control module calls the voltage monitoring module to sequentially collect data from the power input interface and the built-in battery interface, first from the power input interface and then from the built-in battery interface. The collected operating voltage is recorded once as a current value and once as a continuous value. The current value record is written into the current operation process, and the continuous value record is used to correspond with the continuous monitoring results in subsequent steps.
[0072] Subsequently, the main control module calls the interface modules corresponding to the power amplifier, the audio processing module, the display device, the network interface, and the digital playback interface, and reads the current parameters one by one according to the "connected" objects in the interface connection status information. For interface objects that are not in the "connected" state, the main control module does not perform a complete acquisition, but only records that there are currently no valid operating parameters. For the playback status, the main control module reads the current playback item by combining the access content of the digital playback interface and the connection content of the audio output interface, the first speaker interface, and the second speaker interface.
[0073] If readable content exists in the USB, TF, or SATA port, and at least one of the audio output interface, the first speaker interface, or the second speaker interface is in an connected state, the main control module records the playback status as playback ready or playback in progress. If the digital playback interface has no readable content, or the audio output link is not established, the playback status is recorded as playback idle. Regarding the audio sampling rate, the main control module reads the currently used sampling rate information from the audio decoder and the audio effects processing chip, and records it correspondingly with the playback status. Regarding the current clock source, the main control module reads whether the current clock source is the RC oscillator or the phase-locked loop, and writes this reading result in association with the audio sampling rate and the playback status.
[0074] Furthermore, in engineering embodiments of outdoor speakers or in-vehicle audio equipment, when the HDMI or LVDS connects to the display device, the USB connects to play content, and the power input interface is connected to an external DC power supply, the main control module simultaneously acquires the display link current, digital playback interface current, power amplifier current, and power input interface operating voltage in the above order, and combines these contents into the operating parameter information. If it is found during the acquisition process that the power input interface is connected but the operating voltage is unstable, the main control module still continues to complete the acquisition of the playback status, the audio sampling rate, and the current clock source, and retains the current value record and continuous value record of the operating voltage in the operating parameter information.
[0075] The operating parameter information is stored as an output field name in the data storage module in this step, and is called by S130 to jointly generate the working status information with the interface connection status information.
[0076] S130. Based on the interface connection status information and the operating parameter information, perform working status information generation processing to obtain the first working status information.
[0077] Specifically, this step is executed by the main control module, which receives the interface connection status information output from S110 and the operating parameter information output from S120 as input. The operating status information in this step is not the result of a single interface connection, nor the operating status of a single module, but rather the overall device status content resulting from combining the interface connection information in the interface connection status information with the operating voltage, current parameters, playback status, audio sampling rate, and current clock source in the operating parameter information according to the operating status control information.
[0078] Furthermore, the main control module first processes the interface objects in segments according to the working status control information. The first segment corresponds to the audio input interface, the audio output interface, the first speaker interface, the second speaker interface, and the power amplifier; the second segment corresponds to the USB, the TF, the SATA, and the Micro-USB; the third segment corresponds to the HDMI, the LVDS, the video interface, and the display device; the fourth segment corresponds to the power input interface, the built-in battery interface, and the battery voltage detection pin; and the fifth segment corresponds to the network interface and the general-purpose I / O interface. The main control module first matches the first and second segments. If the digital playback interface is connected, and the playback status is playback preparation or playback in progress, and the audio output interface or the first speaker interface and the second speaker interface are in the connected state, then the audio playback link is recorded as established, and this content is written into the first working status information.
[0079] The main control module performs matching on the third segment. If the HDMI or LVDS is connected and the display device has operating current, the display extension link is recorded as established; if there is only physical connection but no corresponding operating current, the display extension link is recorded as not established. Next, the main control module performs matching on the fourth segment. If the power input interface is connected and its operating voltage is higher than the operating voltage of the built-in battery interface, the current power supply status is recorded as power input interface connected; if the built-in battery interface has a valid operating voltage, and the power input interface is not connected or its operating voltage is lower than a predetermined reading range, the current power supply status is recorded as built-in battery interface connected. Then, the main control module performs matching on the fifth segment. If the network interface is connected and has operating current, the network interface is recorded as working; if it is connected but has no operating current, it is recorded as a candidate for normal sleep mode.
[0080] Furthermore, the main control module merges the audio playback link, the display expansion link, the current power supply status, the digital playback interface access status, the network interface working status, and the reading result of the current clock source to generate the first working status information. This first working status information includes at least the corresponding content from the following: audio playback link established status, display expansion link established or not established status, digital playback interface access status, power input interface access status, built-in battery interface access status, and restricted working status.
[0081] Understandably, in this embodiment of the project, when the USB reads playback content, the audio output interface is connected to the power amplifier output link, the HDMI is connected to the display device, and the power input interface is connected to the vehicle DC power supply, the main control module writes the first working status information as "audio playback link established, display extension link established, power input interface connected, digital playback interface connected"; when the external DC power supply is interrupted but the built-in battery interface still has a valid working voltage, the first working status information is rewritten as "audio playback link established, display extension link restricted, built-in battery interface connected".
[0082] After this step is completed, the first working status information is written as an output field name into the data storage module, and in the subsequent S210, it is used as the "first working status information" input to perform the comparison processing of the power input interface and the built-in battery interface. At the same time, the link establishment content in the first working status information will also run through the subsequent S220, S230, S310 to S430. Through this step, the preceding interface connection status detection processing and operation parameter acquisition processing no longer stay at the level of a single interface and a single module, but instead move to the overall system status level of the first working status information. The main power supply path and the hierarchical enabling of subsequent modules thus obtain a unified input. The processing chain of "directly starting the corresponding function after detecting the interface" in the prior art is rewritten as "first generating the first working status information, and then entering the subsequent link".
[0083] In one specific embodiment, working status control information is first obtained, and interface connection status detection processing, running parameter acquisition processing, and working status information generation processing are performed to obtain first working status information.
[0084] The interface connection status detection process is executed by the main control module during the initialization process after the multi-functional audio amplifier board is powered on. The main control module first reads the working status control information pre-stored in the data storage module, and then performs access confirmation one by one according to the preset interface object order in the working status control information. For the power input interface and the built-in battery interface, the main control module reads the access status of the corresponding interface and simultaneously reads the status of the battery voltage detection pin, distinguishing between the external DC power supply access status and the built-in battery access status. For the audio input interface, audio output interface, first speaker interface, second speaker interface, and aviation plug interface, the main control module performs access judgment based on the connection response of the interface module, and records the connected, not connected, and no response after connection to the data storage module respectively. For USB, TF, SATA, and Micro-USB, the main control module sends a transmission request one by one according to the initialization order in the working status control information, and reads the reception completion notification returned by the interface module. If the reception completion notification exists, it is recorded as connected; if not returned, it is recorded as not established. For HDMI, LVDS, video interfaces, network interfaces, and general I / O interfaces, the main control module calls the corresponding interface module to perform one initialization detection and one hold detection. The initialization detection is used to identify whether a physical connection exists, and the hold detection is used to identify whether a connection response continues for a short period after initialization. After confirming the connection of all the above interface objects, the main control module records the detection results as interface connection status information and writes it to the data storage module.
[0085] The operation parameter acquisition and processing is executed immediately by the main control module after the interface connection status information is written, with the input source being the interface connection status information. The main control module calls the voltage monitoring module to sequentially acquire data from the power input interface and the built-in battery interface, first acquiring the operating voltage of the power input interface, then the operating voltage of the built-in battery interface, recording the current value and the continuous value once for each acquired operating voltage. Subsequently, the main control module calls the interface modules corresponding to the power amplifier, audio processing module, display device, network interface, and digital playback interface, reading the current parameters one by one according to the "connected" objects in the interface connection status information. For the playback status, the main control module combines the access content of the digital playback interface with the connection content of the audio output interface, the first speaker interface, and the second speaker interface to read the current playback item: if there is readable content in the USB, TF, or SATA and at least one of the audio output interface, the first speaker interface, or the second speaker interface is in the connected state, then the playback status is recorded as playback preparation or playback in progress; otherwise, it is recorded as playback idle. The main control module reads the currently used audio sampling rate information from the audio decoding and audio effects processing chip and records it correspondingly with the playback status. The main control module reads whether the current clock source is an RC oscillator or a phase-locked loop, and writes this reading result in association with the audio sampling rate and playback status. All the aforementioned voltage, current, playback status, audio sampling rate, and current clock source together constitute the operating parameter information, which is stored in the data storage module.
[0086] The processing of the operating status information is executed by the main control module, which receives input from interface connection status information and operating parameter information. The main control module first divides the interface objects into five segments according to the operating status control information: the first segment corresponds to the audio input interface, audio output interface, first speaker interface, second speaker interface, and power amplifier; the second segment corresponds to USB, TF, SATA, and Micro-USB; the third segment corresponds to HDMI, LVDS, video interfaces, and display devices; the fourth segment corresponds to the power input interface, built-in battery interface, and battery voltage detection pin; and the fifth segment corresponds to the network interface and general-purpose I / O interfaces. The main control module first matches the first and second segments: if the digital playback interface is connected and the playback status is "playback ready" or "playback in progress," and the audio output interface or the first and second speaker interfaces are connected, then the audio playback link is recorded as established. Then, it matches the third segment: if HDMI or LVDS is connected and the display device has operating current, then the display extension link is recorded as established; if there is only physical connection but no corresponding operating current, then the display extension link is recorded as not established. Next, the fourth segment is matched: if the power input interface is connected and its operating voltage is higher than the operating voltage of the built-in battery interface, the current power supply status is recorded as the power input interface connected status; if the built-in battery interface has a valid operating voltage and the power input interface is not connected or its operating voltage is lower than the predetermined reading range, the current power supply status is recorded as the built-in battery interface connected status. Finally, the fifth segment is matched: if the network interface is connected and there is operating current, it is recorded as the working status; if it is connected but there is no operating current, it is recorded as a candidate for normal sleep mode. The main control module merges the reading results of the audio playback link, display extension link, current power supply status, digital playback interface connection status, network interface working status, and current clock source to generate the first working status information and writes it to the data storage module. In the above matching process, the main control module needs to fuse the physical access Boolean value in the interface connection status information with the analog quantity in the operating parameter information to generate a link status with a high level of abstraction. For this purpose, formula ① is defined to calculate the confidence score of the audio playback link. This score is used to determine whether the link is truly established, rather than relying solely on physical insertion.
[0087] Formula①
[0088]
[0089] in, The Sigmoid function compresses the score to the (0,1) interval; This is a boolean value indicating the status of the digital playback interface being connected (derived from the interface connection status information, with a value of 0 or 1). A boolean value indicating whether playback is in preparation or in progress (derived from runtime parameter information, with a value of 0 or 1). This is a Boolean value indicating whether the audio output interface or speaker interface is connected (derived from interface connection status information, with a value of 0 or 1). Supply current to the power amplifier (from operating parameter information, in amperes); The rated operating current of the power amplifier (preset in the operating status control information, in amperes); and The weighting coefficients are preset, dimensionless, and satisfy the following conditions: ).
[0090] Data source mapping: extracted from interface connection status information , Extracted from running parameter information , Extracted from working status control information , , .
[0091] Formula ① addresses the following practical problem: Traditional methods determine audio link availability solely based on physical plug insertion, but in reality, missing playback content or a non-powered amplifier may result in no sound output. This formula integrates the presence of digital playback content, playback status, output interface connectivity, and amplifier current to generate a continuous score. ,when The system can determine in real time that the audio playback link has been established, thus avoiding false positives.
[0092] Simple numerical example: Let , , , A, A, , Then the linear combination is , If the value is greater than 0.5, the link is considered established.
[0093] Output of Formula ① As an intermediate indicator, it is used internally by the S100 to determine the audio playback link status. Simultaneously, to determine whether the display extension link is established, it is necessary to similarly integrate physical access and operating current, defining formula ②:
[0094] Formula②
[0095]
[0096] in, This is the physical access boolean value for the HDMI or LVDS interface (derived from the interface connection status information, with a value of 0 or 1). The operating current of the display device (from operating parameter information, in amperes); The rated operating current of the display device (preset, in A); , Weighting coefficients (dimensionless) ).
[0097] Data source mapping: extracted from interface connection status information Extracted from running parameter information Extracted from working status control information , , .
[0098] Formula ② addresses the practical problem of ensuring the display is usable simply because an HDMI cable is plugged in. Instead, it requires detecting the actual current consumption of the display device to determine if the link is established, thus ruling out situations where the monitor is not powered on or is malfunctioning.
[0099] Simple numerical example: Let , A, A, , The linear combination is , The result indicates that the extended link has been established. If A, then the combination is 0.5. The establishment is not determined (a threshold > 0.5 can be set when taking the equality sign).
[0100] Formulas ① and ② produce and Within the main control module, the audio playback link established status and the extended link established / not established status are used to generate the first working status information. Specifically, when Records that the audio playback link has been established if it has been established; otherwise, it has not been established. The log shows that the extended link has been established; otherwise, it has not. The first operating status information also includes the current power supply status (power input interface connected or built-in battery interface connected) directly obtained from the fourth segment matching and the network interface operating status obtained from the fifth segment matching. The first operating status information is stored in the data storage module as the output field name of this step and is used as input for the subsequent "power input interface and built-in battery interface comparison processing" in S200.
[0101] Step S200 includes at least steps S210-S230:
[0102] S210. Based on the first working status information, perform comparison processing between the power input interface and the built-in battery interface to obtain the main power supply path information.
[0103] Specifically, the input source for this step is the first operating status information output by S130. This first operating status information serves as the direct basis for the current operating conditions of the entire device in this step, and includes at least the following: audio playback link established, display extension link established or not established, digital playback interface connected, power input interface connected, and built-in battery interface connected. The comparison processing between the power input interface and the built-in battery interface is performed by the main control module in conjunction with the voltage monitoring module and the battery voltage detection pin. In this embodiment, the power input interface corresponds to the external DC power supply input terminal, the built-in battery interface corresponds to the battery output terminal of the built-in battery, and the battery voltage detection pin is used to read the current operating voltage of the built-in battery interface.
[0104] Furthermore, the main control module first reads the current power supply status and link establishment status from the first working status information, then calls the voltage monitoring module to perform a current value read and a continuous value verification on the working voltage of the power input interface, and simultaneously calls the battery voltage detection pin to perform a current value read on the working voltage of the built-in battery interface. The current value read is used to provide the interface voltage content on which this comparison processing is based, and the continuous value verification is used to exclude short-term fluctuations that occur at the moment of connection of the power input interface.
[0105] Understandably, when the first operating status information includes the status of the established display extension link and the status of the connected digital playback interface, the main control module not only reads the operating voltage of the power input interface and the built-in battery interface, but also reads the current parameter corresponding to the display device, the digital playback interface and the power amplifier in the operating parameter information, and uses the current parameter as a parallel condition for comparison processing; when the first operating status information only includes the status of the established audio playback link and does not include the status of the established display extension link, the main control module focuses on comparing the operating voltages corresponding to the power input interface and the built-in battery interface, and uses the current parameter corresponding to the power amplifier as an additional reading item.
[0106] Furthermore, the comparison process does not simply draw conclusions based on voltage magnitude, but rather executes according to the interface sequence pre-stored in the operating status control information. The main control module first determines whether the power input interface is in a valid connection state, and then determines whether the operating voltage of the power input interface is maintained within a range sufficient for the audio processing module, the power amplifier, and the main control module to operate continuously. If this determination is true, the power supply path where the power input interface is located is recorded as the current main power supply path. If the power input interface is in a connection state but the operating voltage continuously decreases, or if the first operating status information indicates that the built-in battery interface is in a connection state, the main control module continues to compare the operating voltage of the built-in battery interface with the current parameters corresponding to the current power amplifier, display device, and digital playback interface. When the comparison result meets the switching conditions in the operating status control information, the power supply path where the built-in battery interface is located is recorded as the current main power supply path.
[0107] In the engineering implementation of the in-vehicle audio equipment, when the main control module detects that the AC power input interface is not providing power, the power input interface is supplied by the vehicle's DC power supply, the HDMI connection to the display device is active, and the USB port contains playback content, it first prioritizes the power input interface for comparison. When the vehicle's DC power supply drops, it then compares the current operating voltage of the built-in battery interface and writes the compared power supply path to the data storage module. The main power supply path information obtained in this step is saved as an output field name and directly input as "main power supply path information" in the subsequent S220. This main power supply path information will also be called in the subsequent S420 for determining the interface restriction order in exception handling.
[0108] S220. Based on the main power supply path information, perform activation status processing on the audio processing module, power amplifier, and main control module to obtain main link activation status information.
[0109] Specifically, the input source for this step is the main power supply path information output by S210. This main power supply path information is used in this step to determine which power supply path first drives the audio processing module, the power amplifier, and the main control module into the active state. In this embodiment, the audio processing module includes processing units corresponding to audio decoding and audio effects processing chips. In this embodiment, the power amplifier includes output units corresponding to dual-channel high-power Class D amplifiers. The main control module is used to execute working state control information, send requests, receive completion notifications, and control mode switching. Further, the active state processing is executed sequentially by the main control module. The main control module first reads the main power supply path information and determines, based on the main power supply path information, whether the power input interface or the built-in battery interface is currently providing main link power.
[0110] The main control module sends an activation command to the audio processing module, connecting the working link between the audio decoder and the audio effects processing chip, and reads the correspondence between the current clock source and the audio sampling rate, enabling the audio processing module to enter a working state capable of handling playback. Next, the main control module sends an activation command to the power amplifier, connecting the output link between the audio processing module and the first speaker interface, the second speaker interface, or the audio output interface, and reads the current supply current of the power amplifier to determine whether the activated link is stable. Finally, the main control module performs activation processing on itself, switching the subsequent control flow for the digital playback interface, the display device, the video interface, the network interface, and the general I / O interface to the running state. Understandably, the activation processing has automatic triggering conditions.
[0111] When the first working status information in the preceding sequence includes an established audio playback link, the main control module immediately proceeds to this step after completing the main power supply path comparison. When the first working status information includes an established display extension link and the main power supply path information corresponds to the power input interface, the main control module activates the audio processing module and the power amplifier while retaining the conditions for the subsequent display device to enter the activation state. When the main power supply path information corresponds to the built-in battery interface, the main control module still performs the activation state processing of the audio processing module, the power amplifier, and the main control module, but does not start the display device and the network interface in this step, instead handing over their subsequent processing to S230 for execution.
[0112] Furthermore, in an engineering embodiment of an outdoor speaker, when there is playback content in the TF or SATA, the audio output interface is connected to an external power amplifier link, and the built-in battery interface is in the main power supply path, the main control module still first completes the activation state processing of the audio processing module, the power amplifier, and the main control module, and then reserves the display device and video interface as subsequent module hierarchical enable objects.
[0113] In this step, the main link activation status information is a unified record of whether the audio processing module, the power amplifier, and the main control module have entered the activation state. The main control module writes this record into the data storage module and uses it as an output field name for subsequent S230 calls. At the same time, the main link activation status information will also enter the continuous monitoring processing of subsequent S310 as the preliminary basic content of real-time monitoring status information.
[0114] S230. Based on the main link activation status information, perform hierarchical enabling processing of digital playback interface, display device, video interface, network interface and general IO interface modules to obtain first interface mode information.
[0115] Specifically, the input source for this step is the main link activation status information output by S220. This main link activation status information is used in this step to define the starting point for the hierarchical enabling process; that is, first, the audio processing module, the power amplifier, and the main control module are fixed in the active state, and then the remaining interface modules are assigned the active state, the normal sleep mode, and the deep sleep mode. The digital playback interfaces in this step include the USB, TF, and SATA interfaces. The display device is connected via HDMI or LVDS. The video interface, the network interface, and the general-purpose I / O interface belong to the expansion interface modules.
[0116] Furthermore, the main control module first reads the main link activation status information and checks whether the audio processing module, the power amplifier, and the main control module are all in the activated record. When the record is established, the main control module then reads the digital playback interface access status, the extended link establishment status, and the current power supply path from the first working status information.
[0117] If the main power supply path information corresponds to the power input interface, and the first working status information includes a digital playback interface being connected, then the main control module performs activation state processing on the USB, TF, and SATA interfaces, and sets the display device and the video interface as interface objects that can enter the activation state according to the working status control information; in this state, if the HDMI (High Definition Multimedia Interface) or the LVDS (Low Voltage Differential Signaling) has a connection response, then the main control module further activates the display device.
[0118] If the main power supply path information corresponds to the built-in battery interface, the main control module processes the digital playback interface according to its reading status. The interface currently providing playback content remains active, while the other digital playback interfaces enter the normal sleep mode. Under this condition, the display device, the video interface, and the network interface do not directly enter the active state, but instead enter the normal sleep mode or the deep sleep mode respectively according to the link establishment content in the first working status information.
[0119] Furthermore, the hierarchical enabling process for the network interface in this step is divided into two paths. If the network interface's working state is recorded in the first working state information, and the main power supply path information corresponds to the power input interface, the main control module puts the network interface into the normal sleep mode and maintains the wake-up record; if the network interface's working state is not recorded in the first working state information, or the main power supply path information corresponds to the built-in battery interface, the main control module puts the network interface into the deep sleep mode. The general-purpose I / O interface uses the same logic processing, recording objects with current control channel requests as the normal sleep mode, and recording objects without control channel requests as the deep sleep mode.
[0120] Understandably, the first interface mode information is not a single mode name, but rather a comprehensive record of whether the digital playback interface, the display device, the video interface, the network interface, and the general-purpose I / O interface are currently in active state, normal sleep mode, or deep sleep mode. In an engineering embodiment of a multimedia playback system, when there is playback content in the USB port, the display device is connected via HDMI, the network interface is connected, and the power input interface is on the main power supply path, the main control module records the USB port and the display device as active, the network interface as in normal sleep mode, and the unconnected TF card, SATA port, video interface, and some of the general-purpose I / O interfaces as in deep sleep mode. When the main power supply path subsequently switches to the built-in battery interface, the main control module, under the same hierarchical enable processing logic, switches the display device and the network interface to normal sleep mode or deep sleep mode, leaving only the digital playback interface currently providing playback content active.
[0121] The first interface mode information obtained therefrom is written into the data storage module as an output field name, and then used as the "first interface mode information" input in the subsequent S310 to perform continuous monitoring processing of voltage, current parameters, playback status, audio sampling rate and temperature monitoring module output; at the same time, the interface classification content in the first interface mode information will also be carried out throughout the mode matching and mode switching processing of the subsequent S320 and S330.
[0122] In summary, this step merges the main power supply path information and the main link activation status information into the same module's hierarchical enable link, fixing the processing order of the digital playback interface, display device, video interface, network interface, and general I / O interface. In existing technologies, interface access, power supply changes, and power consumption mode switching are scattered; this step uses the first interface mode information as a unified input for subsequent continuous monitoring and mode switching, making the subsequent processing chain clearer.
[0123] Step S300 includes at least steps S310-S330:
[0124] S310. Based on the first interface mode information, perform continuous monitoring processing on the output of the voltage, current parameters, playback status, audio sampling rate, and temperature monitoring modules to obtain real-time monitoring status information.
[0125] Specifically, the input source for this step is the first interface mode information output by S230. This first interface mode information serves as the interface mode reference for continuous monitoring in this step, and its content includes at least records of the current active state, normal sleep mode, or deep sleep mode of the digital playback interface, the display device, the video interface, the network interface, and the general-purpose I / O interface. The continuous monitoring process is executed by the main control module calling the real-time monitoring module, the temperature monitoring module, and the voltage monitoring module. The real-time monitoring module continuously reads the status of the running interfaces and modules; the temperature monitoring module continuously reads the temperature output near the power amplifier, the main control module, and the display device; and the voltage monitoring module continuously reads the operating voltage of the power input interface, the built-in battery interface, and the main link.
[0126] Further, the main control module first extracts the interface objects currently in the active state from the first interface mode information, and then performs priority acquisition of the voltage and current parameters corresponding to these interface objects; for interface objects in the normal sleep mode, the main control module performs interval acquisition; for interface objects in the deep sleep mode, the main control module retains state detection and does not perform complete current acquisition. The voltage and current parameters in this step include the power amplifier's supply current, the digital playback interface's operating current, the display device's operating current, the network interface's operating current, and the operating voltages of the power input interface and the built-in battery interface. The playback state in this step is jointly provided by the audio processing module and the digital playback interface, and the audio sampling rate is provided by the audio decoder and the audio effects processing chip. The temperature monitoring module output in this step is the current temperature output and continuous temperature rise record; the current temperature output is used for this continuous monitoring processing, and the continuous temperature rise record is used for subsequent mode matching processing.
[0127] Furthermore, when the USB (Universal Serial Bus), TF (TransFlash), or SATA interface in the digital playback interface is in the active state, the main control module reads the content reading status of the corresponding interface according to the playback state and simultaneously reads the audio sampling rate; when the display device is in the active state via the HDMI (High Definition Multimedia Interface) or LVDS (Low Voltage Differential Signaling), the main control module simultaneously reads the operating current of the display device and the output of the adjacent temperature monitoring module; when the network interface is in the normal sleep mode, the main control module only reads the hold state of the network interface and does not read the complete data activity state. Understandably, this step uses continuous monitoring rather than a single read. The main control module repeatedly executes interface status reading, module status reading, and temperature output reading according to the monitoring order in the working state control information, and compares the results of two adjacent reads with the previous read result; when the playback state changes, the audio sampling rate changes, the power input interface operating voltage decreases, or the temperature monitoring module output continuously increases, the main control module records the corresponding changes to the data storage module.
[0128] In an engineering implementation, in an in-vehicle audio device, when the USB continuously provides playback content, the HDMI connects to the display device, the network interface remains on standby, and the power amplifier is in output mode, the main control module continuously monitors the device in a cyclical manner according to the sequence of "power amplifier—digital playback interface—display device—network interface—power input interface—built-in battery interface." In an outdoor speaker, when the built-in battery interface is in power supply mode and the display device is in the normal sleep mode, the main control module reduces the frequency of data collection from the display device and prioritizes monitoring the power amplifier, the digital playback interface, and the power input interface.
[0129] The real-time monitoring status information obtained thus is written into the data storage module as an output field name in this step. Subsequently, it is used as the "real-time monitoring status information" input in S320 for matching processing of the normal mode, the normal sleep mode, and the deep sleep mode. At the same time, the operating voltage, playback status, audio sampling rate, and temperature monitoring module output in the real-time monitoring status information also serve as the monitoring basis for the abnormal detection processing in the subsequent S410.
[0130] S320. Based on the real-time monitoring status information, perform matching processing of normal mode, normal sleep mode and deep sleep mode to obtain the second interface mode information.
[0131] Specifically, the input source for this step is the real-time monitoring status information output by S310, which serves as the direct basis for pattern matching in this step. The terms "normal mode," "normal sleep mode," and "deep sleep mode" are not abstract names in this step, but rather classifications of the current participation levels of interface modules and functional modules. The normal mode corresponds to objects that continuously participate in the current playback state and current link operation; the normal sleep mode corresponds to objects that are temporarily not undertaking current output but maintain a recoverable state; and the deep sleep mode corresponds to objects that are not currently undertaking operation and maintain the lowest possible activity level.
[0132] Furthermore, the main control module first reads voltage, current parameters, playback status, audio sampling rate, and temperature monitoring module output from the real-time monitoring status information, and then performs mode matching item by item according to the interface object. For the digital playback interface, if it continuously provides playback content in the real-time monitoring status information, and the corresponding current parameter is stable, and the playback status remains active, then the main control module matches the interface as the normal mode; if the interface is in the connected state but currently has no playback content to read, then it is matched as the normal sleep mode; if the interface has neither playback content nor activity records, then it is matched as the deep sleep mode.
[0133] For the display device and the video interface, if the HDMI or LVDS maintains a connection response and the display device's operating current is continuous, and the temperature monitoring module output does not show a continuous increase, then it is matched as the normal mode; if the display link has a connection response but there is currently no display activity or the main power supply path is in the state corresponding to the built-in battery interface, then it is matched as the normal sleep mode; if the display link has no connection response or the preceding interface mode has reached the lowest activity record, then it is matched as the deep sleep mode.
[0134] For the network interface, if the network interface is in a hold state and is not currently participating in the playback link, it is matched as the normal sleep mode; if the network interface has data activity and is participating in the current working state, it is matched as the normal mode; if the network interface has neither a hold state nor data activity, it is matched as the deep sleep mode. For the general-purpose I / O interface, the main control module performs matching based on whether a control channel request exists. If a control channel request exists, the normal sleep mode is retained; if no control channel request exists, the deep sleep mode is written.
[0135] Furthermore, this step also involves matching constraints on the operating states of the power amplifier, the main control module, and the audio processing module. If the power amplifier's supply current, the playback state, and the audio sampling rate remain stable simultaneously, and the temperature monitoring module's output does not meet the mode degradation conditions, then the main control module allows objects directly related to the current playback link to enter the normal mode during interface object matching. If the operating voltage drops or the temperature monitoring module's output continues to rise, then the main control module tightens the conditions for the display device, the video interface, and the network interface to enter the normal mode.
[0136] Understandably, the pattern matching in this step is not a one-time static allocation, but rather is performed in conjunction with continuous records in the real-time monitoring status information. For the same interface object, if the monitoring results are consistent across multiple consecutive monitoring sessions, the main control module directly writes the matching result; if the continuous monitoring results fluctuate, the main control module retains the interface pattern from the previous round and waits for the next round of monitoring results before executing the write operation.
[0137] In an engineering implementation, within a multimedia playback system, when the USB port is in playback mode, the display device is outputting video, the network interface is in standby mode, and the power input interface has a stable operating voltage, the main control module matches the USB port and the display device to the normal mode, matches the network interface to the normal sleep mode, and matches the non-operating TF, SATA, video interface, and general-purpose I / O interface to the deep sleep mode. When it is subsequently detected that the built-in battery interface has taken over the main power supply path and the temperature monitoring module output is rising, the main control module adjusts the display device from the normal mode to the normal sleep mode or the deep sleep mode in this step.
[0138] The second interface mode information obtained therefrom is written as an output field name into the data storage module in this step, and is input as "second interface mode information" in the subsequent S330, for the switching processing of the audio processing module, power amplifier, main control module, display device, network interface and digital playback interface mode; at the same time, the second interface mode information also forms a corresponding relationship with the second working status information in the subsequent S410.
[0139] S330. Based on the second interface mode information, perform mode switching processing of the audio processing module, power amplifier, main control module, display device, network interface and digital playback interface to obtain the second working status information.
[0140] Specifically, the input source for this step is the second interface mode information output by S320, which serves as the basis for executing the actual mode switching command in this step. The mode switching process is executed by the main control module, and its objects include the audio processing module, the power amplifier, the main control module, the display device, the network interface, and the digital playback interface.
[0141] Furthermore, the main control module first reads the objects in the normal mode from the second interface mode information and keeps them in their current running state. For the audio processing module, the main control module keeps its corresponding audio decoding and audio effects processing chip working link in running state and continues to call the current clock source and audio sampling rate; for the power amplifier, the main control module keeps its output link in working state and maintains the output relationship corresponding to the audio output interface, the first speaker interface, and the second speaker interface; for the objects in the normal mode in the digital playback interface, the main control module maintains the association between its content reading and playback states.
[0142] The main control module reads the objects in the normal sleep mode from the second interface mode information and performs a normal sleep mode switch. In this step, the normal sleep mode switch is a switching method that keeps the interface object recoverable but does not assume the current main link output. For the display device, the main control module retains its connection response record and stops updating the complete display activity; for the network interface, the main control module retains its standby and hold states and does not perform complete data activities; for the digital playback interface in the normal sleep mode, the main control module stops reading its content but retains its access state.
[0143] The main control module reads the objects in the deep sleep mode from the second interface mode information and performs a deep sleep mode switch. In this step, the deep sleep mode switch retains the lowest activity record and stops the current function link call. For the display device, network interface, video interface, and digital playback interface in the deep sleep mode, the main control module stops the corresponding data activity, display activity, or content reading activity, retaining only the access status and mode record.
[0144] Furthermore, after completing the aforementioned mode switch, the main control module does not immediately terminate the current processing. Instead, it re-summarizes the current operating states of the audio processing module, the power amplifier, the main control module, the display device, the network interface, and the digital playback interface. If the audio processing module, the power amplifier, and the main control module are still in the working link operation state, and the display device, the network interface, and the digital playback interface have completed the corresponding switch according to the second interface mode information, then the main control module records the current overall system state as the second operating state information. The second operating state information in this step is the overall system state record after the mode switch, which includes the current state of the audio playback link, the current mode state of the display extension link, the current mode state of the digital playback interface, the current mode state of the network interface, and the current main link.
[0145] For engineering implementations, in outdoor audio scenarios, when the TF card is playing, the display device is in the normal sleep mode, the network interface is in the deep sleep mode, and the power amplifier and audio processing module are continuously working, the main control module writes this set of switched records into the second working status information. In in-vehicle audio equipment scenarios, when the USB is in the normal mode, the HDMI-connected display device switches from the normal mode to the normal sleep mode, and the network interface switches to the deep sleep mode, the main control module also writes the switched combined state into the second working status information.
[0146] The second operating status information obtained is thus written as an output field name into the data storage module, and is subsequently input as "second operating status information" in S410 for detecting and processing operating voltage, sound distortion / noise, device overheating, and unrecognized USB flash drive / TF card. Simultaneously, the second operating status information forms the precondition for anomaly handling and operating status write-back in subsequent S420 and S430. In summary, this step implements the second interface mode information into the actual switching action of the interface object and module object, converting the normal mode, ordinary sleep mode, and deep sleep mode from matching records to running status records. In existing technologies, power mode switching is mostly concentrated on a single chip or a single interface. This step places the display device, the network interface, and the digital playback interface into the same switching link as the audio processing module, the power amplifier, and the main control module, so that subsequent anomaly detection directly corresponds to the overall device status after the switch.
[0147] Step S400 includes at least steps S410-S430:
[0148] S410. Obtain the second working status information, perform detection and processing of working voltage, sound distortion / noise, device overheating and unrecognizable USB flash drive / TF card, and obtain abnormal status information.
[0149] Specifically, the input source for this step is the second operating status information output by S330. This second operating status information is used in this step as a record of the current overall system status for anomaly detection. It includes at least the operating status of the audio processing module, the power amplifier, the main control module, the display device, the network interface, and the digital playback interface after mode switching. The operating voltage in this step refers to the voltage content of the power input interface, the built-in battery interface, and the corresponding power supply node of the main link. The sound distortion / noise refers to the distortion and noise state that occurs in the output link corresponding to the power amplifier during playback. The device overheating is the state where the temperature monitoring module output continuously rises and reaches the preset recording condition. The inability to recognize the TF card in the USB flash drive / TF card when it first appears as TransFlash indicates that the digital playback interface, after sending a request to the USB flash drive or TF card, has not generated a valid reception completion notification, or has generated a reception completion notification but cannot establish a continuous reading state.
[0150] Furthermore, the main control module first extracts the main link hold status, the digital playback interface current mode status, and the display extension link current mode status from the second working status information, and then calls the voltage monitoring module to perform current value reading and continuous value verification on the working voltage. If a decrease record is found during both the current value reading and the continuous value verification, the decrease record is written into the anomaly detection process.
[0151] The main control module calls the audio processing module and the power amplifier to read the current playback status, audio sampling rate, and output link response, and compares the playback status with the power amplifier's supply current. If playback continues while the supply current fluctuates continuously, or if the playback status remains unchanged while the output link response is abnormal, this status is recorded as the sound distortion / noise detection result. For device overheating, the main control module calls the temperature monitoring module to read the outputs of the power amplifier, the main control module, and the temperature monitoring module near the display device, and compares this with the continuous temperature rise record from the preceding continuous monitoring process. When both the current temperature output and the continuous temperature rise record simultaneously meet preset recording conditions, this status is recorded as device overheating.
[0152] For the unrecognized USB flash drive / TF card, the main control module, based on the record in the second working status information that the digital playback interface is currently in the normal mode or the normal sleep mode, sends a sending request to the interface where the USB flash drive or TF card is located again, and reads the corresponding receiving completion notification; if there is no receiving completion notification after the sending request is executed, or if the receiving completion notification exists but the content reading status cannot be sustained, the interface is recorded as unrecognized USB flash drive / TF card.
[0153] Understandably, the detection sequence in this step corresponds to the previous mode switching sequence. First, the operating voltage related to the main power supply link is detected, then the corresponding output link of the power amplifier is detected, then the output of the temperature monitoring module is detected, and finally the reading status of the digital playback interface for the USB flash drive and TF card is detected.
[0154] In an engineering implementation, in an in-vehicle audio device, when the USB is providing playback content, the HDMI is connected to the display device, the network interface is in the normal sleep mode, and the built-in battery interface takes over power supply, the main control module prioritizes detecting the operating voltage and the power amplifier output link; in an outdoor speaker, when the TF card is providing playback content and the display device is in the normal sleep mode, the main control module prioritizes detecting device overheating and the inability to recognize the USB flash drive / TF card.
[0155] The resulting abnormal status information is written into the data storage module as an output field name, and is directly input as "abnormal status information" in the subsequent S420. At the same time, the operating voltage, sound distortion / noise, device overheating, and unrecognizable USB flash drive / TF card records in the abnormal status information will also participate in subsequent abnormal processing together with the main power supply path information.
[0156] S420: Based on abnormal status information and main power supply path information, perform abnormal processing on display device, video interface, network interface and digital playback interface to obtain safe operation mode information.
[0157] Specifically, the input sources for this step are the abnormal status information output by S410 and the main power supply path information output by the preceding S210 and continuously retained in subsequent steps. The abnormal status information indicates the current abnormality type, and the main power supply path information indicates which power supply path the current abnormality handling should revolve around. The display device, the video interface, the network interface, and the digital playback interface are used as abnormality handling objects in this step. The audio processing module, the power amplifier, and the main control module are not directly switched in this step, but their working status is written back in the subsequent S430.
[0158] Furthermore, the main control module first reads the exception type from the exception status information, and then divides the exception handling path according to the main power supply path information. If the main power supply path information corresponds to the power input interface, the main control module performs mode tightening processing on the display device and the video interface in the display extension link, performs degradation processing on the network interface in standby or auxiliary state, and performs stop reading processing on the digital playback interface that is not currently undertaking playback content on the main link; if the main power supply path information corresponds to the built-in battery interface, the main control module directly performs deep contraction processing on the display device, the video interface, and the network interface, and only retains the active state of the digital playback interface that is currently undertaking playback content.
[0159] In the event of an abnormal operating voltage, the main control module first determines whether to retain the current mode of the display device and the video interface based on the main power supply path information. If the operating voltage drop record and the built-in battery interface connection status coexist, the main control module adjusts the display device and the video interface to the deep sleep mode, adjusts the network interface to the deep sleep mode or the normal sleep mode, and stops reading the digital playback interface that is not currently in playback mode.
[0160] Regarding the aforementioned sound distortion / noise anomaly, the main control module does not directly modify the audio processing module and the power amplifier. Instead, it first performs restriction processing on the display device, the video interface, and the network interface. Simultaneously, it performs a retransmission request and reads the received completion notification for the digital playback interface currently handling playback content. If the anomaly record still exists after the reread, the digital playback interface is adjusted to the normal sleep mode, while other digital playback interfaces not currently involved in operation remain in the deep sleep mode. Regarding device overheating, the main control module prioritizes processing the display device, the video interface, and the network interface. If the display device is currently in the normal mode, it switches to either the normal sleep mode or the deep sleep mode; if the network interface is currently in the normal sleep mode, it switches to the deep sleep mode; for the digital playback interfaces, the main control module keeps one interface currently handling playback content active and stops reading from the other digital playback interfaces. For the unrecognized USB flash drive / TF card, the main control module locates the digital playback interface where the abnormality occurred and switches the interface from the current mode to the normal sleep mode or the deep sleep mode. At the same time, the other non-abnormal digital playback interfaces, the display device, the video interface, and the network interface are maintained in the current abnormality-handled state according to the main power supply path information.
[0161] Understandably, the safe operation mode information in this step is not a single alarm record, but a record of the whole machine interface processing results formed after the anomaly is handled. It includes at least the mode status of the display device, the video interface, the network interface and the digital playback interface after the anomaly, as well as the current main power supply path holding status.
[0162] In an engineering implementation, in a multimedia playback system, when the USB cannot recognize the USB flash drive but the TF card can still read content, and the built-in battery interface is in the main power supply path, the main control module adjusts the USB to the deep sleep mode, keeps the TF card active, synchronously tightens the display device and the network interface, and then writes the combined state after exception handling into the safe operation mode information. In an in-vehicle audio device, when the operating voltage drops and the display device is in the normal mode, the main control module first tightens the display device and the video interface, then retains the current activity record of the digital playback interface, and forms the safe operation mode information. The obtained safe operation mode information is written as an output field name into the data storage module, and is directly input as "safe operation mode information" in the subsequent S430. At the same time, the interface processing result in the safe operation mode information will also be written back to the next round of the main control process.
[0163] S430: Based on the safe operation mode information, perform write-back processing of the working status of the audio processing module, power amplifier and main control module to obtain the third working status information.
[0164] Specifically, the input source for this step is the safe operation mode information output by S420. This safe operation mode information is used as the direct basis for writing back the main link's working status in this step. The audio processing module, the power amplifier, and the main control module are the objects of working status writing back in this step. The audio processing module corresponds to the current operating status of the audio decoding and audio effects processing chips, the power amplifier corresponds to the current hold status of the output link, and the main control module corresponds to the running record status of the current main control process.
[0165] Furthermore, the main control module first extracts the current main power supply path hold state, the display device abnormality mode state, the network interface abnormality mode state, and the digital playback interface abnormality mode state from the safe operation mode information. Then, based on these states, it determines which operating state to write back to the audio processing module, the power amplifier, and the main control module. If the safe operation mode information indicates that one of the digital playback interfaces is still handling playback content, and the display device, the video interface, and the network interface have completed abnormality handling, then the main control module writes back the current operating state of the audio processing module and the power amplifier as continuous operation, and writes back the main control module as the abnormality control state. If the safe operation mode information indicates that the current main power supply path has switched to the built-in battery interface, and the display device, the network interface, and the video interface have all been tightened, then the main control module writes back the audio processing module as a restricted operating state, writes back the power amplifier as retaining the current output link state, and writes back the main control module as the control state under the built-in battery interface connection. If the safe operation mode information indicates that none of the digital playback interfaces can continue to play content, the main control module will write the audio processing module back to standby mode, the power amplifier back to low activity mode, and the main control module back to the control mode of maintaining main power supply path monitoring.
[0166] Furthermore, the work status write-back process is not a simple archive, but rather a rewriting of the main link status after anomaly handling into a new overall system status record. During the write-back, the main control module simultaneously records whether the current playback status is maintained, whether the audio sampling rate is continued, whether the current clock source is maintained, whether the power amplifier output link is retained, and whether the main power supply path information is continued. This information is then combined with the write-back statuses of the audio processing module, the power amplifier, and the main control module to form the third work status information.
[0167] Understandably, the third working status information in this step is both the output of the current round of exception handling chain and the input of the next round of main control process. After the previous round of exception handling is completed, the main control module writes the third working status information into the data storage module, and uses it as the basis for comparison processing in the next round of S210; that is, the status source read by S210 no longer depends solely on the first working status information, but can also be combined with the third working status information to determine the next round comparison path of the power input interface and the built-in battery interface.
[0168] In an engineering implementation scenario, when the TF card is still playing content, the display device and the network interface are both closed, and the power amplifier continues to output, the main control module writes this set of states back as the third working state information, and uses it directly for the continuation judgment of the main power supply path information in the next process. In an in-vehicle audio device scenario, when the operating voltage is abnormal and the system switches to the built-in battery interface, the display device corresponding to the HDMI stops functioning, and the USB continues to play content, the main control module also writes this combination of states back as the third working state information. The resulting third working state information is written as an output field name to the data storage module and sent back to S210 in the subsequent main control process to participate in the next round of comparison processing, thus completing the closed-loop connection between S410, S420, and S430 and the preceding power supply selection process.
[0169] Summary of the technical effects of this step: This step converts the safe operation mode information into third-level working state information that can continue to participate in the subsequent main control process. The main link state after anomaly handling no longer remains at the one-time processing result. In existing technologies, anomaly handling is usually separated from subsequent power supply and mode control. This step directly writes back the post-anomaly states of the audio processing module, power amplifier, and main control module to the next round of comparison processing chain, making the overall closed loop more complete.
[0170] Example 2: Figure 2 This diagram illustrates a structural block diagram of a power and interface management method for a multifunctional audio system according to an embodiment of the present invention. Figure 2 As shown, the structure may include:
[0171] The main control module 01 is connected to the working status control unit, the interface connection status detection module, the operating parameter acquisition and working status information generation module, the main power supply path processing module, the main link activation status processing module, the interface mode processing module, and the real-time monitoring and anomaly handling module. It is used to call each module to perform working status control information reading, status processing, and information write-back. Specifically, the main control module receives the working status control information reading request response sent by the working status control unit, and sends an interface connection status detection call to the interface connection status detection module, and an operating parameter acquisition call and a working status information generation call to the operating parameter acquisition and working status information generation module. After receiving the first working status information, the main control module sends a power input interface and built-in battery interface comparison call to the main power supply path processing module; after receiving the main power supply path information, it sends an audio processing module, power amplifier, and main control module activation status call to the main link activation status processing module; and after receiving the main link activation status information, it sends a digital playback interface, display device, video interface, and network interface hierarchical processing call to the interface mode processing module. The main control module also receives real-time monitoring status information, abnormal status information, safe operation mode information, and third working status information from the real-time monitoring and anomaly handling module, and writes the third working status information back to the main control process, which is then passed to the main power supply path processing module as the input for the next round of status processing. Throughout the entire operation, the main control module maintains its connection with each module, completing reading, calling, receiving, and writing back in a predetermined order, forming a seamless connection within the same main control link.
[0172] The working status control unit 02 stores working status control information and sends this information to the interface connection status detection module and the operating parameter acquisition and working status information generation module. Specifically, after receiving a read instruction from the main control module, the working status control unit reads the pre-written working status control information and sends it to the interface connection status detection module and the operating parameter acquisition and working status information generation module according to the interface object and processing order. The working status control information includes status processing rules corresponding to the power input interface, built-in battery interface, audio input interface, audio output interface, digital playback interface, display device, video interface, and network interface, as well as main link processing rules corresponding to the audio processing module, power amplifier, and main control module. When sending the working status control information, the working status control unit first sends interface detection-related content to the interface connection status detection module, and then sends operating parameter acquisition and working status information generation-related content to the operating parameter acquisition and working status information generation module. The working status control unit maintains the same version record of the working status control information and repeats the transmission in the same order when the main control process restarts.
[0173] The interface connection status detection module 03 is used to acquire working status control information and perform interface connection status detection processing on the power input interface, built-in battery interface, audio input interface, audio output interface, digital playback interface, display device, video interface, and network interface to obtain interface connection status information, which is then sent to the operating parameter acquisition and working status information generation module. Specifically, the interface connection status detection module receives working status control information from the working status control unit and performs access detection on each of the power input interface, built-in battery interface, audio input interface, audio output interface, digital playback interface, display device, video interface, and network interface in the order of the interfaces. The interface connection status detection processing includes interface access status reading, interface response status reading, and interface hold status reading. For interface objects that are detected to be connected and have a response, they are recorded as connected; for interface objects that are not detected to be connected or are detected to be connected but have no response, they are recorded as not connected or not established. After completing the detection of all interface objects, the interface connection status detection module summarizes and generates interface connection status information, and sends this information to the operation parameter acquisition and working status information generation module for execution. The interface connection status detection module retains the detection record after sending the information for comparison by the main control module during subsequent write-backs.
[0174] The operating parameter acquisition and working status information generation module 04 is used to perform voltage, current parameters, playback status, audio sampling rate, and current clock source acquisition and processing based on the interface connection status information to obtain operating parameter information, and to perform working status information generation processing based on the interface connection status information and the operating parameter information to obtain first working status information. Specifically, the operating parameter acquisition and working status information generation module receives interface connection status information from the interface connection status detection module, and performs voltage, current parameters, playback status, audio sampling rate, and current clock source acquisition according to the interface objects that have been connected. The voltage and current parameters correspond to the current operating status of the power input interface, built-in battery interface, power amplifier, display device, network interface, and digital playback interface; the playback status corresponds to the current playback item of the audio processing module and the digital playback interface; the audio sampling rate corresponds to the current sampling information of audio decoding; and the current clock source corresponds to the clock source currently called by the main control module and the audio processing module. This module summarizes the acquisition results to generate operating parameter information, and then performs correspondence between the interface connection status information and the operating parameter information according to the link object to form the first working status information. The first operating status information records at least the audio playback link status, the display extension link status, the digital playback interface status, and the current power supply status. After generating the first operating status information, the operating parameter acquisition and operating status information generation module sends it to the main power supply path processing module for the module to perform main power supply path processing.
[0175] The main power supply path processing module 05 is used to perform a comparison process between the power input interface and the built-in battery interface based on the first working status information to obtain the main power supply path information, and send it to the main link activation status processing module and the real-time monitoring and anomaly handling module. Specifically, the main power supply path processing module receives the first working status information from the operating parameter acquisition and working status information generation module, and reads the current power supply status, audio playback link status, display extension link status, and digital playback interface status from the first working status information. The main power supply path processing module performs a comparison process around the power input interface and the built-in battery interface, and the comparison content includes the current operating voltage, continuous reading status, and current link status. For power supply paths that meet the current link operation requirements, they are recorded as the main power supply path. If the status corresponding to the power input interface takes priority, the power input interface is recorded as the main power supply path; if the status corresponding to the built-in battery interface takes priority, the built-in battery interface is recorded as the main power supply path. After generating the main power supply path information, the main power supply path processing module sends one message to the main link activation status processing module for processing the activation status of the audio processing module, power amplifier, and main control module; and another message to the real-time monitoring and anomaly handling module for use during anomaly handling.
[0176] The main link activation status processing module 06 is used to perform activation status processing of the audio processing module, power amplifier, and main control module based on the main power supply path information to obtain main link activation status information. Specifically, the main link activation status processing module receives the main power supply path information from the main power supply path processing module and uses this main power supply path information as the basis for switching the status of the main link object. The main link activation status processing module performs activation status processing in the order of audio processing module, power amplifier, and main control module. For the audio processing module, its current operating link is connected; for the power amplifier, its output link is connected and the current power supply status is read; for the main control module, the current main link operating status is written. After processing, the main link activation status processing module summarizes the current activation status records of the audio processing module, power amplifier, and main control module, generates main link activation status information, and sends the main link activation status information to the interface mode processing module for the module to perform hierarchical processing of digital playback interface, display device, video interface, and network interface.
[0177] The interface mode processing module 07 is used to perform hierarchical processing of the digital playback interface, display device, video interface, and network interface based on the main link activation status information to obtain first interface mode information, and to perform normal mode, normal sleep mode, and deep sleep mode matching processing based on real-time monitoring status information to obtain second interface mode information. It is also used to perform mode switching processing of the audio processing module, power amplifier, main control module, display device, network interface, and digital playback interface based on the second interface mode information to obtain second working status information. Specifically, the interface mode processing module first receives the main link activation status information from the main link activation status processing module, and performs hierarchical processing on the digital playback interface, display device, video interface, and network interface according to the current main link status. After the hierarchical processing is completed, first interface mode information is generated and sent to the real-time monitoring and anomaly handling module for continuous monitoring processing. The interface mode processing module also receives real-time monitoring status information from the real-time monitoring and anomaly handling module, and performs matching processing around normal mode, normal sleep mode, and deep sleep mode, writing the current mode status to each interface object and module object to generate second interface mode information. Subsequently, the interface mode processing module, based on the second interface mode information, performs mode switching on the audio processing module, power amplifier, main control module, display device, network interface, and digital playback interface, and summarizes the overall operating status after the switching to generate second working status information. This second working status information is sent to the real-time monitoring and anomaly handling module for detection and processing of operating voltage, sound distortion / noise, device overheating, and digital playback interface anomalies.
[0178] The real-time monitoring and anomaly handling module 08 is used to perform continuous monitoring processing on the output of the voltage, current parameters, playback status, audio sampling rate, and temperature monitoring modules based on the first interface mode information to obtain real-time monitoring status information. It also performs anomaly detection processing on the operating voltage, sound distortion / noise, device overheating, and digital playback interface based on the second operating status information to obtain anomaly status information. Furthermore, it is used to perform anomaly handling on the display device, video interface, network interface, and digital playback interface based on the anomaly status information and the main power supply path information to obtain safe operation mode information. Finally, it performs operating status write-back processing on the audio processing module, power amplifier, and main control module based on the safe operation mode information to obtain third operating status information. Specifically, the real-time monitoring and anomaly handling module first receives the first interface mode information from the interface mode processing module and performs continuous monitoring processing on the output of the voltage, current parameters, playback status, audio sampling rate, and temperature monitoring modules. The continuous monitoring processing performs reading, verification, and recording according to the current interface mode object's status. After monitoring is completed, real-time monitoring status information is generated and sent to the interface mode processing module for normal mode, normal sleep mode, and deep sleep mode matching processing. The real-time monitoring and anomaly handling module also receives second operating status information from the interface mode processing module, and performs anomaly detection processing for operating voltage, sound distortion / noise, device overheating, and digital playback interface based on this status information, generating anomaly status information. This anomaly status information, along with main power supply path information from the main power supply path processing module, enters the anomaly handling process. In this process, anomaly handling is performed on the display device, video interface, network interface, and digital playback interface to obtain safe operating mode information. The real-time monitoring and anomaly handling module then performs operating status write-back processing on the audio processing module, power amplifier, and main control module based on the safe operating mode information, generating third operating status information. This third operating status information is then returned to the main control module for the main control module to write back to the main control process, and simultaneously handed over to the main power supply path processing module for the next round of status processing.
Claims
1. A power and interface management method for a multifunctional audio system, characterized in that, include: S100: Obtain working status control information, perform interface connection status detection, operation parameter acquisition and working status information generation processing to obtain first working status information; the working status control information includes power input interface, built-in battery interface, audio input interface, audio output interface, digital playback interface, display device, network interface, video interface, general IO interface and corresponding activation status, normal sleep mode and deep sleep mode. S200: Based on the first working state information, compare the power input interface and the built-in battery interface, process the main link activation state and the module hierarchical enable process, and generate the main power supply path information and the first interface mode information. S300. Based on the first interface mode information, perform continuous monitoring, mode matching and mode switching processing to generate second working status information; S400. Based on the second working status information and the main power supply path information, perform anomaly detection, anomaly handling and working status write-back processing to generate third working status information.
2. The method according to claim 1, characterized in that, The process of generating and processing the work status information includes: Based on the interface connection status information output by the interface connection status detection and processing and the running parameter information output by the running parameter acquisition and processing, cross-layer fusion and semantic modeling are performed. The cross-layer fusion includes: combining the power input interface access status, audio input interface access status, and digital playback interface access status in the interface connection status information with the playback status, audio sampling rate, and current clock source in the operation parameter information; The semantic modeling includes: determining that when the digital playback interface is connected and the playback status is playback preparation or playback in progress, and the audio output interface or speaker interface is connected, generating an audio playback link established status.
3. The method according to claim 2, characterized in that, The process of obtaining the first working status information includes: When it is determined that HDMI or LVDS is connected and the display device has operating current, a display extension link is generated as established; if it is only physically connected but has no operating current, an established state is generated. Record the currently invoked RC oscillator clock source or phase-locked loop as the current clock source, and write it in association with the audio sampling rate and playback status; Matching is performed according to the five-segment sequence preset in the working status control information. The five-segment sequence includes: the first segment corresponds to the audio input interface, audio output interface, speaker interface and power amplifier; the second segment corresponds to USB, TF, SATA and Micro-USB; the third segment corresponds to HDMI, LVDS, video interface and display device; the fourth segment corresponds to the power input interface, built-in battery interface and battery voltage detection pin; and the fifth segment corresponds to the network interface and general I / O interface.
4. The method according to claim 3, characterized in that, The process of obtaining the first working status information also includes: First, match the first and second segments to generate an audio playback link established status; Match the third segment to generate a display extended link status; Match the fourth segment to generate the current power supply status; Match the fifth segment to generate the network interface working status; The first working status information is generated by merging the audio playback link established status, the display extension link established or not established status, the digital playback interface connected status, the current power supply status, the network interface working status, and the current clock source reading results.
5. The method according to claim 4, characterized in that, The process of comparing the power input interface and the built-in battery interface includes: First, read the current power supply status and link establishment status from the first working status information. Then, call the voltage monitoring module to perform current value reading and continuous value verification on the working voltage of the power input interface. At the same time, call the battery voltage detection pin to perform current value reading on the working voltage of the built-in battery interface. When the first working status information includes the status of the display extension link being established and the status of the digital playback interface being connected, the current parameters corresponding to the display device, digital playback interface and power amplifier are additionally read as parallel conditions.
6. The method according to claim 5, characterized in that, The process of comparing the power input interface and the built-in battery interface also includes: The comparison process is executed according to the interface sequence stored in the working status control information. First, it is determined whether the power input interface is in a valid connection state and whether the working voltage is maintained within the range that allows the audio processing module, power amplifier and main control module to work continuously. If the condition is met, the power supply path where the power input interface is located is recorded as the current main power supply path. If the operating voltage of the power input interface decreases continuously or the built-in battery interface is connected in the first operating status information, the operating voltage of the built-in battery interface is compared with the current parameters corresponding to the current power amplifier, display device, and digital playback interface. When the switching conditions are met, the power supply path where the built-in battery interface is located is recorded as the current main power supply path. The main power supply path information obtained after comparison is saved as the output field name.
7. The method according to claim 6, characterized in that, The process of handling the main link activation status includes: First, read the main power supply path information to determine whether the main link is currently powered by the power input interface or the built-in battery interface. Then, sequentially send activation status commands to the audio processing module, power amplifier, and main control module. When the first working status information includes the status that the audio playback link has been established, the system will immediately enter the activation state after completing the main power supply path comparison. When the first working status information includes the status that the display extension link has been established and the main power supply path information corresponds to the power input interface, the conditions for the subsequent display device to enter the activation state are retained while activating the audio processing module and power amplifier.
8. The method according to claim 7, characterized in that, The process of handling the main link activation status also includes: When the main power supply path information corresponds to the built-in battery interface, the activation status processing of the audio processing module, power amplifier, and main control module is performed, but the display device and network interface are not started in this step; the record of whether the audio processing module, power amplifier, and main control module have entered the activation state is written into the data storage module as the main link activation status information.
9. The method according to claim 1, characterized in that, The module hierarchical enabling process includes: First, read the main link activation status information and confirm that the audio processing module, power amplifier and main control module are all in the activated record. Then, read the digital playback interface connected status, the extended link established status and the current power supply path in the main power supply path information in the first working status information. If the main power supply path information corresponds to the power input interface and the first working status information includes the digital playback interface being connected, then activation status processing is performed on USB, TF and SATA, and the display device and video interface are set as interface objects that can enter the activation state. If the main power supply path information corresponds to the built-in battery interface, the digital playback interface is processed according to the reading status. The interface currently providing playback content remains active, while the other digital playback interfaces enter normal sleep mode. Under this condition, the display device, video interface, and network interface do not directly enter the active state.
10. The method according to claim 9, characterized in that, Also includes: If the network interface working status has been recorded in the first working status information and the main power supply path information corresponds to the power input interface, then the network interface is put into normal sleep mode and the wake-up record is maintained; if the network interface working status is not recorded or the main power supply path information corresponds to the built-in battery interface, then the network interface is put into deep sleep mode. The overall record of whether the digital playback interface, display device, video interface, network interface, and general I / O interface are currently active, in normal sleep mode, or in deep sleep mode is written into the data storage module as the first interface mode information.