WO2022193732A1 - 一种音频输出通道的切换控制方法及显示设备 - Google Patents

一种音频输出通道的切换控制方法及显示设备 Download PDF

Info

Publication number
WO2022193732A1
WO2022193732A1 PCT/CN2021/134350 CN2021134350W WO2022193732A1 WO 2022193732 A1 WO2022193732 A1 WO 2022193732A1 CN 2021134350 W CN2021134350 W CN 2021134350W WO 2022193732 A1 WO2022193732 A1 WO 2022193732A1
Authority
WO
WIPO (PCT)
Prior art keywords
earc
state
display device
channel
power amplifier
Prior art date
Application number
PCT/CN2021/134350
Other languages
English (en)
French (fr)
Inventor
霍俊逸
张大伟
于鹏德
Original Assignee
海信视像科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202110296392.0A external-priority patent/CN113064645B/zh
Priority claimed from CN202110429853.7A external-priority patent/CN113055788B/zh
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Publication of WO2022193732A1 publication Critical patent/WO2022193732A1/zh
Priority to US18/326,168 priority Critical patent/US20230319227A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers

Definitions

  • the present application relates to the field of display devices, and in particular, to a switching control method for an audio output channel and a display device.
  • the display device can be connected to an external power amplifier, such as an audio device, so that the audio output channel is no longer limited to the built-in speaker of the display device.
  • an external power amplifier such as an audio device
  • Embodiments of the present application provide a switching control method for an audio output channel and a display device.
  • the display device provided by the first aspect includes:
  • HDMI used to connect an external power amplifier
  • the audio output channel of the external power amplifier includes ARC and/or eARC;
  • a controller configured to execute:
  • the connection state of the ARC and the eARC is adjusted, and the target channel for outputting audio is determined according to the adjustment result, and the switch state of the eARC matching the target channel is displayed.
  • the switching control method of the audio output channel provided by the second aspect includes:
  • the first state value corresponding to the switching operation is obtained; wherein, the external power amplifier is connected to the display device through HDMI, and the audio output channel of the external power amplifier includes ARC and/or or eARC; the first state value is used to indicate the switching state of the eARC specified by the switching operation;
  • the connection state of the ARC and the eARC is adjusted, and the target channel for outputting audio is determined according to the adjustment result, and the switch state of the eARC matching the target channel is displayed.
  • FIG. 1 illustrates a usage scenario of a display device according to some embodiments
  • FIG. 2 shows a block diagram of the hardware configuration of the control apparatus 100 according to some embodiments
  • FIG. 3 shows a block diagram of a hardware configuration of a display device 200 according to some embodiments
  • FIG. 4 shows a software configuration diagram in the display device 200 according to some embodiments
  • FIG. 5 exemplarily shows a UI schematic diagram of an audio output setting page
  • FIG. 6 exemplarily shows a UI schematic diagram of switching the eARC switch state in the sound setting page
  • Fig. 7 exemplarily shows the flow chart of the switching control method of the audio output channel
  • FIG. 8 exemplarily shows switching logic one when eARC is switched from an off state to an on state
  • FIG. 9 exemplarily shows switching logic two when eARC is switched from an on state to an off state
  • Fig. 10 exemplarily shows the switching logic three when the CEC function is switched from the ON state to the OFF state
  • FIG. 11 exemplarily shows a flow chart of the boot procedure performed by the native architecture of the Android system
  • FIG. 12 exemplarily shows a flowchart of a method for controlling a boot interface
  • FIG. 13 exemplarily shows a flowchart of a booting procedure performed after the Android system architecture is improved.
  • module refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code capable of performing the functions associated with that element.
  • FIG. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in FIG. 1 , the display device 200 also performs data communication with the server 400 , and the user can operate the display device 200 through the smart device 300 or the control device 100 .
  • control device 100 may be a remote control, and the communication between the remote control and the display device includes at least one of infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, and the display is controlled wirelessly or wiredly. device 200.
  • the user can control the display device 200 by inputting user instructions through at least one of keys on the remote control, voice input, and control panel input.
  • the smart device 300 may include any one of a mobile terminal, a tablet computer, a computer, a laptop computer, an AR/VR device, and the like.
  • the smart device 300 may also be used to control the display device 200 .
  • the display device 200 is controlled using an application running on the smart device.
  • the display device may not use the above-mentioned smart device or control device to receive instructions, but receive user control through touch or gesture.
  • the smart device 300 and the display device may also be used to communicate data.
  • the display device 200 can also be controlled in a manner other than the control apparatus 100 and the smart device 300.
  • the module for acquiring voice commands configured inside the display device 200 can directly receive the user's voice command for control.
  • the user's voice command control can also be received through the voice control device provided outside the display device 200 .
  • the display device 200 is also in data communication with the server 400 .
  • the display device 200 may be allowed to communicate via local area network (LAN), wireless local area network (WLAN), and other networks.
  • the server 400 may provide various contents and interactions to the display device 200 .
  • the server 400 may be a cluster or multiple clusters, and may include one or more types of servers.
  • the software steps executed by one step execution body can be migrated to another step execution body that is in data communication with it for execution as required.
  • the software steps executed by the server may be migrated to be executed on the display device with which it is in data communication as required, and vice versa.
  • FIG. 2 exemplarily shows a configuration block diagram of the control apparatus 100 according to an exemplary embodiment.
  • the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply.
  • the control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
  • the communication interface 130 is used for external communication, including at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module.
  • the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a button, or an alternative module.
  • FIG. 3 is a block diagram showing a hardware configuration of the display apparatus 200 according to an exemplary embodiment.
  • display device 200 includes tuner 210, communicator 220, detector 230, external device interface 240, controller 250, display 260, audio output interface 270, memory, power supply, user interface at least one.
  • the controller includes a central processing unit, a video processing unit, an audio processing unit, a graphics processing unit, a RAM, a ROM, and a first interface to an nth interface for input/output.
  • the display 260 includes a display screen component for presenting a picture, and a driving component for driving the image display, for receiving the image signal output from the controller, for displaying the video content, the image content and the menu manipulation interface Components and user-manipulated UI interfaces, etc.
  • the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
  • the tuner demodulator 210 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or cable broadcast television signals.
  • communicator 220 is a component for communicating with external devices or servers according to various communication protocol types.
  • the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module and other network communication protocol chips or near field communication protocol chips, and an infrared receiver.
  • the display device 200 may establish transmission and reception of control signals and data signals with the control apparatus 100 or the server 400 through the communicator 220 .
  • the detector 230 is used to collect signals from the external environment or interaction with the outside.
  • the detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes or user interaction gestures, or , the detector 230 includes a sound collector, such as a microphone, for receiving external sound.
  • the external device interface 240 may include, but is not limited to, the following: High Definition Multimedia Interface (HDMI), Analog or Data High Definition Component Input Interface (Component), Composite Video Input Interface (CVBS), USB Input Interface (USB), Any one or more interfaces such as RGB ports. It may also be a composite input/output interface formed by a plurality of the above-mentioned interfaces.
  • HDMI High Definition Multimedia Interface
  • Component Analog or Data High Definition Component Input Interface
  • CVBS Composite Video Input Interface
  • USB Input Interface USB
  • Any one or more interfaces such as RGB ports. It may also be a composite input/output interface formed by a plurality of the above-mentioned interfaces.
  • the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box Wait.
  • the controller 250 controls the operation of the display device and responds to user operations.
  • the controller 250 controls the overall operation of the display apparatus 200 .
  • the controller 250 may perform an operation related to the object selected by the user command.
  • the object may be any of the selectable objects, such as hyperlinks, icons, or other operable controls.
  • the operations related to the selected object include: displaying operations connected to hyperlinked pages, documents, images, etc., or executing operations of programs corresponding to the icons.
  • the controller includes a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), RAM (Random Access Memory, RAM), ROM (Read- Only Memory, ROM), at least one of the first interface to the nth interface for input/output, a communication bus (Bus), and the like.
  • CPU Central Processing Unit
  • video processor video processor
  • audio processor audio processor
  • graphics processor Graphics Processing Unit, GPU
  • RAM Random Access Memory
  • ROM Read- Only Memory
  • CPU processor It is used to execute the operating system and application program instructions stored in the memory, and to execute various application programs, data and contents according to various interactive instructions received from external input, so as to finally display and play various audio and video contents.
  • CPU processor which can include multiple processors. For example, it includes a main processor and one or more sub-processors.
  • the graphics processor is used to generate various graphic objects, such as at least one of icons, operation menus, and user input instructions to display graphics.
  • the graphics processor includes an operator, which performs operations by receiving various interactive instructions input by the user, and displays various objects according to the display attributes; it also includes a renderer, which renders various objects obtained based on the operator, and the rendered objects are used for rendering. displayed on the display.
  • the video processor is used to decompress, decode, scale, reduce noise, convert frame rate, convert resolution, and synthesize images according to the standard codec protocol of the received external video signal. At least one of the processes can obtain a signal that is directly displayed or played on the displayable device 200 .
  • the video processor includes at least one of a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like.
  • the demultiplexing module is used for demultiplexing the input audio and video data stream.
  • the video decoding module is used to process the demultiplexed video signal, including decoding and scaling.
  • the image synthesizing module such as an image synthesizer, is used for superimposing and mixing the GUI signal generated by the graphics generator according to the user's input or itself, and the zoomed video image, so as to generate an image signal that can be displayed.
  • the frame rate conversion module is used to convert the input video frame rate.
  • the display formatting module is used to convert the received frame rate into the video output signal, and change the signal to conform to the display format signal, such as outputting the RGB data signal.
  • the audio processor is configured to receive an external audio signal, perform decompression and decoding according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing. , to get a sound signal that can be played in the loudspeaker.
  • the user may input user commands on a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input commands through the graphical user interface (GUI).
  • GUI graphical user interface
  • the user may input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
  • a "user interface” is a medium interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user.
  • the commonly used form of user interface is Graphical User Interface (GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. at least one of the visual interface elements.
  • GUI Graphical User Interface
  • the user interface 280 is an interface that can be used to receive control input (eg, physical buttons on the display device body, or others).
  • control input eg, physical buttons on the display device body, or others.
  • the system of the display device may include a kernel (Kernel), a command parser (shell), a file system and an application program.
  • kernel Kernel
  • shell command parser
  • file system an application program.
  • the kernel, shell, and file system make up the basic operating system structures that allow users to manage files, run programs, and use the system.
  • the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, scheduler, signals and inter-process communication (IPC).
  • IPC inter-process communication
  • the shell and user applications are loaded.
  • An application is compiled into machine code after startup, forming a process.
  • the system is divided into four layers, from top to bottom, they are an application layer (referred to as “application layer”), an application framework layer (referred to as “framework layer”) ”), the Android runtime and the system library layer (referred to as the “system runtime layer”), and the kernel layer.
  • application layer an application layer
  • frame layer an application framework layer
  • Android runtime the Android runtime
  • system library layer the system library layer
  • kernel layer the kernel layer
  • At least one application program runs in the application program layer, and these application programs may be a Window program, a system setting program, or a clock program that comes with the operating system; they may also be developed by third-party developers. s application.
  • the application package in the application layer is not limited to the above examples.
  • the framework layer provides an application programming interface (API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer is equivalent to a processing center, which decides to let the applications in the application layer take action.
  • the application program can access the resources in the system and obtain the services of the system during execution through the API interface.
  • the application framework layer in the embodiment of the present application includes managers (Managers), content providers (Content Provider), etc., wherein the manager includes at least one of the following modules: an activity manager (Activity Manager) uses Interacts with all activities running in the system; Location Manager is used to provide system services or applications with access to system location services; Package Manager is used to retrieve files currently installed on the device Various information related to the application package; Notification Manager (Notification Manager) is used to control the display and clearing of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers on the user interface and desktop widgets.
  • an activity manager uses Interacts with all activities running in the system
  • Location Manager is used to provide system services or applications with access to system location services
  • Package Manager is used to retrieve files currently installed on the device Various information related to the application package
  • Notification Manager Notification Manager
  • Window Manager Window Manager
  • the activity manager is used to manage the life cycle of the various applications and general navigation rollback functions, such as controlling the exit, opening, rollback, etc. of the application.
  • the window manager is used to manage all window programs, such as obtaining the size of the display screen, judging whether there is a status bar, locking the screen, taking screenshots, and controlling the change of the display window (such as reducing the display window, shaking display, distorting display, etc.), etc.
  • the system runtime layer provides support for the upper layer, that is, the framework layer.
  • the Android operating system will run the C/C++ library included in the system runtime layer to implement the functions to be implemented by the framework layer.
  • the kernel layer is the layer between hardware and software. As shown in Figure 4, the kernel layer at least includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensors, etc.), and power drives, etc.
  • the kernel layer at least includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensors, etc.), and power drives, etc.
  • a plurality of HDMI interfaces are generally preset on the display device, and external power amplifiers can be connected through the HDMI ports, and the external power amplifiers include devices with audio output and audio playback functions such as audio.
  • the audio output channels supported by the external power amplifier include at least one of ARC and eARC, wherein the ARC mode depends on CEC (Consumer Electronics Control, consumer electronics control), and CEC is not necessary for eARC.
  • CEC Consumer Electronics Control
  • the external power amplifier is supported to enable the ARC mode or eARC mode; if the CEC is off, only the external power amplifier is supported to enable the eARC mode, and the ARC mode cannot be used.
  • One remote control controls multiple external devices with CEC enabled, so when CEC is turned off, although the audio output from the eARC can still be maintained, the user can no longer adjust the volume of the external power amplifier through the remote control, such as mute, increase the volume or Lower the volume; if the CEC is off, and the external power amplifier only supports ARC, but not eARC, the external power amplifier cannot output and play audio, you can switch to other channels, such as the built-in sound player (TV) of the display device. Speaker, that is, TV speakers) or Bluetooth (Bluetooth) channel, etc.
  • FIG. 5 shows the UI of the audio output (Audio Output) setting page
  • the Audio Output menu can display different types of audio output channels, such as including but not limited to TV Speaker, ARC, and Bluetooth.
  • the current status of each audio output channel (optional or not) can also be marked in the Audio Output menu.
  • the channel in the selectable state can be selected by the user and set as the target channel for the final output audio; the channel in the non-selectable state cannot be selected by the user, so it cannot be used as the target channel to output audio.
  • the external power amplifier is represented by ARC, but the external power amplifier channel name should be synchronized with the actual connection mode of the external power amplifier.
  • the TV Speaker is a built-in audio output channel of the display device, and is generally in an optional state by default.
  • whether the external power amplifier can be selected has a constraint relationship with the CEC switch state. If the CEC function is turned on, it is determined whether A ⁇ B is established, wherein the condition A is detected by the CEC function that the external power amplifier is in the connected state, and the condition B is that the external power amplifier is connected to the target port, and the target port is the ARC port of the display device and/or or eARC port.
  • Condition A is to detect whether the external power amplifier is online, which can be detected by obtaining the device information of the external power amplifier through CEC;
  • Condition B is to determine whether the external power amplifier is connected to the ARC port and/or eARC port, such as reading the physical address of the external power amplifier and shifting it right by 12 bit, and then compare it with the address of the target port. If the two addresses match, it means that the external power amplifier is connected to the target port in place. Only when A ⁇ B is established , that is, when both conditions A and B are satisfied, the external power amplifier in the Audio Output menu is in the optional state; if A ⁇ B is established, that is, when at least one of the conditions A and B is not satisfied, the Audio External amplifiers are disabled in the Output menu.
  • the user can set the on/off state of the CEC function. If the user turns off the CEC function, the display device cannot detect whether the external power amplifier is connected through the CEC protocol. In this case, the application defaults to the external power amplifier in the Audio Output menu.
  • the application defaults to the external power amplifier in the Audio Output menu.
  • only the external power amplifier channel in the Audio Output menu is in a selectable state, and the external power amplifier has been selected by the user, can further two-way switching between ARC and eARC be performed.
  • Figure 6 shows a sound (Sound) setting page. In the sound setting page, the target channel of the current output audio is displayed as ARC (ie external power amplifier), and the eARC switch control is displayed. By setting the eARC switch control on (on) Or off (off), you can adjust the on-off state of eARC.
  • the eARC switch control is off, and the user can switch the eARC switch control to In the open state, the audio output channel is switched from ARC to eARC; on the contrary, if the eARC mode is currently running, after the user enters the sound setting page, the target channel is displayed as eARC, the eARC switch control is in the open state, and the user can set the eARC The switch control is toggled off, which switches the audio output channel from eARC to ARC.
  • the display device detects that the external power amplifier does not support eARC mode, and will not change the switch state of the eARC switch control, that is, it cannot switch the working mode of the external power amplifier, and the current ARC mode remains unchanged.
  • the target channel is displayed as eARC, and the eARC switch control is synchronized to the on state. If it is switched off, the eARC mode of the external power amplifier is exited, and the target channel of the output audio can be automatically switched to the TV Speaker, or the user can return to the Audio Output menu and re-select the target channel for the output audio.
  • FIG. 7 provides a switching control method for an audio output channel.
  • the execution body of the method is the controller 250, and the method includes the following program steps:
  • Step S101 in response to a switching operation of an audio output channel of an external power amplifier, obtain a first state value corresponding to the switching operation, where the first state value is used to indicate the switching state of the eARC specified by the switching operation.
  • the switching operation described in this step S1 refers to the operation of switching the switching state of the eARC switch control, including two cases, the first is to switch the eARC from the off state to the on state, and the other is to switch the eARC from The state switches to the off state.
  • the first state value is recorded as on; if the switching operation is to switch the eARC from the on state to the off state, Then record the first state value as off. It should be noted that, the marking form of the first state value is not limited to that described in this embodiment.
  • Step S102 Adjust the connection state of the ARC and the eARC according to the first state value, and determine a target channel for outputting audio according to the adjustment result, and display the switch state of the eARC matching the target channel.
  • the scheme in FIG. 5 is an overall overview of the switching control logic of the audio output channel.
  • the switching logic of step S102 is also divided into switching logic one and switching logic two correspondingly. .
  • FIG. 8 illustrates the switching logic one, which corresponds to the first state value is on, and includes the following program steps:
  • Step (A1) obtaining the first state value, and detecting that the first state value is on;
  • Step (A2) Call the SetEarcEnable(bool on) interface to save the eARC switch state as on;
  • Step (A3) Call the SetEarcEnable interface provided by the driver layer, control the driver layer to connect to the eARC, and disconnect the ARC connection; the driver layer actively performs eARC handshake with the external power amplifier, thereby connecting eARC and enabling eARC (Enable) state, and disconnect the ARC connection at the same time, so that the ARC is in a disabled (Disable) state, this step is mainly to adjust the connection state of the eARC and the ARC according to the indication of the first state value;
  • the driver layer if the driver layer is successfully connected and enables eARC, the feedback second state value is on; if the driver layer fails to connect to the eARC, the eARC connection times out, or detects that the external power amplifier does not actually support the eARC mode when connecting to the eARC, etc. In an abnormal situation, the feedback second state value is off;
  • Step (A5) Framework layer: detect whether the second state value is on; if the second state value is on, execute step (A6); if the second state value is off, execute step (A8);
  • Step (A6) Framework layer: determine that the target channel is eARC, and feedback the third state value to the UI layer is on; Wherein, the third state value is used to indicate the switch state of the eARC switch control displayed by the UI layer;
  • Step (A7) UI layer: receive the third state value, and when detecting that the third state value is on, control the display to change the switch control of the eARC to the on state; in some embodiments, the UI layer detects that the third state value is on.
  • the status value is on, you can also change the target channel name of the current output audio in the Audio Output menu and the sound setting page to eARC synchronously to realize the switch from ARC mode to eARC mode;
  • Step (A8) Framework layer: determine that the target channel is ARC, feedback the third state value to the UI layer as off, and re-establish the ARC connection;
  • Step (A9) UI layer: receive the third state value, and when the third state value is detected to be off, control the display to keep the switch control of the eARC in the off state.
  • the display device When the driver layer fails to connect to eARC, times out or detects that the external power amplifier does not support eARC mode, the display device cannot play audio through the eARC channel, so restart the ARC handshake, establish the ARC connection and enable it, which is reflected in the UI layer as the eARC switch
  • the control remains closed and will not change due to the user's operation of turning on the eARC, which is equivalent to the eARC switch control not responding, thus avoiding the situation where the eARC switch control appears to be in the open state, but the eARC is not connected successfully (ie false connection). , at this time, use ARC mode to output audio, that is, do not switch the channel mode of the external power amplifier.
  • the driver layer, the Framework layer and the UI layer involved in the present application are all controlled by the controller 250, and the controller 250 implements the switching process of the audio output channel by coordinating and controlling the program execution between the layers.
  • FIG. 9 illustrates the second switching logic, which corresponds to the first state value is off, and includes the following program steps:
  • Step (B1) obtain the first state value, and detect that the first state value is off;
  • Step (B2) Call the SetEarcEnable(bool on) interface to save the eARC switch state as off;
  • Step (B4) the driver layer reports the second state value to the Framework layer, so that the Framework layer executes the channel switching control logic shown in the following step (B5); the second state value in the switching logic two is off;
  • Step (B5) Framework layer: receive the second state value, and when detecting that the second state value is off, determine that the target channel is ARC, feedback the third state value to the UI layer as off, and re-establish the ARC connection; Wherein, the third state value is used to indicate the switch state of the eARC switch control displayed by the UI layer;
  • Step (B6) UI layer: receive the third state value, and when the third state value is detected to be off, control the display to change the switch control of the eARC to the off state; in some embodiments, the UI layer detects that the third state value is off.
  • the status value is off, you can also change the target channel name of the currently output audio in the Audio Output menu and sound settings page to ARC synchronously to switch from eARC mode to ARC mode.
  • the above embodiments are implementation solutions when the CEC function is enabled by default.
  • the user can operate the switch control of the CEC in the setting menu to control the switch state of the CEC function.
  • the switch control of CEC is switched from on to off, that is, when the CEC function is switched from on to off, the sound of the external power amplifier will be interrupted momentarily, and after the CEC is turned off, users in eARC mode can no longer adjust the volume through the remote control, but There is no prompt for this abnormal situation. If the user does not use the remote control to adjust the volume, the abnormal situation cannot be perceived. When the user operates the remote control, he does not know the reason why the volume cannot be adjusted, resulting in poor user experience.
  • FIG. 10 shows switching logic three when the CEC function is turned off, including the following program steps:
  • Step (C1) monitor the switching state of the CEC function.
  • Step (C2) When it is detected that the CEC function is switched from the ON state to the OFF state, the GetEarcStatus interface is called to query the current audio output channel, and determine whether the current audio output channel is eARC. If it is an eARC, go to step (C3): if it is an ARC, go to step (C4).
  • Step (C3) keep the eARC unchanged on the audio output channel, and control the display to display a first prompt message, the first prompt message is used to prompt the user that the CEC function has been turned off, and the eARC cannot be adjusted through the remote control The volume of the output audio.
  • the eARC mode does not depend on the CEC, if the CEC function is turned off when the external power amplifier is in the eARC mode, there is no need to switch the audio output channel, and the audio will still be output from the eARC channel. Adjust the volume of the external amplifier.
  • the volume adjustment operations include Mute, Volume Up, and Volume Down. After viewing the first prompt message, the user can know the reason why the volume of the external power amplifier cannot be adjusted through the remote control, so that the ability to adjust the volume of the remote control can be restored by switching the audio output channel or re-opening the CEC function.
  • Step (C4) sending an exit instruction to the external power amplifier, switching the audio output channel to the sound player of the display device itself, and controlling the display to prompt the user that the CEC function has been turned off and automatically switched to the The second prompt information of the sound player; wherein, the exit instruction is used to instruct the external power amplifier to exit the working mode of the ARC.
  • step (C4) when sending the exit instruction, a CEC close message needs to be broadcast, and the Audio device management module at the bottom layer of the display device automatically switches the audio output channel to TV Speaker in response to receiving the CEC close message ;
  • step (C3) since the audio output channel is not switched but kept as eARC, there is no need to broadcast the CEC close message, and the Audio device management module does not switch the audio output channel if it cannot receive the CEC close message.
  • step (C5) the CEC function is turned off.
  • step (C3) or step (C4) the CEC function can be turned off, and the CEC-related data can be cleared.
  • the audio output channel is set to TV Speaker, that is, it is switched to the built-in speakers of the TV to play the audio, so as to avoid the silent problem that the audio cannot be output due to the CEC being turned off, and to remind the user that the CEC has been turned off, so as to automatically switch to the TV speakers to produce sound.
  • the user can know the reason for switching the audio output channel, and can continue to use the TV Speaker to play audio, or turn on the CEC function again, and switch to the ARC or eARC of the external power amplifier to output audio.
  • This application mainly focuses on how to switch between ARC mode and eARC mode when the user selects the audio output from the external power amplifier in the Audio Output menu, and provides switching logic 1 and switching logic 2 according to the switching direction, which improves the ARC mode and eARC mode.
  • the accuracy of switching between ARC mode and eARC mode is successful or not, there is a matching target channel to output audio, avoiding the situation that the external power amplifier and display device are silent due to abnormal mode switching, and ensuring audio playback. Effectiveness, improve user experience.
  • the technical solution of the present application can be compatible with external power amplifiers that support both ARC and eARC, and also compatible with external power amplifiers that only support ARC and only support eARC.
  • a switching logic 3 is provided when the CEC function is turned from on to off. It should be noted that, on the basis of the switching logic provided in this application, based on the working mechanisms of HDMI, CEC, ARC and eARC, more possible switching logics can be adaptively expanded. For other contents of HDMI, CEC, ARC, and eARC, reference may be made to the related prior art, which will not be repeated in this application. In addition, the UI involved in this application is only exemplary, and the actual application and design shall prevail.
  • Embodiments of the present application provide a display device, including:
  • Display used to display the boot interface
  • HDMI for connecting external devices
  • a controller configured to execute:
  • the display device is controlled to display the start-up interface according to the data output by the video channel.
  • the controller is further configured to execute:
  • the target device When it is detected that the drive source is not HDMI, the target device is set as the local display device, the video channel is not switched, and the video channel is kept as the TV channel;
  • the display device After the display device is powered on, the display device is controlled to display the home page interface.
  • the controller after sending the target device acquisition request to the external device, the controller is further configured to execute:
  • the target device acquisition request is re-sent, and the number of retransmissions is cumulatively increased by 1;
  • the target device when it is detected that the number of retransmissions exceeds the threshold, the target device is set as the local display device, the video channel is not switched, and the video channel is kept as the TV channel; after the display device is powered on, the display device is controlled to display Home page interface.
  • the controller is further configured to execute:
  • the controller after sending the target device acquisition request to the external device, the controller is further configured to execute:
  • the target device If the feature termination information sent by the target device is received within the preset time, the target device is set as the display device itself, the video channel is not switched, and the video channel is kept as the TV channel;
  • the display device After the display device is powered on, the display device is controlled to display the home page interface.
  • the response information includes port parameters of the HDMI to which the target device is connected.
  • Embodiments of the present application provide a method for controlling a boot interface of a display device, including:
  • a target device acquisition request is sent to the external device, and the target device acquisition request is used to request to acquire the currently active target device in the external device; wherein, the external device and the display device Connect via HDMI;
  • the boot interface is displayed according to the data output by the video channel.
  • the method further includes:
  • the target device When it is detected that the drive source is not HDMI, the target device is set as the local display device, the video channel is not switched, and the video channel is kept as the TV channel;
  • the home page interface is displayed after the display device is powered on.
  • the method after sending the target device acquisition request to the external device, the method further includes:
  • the target device acquisition request is re-sent, and the number of retransmissions is cumulatively increased by 1;
  • the target device when it is detected that the number of retransmissions exceeds the threshold, the target device is set as the local display device, the video channel is not switched, and the video channel is kept as the TV channel; the home page interface is displayed after the display device is powered on.
  • the method further includes:
  • a display device is generally preset with several HDMI interfaces, and external devices can be connected through the HDMI ports.
  • the external devices include video signal source devices such as DVD devices and set-top boxes.
  • the video signals of the external devices are transmitted to Android system, the system controller controls the display to display the video signal.
  • the external device as a DVD as an example, if the DVD has the CEC control function enabled, when the user starts the DVD, the DVD sends a CEC wake-up signal to the display device through HDMI, so that the display device automatically turns on after receiving the notification of the CEC wake-up signal.
  • the wake-up of external devices and the automatic power-on of the display device are an important part of the CEC control function.
  • FIG. 11 shows the execution logic of the boot program under the native architecture of the Android system.
  • the display device When the display device is in a standby state, if it receives a CEC wake-up signal transmitted by HDMI, or receives a user click on the power button of the remote control operation, or receiving a pressing operation on the switch key of the machine, that is, receiving a power-on command, then start the Android system.
  • the Android (Android) system After the Android (Android) system is started, first start the System Service (system service), and load the CEC-related service program built in the Android system, namely HDMI Control Service (HDMI Control Service), and then call the start interface OnStart of the HDMI Control Service, which is responsible for allocating Logical address: After the logical address allocation is completed, the LaunchRoutingControl (routing mapping control) interface is called.
  • the native code of the Android system does not obtain the factor that triggers the boot command (ie, the reason for booting), nor does it obtain the Active Source currently active on the CEC bus. Instead, by default, LaunchRoutingControl directly sets the TV as the Active Source.
  • the display device finds that the current Active Source is TV. Since the boot interface corresponding to the TV is the home page (Launcher) interface, the display device will be displayed after the device is powered on. The boot interface is the default home page interface.
  • a display device ie root device
  • at least one external device are connected to the CEC bus.
  • the query and communication between devices are controlled through the CEC bus.
  • the external device is the current Active Source.
  • the display device After the display device sends the Request Active Source, and the Active Source responds after receiving the request, the display device can obtain the Active Source.
  • the present application adds the boot reason and the Active Source information acquisition program in the boot stage of the display device, and adaptively matches the signal channel corresponding to the actual Active Source by combining the two pieces of information.
  • the video channel is switched to the corresponding signal channel, the signal output of the video channel is changed, and the display of the boot interface is adjusted, so that the boot interface is more in line with user expectations, and the user application experience is improved.
  • FIG. 12 shows a method for controlling a boot interface.
  • the execution body of the method is the controller 250 of the display device, and the method includes the following program steps:
  • Step S10 after receiving the booting instruction, obtain a driving source for controlling the booting of the display device.
  • the drive source described here is the transmission source of the power-on command.
  • the drive source is HDMI; if the user sends the power-on command to the display device by pressing the power button of the remote control, then The driving source is the remote control; if the user inputs a power-on command by pressing the power-on button provided by the display device, the driving source is the power-on button of the local machine.
  • the power-on command input by means of the remote control and the power-on button of the display device, etc. all have non-HDMI drive sources.
  • Step S20 detecting whether the driving source is HDMI. If the driving source is HDMI, step S30 to step S50 are performed; otherwise, if the driving source is non-HDMI, step S60 is performed.
  • Step S30 sending a target device acquisition request to the external device.
  • the target device acquisition request is used to request the acquisition of the target device currently in the active state in the external device, the target device acquisition request described here is the Request Active Source, and the target device is the Active Source currently in the Active state on the CEC bus.
  • Step S40 when receiving the response information sent by the target device, switch the video channel to the signal channel matching the response information.
  • the response information includes the physical address of the Active Source device, and the physical address is, for example, the port parameter of the HDMI to which the Active Source is connected.
  • the feedback response information is ⁇ Active Source>BF:0x82:30:00, where ⁇ Active Source> information is triggered and generated by Request Active Source, B indicates the logical address of Active Source, and F indicates Broadcast, 0x82 represents the opcode Opcode, 30:00 represents the port number of the HDMI connected to the Active Source device, indicating that the Active Source is connected to the HDMI3 interface.
  • the underlying Source management module will register InputChangeListener to the CEC module when the display device is powered on, and the CEC module will call the invokeInputChangeListener interface when it subsequently receives the response message ⁇ Active Source>, and transmit the port number carried in the response message as a parameter.
  • the Source management module completes the switching of the video channel Source, so as to switch to the signal channel of the HDMI connected device corresponding to the port parameters.
  • the boot interface is no longer the home page interface, but the video signal output by the Active Source signal source.
  • Step S50 After the display device is powered on, the display is controlled to display a boot interface according to data output from the video channel.
  • the output data is the video signal from the current actual Active Source
  • the boot interface is no longer the home page, and the boot interface can communicate with the external Active Source.
  • the source is accurately matched to improve the accuracy of the boot interface display.
  • step S60 the target device is set as the local display device, the video channel is not switched, the video channel is kept as the TV channel, and the display device is controlled to display the home page interface after the display device is powered on.
  • step S60 when the driving source is non-HDMI, it means that the factor that triggers the display device to turn on is not the CEC wake-up signal sent by the external device, so it is not necessary to identify the Active Source from the external device, but directly set the display device itself (i.e. TV) It is Active Source, and the default home page interface is displayed after booting.
  • the Active Source after the Active Source receives the Request Active Source, it generally returns response information within a preset time, such as 2 seconds. After the display device sends the Request Active Source, it starts the timer to monitor the response information. The time set by the timer is the preset time. If the display device receives the response information within the preset time, it parses the response information, and according to The parameter carried in the reply message switches the Source channel.
  • the preset time may be specifically set according to the actual application, which is not limited in this application.
  • the display device if the display device does not receive the response information within the preset time, it is regarded as the response timeout, and a retry mechanism can be started, that is, the Request Active Source is resent again.
  • the number of retransmissions, each time the Request Active Source is retransmitted, the number of retransmissions will be incremented by 1, and it will be detected whether the number of retransmissions exceeds the threshold.
  • the threshold is 2 times.
  • step S60 is executed to set the TV local For Active Source, the source channel is not switched, and the home page interface is displayed after the display device is powered on.
  • the threshold can be set according to practical applications, which is not limited in this application.
  • the display device receives a message within a preset time, but the message may not be a response message, but a feature abort (feature abort) message, such as when the Active Source cannot process the Request Active Source immediately, or the information transmission process
  • a feature abort feature abort
  • the Active Source will return the feature abort to the display device; if the display device receives the feature abort within the preset time, step S60 will be executed, and the TV will be set as the Active Source. Switch the Source channel to display the home page after the display device is powered on.
  • FIG. 13 shows the execution logic of the boot program after the Android system architecture is improved, and a more detailed underlying control program as described below is executed in the controller:
  • the display device When the display device receives the boot command, it starts the Android system and the System Service (system service) in turn, then obtains the driver source from the driver layer, and sets and saves the boot attribute field of the Android system according to the driver source.
  • the boot attribute field such as configuration It is in the format of sys.vt.bootup.reason, where reason is the booting reason indicated by the driver source.
  • the display device needs to save the current boot attribute field every time it is powered on. It can be detected by reading the reason in the boot attribute field.
  • Drive source category know the reason for booting, so as to determine whether to switch to the signal channel of the external Active Source.
  • the HDMI Control Service When the System Service starts, the HDMI Control Service is loaded, the OnStart interface is called, and the OnStart interface is responsible for allocating logical addresses; after the logical address allocation is completed, the LaunchRoutingControl (routing mapping control) interface is called, and LaunchRoutingControl reads the reason value in the boot attribute field to identify the driver source. category, get the boot reason, and determine whether the drive source is HDMI.
  • the OnStart interface When the System Service starts, the HDMI Control Service is loaded, the OnStart interface is called, and the OnStart interface is responsible for allocating logical addresses; after the logical address allocation is completed, the LaunchRoutingControl (routing mapping control) interface is called, and LaunchRoutingControl reads the reason value in the boot attribute field to identify the driver source. category, get the boot reason, and determine whether the drive source is HDMI.
  • the LaunchRoutingControl Routing mapping control
  • LaunchRoutingControl will set TV as the current Active Source, keep the video channel as the default TV channel, no longer switch to the signal channel of the external device, and display the preset home page after the display device is powered on.
  • the drive source is HDMI
  • the external device connected to the display device through HDMI wakes up the Android system to self-start, and the CEC module sends Request Active Source to request the target device currently in the Active state on the CEC bus, and the target in the Active state
  • the device After the device receives the request, it will respond to the Active Source, and the CEC module needs to detect whether it receives the information fed back by the Active Source within the preset time.
  • the CEC module If the CEC module does not receive the information fed back by the Active Source within the preset time, it will trigger the retry mechanism, resend the Request Active Source again, and update the recorded number of retransmissions to determine whether the number of retransmissions exceeds the threshold. If the number of retransmissions does not exceed the threshold, cyclic retry is allowed until a response message is received within a preset time after a request, and the execution of the retry mechanism is terminated.
  • the port parameters are transmitted to the Source management module, and the Source management module switches the Source to the signal channel of the HDMI-connected device corresponding to the port parameters, then the boot interface displayed after the display device is powered on is no longer the home page interface, but the Active Source signal source. output video signal.
  • the retry mechanism will be terminated, and the LaunchRoutingControl will set the TV as the current Active Source, keep the video channel as the default TV channel, and no longer switch to external devices. If the signal channel is selected, the display device will display the preset home page after the device is powered on.
  • the CEC module receives the information fed back by the Active Source within the preset time, it will detect whether the information is response information. If the response information is received within the preset time, the CEC module parses the response information and converts the response information carried in the response information.
  • the HDMI port parameters are transmitted to the Source management module, and the Source management module switches the Source to the signal channel of the HDMI connected device corresponding to the port parameters, then the boot interface displayed after the display device is powered on is no longer the home page interface, but the Active Source signal. source output video signal.
  • LaunchRoutingControl will set the TV as the current Active Source, keep the video channel as the default TV channel, and no longer switch to the signal channel of the external device , it will display the default home page interface after the device is powered on.
  • this application Based on the native architecture of the Android system, this application adds querying the boot cause from the driver layer after starting the System Service, setting and saving the boot attribute field of the Android system, and reading the boot attribute field after calling the route mapping control interface.
  • Reason value and according to the reason value and the response received after sending the Request Active Source, the appropriate control logic is executed, so that the display device will display the boot interface that meets the user's expectations after the boot is completed, and will not increase the boot time of the Android system.
  • improve user experience It should be noted that the conventional knowledge of HDMI and CEC involved in this application may refer to the prior art, which will not be repeated in this application.
  • the present application also provides a computer non-volatile storage medium, where a program can be stored in the computer storage medium.
  • a program can be stored in the computer storage medium.
  • the computer storage medium may be a magnetic disk, an optical disc, a read-only memory (English: Read-Only Memory, ROM for short) or a random access memory (English: Random Access Memory, RAM for short).

Abstract

本申请公开一种音频输出通道的切换控制方法及显示设备,响应于对外部功放的音频输出通道的切换操作,获取所述切换操作对应的第一状态值;所述外部功放的音频输出通道包括ARC和/或eARC;所述第一状态值用于指示所述切换操作指定的所述eARC的开关状态;根据所述第一状态值,调节所述ARC和eARC的连接状态,并根据调节结果确定输出音频的目标通道,显示与所述目标通道匹配的所述eARC的开关状态。

Description

一种音频输出通道的切换控制方法及显示设备
本申请要求在2021年4月21日提交的、申请号为202110429853.7、发明名称为“一种音频输出通道的切换控制方法及显示设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中;本申请要求在2021年3月19日提交的、申请号为202110296392.0、发明名称为“一种开机界面控制方法及显示设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中
技术领域
本申请涉及显示设备领域,尤其涉及一种音频输出通道的切换控制方法及显示设备。
背景技术
在一些应用场景中,显示设备可以连接外部功放,比如音响设备等,使得音频输出通道不再局限于显示设备内置的扬声器。
发明内容
本申请实施方式提供一种音频输出通道的切换控制方法及显示设备。
第一方面提供的显示设备,包括:
显示器,用于显示用户界面;
HDMI,用于连接外部功放,所述外部功放的音频输出通道包括ARC和/或eARC;
声音播放器,用于播放音频;
控制器,被配置为执行:
响应于对所述外部功放的音频输出通道的切换操作,获取所述切换操作对应的第一状态值,所述第一状态值用于指示所述切换操作指定的所述eARC的开关状态;
根据所述第一状态值,调节所述ARC和所述eARC的连接状态,并根据调节结果确定输出音频的目标通道,显示与所述目标通道匹配的所述eARC的开关状态。
第二方面提供的音频输出通道的切换控制方法,包括:
响应于对外部功放的音频输出通道的切换操作,获取所述切换操作对应的第一状态值;其中,所述外部功放通过HDMI与显示设备连接,所述外部功放的音频输出通道包括ARC和/或eARC;所述第一状态值用于指示所述切换操作指定的所述eARC的开关状态;
根据所述第一状态值,调节所述ARC和eARC的连接状态,并根据调节结果确定输出音频的目标通道,显示与所述目标通道匹配的所述eARC的开关状态。
附图说明
下面将对实施例中所需要访问的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了根据一些实施例的显示设备的使用场景;
图2示出了根据一些实施例的控制装置100的硬件配置框图;
图3示出了根据一些实施例的显示设备200的硬件配置框图;
图4示出了根据一些实施例的显示设备200中软件配置图;
图5示例性示出了音频输出设置页面的UI示意图;
图6示例性示出了声音设置页面中切换eARC开关状态的UI示意图;
图7示例性示出了音频输出通道的切换控制方法的流程图;
图8示例性示出了将eARC由关闭状态切换为开启状态时的切换逻辑一;
图9示例性示出了将eARC由开启状态切换为关闭状态时的切换逻辑二;
图10示例性示出了CEC功能由开启状态切换为关闭状态时的切换逻辑三;
图11示例性示出了安卓系统原生架构执行的开机程序流程图;
图12示例性示出了一种开机界面控制方法的流程图;
图13示例性示出了对安卓系统架构改进后执行的开机程序流程图。
具体实施方式
为使本申请的目的和实施方式更加清楚,下面将结合本申请示例性实施例中的附图,对本申请示例性实施方式进行清楚、完整地描述,显然,描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。
需要说明的是,本申请中对于术语的简要说明,仅是为了方便理解接下来描述的实施方式,而不是意图限定本申请的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。
本申请中说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”等是用于区别类似或同类的对象或实体,而不必然意味着限定特定的顺序或先后次序,除非另外注明。应该理解这样使用的用语在适当情况下可以互换。
术语“包括”和“具有”以及他们的任何变形,意图在于覆盖但不排他的包含,例如,包含了一系列组件的产品或设备不必限于清楚地列出的所有组件,而是可包括没有清楚地列出的或对于这些产品或设备固有的其它组件。
术语“模块”是指任何已知或后来开发的硬件、软件、固件、人工智能、模糊逻辑或硬件或/和软件代码的组合,能够执行与该元件相关的功能。
图1为根据实施例中显示设备的使用场景的示意图。如图1所示,显示设备200还与服务器400进行数据通信,用户可通过智能设备300或控制装置100操作显示设备200。
在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式中的至少一种,通过无线或有线方式来控制显示设备200。用户可以通过遥控器上按键、语音输入、控制面板输入等至少一种输入用户指令,来控制显示设备200。
在一些实施例中,智能设备300可以包括移动终端、平板电脑、计算机、笔记本电脑,AR/VR设备等中的任意一种。
在一些实施例中,也可以使用智能设备300以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。
在一些实施例中,显示设备可以不使用上述的智能设备或控制设备接收指令,而是通过触摸或者手势等接收用户的控制。
在一些实施例中,也可以使用智能设备300和显示设备进行数据的通信。
在一些实施例中,显示设备200还可以采用除了控制装置100和智能设备300之外的方式进行控制,例如,可以通过显示设备200设备内部配置的获取语音指令的模 块直接接收用户的语音指令控制,也可以通过显示设备200设备外部设置的语音控制装置来接收用户的语音指令控制。
在一些实施例中,显示设备200还与服务器400进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。
在一些实施例中,一个步骤执行主体执行的软件步骤可以随需求迁移到与之进行数据通信的另一步骤执行主体上进行执行。示例性的,服务器执行的软件步骤可以随需求迁移到与之数据通信的显示设备上执行,反之亦然。
图2示例性示出了根据示例性实施例中控制装置100的配置框图。如图2所示,控制装置100包括控制器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。
在一些实施例中,通信接口130用于和外部通信,包含WIFI芯片,蓝牙模块,NFC或可替代模块中的至少一种。
在一些实施例中,用户输入/输出接口140包含麦克风,触摸板,传感器,按键或可替代模块中的至少一种。
图3示出了根据示例性实施例中显示设备200的硬件配置框图。
在一些实施例中,显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、显示器260、音频输出接口270、存储器、供电电源、用户接口中的至少一种。
在一些实施例中控制器包括中央处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。
在一些实施例中,显示器260包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件,用于接收源自控制器输出的图像信号,进行显示视频内容、图像内容以及菜单操控界面的组件以及用户操控UI界面等。
在一些实施例中,显示器260可为液晶显示器、OLED显示器、以及投影显示器中的至少一种,还可以为一种投影装置和投影屏幕。
在一些实施例中,调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。
在一些实施例中,通信器220是用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信器可以包括Wifi模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备200可以通过通信器220与控制装置100或服务器400建立控制信号和数据信号的发送和接收。
在一些实施例中,检测器230用于采集外部环境或与外部交互的信号。例如,检测器230包括光接收器,用于采集环境光线强度的传感器;或者,检测器230包括图像采集器,如摄像头,可以用于采集外部环境场景、用户的属性或用户交互手势,再或者,检测器230包括声音采集器,如麦克风等,用于接收外部声音。
在一些实施例中,外部装置接口240可以包括但不限于如下:高清多媒体接口(HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(CVBS)、USB输入接口(USB)、RGB端口等任一个或多个接口。也可以是上述多个接口形成的复合性的输入/输出接口。
在一些实施例中,控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。
在一些实施例中,控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器260上显示UI对象的用户命令,控制器250便可以执行与由用户命令选择的对象有关的操作。
在一些实施例中,所述对象可以是可选对象中的任何一个,例如超链接、图标或其他可操作的控件。与所选择的对象有关操作有:显示连接到超链接页面、文档、图像等操作,或者执行与所述图标相对应程序的操作。
在一些实施例中控制器包括中央处理器(Central Processing Unit,CPU),视频处理器,音频处理器,图形处理器(Graphics Processing Unit,GPU),RAM Random Access Memory,RAM),ROM(Read-Only Memory,ROM),用于输入/输出的第一接口至第n接口,通信总线(Bus)等中的至少一种。
CPU处理器。用于执行存储在存储器中操作系统和应用程序指令,以及根据接收外部输入的各种交互指令,来执行各种应用程序、数据和内容,以便最终显示和播放各种音视频内容。CPU处理器,可以包括多个处理器。如,包括一个主处理器以及一个或多个子处理器。
在一些实施例中,图形处理器,用于产生各种图形对象,如:图标、操作菜单、以及用户输入指令显示图形等中的至少一种。图形处理器包括运算器,通过接收用户输入各种交互指令进行运算,根据显示属性显示各种对象;还包括渲染器,对基于运算器得到的各种对象,进行渲染,上述渲染后的对象用于显示在显示器上。
在一些实施例中,视频处理器,用于将接收外部视频信号,根据输入信号的标准编解码协议,进行解压缩、解码、缩放、降噪、帧率转换、分辨率转换、图像合成等视频处理中的至少一种,可得到直接可显示设备200上显示或播放的信号。
在一些实施例中,视频处理器,包括解复用模块、视频解码模块、图像合成模块、帧率转换模块、显示格式化模块等中的至少一种。其中,解复用模块,用于对输入音视频数据流进行解复用处理。视频解码模块,用于对解复用后的视频信号进行处理,包括解码和缩放处理等。图像合成模块,如图像合成器,其用于将图形生成器根据用户输入或自身生成的GUI信号,与缩放处理后视频图像进行叠加混合处理,以生成可供显示的图像信号。帧率转换模块,用于对转换输入视频帧率。显示格式化模块,用于将接收帧率转换后视频输出信号,改变信号以符合显示格式的信号,如输出RGB数据信号。
在一些实施例中,音频处理器,用于接收外部的音频信号,根据输入信号的标准编解码协议,进行解压缩和解码,以及降噪、数模转换、和放大处理等处理中的至少一种,得到可以在扬声器中播放的声音信号。
在一些实施例中,用户可在显示器260上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。
在一些实施例中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素中的至少一种。
在一些实施例中,用户接口280,为可用于接收控制输入的接口(如:显示设备本体上的实体按键,或其他等)。
在一些实施例中,显示设备的系统可以包括内核(Kernel)、命令解析器(shell)、文件系统和应用程序。内核、shell和文件系统一起组成了基本的操作系统结构,它们让用户可以管理文件、运行程序并使用系统。上电后,内核启动,激活内核空间,抽象硬件、初始化硬件参数等,运行并维护虚拟内存、调度器、信号及进程间通信(IPC)。内核启动后,再加载Shell和用户应用程序。应用程序在启动后被编译成机器码,形成一个进程。
参见图4,在一些实施例中,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。
在一些实施例中,应用程序层中运行有至少一个应用程序,这些应用程序可以是操作系统自带的窗口(Window)程序、系统设置程序或时钟程序等;也可以是第三方开发者所开发的应用程序。在具体实施时,应用程序层中的应用程序包不限于以上举例。
框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。应用程序框架层相当于一个处理中心,这个中心决定让应用层中的应用程序做出动作。应用程序通过API接口,可在执行中访问系统中的资源和取得系统的服务。
如图4所示,本申请实施例中应用程序框架层包括管理器(Managers),内容提供者(Content Provider)等,其中管理器包括以下模块中的至少一个:活动管理器(Activity Manager)用与和系统中正在运行的所有活动进行交互;位置管理器(Location Manager)用于给系统服务或应用提供了系统位置服务的访问;文件包管理器(Package Manager)用于检索当前安装在设备上的应用程序包相关的各种信息;通知管理器(Notification Manager)用于控制通知消息的显示和清除;窗口管理器(Window Manager)用于管理用户界面上的括图标、窗口、工具栏、壁纸和桌面部件。
在一些实施例中,活动管理器用于管理各个应用程序的生命周期以及通常的导航回退功能,比如控制应用程序的退出、打开、后退等。窗口管理器用于管理所有的窗口程序,比如获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕,控制显示窗口变化(例如将显示窗口缩小显示、抖动显示、扭曲变形显示等)等。
在一些实施例中,系统运行库层为上层即框架层提供支撑,当框架层被使用时,安卓操作系统会运行系统运行库层中包含的C/C++库以实现框架层要实现的功能。
在一些实施例中,内核层是硬件和软件之间的层。如图4所示,内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。
以上实施例介绍了显示设备的硬件/软件架构以及功能实现等内容。在一些应用场景中,显示设备上一般预置有若干个HDMI接口,通过HDMI端口可连接外部功放,所述外部功放包括音响等具备输出及播放音频功能的设备。
第一方面:
在一些实施例中,外部功放支持的音频输出通道包括ARC和eARC中的至少一种,其中ARC模式依赖于CEC(Consumer Electronics Contrl,消费性电子产品控制),而CEC对eARC则不是必需的。
在一些实施例中,若CEC处于开启状态,则支持外部功放启用ARC模式或eARC模式;若CEC处于关闭状态,则仅支持外部功放启用eARC模式,ARC模式无法使用,由于CEC能实现用户使用同一个遥控器控制多个开启CEC功能的外部设备,因此当关闭CEC时,虽然仍可以保持由eARC输出音频,但用户无法再通过遥控器调节外部功放的音量, 比如无法调节静音、增大音量或降低音量;若CEC处于关闭状态,并且外部功放仅支持ARC,而不支持eARC时,则无法由该外部功放输出及播放音频,则可切换为其他通道,比如显示设备内置的声音播放器(TV Speaker,即电视扬声器)或蓝牙(Bluetooth)通道等。
在一些实施例中,图5示出了音频输出(Audio Output)设置页面的UI,Audio Output菜单中可展示不同类别的音频输出通道,比如包括但不限于TV Speaker、ARC和Bluetooth等。Audio Output菜单中还可标注各个音频输出通道的当前状态(可选或不可选)。处于可选状态的通道可以被用户选中,并设置为最终输出音频的目标通道;处于不可选状态的通道无法被用户选中,也就无法作为目标通道去输出音频。图5示例中是以ARC表示外部功放,但外部功放通道名称应与外部功放实际的连接模式同步。
在一些实施例中,TV Speaker是显示设备内置的音频输出通道,一般默认处于可选状态。
在一些实施例中,外部功放是否可选与CEC开关状态存在约束关系。若CEC功能处于开启状态,则判断A∩B是否成立,其中条件A为通过CEC功能检测到外部功放处于连接状态,条件B为外部功放连接于目标端口,目标端口为显示设备的ARC端口和/或eARC端口。条件A即检测外部功放是否在线,可通过CEC获取外部功放的设备信息来检测;条件B即判断外部功放是否连接到ARC端口和/或eARC端口,比如读取外部功放的物理地址并右移12位,然后再与目标端口的地址进行运算比较,如果两者地址匹配,则说明外部功放与目标端口连接就位。只有A∩B成立 件A和条件B同时满足时,Audio Output菜单中外部功放才为可选状态;如果A∪B成立,即条件A和条件B中至少有一个不满足时,Audio Output菜单中外部功放被置为不可选状态。
在一些实施例中,用户可以设置CEC功能的开关状态,若用户关闭CEC功能,会导致显示设备无法通过CEC协议检测外部功放是否连接,这种情况下本申请默认将Audio Output菜单中的外部功放设置为可选状态,以兼容仅支持eARC模式的外部功放,这是由于eARC模式并不依赖于CEC,在关闭CEC时仍可维持eARC模式。这种设计方式兼顾了ARC的自动识别以及eARC独立于CEC协议的技术实现。
在一些实施例中,只有Audio Output菜单中的外部功放通道处于可选状态,并且外部功放已被用户选中,才能进一步在ARC和eARC间进行双向切换。图6示出一种声音(Sound)设置页面,声音设置页面中显示当前输出音频的目标通道为ARC(即外部功放),并显示有eARC的开关控件,通过设置eARC开关控件的开启(on)或关闭(off),即可调节eARC的开关状态。
在一些实施例中,若外部功放同时支持eARC模式和ARC模式,并且当前运行的是ARC模式时,用户进入声音设置页面后,eARC的开关控件为关闭状态,用户可以将eARC的开关控件切换为开启状态,从而将音频输出通道由ARC切换为eARC;反之,若当前运行的是eARC模式,用户进入声音设置页面后,目标通道显示为eARC,eARC的开关控件为开启状态,用户可以将eARC的开关控件切换为关闭状态,从而将音频输出通道由eARC切换为ARC。
在一些实施例中,若外部功放仅支持ARC模式,而不支持eARC模式,用户进入声音设置页面后,目标通道显示为ARC,并且eARC的开关控件为关闭状态,即便用户输入开启eARC开关控件的操作,显示设备检测到外部功放不支持eARC模式,也不会变更eARC的开关控件的开关状态,即无法切换外部功放的工作模式,仍保持当前的ARC模式不变。
在一些实施例中,若外部功放仅支持eARC模式,而不支持ARC模式,用户进入 声音设置页面后,目标通道显示为eARC,并且eARC的开关控件同步为开启状态,若用户将eARC的开关控件切换为关闭状态,则退出外部功放的eARC模式,可以将输出音频的目标通道自动切换至TV Speaker,或者用户返回Audio Output菜单,重新选择用于输出音频的目标通道。
在一些实施例中,用户在图5页面选择由外部功放输出音频后,如果在图6页面中对eARC的开关控件执行开启或关闭操作,就会触发ARC和eARC的切换逻辑。图7提供一种音频输出通道的切换控制方法,所述方法的执行主体为控制器250,所述方法包括如下程序步骤:
步骤S101,响应于对外部功放的音频输出通道的切换操作,获取所述切换操作对应的第一状态值,所述第一状态值用于指示切换操作指定的所述eARC的开关状态。
该步骤S1中所述的切换操作是指对eARC开关控件的开关状态进行切换的操作,包括两种情况,第一种是将eARC由关闭状态切换为开启状态,另一种是将eARC由开启状态切换为关闭状态。
在一些实施例中,如果切换操作是将eARC由关闭状态切换为开启状态,即用户期望开启eARC模式,则记录第一状态值为on;如果切换操作是将eARC由开启状态切换为关闭状态,则记录第一状态值为off。需要说明的是,第一状态值的标记形式不限于本实施例所述。
步骤S102,根据所述第一状态值,调节ARC和eARC的连接状态,并根据调节结果确定输出音频的目标通道,显示与所述目标通道匹配的所述eARC的开关状态。
图5方案是对音频输出通道的切换控制逻辑进行的整体概括,更细化地,参照步骤S101不同情形下的第一状态值,步骤S102的切换逻辑也对应划分为切换逻辑一和切换逻辑二。
其中,图8示例出切换逻辑一,对应于第一状态值为on,包括如下程序步骤:
步骤(A1):获取第一状态值,并检测到第一状态值为on;
步骤(A2):调用SetEarcEnable(bool on)接口,保存eARC的开关状态为on;
步骤(A3):调用驱动(driver)层提供的SetEarcEnable接口,控制驱动层连接eARC,以及断开ARC连接;驱动层主动与外部功放进行eARC握手,从而连接eARC,使eARC处于使能(Enable)状态,同时断开ARC连接,使ARC处于非使能(Disable)状态,该步骤主要是根据第一状态值的指示去调节eARC和ARC的连接状态;
步骤(A4):驱动层根据对eARC的调节结果生成第二状态值,并将第二状态值上报给框架(Framework)层,以使Framework层执行如下述所示的通道切换控制逻辑;在一些实施例中,如果驱动层成功连接并使能eARC,则反馈第二状态值为on;如果驱动层出现eARC连接失败、eARC连接超时,或者连接eARC时检测到外部功放实际并不支持eARC模式等异常情况,则反馈第二状态值为off;
步骤(A5),Framework层:检测第二状态值是否为on;如果第二状态值为on,则执行步骤(A6);如果第二状态值为off,则执行步骤(A8);
步骤(A6),Framework层:确定目标通道为eARC,向UI层反馈第三状态值为on;其中,第三状态值用于指示UI层显示的eARC开关控件的开关状态;
步骤(A7),UI层:接收第三状态值,以及在检测到第三状态值为on时,控制显示器将eARC的开关控件变更为开启状态;在一些实施例中,UI层检测到第三状态值为on时,还可将Audio Output菜单和声音设置页面中当前输出音频的目标通道名称同步变更为eARC,实现由ARC模式向eARC模式的切换;
步骤(A8),Framework层:确定目标通道为ARC,向UI层反馈第三状态值为off,以及,重新建立ARC连接;
步骤(A9),UI层:接收第三状态值,以及在检测到第三状态值为off时,控制 显示器将eARC的开关控件保持为关闭状态。
当驱动层连接eARC失败、超时或检测到外部功放不支持eARC模式时,显示设备无法通过eARC通道播放音频,因此重新启动ARC握手,建立ARC连接并使能,在UI层则体现为eARC的开关控件仍旧保持关闭状态,不会因用户开启eARC的操作而改变,相当于eARC开关控件不响应,从而避免了eARC开关控件显示为开启状态,而实际上eARC未连接成功的情况(即虚假连接),此时使用ARC模式输出音频,即不切换外部功放的通道模式。本申请中涉及的驱动层、Framework层和UI层都受控于控制器250,控制器250通过协调控制各层之间的程序执行,实现音频输出通道的切换流程。
图9示例出切换逻辑二,对应于第一状态值为off,包括如下程序步骤:
步骤(B1):获取第一状态值,并检测到第一状态值为off;
步骤(B2):调用SetEarcEnable(bool on)接口,保存eARC的开关状态为off;
步骤(B3):调用驱动层提供的SetEarcEnable接口,控制驱动层断开eARC连接,即退出外部功放的eARC模式;
步骤(B4):驱动层向Framework层上报第二状态值,以使Framework层执行如下述步骤(B5)所示的通道切换控制逻辑;切换逻辑二中第二状态值为off;
步骤(B5),Framework层:接收第二状态值,并在检测到第二状态值为off时,确定目标通道为ARC,向UI层反馈第三状态值为off,以及,重新建立ARC连接;其中,第三状态值用于指示UI层显示的eARC开关控件的开关状态;
步骤(B6),UI层:接收第三状态值,以及在检测到第三状态值为off时,控制显示器将eARC的开关控件变更为关闭状态;在一些实施例中,UI层检测到第三状态值为off时,还可将Audio Output菜单和声音设置页面中当前输出音频的目标通道名称同步变更为ARC,实现由eARC模式向ARC模式的切换。
上述各实施例是CEC功能处于默认开启状态时的实现方案,在实际应用中,用户可以在设置菜单中操作CEC的开关控件,从而控制CEC功能的开关状态。当CEC的开关控件由on切换到off,即CEC功能由开启状态切换为关闭状态时,外部功放的声音会瞬间中断一下,并且CEC关闭后,eARC模式下用户已经无法通过遥控器调节音量,但是没有针对此异常情形的提示,若用户未使用遥控器调节音量则无法感知此异常情形,当而用户操作遥控器时,却不知导致无法调节音量的原因,导致用户体验差。
对此,在一些实施例中,图10示出了在关闭CEC功能时的切换逻辑三,包括如下程序步骤:
步骤(C1):监控CEC功能的开关状态。
步骤(C2):在检测到CEC功能由开启状态切换为关闭状态时,调用GetEarcStatus接口,查询当前的音频输出通道,并判断当前的音频输出通道是否为eARC。若为eARC,则执行步骤(C3):若为ARC,则执行步骤(C4)。
步骤(C3),使所述音频输出通道保持eARC不变,并控制显示器显示第一提示信息,所述第一提示信息用于提示用户所述CEC功能已关闭,无法通过遥控器调节所述eARC输出音频的音量。
由于eARC模式不依赖于CEC,在外部功放处于eARC模式时关闭CEC功能,则无需切换音频输出通道,仍保持由eARC通道输出音频,但需要提示用户由于CEC功能关闭,会导致无法操作遥控器去调节外部功放的音量,音量调节操作包括静音(Mute)、提高音量(Volume Up)和降低音量(Volume Down)。用户查看到第一提示信息后,即可获知无法通过遥控器调节外部功放音量的原因,从而可以通过切换音频输出通道,或者重新开启CEC功能等方式恢复遥控器调音量的能力。
步骤(C4),向外部功放发送退出指令,将所述音频输出通道切换为显示设备自 身的声音播放器,以及,控制显示器显示用于提示用户所述CEC功能已关闭,已自动切换至所述声音播放器的第二提示信息;其中,所述退出指令用于指示外部功放退出ARC的工作模式。
在一些实施例中,步骤(C4)中,在发送退出指令的同时,需要广播CEC关闭消息,显示设备底层的Audio设备管理模块响应于接收到CEC关闭消息,自动将音频输出通道切换至TV Speaker;步骤(C3)中,由于音频输出通道不切换,而是保持为eARC,因此无需广播CEC关闭消息,Audio设备管理模块接收不到CEC关闭消息,就不切换音频输出通道。
步骤(C5),关闭CEC功能。在步骤(C3)或步骤(C4)执行完成后,即可关闭CEC功能,以及清空CEC相关数据。
由于ARC模式依赖于CEC,在外部功放处于ARC模式时关闭CEC功能,则ARC模式无可用,显示设备会发送退出指令,以通知外部功放退出ARC模式,从而断开ARC连接,同时显示设备自动切换音频输出通道至TV Speaker,即切换至由电视自带的扬声器去播放音频,避免因CEC关闭导致音频无法输出而出现的无声问题,以及,提示用户CEC已关闭,以自动切换到电视扬声器发声。用户查看到第二提示信息后,即可获知切换音频输出通道的原因,可以继续使用TV Speaker播放音频,也可重新开启CEC功能,并切换到外部功放的ARC或eARC去输出音频。
本申请主要侧重于用户在Audio Output菜单中选择外部功放输出音频时,如何在ARC模式和eARC模式间进行转换,并根据切换方向提供了切换逻辑一和切换逻辑二,提高了ARC模式与eARC模式之间切换的准确性,此外无论ARC模式与eARC模式间的切换是否成功,都有匹配出的目标通道去输出音频,避免因模式切换异常导致外部功放和显示设备无声的情况,保证音频播放的有效性,提升用户体验。本申请技术方案可以兼容同时支持ARC和eARC的外部功放,也可兼容仅支持ARC和仅支持eARC的外部功放。
由于外部功放在不同模式下播放音频时,会受到CEC开关状态的影响,因此提供了在CEC功能由开到关时的切换逻辑三。需要说明的是,在本申请提供的切换逻辑的基础上,基于HDMI、CEC、ARC和eARC的工作机制,可以适应性扩展更多可能性的切换逻辑。HDMI、CEC、ARC和eARC的其他内容可以参照相关现有技术,本申请不再赘述。另外,本申请涉及的UI仅仅是示例性的,具体以实际应用和设计为准。
第二方面:
本申请实施方式提供一种显示设备,包括:
显示器,用于显示开机界面;
HDMI,用于连接外部设备;
控制器,被配置为执行:
在接收到开机指令后,获取用于控制所述显示设备开机的驱动源;
在检测到所述驱动源为HDMI时,向外部设备发送目标设备获取请求,所述目标设备获取请求用于请求获取外部设备中当前处于活动状态的目标设备;
在接收到所述目标设备发送的应答信息时,将视频通道切换至应答信息匹配的信号通道;
在显示设备开机完成后,控制显示器根据视频通道输出的数据显示开机界面。
在本申请一些实施例中,在获取驱动源之后,所述控制器还被配置为执行:
在检测到所述驱动源不是HDMI时,设置目标设备为显示设备本机,不切换所述视频通道,使所述视频通道保持为TV通道;
在显示设备开机完成后,控制显示器显示主页界面。
在本申请一些实施例中,在向外部设备发送目标设备获取请求之后,所述控制器还被配置为执行:
在预设时间内未接收到所述目标设备发送的应答信息时,则重新发送所述目标设备获取请求,并将重发次数累积加1;
以及,在检测到所述重发次数超过阈值时,设置目标设备为显示设备本机,不切换所述视频通道,使所述视频通道保持为TV通道;在显示设备开机完成后,控制显示器显示主页界面。
在本申请一些实施例中,所述控制器还被配置为执行:
在接收到开机指令时,控制安卓系统和系统服务启动;
根据从驱动层获取的所述驱动源,设置并保存所述安卓系统的开机属性字段;
加载HDMI控制服务,分配逻辑地址,然后调用路由映射控制接口;
控制所述路由映射控制接口读取所述开机属性字段,以检测所述驱动源的类别。
在本申请一些实施例中,在向外部设备发送目标设备获取请求之后,所述控制器还被配置为执行:
在预设时间内若接收到所述目标设备发送的特性终止信息,设置目标设备为显示设备本机,不切换所述视频通道,使所述视频通道保持为TV通道;
在显示设备开机完成后,控制显示器显示主页界面。
在本申请一些实施例中,所述应答信息包括所述目标设备连接的HDMI的端口参数。
本申请实施方式提供一种显示设备的开机界面控制方法,包括:
在接收到开机指令后,获取用于控制所述显示设备开机的驱动源;
在检测到所述驱动源为HDMI时,向外部设备发送目标设备获取请求,所述目标设备获取请求用于请求获取外部设备中当前处于活动状态的目标设备;其中,所述外部设备与显示设备通过HDMI连接;
在接收到所述目标设备发送的应答信息时,将视频通道切换至应答信息匹配的信号通道;
在显示设备开机完成后,根据视频通道输出的数据显示开机界面。
在本申请一些实施例中,在获取驱动源之后,所述方法还包括:
在检测到所述驱动源不是HDMI时,设置目标设备为显示设备本机,不切换所述视频通道,使所述视频通道保持为TV通道;
在显示设备开机完成后显示主页界面。
在本申请一些实施例中,在向外部设备发送目标设备获取请求之后,所述方法还包括:
在预设时间内未接收到所述目标设备发送的应答信息时,则重新发送所述目标设备获取请求,并将重发次数累积加1;
以及,在检测到所述重发次数超过阈值时,设置目标设备为显示设备本机,不切换所述视频通道,使所述视频通道保持为TV通道;在显示设备开机完成后显示主页界面。
在本申请一些实施例中,所述方法还包括:
在接收到开机指令时,控制安卓系统和系统服务启动;
根据从驱动层获取的所述驱动源,设置并保存所述安卓系统的开机属性字段;
加载HDMI控制服务,分配逻辑地址,然后调用路由映射控制接口;
控制所述路由映射控制接口读取所述开机属性字段,以检测所述驱动源的类别。
在一些应用场景中,显示设备上一般预置有若干个HDMI接口,通过HDMI端口 可连接外部设备,所述外部设备包括DVD设备、机顶盒等视频信号源设备,外部设备的视频信号通过HDMI传输给安卓系统,由系统控制器控制显示器显示视频信号。以外部设备是DVD为例,如果DVD已启用CEC控制功能,当用户启动DVD时,DVD通过HDMI向显示设备发送CEC唤醒信号,以使显示设备在接收到CEC唤醒信号的通知后自动开机,通过外部设备唤醒显示设备自动开机是CEC控制功能中的一项重要环节。
在一些实施例中,图11示出了安卓系统原生架构下开机程序的执行逻辑,显示设备处于待机状态时,若接收到HDMI传输的CEC唤醒信号,或者接收到用户对遥控器电源键的点击操作,或者接收到对本机开关键的按击操作,即接收到了开机指令,则启动安卓系统。安卓(Android)系统启动后,首先启动System Service(系统服务),并加载安卓系统内置的CEC相关服务程序,即HDMI Control Service(HDMI控制服务),然后调用HDMI Control Service的启动接口OnStart,负责分配逻辑地址;逻辑地址分配完成之后,调用LaunchRoutingControl(路由映射控制)接口,安卓系统原生代码中未获取触发开机指令的因素(即开机原因),也未获取CEC总线上当前处于活动状态的Active Source,而是默认由LaunchRoutingControl直接将TV设置为Active Source,后续其他系统模块加载完成后,显示设备查询到当前Active Source为TV,由于TV对应的开机界面为主页(Launcher)界面,则显示设备开机后展示的开机界面为预设的主页界面。
由此可见,由于安卓系统原生架构中未考虑根据显示设备的开机原因和当前实际的Active Source去控制开机界面的展示,而是自动默认Active Source为TV,导致开机界面统一为主页,如果用户通过启动DVD去唤醒电视开机,则更期望电视开机后显示DVD的相关界面,导致安卓电视无法为用户提供更好的CEC服务。
参照HDMI-CEC技术,CEC总线上连接有显示设备(即根设备)和至少一个外部设备,通过CEC总线控制设备间的查询和通信,CEC总线上一般仅有1个外部设备处于Active(活动)状态,则该外部设备即为当前的Active Source,显示设备发送Request Active Source后,Active Source接收到该请求后给予应答,则显示设备即可获取到Active Source。为解决上述安卓系统原生架构中存在的问题缺陷,本申请在显示设备开机阶段增设开机原因和Active Source的信息获取程序,通过两项信息的结合自适应匹配实际Active Source对应的信号通道,通过将视频通道切换到对应的信号通道,改变视频通道的信号输出,进而调节开机界面的展示,使开机界面更符合用户期望,提升用户应用体验。
在一些实施例中,图12示出一种开机界面控制方法,所述方法的执行主体为显示设备的控制器250,所述方法包括如下程序步骤:
步骤S10,在接收到开机指令后,获取用于控制所述显示设备开机的驱动源。
这里所述的驱动源是开机指令的传输来源,比如外部设备通过HDMI向显示设备发送CEC唤醒指令,则驱动源为HDMI;如果用户通过按击遥控器的电源键向显示设备发送开机指令,则驱动源为遥控器;如果用户通过按击显示设备本机自带的开机键来输入开机指令,则驱动源为本机开机键。其中,通过遥控器和显示设备开机键等方式输入的开机指令,其驱动源都属于非HDMI。
步骤S20,检测驱动源是否为HDMI。如果驱动源为HDMI,执行步骤S30~步骤S50;反之,如果驱动源为非HDMI,则执行步骤S60。
步骤S30,向外部设备发送目标设备获取请求。所述目标设备获取请求用于请求获取外部设备中当前处于活动状态的目标设备,这里所述的目标设备获取请求即为Request Active Source,目标设备即为CEC总线上当前处于Active状态的Active Source。
步骤S40,在接收到目标设备发送的应答信息时,将视频通道切换至应答信息匹配的信号通道。
在一些实施例中,应答信息中包括Active Source设备的物理地址,物理地址比如是Active Source所连接的HDMI的端口参数。比如Active Source响应Request Active Source后,反馈的应答信息为<Active Source>BF:0x82:30:00,其中<Active Source>信息是由Request Active Source触发生成,B表示Active Source的逻辑地址,F表示广播,0x82表示操作码Opcode,30:00表示Active Source设备连接的HDMI的端口号,表明该Active Source连接在HDMI3接口上。
在一些实施例中,底层的Source管理模块在显示设备开机阶段会注册InputChangeListener到CEC模块,CEC模块后续接收到应答信息<Active Source>时调用invokeInputChangeListener接口,将应答信息中携带的端口号作为参数传输给Source管理模块,由Source管理模块完成视频通道Source的切换,从而切换至端口参数对应的HDMI所连接设备的信号通道,信号通道切换后,通道数据的数据发生改变,则显示设备开机后显示的开机界面就不再是主页界面,而是Active Source信号源输出的视频信号。
步骤S50,在显示设备开机完成后,控制显示器根据视频通道输出的数据显示开机界面。
由于步骤S40中已完成视频通道的Source切换,调至Active Source的信号通道,因此其输出的数据是来源于当前实际Active Source的视频信号,开机界面不再是主页,并且开机界面能够与外部Active Source准确匹配,提升开机界面展示的准确性。
步骤S60,设置目标设备为显示设备本机,不切换视频通道,使视频通道保持为TV通道,并在显示设备开机完成后控制显示器显示主页界面。
步骤S60中当驱动源为非HDMI时,说明触发显示设备开机的因素不是外部设备发送的CEC唤醒信号,因此无需从外部设备中识别Active Source,而是直接将显示设备本机(即TV)设置为Active Source,并且开机后显示预设的主页界面即可。
在一些实施例中,Active Source接收到Request Active Source后,一般会在预设时间内返回应答信息,预设时间比如是2秒。显示设备发送Request Active Source后,启动定时器对应答信息进行计时监听,定时器设置的时间为所述预设时间,如果显示设备在预设时间内接收到应答信息,则解析应答信息,并根据应答信息中携带的参数切换Source通道。其中,所述预设时间可以根据实际应用具体设定,本申请不作限定。
在一些实施例中,如果显示设备在预设时间内未接收到应答信息,则视为应答超时,可以启动重试机制,即再次重新发送Request Active Source,在重试机制下需要统计并记录重发次数,每重发一次Request Active Source,则重发次数累积加1,并检测重发次数是否超过阈值,阈值比如是2次,如果重发次数小于或等于阈值,则允许继续循环重试,但若重发次数超过阈值的上限时,显示设备仍未接收到应答信息,则视为当前外部设备中无Active Source,需强制终止重试机制的执行,并执行步骤S60,将TV本机设置为Active Source,不切换Source通道,显示设备开机后显示主页界面。通过重试机制,避免在应答超时的情形下错过接收应答信息,并且重试时通过阈值约束,还能避免反复执行无效的重试流程。所述阈值可以根据实际应用进行设定,本申请不作限定。
在一些实施例中,显示设备在预设时间内接收到了消息,但该消息可能不是应答信息,而是feature abort(特性终止)信息,比如当Active Source无法立即处理Request Active Source,或者信息传输过程中高级协议层数据出错等异常情况发生时,Active Source会向显示设备返回feature abort;显示设备在预设时间内若接收到feature abort,则执行步骤S60,将TV本机设置为Active Source,不切换Source通道,显示设备开机后显示主页界面。
前述实施例是从显示设备系统控制器的角度提供的控制逻辑。在一些实施例中, 图13示出了对安卓系统架构改进后开机程序的执行逻辑,在控制器中执行如下所述的更细化的底层控制程序:
显示设备接收到开机指令时,依次启动安卓系统和System Service(系统服务),然后从驱动(driver)层获取驱动源,并根据驱动源设置并保存安卓系统的开机属性字段,开机属性字段比如配置为sys.vt.bootup.reason的格式,其中reason即为驱动源所指示的开机原因,显示设备每次开机都需要保存当次的开机属性字段,通过读取开机属性字段中的reason即可检测驱动源类别,获知开机原因,从而确定是否需要切换到外部Active Source的信号通道。
System Service启动时加载HDMI Control Service,调用OnStart接口,OnStart接口负责分配逻辑地址;逻辑地址分配完成之后,调用LaunchRoutingControl(路由映射控制)接口,LaunchRoutingControl读取开机属性字段中的reason值,从而识别驱动源类别,获取开机原因,并判断驱动源是否为HDMI。
如果驱动源为非HDMI,LaunchRoutingControl将TV设置为当前的Active Source,保持视频通道为默认的TV通道,不再切换至外部设备的信号通道,在显示设备开机完成后显示预设的主页界面。
如果驱动源为HDMI,说明是与显示设备通过HDMI连接的外部设备唤醒了安卓系统自启动,则CEC模块发送Request Active Source,以请求CEC总线上当前处于Active状态的目标设备,处于Active状态的目标设备接收到请求后会应答Active Source,CEC模块则需要检测在预设时间内是否接收到Active Source反馈的信息。
如果CEC模块在预设时间内未接收到Active Source反馈的信息,则触发重试机制,再次重新发送Request Active Source,并更新记录的重发次数,判断重发次数是否超过阈值。如果重发次数未超过阈值,则允许循环重试,直至某次请求后在预设时间内接收到了应答信息,则终止执行重试机制,CEC模块解析应答信息,并将应答信息中携带的HDMI端口参数传输给Source管理模块,Source管理模块将Source切换至端口参数对应的HDMI所连接设备的信号通道上,则显示设备开机后显示的开机界面就不再是主页界面,而是Active Source信号源输出的视频信号。
如果重发次数超过阈值,而CEC模块仍未接收到应答信息,则终止执行重试机制,由LaunchRoutingControl将TV设置为当前的Active Source,保持视频通道为默认的TV通道,不再切换至外部设备的信号通道,则显示设备开机完成后显示预设的主页界面。
如果CEC模块在预设时间内接收到Active Source反馈的信息,则检测该信息是否为应答信息,如果预设时间内接收到的是应答信息,CEC模块解析应答信息,并将应答信息中携带的HDMI端口参数传输给Source管理模块,Source管理模块将Source切换至端口参数对应的HDMI所连接设备的信号通道上,则显示设备开机后显示的开机界面就不再是主页界面,而是Active Source信号源输出的视频信号。
如果CEC模块在预设时间内接收到的不是应答信息,而是feature abort,则由LaunchRoutingControl将TV设置为当前的Active Source,保持视频通道为默认的TV通道,不再切换至外部设备的信号通道,则显示设备开机完成后显示预设的主页界面。
本申请在安卓系统原生架构的基础上,在启动System Service后增设了从驱动层查询开机原因,设置并保存安卓系统的开机属性字段,以及在调用路由映射控制接口后,读取开机属性字段中的reason值,并根据reason值和发送Request Active Source后接收的应答情况,执行相适应的控制逻辑,使得显示设备开机完成后展示满足用户期望的开机界面,并且不会增加安卓系统的开机时间,提升用户体验。需要说明的是,本申请中涉及的HDMI和CEC的常规知识可参照现有技术,本申请不再赘述。
本领域技术人员可清楚地了解到本申请实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。具体实现中,本申请还提供一种计算机非易失性存储介质,该计算机存储介质可存储有程序。当计算机存储介质位于显示设备200中时,该程序执行时可包括前述控制器250被配置执行的音频输出通道的切换控制方法和各项切换逻辑。其中,计算机存储介质可为磁碟、光盘、只读存储记忆体(英文:Read-Only Memory,简称ROM)或随机存储记忆体(英文:Random Access Memory,简称RAM)等。
本说明书中显示设备实施例和方法实施例之间相同相似的部分互相参照即可,相关内容不再赘述。
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。
为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述示例性的讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理以及实际的应用,从而使得本领域技术人员更好的使用所述实施方式以及适于具体使用考虑的各种不同的变形的实施方式。

Claims (10)

  1. 一种显示设备,包括:
    显示器,用于显示用户界面;
    HDMI,用于连接外部功放,所述外部功放的音频输出通道包括ARC和/或eARC;
    声音播放器,用于播放音频;
    控制器,被配置为执行:
    响应于对所述外部功放的音频输出通道的切换操作,获取所述切换操作对应的第一状态值,所述第一状态值用于指示所述切换操作指定的所述eARC的开关状态;
    根据所述第一状态值,调节所述ARC和所述eARC的连接状态,并根据调节结果确定输出音频的目标通道,显示与所述目标通道匹配的所述eARC的开关状态。
  2. 根据权利要求1所述的显示设备,所述控制器被配置按照如下方式获取所述第一状态值:
    若所述切换操作是将所述eARC由关闭状态切换为开启状态,则记录所述第一状态值为on;
    若所述切换操作是将所述eARC由开启状态切换为关闭状态,则记录所述第一状态值为off。
  3. 根据权利要求2所述的显示设备,所述控制器被配置按照如下方式显示与所述目标通道匹配的所述eARC的开关状态:
    当检测到所述第一状态值为on时,控制驱动层连接所述eARC,以及断开与所述ARC的连接;
    根据所述驱动层的调节结果生成第二状态值,并将所述第二状态值上报给框架层,以使所述框架层执行通道切换控制逻辑;所述第二状态值用于指示所述eARC的连接状态;
    其中,所述通道切换控制逻辑被配置为:若检测到所述第二状态值为on,确定所述目标通道为所述eARC,控制显示器将所述eARC的开关控件变更为开启状态。
  4. 根据权利要求3所述的显示设备,所述通道切换控制逻辑还被配置为:
    若检测到所述第二状态值为off,确定所述目标通道为所述ARC,则重新与所述ARC建立连接,以及,控制显示器将所述eARC的开关控件设置为关闭状态;
    其中,若所述eARC连接失败、所述eARC连接超时,或者连接所述eARC时检测到所述外部功放不支持所述eARC,则导致所述第二状态值为off。
  5. 根据权利要求2所述的显示设备,所述控制器被配置按照如下方式显示与所述目标通道匹配的所述eARC的开关状态:
    当检测到所述第一状态值为off时,控制驱动层断开与所述eARC的连接,生成并向框架层上报第二状态值,以使所述框架层执行通道切换控制逻辑;所述第二状态值为off;
    其中,所述通道切换控制逻辑被配置为:在检测到所述第二状态值为off时,确定所述目标通道为所述ARC,则重新与所述ARC建立连接,以及,控制显示器将所述eARC的开关控件变更为关闭状态。
  6. 根据权利要求1所述的显示设备,所述控制器还被配置为执行:
    监控CEC功能的开关状态;
    在检测到所述CEC功能由开启状态切换为关闭状态时,查询当前的音频输出通道;
    若当前的音频输出通道为所述eARC,则使所述音频输出通道保持所述eARC不变,并控制显示器显示第一提示信息,所述第一提示信息用于提示用户所述CEC功能已关闭,无法通过遥控器调节所述eARC输出音频的音量。
  7. 根据权利要求6所述的显示设备,所述控制器还被配置为执行:
    在检测到所述CEC功能由开启状态切换为关闭状态时,若当前的音频输出通道为所述ARC,则向所述外部功放发送退出指令,将所述音频输出通道切换为显示设备自身的所述声音播放器,以及,控制显示器显示用于提示用户所述CEC功能已关闭,已自动切换至所述声音播放器的第二提示信息;其中,所述退出指令用于指示所述外部功放退出ARC的工作模式。
  8. 根据权利要求2所述的显示设备,所述控制器还被配置为执行:
    在CEC功能处于开启状态时,判断A∩B是否成立;其中,条件A为通过所述CEC功能检测到所述外部功放处于连接状态,条件B为所述外部功放连接于目标端口,所述目标端口为显示设备的ARC端口和/或eARC端口;
    若A∩B成立,则控制音频输出设置页面中的所述外部功放为可选状态;当所述外部功放处于可选状态时,允许用户进一步调节所述eARC的开关状态;
    反之,若
    Figure PCTCN2021134350-appb-100001
    成立,则控制所述音频输出设置页面中的所述外部功放为不可选状态。
  9. 根据权利要求2所述的显示设备,所述控制器还被配置为执行:
    在CEC功能处于关闭状态时,控制音频输出设置页面中的所述外部功放为可选状态;当所述外部功放处于可选状态时,允许用户进一步调节所述eARC的开关状态。
  10. 一种显示设备中音频输出通道的切换控制方法,包括:
    响应于对外部功放的音频输出通道的切换操作,获取所述切换操作对应的第一状态值;其中,所述外部功放通过HDMI与显示设备连接,所述外部功放的音频输出通道包括ARC和/或eARC;所述第一状态值用于指示所述切换操作指定的所述eARC的开关状态;
    根据所述第一状态值,调节所述ARC和eARC的连接状态,并根据调节结果确定输出音频的目标通道,显示与所述目标通道匹配的所述eARC的开关状态。
PCT/CN2021/134350 2021-03-19 2021-11-30 一种音频输出通道的切换控制方法及显示设备 WO2022193732A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/326,168 US20230319227A1 (en) 2021-03-19 2023-05-31 Switching method for audio output channel, and display apparatus

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110296392.0 2021-03-19
CN202110296392.0A CN113064645B (zh) 2021-03-19 2021-03-19 一种开机界面控制方法及显示设备
CN202110429853.7 2021-04-21
CN202110429853.7A CN113055788B (zh) 2021-04-21 2021-04-21 一种音频输出通道的切换控制方法及显示设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/326,168 Continuation US20230319227A1 (en) 2021-03-19 2023-05-31 Switching method for audio output channel, and display apparatus

Publications (1)

Publication Number Publication Date
WO2022193732A1 true WO2022193732A1 (zh) 2022-09-22

Family

ID=83321700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/134350 WO2022193732A1 (zh) 2021-03-19 2021-11-30 一种音频输出通道的切换控制方法及显示设备

Country Status (1)

Country Link
WO (1) WO2022193732A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782390A (zh) * 2020-06-28 2020-10-16 平安普惠企业管理有限公司 定时任务的调度方法及相关设备
US20200344445A1 (en) * 2019-04-23 2020-10-29 Kabushiki Kaisha Toshiba Electronic apparatus and control method
CN112019782A (zh) * 2020-08-24 2020-12-01 青岛海信传媒网络技术有限公司 增强型音频回传通道的控制方法及显示设备
CN113055788A (zh) * 2021-04-21 2021-06-29 海信视像科技股份有限公司 一种音频输出通道的切换控制方法及显示设备
CN113064645A (zh) * 2021-03-19 2021-07-02 海信视像科技股份有限公司 一种开机界面控制方法及显示设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200344445A1 (en) * 2019-04-23 2020-10-29 Kabushiki Kaisha Toshiba Electronic apparatus and control method
CN111782390A (zh) * 2020-06-28 2020-10-16 平安普惠企业管理有限公司 定时任务的调度方法及相关设备
CN112019782A (zh) * 2020-08-24 2020-12-01 青岛海信传媒网络技术有限公司 增强型音频回传通道的控制方法及显示设备
CN113064645A (zh) * 2021-03-19 2021-07-02 海信视像科技股份有限公司 一种开机界面控制方法及显示设备
CN113055788A (zh) * 2021-04-21 2021-06-29 海信视像科技股份有限公司 一种音频输出通道的切换控制方法及显示设备

Similar Documents

Publication Publication Date Title
CN111954044B (zh) 通道切换方法和显示设备
CN114302219B (zh) 一种显示设备及可变帧率显示方法
WO2022073392A1 (zh) 图像显示方法及显示设备
CN112272417B (zh) 一种双蓝牙音响回连方法及显示设备
CN111935518B (zh) 一种视频投屏方法及显示设备
CN112612443B (zh) 一种音频播放方法、显示设备及服务器
CN112019782B (zh) 增强型音频回传通道的控制方法及显示设备
CN113055788B (zh) 一种音频输出通道的切换控制方法及显示设备
CN112135280A (zh) 一种蓝牙设备播放控制方法及显示设备
CN113064645B (zh) 一种开机界面控制方法及显示设备
CN112118400A (zh) 显示设备上图像的显示方法及显示设备
WO2022078065A1 (zh) 显示设备资源播放方法及显示设备
CN112911380B (zh) 一种显示设备及与蓝牙设备的连接方法
CN112040535B (zh) 一种Wifi处理方法及显示设备
CN111818654B (zh) 一种信道接入方法及显示设备
CN112637957A (zh) 显示设备及显示设备与无线音箱的通信方法
WO2022193732A1 (zh) 一种音频输出通道的切换控制方法及显示设备
CN113971049A (zh) 一种后台服务管理方法及显示设备
WO2022222724A1 (zh) 一种音频输出通道的切换控制方法及显示设备
US20230319227A1 (en) Switching method for audio output channel, and display apparatus
CN111913755B (zh) 一种应用程序的扫描方法和显示设备
WO2022213807A1 (zh) 一种显示方法及显示设备
CN114040341B (zh) 一种蓝牙广播包上报处理方法及显示设备
CN113596543B (zh) 防止蓝牙设备干扰的方法及显示设备
CN111935519B (zh) 通道切换方法和显示设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21931306

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21931306

Country of ref document: EP

Kind code of ref document: A1