Sound mode control method, sound source equipment, electronic equipment and storage medium
Through the HDMI data cable and sound mode transmission protocol, data communication between the audio equipment and the display equipment is realized, solving the problem that the audio equipment cannot control the sound mode through the TV remote control, simplifying user operations and saving equipment costs.
Patent Information
- Application Number
- CN202510620652.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2025-07-22
AI Technical Summary
When the existing audio equipment is connected to the TV, it is impossible to control the sound mode of the audio through the TV remote control, causing the user to need an additional audio remote control to set up, which increases operational complexity and equipment cost.
The data communication relationship between the sound source device and the display device is established through the HDMI data line, and the sound mode transmission protocol is adopted to realize data transmission and control between the sound source device and the display device, allowing the sound mode of the sound through the controller of the display device to be adjusted.
The number of controllers required by users is reduced, the operation process is simplified, the equipment cost is saved, and the sound mode of the speaker can be adjusted through the controller of the display device.
Smart Images

Figure CN120358386A_ABST
Abstract
Description
Background Art
[0002] In the current usage scenario of audio systems, they are usually connected to a TV, and the audio system plays the sound of the video projected on the TV. The existing TV remote control can only control the volume value of the audio system, but cannot control other sound attributes of the audio system (such as sound mode, vocal enhancement, bass control, treble control, etc.). This will cause the user to also need to use a separate audio remote control to set the sound attributes of the audio system, bringing inconvenience to the user. Summary of the Invention
[0003] For the above technical problems, the technical solution adopted by the present invention is as follows:
[0004] According to one aspect of the present application, a sound mode control method is provided, which is applied to a sound source device. The sound source device is configured with a sound mode transmission protocol, and the sound source device can establish a data communication relationship with a display device through an HDMI data cable;
[0005] Among them, the sound mode control method includes:
[0006] Determine handshake status information according to the handshake request information sent by the display device connected to the sound source device through the HDMI data cable and the data transmission status of the sound mode transmission protocol; the handshake status information is used to characterize whether the sound source device can perform data transmission with the display device through the sound mode transmission protocol;
[0007] Send the handshake status information to the display device;
[0008] In response to the received sound mode request instruction sent by the display device, send the sound mode data information configured by the sound source device to the display device through the sound mode transmission protocol;
[0009] In response to the received sound mode setting instruction sent by the display device, set the current sound mode of the sound source device to the sound mode corresponding to the sound mode setting instruction;
[0010] Determine sound mode setting status information according to the sound mode setting status of the sound source device, and send it to the display device; the sound mode setting status information is used to characterize whether the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction.
[0011] In an exemplary embodiment of the present application, the standard frame of the sound mode transmission protocol includes 16 fields;
[0012] Among them, the first field of the standard frame of the sound mode transmission protocol represents the logical address of the sound source device and the logical address of the display device connected to the sound source device through the HDMI data cable;
[0013] The second field of the standard frame of the sound mode transmission protocol is characterized as the operation code of the communication standard protocol of the sound source device;
[0014] The third field to the fifth field of the standard frame of the sound mode transmission protocol are characterized as the vendor identification of the sound source device;
[0015] The sixth field of the standard frame of the sound mode transmission protocol is characterized as the private operation code of the sound mode transmission protocol;
[0016] The seventh field to the sixteenth field of the standard frame of the sound mode transmission protocol are characterized as the parameter information corresponding to the private instruction of the sound mode transmission protocol.
[0017] In an exemplary embodiment of the present application, the handshake status information is determined according to the handshake request information sent by the display device connected to the sound source device through the HDMI data cable and the data transmission status of the sound mode transmission protocol, including:
[0018] In response to receiving the handshake request information sent by the display device connected to the sound source device through the HDMI data cable, obtain the data transmission status of the sound mode transmission protocol at the current moment;
[0019] When the data transmission status of the sound mode transmission protocol at the current moment is in a normal state, determine the first status information as the handshake status information;
[0020] When the data transmission status of the sound mode transmission protocol at the current moment is in an abnormal state, determine the second status information as the handshake status information.
[0021] In an exemplary embodiment of the present application, the sound mode setting status information is determined according to the sound mode setting status of the sound source device, including:
[0022] When the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction, determine the third status information as the sound mode setting status information;
[0023] When the current sound mode of the sound source device is not set to the sound mode corresponding to the sound mode setting instruction, determine the fourth status information as the sound mode setting status information.
[0024] In an exemplary embodiment of the present application, the display device is used to perform the following steps:
[0025] When connected to the sound source device through the HDMI data cable, obtain the device information of the sound source device;
[0026] When the device information of the sound source device indicates that the device type of the sound source device is a preset device type, send a handshake request information to the sound source device.
[0027] In an exemplary embodiment of the present application, the display device is further configured to perform the following steps:
[0028] In response to receiving the handshake status information sent by the sound source device, when the handshake status information is the first status information, send a sound mode request instruction to the sound source device.
[0029] In an exemplary embodiment of the present application, the display device is further configured to perform the following steps:
[0030] In response to receiving the sound mode data information sent by the sound source device through the sound mode transmission protocol, obtain the sound mode setting instruction input by the user;
[0031] Send the sound mode setting instruction to the sound source device through the sound mode transmission protocol.
[0032] According to one aspect of the present application, there is provided a sound source device configured with a sound mode transmission protocol, the sound source device including:
[0033] A handshake status information determination module, configured to determine the handshake status information according to the handshake request information sent by the display device connected to the sound source device through the HDMI data cable and the data transmission status of the sound mode transmission protocol; the handshake status information is used to characterize whether the sound source device can perform data transmission with the display device through the sound mode transmission protocol;
[0034] A handshake status information sending module, configured to send the handshake status information to the display device;
[0035] A sound mode information sending module, configured to, when receiving the sound mode request instruction sent by the display device, send the sound mode data information configured by the sound source device to the display device through the sound mode transmission protocol;
[0036] A sound source sound mode setting module, configured to, when receiving the sound mode setting instruction sent by the display device, set the current sound mode of the sound source device to the sound mode corresponding to the sound mode setting instruction;
[0037] A setting status information determination module, configured to determine the sound mode setting status information according to the sound mode setting status of the sound source device, and send it to the display device; the sound mode setting status information is used to characterize whether the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction.
[0038] According to one aspect of the present application, there is provided a non-transitory computer-readable storage medium storing at least one instruction or at least one segment of program, and the at least one instruction or at least one segment of program is loaded and executed by a processor to implement the foregoing sound mode control method.
[0039] According to one aspect of the present application, there is provided an electronic device, including a processor and the aforementioned non-transitory computer-readable storage medium.
[0040] The present invention has at least the following beneficial effects:
[0041] In the sound mode control method of the present invention, first, according to the handshake request information sent by the display device connected to the sound source device through the HDMI data cable and the data transmission status of the sound mode transmission protocol, the handshake status information indicating whether the sound source device can perform data transmission with the display device through the sound mode transmission protocol is determined, and the handshake status information is sent to the display device. After receiving the sound mode request instruction sent by the display device, the sound mode data information configured by the sound source device is sent to the display device through the sound mode transmission protocol, and after receiving the sound mode setting instruction sent by the display device, the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction. By configuring the sound mode transmission protocol in the sound source device, the user can adjust attributes such as the sound mode of the sound source device through the controller of the display device, without the need to prepare the controller of the sound source device again, reducing the number of controllers used by the user, saving device costs, and facilitating the user's operation at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0043] Figure 1 Schematic diagram of the format of the standard frame of the sound mode transmission protocol provided by the embodiment of the present invention;
[0044] Figure 2 Schematic diagram of the description of each field of the standard frame of the sound mode transmission protocol provided by the embodiment of the present invention;
[0045] Figure 3 Schematic diagram of the description of the private operation code of the standard frame of the sound mode transmission protocol provided by the embodiment of the present invention;
[0046] Figure 4 Schematic diagram of the description of the parameter information corresponding to the private instruction of the standard frame of the sound mode transmission protocol provided by the embodiment of the present invention;
[0047] Figure 5 Flowchart of the sound mode control method provided by the embodiment of the present invention;
[0048] Figure 6 The schematic diagram of data transmission between the sound source device and the display device provided by the embodiment of the present invention;
[0049] Figure 7 The schematic diagram of handshake connection between the sound source device and the display device provided by the embodiment of the present invention;
[0050] Figure 8 The flowchart of sound mode setting between the sound source device and the display device provided by the embodiment of the present invention;
[0051] Figure 9 The block diagram of the composition of the sound source device provided by the embodiment of the present invention. Detailed implementation manners
[0052] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
[0053] The present invention provides a sound mode control method. The sound mode control method is applied to a sound source device. The sound source device can be an audio system device (such as an audio, a soundbar, an amplifier device, etc.) or a CEC device (Consumer Electronics Control). The sound source device is configured with a sound mode transmission protocol (for transmitting data information of the sound mode parameters of the sound source device), and the sound source device can establish a data communication relationship with a display device (a device that can display the sound mode parameters of the sound source device, such as a TV) through an HDMI data cable (High-Definition Multimedia Interface, a digital interface for transmitting high-definition video and audio).
[0054] Among them, as Figure 1 shown, the standard frame of the sound mode transmission protocol (also known as the SMT protocol, i.e., the SoundMode Transmission protocol) configured in the sound source device includes 16 fields.
[0055] As Figure 2As shown in the figure, the first field of the standard frame of the sound mode transmission protocol is the header block of the sound mode transmission protocol, which represents the logical address of the sound source device and the logical address of the display device connected to the sound source device through the HDMI data cable, so as to indicate from which device the data information transmitted through the sound mode transmission protocol is sent to which device. Each type of sound source device corresponds to a logical address (currently there are 16 logical addresses, from 0x0 to 0xF. For example, 0x0 is for TV and 0xF is for radio); the second field of the standard frame of the sound mode transmission protocol represents the operation code of the communication standard protocol of the sound source device; the third field to the fifth field of the standard frame of the sound mode transmission protocol represent the manufacturer identifier of the sound source device. The sound source device with this manufacturer identifier is indicated to support the sound mode transmission protocol; as Figure 3 As shown in the figure, the sixth field of the standard frame of the sound mode transmission protocol represents the private operation code of the sound mode transmission protocol; the seventh field to the sixteenth field of the standard frame of the sound mode transmission protocol represent the parameter information corresponding to the private instruction of the sound mode transmission protocol.
[0056] Furthermore, as Figure 4 As shown in the figure, it is a schematic diagram of the description of the parameter information corresponding to the private instruction of the standard frame of the sound mode transmission protocol. If the parameter information is Devices SN (device serial number), it represents the serial number of the sound source device; if the parameter information is SMT Version (sound mode transmission protocol version number), it represents the version number of the sound mode transmission protocol; if the parameter information is EQ Mode (audio mode parameter information), it represents the sound mode parameter corresponding to the user interface of the display device; if the parameter information is Status (status information), it represents the status information indicating whether the sound mode of the sound source device is successfully adjusted and set.
[0057] As Figure 5 As shown in the figure, the sound mode control method proposed by the present invention includes steps S100 - step S500:
[0058] Step S100, determine the handshake status information according to the handshake request information sent by the display device connected to the sound source device through the HDMI data cable and the data transmission status of the sound mode transmission protocol;
[0059] Among them, the handshake status information is used to represent whether the sound source device can perform data transmission with the display device through the sound mode transmission protocol;
[0060] Furthermore, in step S100, determining the handshake status information according to the handshake request information sent by the display device connected to the sound source device through the HDMI data cable and the data transmission status of the sound mode transmission protocol includes steps S110 - step S130:
[0061] Step S110: In response to receiving the handshake request information sent by a display device connected to a sound source device via an HDMI data cable, obtain the data transmission status of the sound mode transmission protocol at the current moment;
[0062] The handshake request corresponding to the handshake request information is a request sent by the display device to establish a data transmission relationship with the sound source device.
[0063] The data transmission status is the status of whether the sound mode parameter data can be normally transmitted through the sound mode transmission protocol.
[0064] Step S120: When the data transmission status of the sound mode transmission protocol at the current moment is normal, determine the first status information as the handshake status information;
[0065] Step S130: When the data transmission status of the sound mode transmission protocol at the current moment is abnormal, determine the second status information as the handshake status information.
[0066] The first status information indicates that the sound mode parameter data can be normally transmitted through the sound mode transmission protocol, and the second status information indicates that the sound mode parameter data cannot be normally transmitted through the sound mode transmission protocol.
[0067] Step S200: Send the handshake status information to the display device;
[0068] Step S300: In response to receiving the sound mode request instruction sent by the display device, send the sound mode data information configured by the sound source device to the display device through the sound mode transmission protocol;
[0069] The sound mode data information configured by the sound source device is the parameter information of the sound modes supported by the sound source device (such as voice enhancement, bass control, treble control, etc.).
[0070] Step S400: In response to receiving the sound mode setting instruction sent by the display device, set the current sound mode of the sound source device to the sound mode corresponding to the sound mode setting instruction;
[0071] Step S500: Determine the sound mode setting status information according to the sound mode setting status of the sound source device, and send it to the display device;
[0072] Among them, the sound mode setting status information is used to indicate whether the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction.
[0073] Further, in step S500, determining the sound mode setting status information according to the sound mode setting status of the sound source device includes steps S510 - S520:
[0074] Step S510: When the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction, determine the third status information as the sound mode setting status information.
[0075] The third status information indicates that after receiving the sound mode setting instruction sent by the display device, the sound source device successfully sets the sound mode to the sound mode corresponding to the sound mode setting instruction.
[0076] Step S520: When the current sound mode of the sound source device is not set to the sound mode corresponding to the sound mode setting instruction, determine the fourth status information as the sound mode setting status information.
[0077] The fourth status information indicates that after receiving the sound mode setting instruction sent by the display device, the sound source device fails to set the sound mode to the sound mode corresponding to the sound mode setting instruction.
[0078] In addition, a display device connected to the sound source device through an HDMI data cable, when forming a connection relationship with the sound source device, is used to execute steps S001 - S002:
[0079] Step S001: When connected to the sound source device through an HDMI data cable, obtain the device information of the sound source device.
[0080] Each sound source device corresponds to a device information, and the device information is used to represent the device type of the corresponding sound source device.
[0081] Step S002: When the device information of the sound source device indicates that the device type of the sound source device is a preset device type, send a handshake request information to the sound source device.
[0082] If the device type corresponding to the device information of the sound source device is a preset device type (such as the audio system device type), it means that the sound source device connected to the display device is a device that can adjust the sound mode.
[0083] Furthermore, when the display device receives the handshake status information sent by the sound source device, it is used to execute step S003:
[0084] Step S003: In response to receiving the handshake status information sent by the sound source device, when the handshake status information is the first status information, send a sound mode request instruction to the sound source device.
[0085] When the handshake status information is the first status information, it indicates that the audio mode parameter data can be normally transmitted between the display device and the sound source device through the audio mode transmission protocol. At this time, the display device sends an audio mode request instruction to the sound source device to obtain the parameter data information of the audio modes supported by the sound source device.
[0086] When the handshake status information is the second status information, it indicates that the audio mode parameter data cannot be normally transmitted between the display device and the sound source device through the audio mode transmission protocol. At this time, this connection is terminated.
[0087] Furthermore, when the display device receives the audio mode data information sent by the sound source device through the audio mode transmission protocol, it is used to execute steps S004 - S005:
[0088] Step S004: In response to receiving the audio mode data information sent by the sound source device through the audio mode transmission protocol, obtain the audio mode setting instruction input by the user;
[0089] The audio mode setting instruction is an instruction for controlling the adjustment of the audio mode of the sound source device, and the user can send the audio mode setting instruction through the controller of the display device (such as a remote control).
[0090] Step S005: Send the audio mode setting instruction to the sound source device through the audio mode transmission protocol.
[0091] Furthermore, when the display device receives the audio mode setting status information, if the audio mode setting status information is the third status information, then display the parameters of the audio mode after successful setting. If the audio mode setting status information is the fourth status information, then do not display or display the setting failure information.
[0092] Specifically, as Figure 6 、 Figure 7 and Figure 8 shown, when a sound source device that supports the audio mode transmission protocol (i.e., the soundbar in Figure 6 , the Audio system in Figure 7 , the Amplifier in Figure 8 ) and a display device (i.e., the TV in Figure 6 and Figure 7 , and the TV CEC in Figure 8 ) are connected by an HDMI data cable, the hot plug (i.e., the Hotplug in Figure 7 ) pin of the display device will detect a 5V voltage. Then the display device will determine that there is an HDMI device connected at this time, and the display device obtains the device information of the connected sound source device through the HDMI CEC basic protocol (i.e., Figure 7in the device info), if the device type of the device info of the sound source device is a preset device type (such as Figure 7 in the audio system), the display device sends a handshake request message to the sound source device (that is, Figure 7 HandShakeRequest in it) to determine whether the sound source device supports the sound mode transmission protocol. The sound source device determines the handshake status information according to the handshake request message and the data transmission status of the sound mode transmission protocol and sends it to the display device. When the display device receives that the handshake status information is the first status information (that is, Figure 7 HandshakeResponse in it), it sends a sound mode request instruction to the sound source device (that is, Figure 7 SMTDescriptor Request in it) to request to receive the parameter information of the sound mode supported by the sound source device. If the handshake status information received by the display device is the second status information (that is, Figure 6 Feature Abord in it), no processing is performed. When the sound source device receives the sound mode request instruction, it sends the data information of the sound mode supported by the sound source device (that is, Figure 7 SMTDescriptor Report in it) to the display device through the sound mode transmission protocol. After the display device receives the data information of the sound mode supported by the sound source device, the setting interface of the display device (that is, Figure 8 settingUI in it) waits for the sound mode setting instruction input by the user (that is, Figure 8 User in it) (that is, Figure 8 set soundmode on TV side in it). After the setting interface receives the sound mode setting instruction input by the user (to control the sound source device to adjust the sound mode, and the sound modes are such as movie, game, music, etc.), it sends a Set EQ Mode instruction to the display device. After the display device receives it, it sends this instruction to the sound source device through the sound mode transmission protocol. After the sound source device receives the Set EQ Mode instruction, it adjusts the current sound mode according to the corresponding sound mode parameters in the sound mode setting instruction. After the sound source device finishes adjusting the sound mode, it sends the sound mode setting status information (that is, Figure 8 Report EQ Mode Status in it) to the display device according to the adjustment result, and when the sound mode setting status information is the third status information, it sends the parameters of the sound mode after successful setting to the display device for display. In addition, when the user directly sends a sound mode setting instruction to the sound source device (that is, Figure 8When setting the sound mode on the amplifier side), after the sound source device completes setting the sound mode, it will also send a sound mode setting status message to the display device (i.e., Figure 8 the SMT Report CurrentEQ Mode in
[0093] In addition, the present application also proposes a sound source device 100. The sound source device 100 is configured with the above-mentioned sound mode transmission protocol. The sound source device can establish a data communication relationship with the display device through an HDMI data cable, such as Figure 9 shown. The sound source device 100 includes:
[0094] A handshake status information determination module 110, configured to determine handshake status information according to the handshake request information sent by the display device connected to the sound source device through the HDMI data cable and the data transmission status of the sound mode transmission protocol; the handshake status information is used to characterize whether the sound source device can perform data transmission with the display device through the sound mode transmission protocol;
[0095] A handshake status information sending module 120, configured to send the handshake status information to the display device;
[0096] A sound mode information sending module 130, configured to, when receiving a sound mode request instruction sent by the display device, send the sound mode data information configured by the sound source device to the display device through the sound mode transmission protocol;
[0097] A sound source sound mode setting module 140, configured to, when receiving a sound mode setting instruction sent by the display device, set the current sound mode of the sound source device to the sound mode corresponding to the sound mode setting instruction;
[0098] A setting status information determination module 150, configured to determine sound mode setting status information according to the sound mode setting status of the sound source device, and send it to the display device; the sound mode setting status information is used to characterize whether the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction.
[0099] Among them, the standard frame of the sound mode transmission protocol includes 16 fields; the first field of the standard frame of the sound mode transmission protocol represents the logical address of the sound source device and the logical address of the display device connected to the sound source device through the HDMI data cable; the second field of the standard frame of the sound mode transmission protocol represents the operation code of the communication standard protocol of the sound source device; the third to fifth fields of the standard frame of the sound mode transmission protocol represent the vendor identification of the sound source device; the sixth field of the standard frame of the sound mode transmission protocol represents the private operation code of the sound mode transmission protocol; the seventh to sixteenth fields of the standard frame of the sound mode transmission protocol represent the parameter information corresponding to the private instruction of the sound mode transmission protocol.
[0100] Among them, the method for the handshake status information determination module 110 to determine the handshake status information according to the handshake request information sent by the display device connected to the sound source device through the HDMI data cable and the data transmission status of the sound mode transmission protocol includes: in response to receiving the handshake request information sent by the display device connected to the sound source device through the HDMI data cable, obtaining the data transmission status of the sound mode transmission protocol at the current moment; in the case where the data transmission status of the sound mode transmission protocol at the current moment is the normal state, determining the first status information as the handshake status information; in the case where the data transmission status of the sound mode transmission protocol at the current moment is the abnormal state, determining the second status information as the handshake status information.
[0101] Among them, the method for the setting status information determination module 150 to determine the sound mode setting status information according to the sound mode setting status of the sound source device includes: in the case where the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction, determining the third status information as the sound mode setting status information; in the case where the current sound mode of the sound source device is not set to the sound mode corresponding to the sound mode setting instruction, determining the fourth status information as the sound mode setting status information.
[0102] Among them, the display device is used to perform the following steps: when connected to the sound source device through the HDMI data cable, obtaining the device information of the sound source device; in the case where the device information of the sound source device indicates that the device type of the sound source device is the preset device type, sending a handshake request information to the sound source device.
[0103] Furthermore, the display device is also used to perform the following steps: in response to receiving the handshake status information sent by the sound source device, in the case where the handshake status information is the first status information, sending a sound mode request instruction to the sound source device.
[0104] Further, the display device is further configured to perform the following steps: in response to receiving the sound mode data information sent by the sound source device through the sound mode transmission protocol, obtain the sound mode setting instruction input by the user; and send the sound mode setting instruction to the sound source device through the sound mode transmission protocol.
[0105] On the other hand, as a further feasible embodiment, the sound mode control method of the present application can be applied to the intelligent cockpit system of a vehicle. Specifically, the sound source device applied in the sound mode control method can be a speaker or an amplifier in the intelligent cockpit system, and the display device applied in the sound mode control method can be a display screen in the intelligent cockpit system (the central control screen of the vehicle or other entertainment display screens). Through the sound mode control method of the present application, the sound source device and the display device in the intelligent cockpit system are connected through an HDMI data cable, and a sound mode transmission protocol is established. When the user needs to adjust attributes such as the sound mode of the sound source device in the intelligent cockpit system, the sound mode of the sound source device can be directly adjusted through the controller of the display device (or the software program of the mobile phone terminal), without the need to adjust through the controller of the sound source device, which facilitates the user to set the parameters of the sound source device when entertaining in the vehicle.
[0106] For the sound mode control method of the present invention, first, according to the handshake request information sent by the display device connected to the sound source device through the HDMI data cable and the data transmission status of the sound mode transmission protocol, determine the handshake status information indicating whether the sound source device can perform data transmission with the display device through the sound mode transmission protocol, and send the handshake status information to the display device. After receiving the sound mode request instruction sent by the display device, send the sound mode data information configured by the sound source device to the display device through the sound mode transmission protocol, and after receiving the sound mode setting instruction sent by the display device, set the current sound mode of the sound source device to the sound mode corresponding to the sound mode setting instruction. By configuring the sound mode transmission protocol in the sound source device, the user can adjust attributes such as the sound mode of the sound source device through the controller of the display device, without the need to prepare the controller of the sound source device, reducing the number of controllers used by the user. While saving equipment costs, it also facilitates the user's operation. The user does not need to purchase a corresponding model controller again for the sound source device whose controller is lost. Moreover, the sound mode transmission protocol of the present application is extended from the CEC basic protocol for device parameters. Therefore, the sound mode transmission protocol can be applied not only to the sound source device, but also to other CEC devices, expanding its application scenario range.
[0107] An embodiment of the present invention also provides a computer program product, which includes program code. When the program product runs on an electronic device, the program code is used to cause the electronic device to execute the steps in the methods according to various exemplary embodiments of the present invention described above in this specification.
[0108] In addition, although the steps of the methods in the present disclosure are described in a specific order in the drawings, this does not require or imply that these steps must be executed in that specific order, or that all the steps shown must be executed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc.
[0109] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described here can be implemented by software, or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the methods according to the embodiments of the present disclosure.
[0110] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0111] Those skilled in the art can understand that various aspects of the present invention can be implemented as a system, a method, or a program product. Therefore, various aspects of the present invention can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuitry", "module", or "system" here.
[0112] An electronic device according to this embodiment of the present invention. The electronic device is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present invention.
[0113] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: at least one of the above-mentioned processors, at least one of the above-mentioned memories, and a bus connecting different system components (including the memory and the processor).
[0114] Among them, the memory stores program code, and the program code can be executed by the processor, so that the processor executes the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Methods" section of this specification.
[0115] The memory may include a readable medium in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read-only memory (ROM).
[0116] The memory may also include programs / utilities having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules, and program data, and implementations of a network environment may be included in each or some combination of these examples.
[0117] The bus may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus structures.
[0118] The electronic device may also communicate with one or more external devices (such as a keyboard, a pointing device, a Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device, and / or may communicate with any device that enables the electronic device to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be through an input / output (I / O) interface. Further, the electronic device may communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter.
[0119] In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above methods of this specification. In some possible implementation manners, various aspects of the present invention may also be implemented in the form of a program product, which includes program code, and when the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.
[0120] The program product may employ any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may, for example, but not be limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0121] A computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than a readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
[0122] The program code contained on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0123] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., by connecting through the Internet using an Internet service provider).
[0124] In addition, the above drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present invention, and are not for limiting purposes. It is easy to understand that the processes shown in the above drawings do not indicate or limit the chronological order of these processes. Additionally, it is also easy to understand that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0125] It should be noted that although several modules or units of a device for action execution are mentioned in the above detailed description, such a division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more of the above-described modules or units may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided and embodied by multiple modules or units.
[0126] As described above, it is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for controlling a sound mode, characterized in that, Applied to a sound source device, the sound source device is configured with a sound mode transmission protocol, and the sound source device can establish a data communication relationship with a display device through an HDMI data cable; The sound mode control method includes: Determining handshake status information according to handshake request information sent by a display device connected to the sound source device through an HDMI data cable and the data transmission status of the sound mode transmission protocol; the handshake status information is used to indicate whether the sound source device can perform data transmission with the display device through the sound mode transmission protocol; Sending the handshake status information to the display device; In response to a sound mode request instruction sent by the received display device, sending sound mode data information configured by the sound source device to the display device through the sound mode transmission protocol; In response to a sound mode setting instruction sent by the received display device, setting the current sound mode of the sound source device to the sound mode corresponding to the sound mode setting instruction; Determining sound mode setting status information according to the sound mode setting status of the sound source device, and sending it to the display device; the sound mode setting status information is used to indicate whether the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction.
2. The method according to claim 1, wherein The standard frame of the sound mode transmission protocol includes 16 fields; Among them, the first field of the standard frame of the sound mode transmission protocol represents the logical address of the sound source device and the logical address of the display device connected to the sound source device through an HDMI data cable; The second field of the standard frame of the sound mode transmission protocol represents the operation code of the communication standard protocol of the sound source device; The third field to the fifth field of the standard frame of the sound mode transmission protocol represent the vendor identification of the sound source device; The sixth field of the standard frame of the sound mode transmission protocol represents the private operation code of the sound mode transmission protocol; The seventh field to the sixteenth field of the standard frame of the sound mode transmission protocol represent the parameter information corresponding to the private instruction of the sound mode transmission protocol.
3. The method according to claim 1, characterized in that, The determining the handshake status information according to handshake request information sent by a display device connected to the sound source device through an HDMI data cable and the data transmission status of the sound mode transmission protocol includes: In response to receiving handshake request information sent by a display device connected to the sound source device through an HDMI data cable, obtaining the data transmission status of the sound mode transmission protocol at the current moment; In the case where the data transmission status of the sound mode transmission protocol at the current moment is a normal state, determining the first status information as the handshake status information; In the case where the data transmission status of the sound mode transmission protocol at the current moment is an abnormal state, determining the second status information as the handshake status information.
4. The method according to claim 3, wherein The determining the sound mode setting status information according to the sound mode setting status of the sound source device includes: When the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction, the third status information is determined as the sound mode setting status information; When the current sound mode of the sound source device is not set to the sound mode corresponding to the sound mode setting instruction, the fourth status information is determined as the sound mode setting status information.
5. The method according to any one of claims 1 to 3, characterized in that, The display device is configured to perform the following steps: When connected to the sound source device via an HDMI data cable, obtain the device information of the sound source device; When the device information of the sound source device indicates that the device type of the sound source device is a preset device type, send a handshake request message to the sound source device.
6. The method according to any one of claims 3-5, characterized in that The display device is further configured to perform the following steps: In response to receiving the handshake status information sent by the sound source device, when the handshake status information is the first status information, send a sound mode request instruction to the sound source device.
7. The method according to any one of claims 1-6, characterized in that, The display device is further configured to perform the following steps: In response to receiving the sound mode data information sent by the sound source device via the sound mode transmission protocol, obtain the sound mode setting instruction input by the user; Send the sound mode setting instruction to the sound source device via the sound mode transmission protocol.
8. A sound source device, characterized in that, The sound source device is configured with a sound mode transmission protocol, and the sound source device includes: A handshake status information determination module, configured to determine handshake status information according to the handshake request information sent by a display device connected to the sound source device via an HDMI data cable and the data transmission status of the sound mode transmission protocol; the handshake status information is used to indicate whether the sound source device can perform data transmission with the display device via the sound mode transmission protocol; A handshake status information sending module, configured to send handshake status information to the display device; A sound mode information sending module, configured to, when receiving the sound mode request instruction sent by the display device, send the sound mode data information configured by the sound source device to the display device via the sound mode transmission protocol; A sound source sound mode setting module, configured to, when receiving the sound mode setting instruction sent by the display device, set the current sound mode of the sound source device to the sound mode corresponding to the sound mode setting instruction; A setting status information determination module, configured to determine sound mode setting status information according to the sound mode setting status of the sound source device, and send it to the display device; the sound mode setting status information is used to indicate whether the current sound mode of the sound source device is set to the sound mode corresponding to the sound mode setting instruction.
9. A non-transitory computer-readable storage medium storing at least one instruction or at least one program segment, the at least one instruction or the at least one program segment being loaded and executed by a processor to implement the method according to any one of claims 1-7.
10. An electronic device, characterized in that, Comprising a processor and the non-transitory computer-readable storage medium according to claim 9.