Method and circuit system for switching audio and video receiving interface
By modifying the fixed-rate link operation mechanism under HDMI version 2.1, the state and control data channel control module and fixed-rate link audio-visual packet detection module are used to solve the delay problem when switching the audio-visual reception interface, and a faster image display time and a smaller circuit design are achieved.
Patent Information
- Application Number
- CN202111170568.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-08
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2041-10-08
AI Technical Summary
When switching different image reception interfaces in the display, the prior art causes delays due to the need to reconstruct the data transmission channel, which affects the user's audio and video rating experience.
By modifying the fixed-rate link (FRL) operation mechanism defined by high-definition multimedia interfaces (such as HDMI 2.1), the state and control data channel control module and fixed-rate link audio and video packet detection module are used to continuously send fixed-rate link signals to maintain link activity and reduce the waiting time during handover.
It effectively saves the image display time required for users to wait when switching the audio and video reception interface, improves the user's audio and video rating experience, and is suitable for multiple high-definition multimedia interfaces that share a set of receiving circuits, realizing the minimization circuit design.
Smart Images

Figure CN115967783B_ABST
Abstract
Description
Technical Field
[0001] The specification proposes a system for playing audio and video, and more particularly, a method and a circuit system for saving the time spent on playing audio and video after switching audio and video connection ports by modifying the firmware to avoid stopping link training. Background Art
[0002] In response to different interface requirements of the consumer market, monitors often have multiple image receiving interfaces. For example, it is common to have different numbers of display ports (Display Port) and high-definition multimedia interfaces (HDMI) and other image receiving interfaces in one monitor device, so that users can use the same monitor to switch between different interfaces to receive image data of different interfaces; or multiple receiving ports are provided in one interface, so that users can switch between different receiving ports to receive image data of the same interface from different sources.
[0003] For example, see Figure 1 A schematic diagram of a display structure using a high-definition multimedia interface and a display port is shown. The operation process can be referred to as Figure 2 The flowchart shown is for switching the image receiving interface to establish an audio and video connection.
[0004] Figure 1 A storage terminal device (sink) 10 is shown, which is an electronic device for receiving audio and video content and broadcasting the audio and video content, such as a television or a monitor. The circuit of the image receiving interface is shown in the figure. In this example, the storage terminal device 10 is provided with two high-definition multimedia interfaces, such as the HDMI port A (111) and the HDMI port B (112) shown, and a display port (Display Port) 113. The HDMI port A (111), the HDMI port B (112) and the display port 113 have their own power circuits in the storage terminal device 10, such as the power domains 101, 102 and 103 shown in the figure. The design of the power domains 101, 102, 103 is independent of the power domains of the main circuit (not shown in this figure) in the storage terminal device 10.
[0005] This example shows that HDMI port A (111), HDMI port B (112) and display port 113 are connected to audio and video source A (11), audio and video source B (12) and audio and video source C (13) through their own audio and video signal lines 121, 122, 123, respectively. Figure 2Step S201 shows that the connection between each image receiving interface and the audio and video source is established, and the storage terminal device 10 switches to receive one of the audio and video sources according to the user's operation. In this example, when the user is playing the audio and video content received from the audio and video source C (13) through the display port 113, as shown in step S203, the user plays the audio and video content of a certain source (in this example, the audio and video source C (13)), and at this time, the other two image receiving interfaces have the following two situations.
[0006] One of the situations is that in order to reduce the power consumption of the storage terminal device 10, the main circuits of the power domains 101 and 102 can be powered off. Therefore, even if the audio and video signal lines of each interface are connected, the power domains 101 and 102 are powered off and therefore cannot establish a data transmission channel with the audio and video source A (11) and the audio and video source B (12) through link training. At this time, because the link training cannot be successful, the audio and video source A (11) and the audio and video source B (12) will not send a fixed rate link (FRL) signal, such as Figure 2 As shown in step S205, other audio and video interfaces that are not playing cannot complete HDMI link training with the audio and video source, or cannot continuously respond to the polling of the audio and video source, causing the audio and video source to stop sending FRL signals until the user switches the display port 113 currently connected and in use and its audio and video signal line to the audio and video source A (11) and the audio and video source B (12).
[0007] When the user operates the storage terminal device 10 to switch to receive the audio and video content from the audio and video source A (11) through the HDMI port A (111), such as Figure 2 In step S207, the storage device 10 turns on the power of the corresponding power domain 101, and then restarts the link training between the storage device 10 and the video source A (11) through the hotplug switch to establish a data transmission channel. Figure 2 In step S209, the HDMI hot-swap switch is activated to restart the link training procedure, and in step S211, the storage device 10 and the video source A (11) start link training, and wait for the link training to succeed. Figure 2 Step S213 establishes a fixed rate link, and the video content of the video source A (11) can be played, as shown in step S215.
[0008] In another case, even if the audio and video content provided by the audio and video source A (11) or the audio and video source B (12) is not being played, the storage end device 10 also keeps the power domains 101 and 102 powered, so when the HDMI cable (audio and video signal lines 121, 122) is connected to the audio and video source A (11) or the audio and video source B (12), the link training can be completed and the data transmission channel can be established. In this way, when the user wants to switch to one of the HDMI audio and video sources, the audio and video source A (11) or the audio and video source B (12) only needs to perform the switch without restarting the link training program through the hot plug switch. However, in this case, the power domains 101 and 102 are powered all the time, which increases power consumption.
[0009] According to the above description of the prior art, when a user wants to switch from the currently playing audio and video content to display the image received by another audio and video receiving interface, the switching process needs to wait for the switched image receiving interface to re-establish the data transmission channel before starting to receive the image data. This situation will cause the user to have a poor audio and video viewing experience when switching between different image receiving interfaces.
[0010] Another embodiment is Figure 3 The diagram shows a conventional display circuit structure using a high-definition multimedia interface.
[0011] In this example, the storage device 30 is provided with multiple HDMI interfaces, such as the HDMI port A (301) and the HDMI port B (302) shown in the figure, which are connected to the audio and video source A (31) and the audio and video source B (32) through the audio and video signal lines 331 and 332 respectively. Each HDMI interface includes a physical layer and a protocol layer. In this example, the relevant circuits of the HDMI port A (301) include the HDMI physical layer A (311) and the HDMI protocol layer A (321), and the relevant circuits of the HDMI port B (302) include the HDMI physical layer B (312) and the HDMI protocol layer B (322). When the fixed rate link signal enters the HDMI interface, it is first converted into a digital signal by the corresponding physical layer, and then the image data is decoded by the protocol layer. Therefore, when the storage device 30 has multiple HDMI interfaces, multiple HDMI protocol layers are required at the same time. The HDMI protocol layer is a complex high-speed signal, so the circuit area occupied by the circuits of the multiple protocol layers is quite large. Summary of the invention
[0012] In view of the delay problem caused by the need to rebuild the data transmission channel when switching different image receiving interfaces in a display in the conventional technology, this disclosure proposes a method and circuit system for switching audio and video receiving interfaces. By modifying the operation mechanism of the fixed rate link (FRL) defined in a specific version of the high-definition multimedia interface (such as HDMI 2.1), the image display time that users need to wait when switching high-definition multimedia interfaces can be saved, and at the same time, it can be applied to the architecture of multiple high-definition multimedia interfaces sharing a set of receiving circuits to achieve the purpose of minimizing circuit design.
[0013] According to an embodiment, the circuit system is a circuit system in a storage end device, such as an audio and video processing chip, wherein each audio and video receiving interface is provided with a status and control data channel control module for communicating with the audio and video source through a status and control data channel and providing the audio and video source with polling information therein, the main task of which is to allow multiple audio and video sources to determine whether the corresponding multiple audio and video receiving interfaces in the storage end device are in continuous operation; a fixed rate link audio and video packet detection module, which rebuilds the fixed rate link through steps such as signal detection, fixed rate link transmission rate determination, and fixed rate link packet determination.
[0014] The circuit system performs a method for switching audio and video receiving interfaces. In the method, when multiple audio and video sources are connected to multiple audio and video receiving interfaces in a storage end device, each audio and video receiving interface continuously responds to the status and control data channel communication request sent by the corresponding audio and video source to the storage end device through a status and control data channel control module. After that, each audio and video source can continuously send a fixed rate link signal to the storage end device according to the continuous response of the status and control data channel control module. Therefore, when the storage end device switches to one of the audio and video receiving interfaces, the fixed rate link audio and video packet detection module can start to detect the transmission rate and packets of the fixed rate link, so that the storage end device can obtain audio and video data from one of the audio and video sources connected to the audio and video receiving interface according to a rate information.
[0015] Preferably, the information continuously obtained by the plurality of video and audio sources through the corresponding status and control data channel control module includes one or more checkpoints set by the storage end device in the status and control data channel control module.
[0016] Furthermore, the plurality of audio and video receiving interfaces in the storage terminal device are respectively connected to an audio and video interface physical layer and a status and control data channel control module, and also share an audio and video interface protocol layer through a switching circuit.
[0017] Furthermore, when the storage end device switches to one of the audio and video receiving interfaces, other audio and video sources that are not playing continuously respond to the status and control data channel communication requests issued by each audio and video source through the status and control data channel control module, allowing each audio and video source to continuously send a fixed rate link signal based on the continuous response of the storage end device, so that the storage end device and each audio and video source complete link training.
[0018] After the transmission rate is obtained by parsing the video packets, the circuit system resets the parameters of the video receiving interface and the video interface physical layer in the storage device to obtain the video data through a fixed rate link.
[0019] To further understand the features and technical contents of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are only for reference and description and are not intended to limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram showing a conventional display architecture using a high-definition multimedia interface and a display port;
[0021] Figure 2 A flow chart showing a conventional method of switching an image receiving interface to establish an audio and video connection;
[0022] Figure 3 A schematic diagram showing a conventional display circuit structure using a high-definition multimedia interface;
[0023] Figure 4 A flow chart showing an embodiment of a method for switching an audio and video receiving interface;
[0024] Figure 5 A block diagram showing an embodiment of a circuit system for implementing a method for switching an audio and video receiving interface; and
[0025] Figure 6 A flow chart showing an embodiment of fixed rate link training is shown. DETAILED DESCRIPTION
[0026] The following is an explanation of the embodiments of the present invention through specific embodiments. Those skilled in the art can understand the advantages and effects of the present invention from the contents disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and the details in this specification can also be modified and changed in various ways based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are only simple schematic illustrations and are not depicted according to actual sizes. It is stated in advance. The following embodiments will further explain the relevant technical contents of the present invention in detail, but the disclosed contents are not intended to limit the scope of protection of the present invention.
[0027] It should be understood that, although the terms "first", "second", "third", etc. may be used in this article to describe various components or signals, these components or signals should not be limited by these terms. These terms are mainly used to distinguish one component from another component, or one signal from another signal. In addition, the term "or" used in this article may include any one or more combinations of the associated listed items depending on the actual situation.
[0028] The disclosure discloses a method and circuit system for switching audio and video receiving interfaces. By modifying the circuit and operation method, the image display time when the user switches the audio and video receiving interface can be effectively saved, and the method can be applied to the architecture of multiple high-definition multimedia interfaces (HDMI) interfaces sharing a set of receiving circuits to achieve the purpose of minimizing circuit design. The method can be applied to the operation of the fixed rate link (FRL) interface under the HDMI2.1 version.
[0029] According to the embodiments of the disclosure, the architecture of the multiple high-definition multimedia interface (HDMI) interfaces using a set of receiving circuits can be referred to as Figure 5 The circuit block embodiment diagram shown, in which the key technology is as follows Figure 4 The flowchart of the embodiment of the method for switching the audio and video receiving interface is shown. In the circuit system of the storage end device (sink), a circuit module 40 is provided in the circuit related to the audio and video receiving interface, thereby running the method for switching the audio and video receiving interface. According to one embodiment, the circuit module 40 for running the method may include a status and control data channel (SCDC) control module 41 and a fixed rate link (FRL) audio and video packet detection module 42 implemented by circuit, firmware or matching software.
[0030] It is mentioned here that the application of the fixed rate link (FRL) according to one embodiment has five fixed rates of the fixed rate link, such as: 3 / 6 / 8 / 10 / 12GHz, and each audio and video receiving interface is provided with a state and control data channel (SCDC). Because each audio and video source may use a different fixed rate, the state and control data channels of different audio and video receiving interfaces cannot be shared. In the method proposed in the disclosure, the storage end device continuously responds to allow the audio and video source to continuously send a fixed rate link signal, so that when the user switches to a specific audio and video source, the fixed rate link signal is detected and the audio and video packet is analyzed, and then the audio and video are played.
[0031] According to the embodiment, in order to implement the method of switching the audio and video receiving interface proposed in the disclosure book, the circuit system in the storage end device is modified, including modifying the firmware of the status and control data channel control module so that it can provide the corresponding audio and video source with continuous polling (polling) information therein, so that the audio and video source can determine that the corresponding audio and video receiving interface in the storage end device is in continuous operation, and will continue to send information (such as FRL signal) to the storage end device, so that when the audio and video receiving interface is switched, the fixed rate link (FRL) signal can be directly detected, and then the audio and video data can be started to be received, successfully reducing the time spent on switching the audio and video receiving interface.
[0032] When a video signal line is used to connect the HDMI interface in the sink device and the video source, such as a network video platform, the sink device status and control data channel control module 41 communicates with the video source through a status and control data channel (SCDC), and starts the fixed rate link training (FRLlink training) mechanism after completing the handshake. In the link training process, the sink device has one or more checkpoints (such as Figure 6 The LTP and GAP signals displayed) need to determine whether the fixed rate link signal sent by the audio and video source is correct. At this time, the storage end device unconditionally replies with the information that the audio and video source is correct (source pass), so that the link training program can complete the process and allow the audio and video source to send a fixed rate link signal. The process implementation is as follows Figure 6 The fixed rate link training embodiment flow chart is shown. During the process, the storage end device continues to respond to the state and control data channel (SCDC) communication request raised by the audio and video source, so that the audio and video source can continue to send a fixed rate link signal, so that the storage end device continues to receive audio and video data. It is worth mentioning that the state and control data channel communication processed by the state and control data channel control module 41 in the circuit module 40 is a low-speed signal, so the power consumption increased by maintaining the operation of the state and control data channel is very small.
[0033] When the user operates the remote control to control the storage device and switches from the original playback interface to the HDMI interface to receive related audio and video data, because the audio and video source has been continuously sending out fixed-rate link signals, the fixed-rate link audio and video packet detection module 42 can identify the signal online in the energy-saving mode of the related audio and video processing chip, such as a gap packet (Gap Packets). The fixed-rate link audio and video packet detection module 42 is also a low-power mechanism. It rebuilds the fixed-rate link through steps such as signal detection, fixed-rate link transmission rate judgment, and fixed-rate link packet judgment, and starts playing the image after receiving the image data.
[0034] according to Figure 4 The flowchart of the embodiment of the method for switching the audio and video receiving interface is shown. At the beginning, as in step S401, the connection between multiple audio and video receiving interfaces of the storage end device and multiple audio and video sources is established. Then in step S403, the user controls the storage end device through the remote control to play the audio and video content of a certain source. At this time, as in step S405, other audio and video sources that are not being played by the user can continuously respond to the status and control data channel (SCDC) communication request sent by the audio and video source through the status and control data channel (SCDC) control module 41, that is, continuously respond to the polling of the audio and video source, so that the audio and video source can continuously send a fixed rate link (FRL) signal according to the continuous response of the storage end device, so that the storage end device and the audio and video source complete the link training.
[0035] Until the user wants to switch the audio and video receiving interface in step S407, in step S409, the fixed rate link audio and video packet detection module 42 in the circuit module 40 starts to detect the transmission rate of the fixed rate link, and the storage end device that receives the audio and video packet analyzes the audio and video packet. After analyzing the packet, the transmission rate in the audio and video data can be obtained, or the audio and video resolution and other information can be added. In the storage end device, the HDMI receiver should reset the parameters of the audio and video receiving interface circuit according to the determined transmission rate of the fixed rate link to successfully convert the signal on the fixed rate link into a signal that can be analyzed by the HDMI receiver. Therefore, both ends can transmit and receive data according to this rate information, and one of the audio and video sources connected to the switched audio and video receiving interface transmits image data through the fixed rate link; in the storage end device, the audio and video data is obtained from the audio and video source connected to the switched audio and video receiving interface according to the obtained rate information, and then, as in step S411, the audio and video content is played after decoding the audio and video data.
[0036] It is worth mentioning that in Figure 4 In the process shown, in order to save the time consumed by the storage device to restart the link training with the audio and video source through the hot plug switch to establish a data transmission channel when the user switches the HDMI audio and video source, the circuit system running the method uses the status and control data channel control module 41 to allow the audio and video source to continue to send a fixed rate link (FRL) signal when the HDMI audio and video signal line connects the audio and video source and the storage device until the user switches to the HDMI audio and video source, and then detects the fixed rate link signal through the fixed rate link audio and video packet detection module 42, and receives audio and video data and plays audio and video content. The process of switching the audio and video receiving interface does not require restarting the link training process through a traditional hot plug switch.
[0037] according to Figure 4The method embodiment of switching the audio and video receiving interface shown can save the storage end device time of allowing the audio and video source to restart link training to establish a data transmission channel through a hot plug switch. The amount of time saved depends on how long it takes for the audio and video source to restart link training after receiving the hot plug switch.
[0038] The circuit system for implementing the method of switching the audio and video receiving interface can refer to Figure 5 A block diagram of an embodiment is shown.
[0039] The figure shows a storage terminal device 50, which uses the same set of circuits to simultaneously support multiple audio and video receiving interfaces, such as HDMI interfaces. The relevant circuits can also be HDMI as an example, and each audio and video receiving interface is connected to its own processing circuit. The audio and video interfaces are shown as audio and video receiving interface A (501) and audio and video receiving interface B (502). In one embodiment, the circuit modules including the status and control data channel control module 41 and the fixed rate link audio and video packet detection module 42 are respectively provided therein, for example, the circuit modules 40a and the circuit modules 40b are respectively provided in the circuits of each audio and video receiving interface. In addition, in addition to the audio and video interface physical layer A (511) and audio and video interface physical layer B (512) circuits connected to each of them, the audio and video receiving interface A (501) and the audio and video receiving interface B (502) are connected to the circuit of the shared communication protocol layer through a switching circuit 521 (such as a multiplexer), such as the audio and video interface protocol layer 520 shown in the figure. In one embodiment, the audio and video receiving interface A (501) and the audio and video receiving interface B (502) are each provided with Figure 4 The circuit modules proposed in the embodiment are respectively provided with status and control data channel control modules ( Figure 4 , 41) and fixed rate link audio and video packet detection module ( Figure 4 , 42). The state and control data channel control module receives the minimum operating current supplied by the power circuit (not shown in the figure) in the circuit system, and can still provide audio and video source polling to obtain information when the storage end device turns off the audio and video receiving interface (such as turning off the main current). The storage end device 50 is connected to different audio and video sources through the audio and video receiving interface A (501) and the audio and video receiving interface B (502) through the audio and video signal lines 531 and 532, such as the audio and video source A (51) and the audio and video source B (52) shown in the figure.
[0040] It is worth mentioning that when the user is playing the audio and video source A (51), the audio and video receiving interface A (501), the audio and video interface physical layer A (511), the switching circuit 521, and the audio and video interface protocol layer 520 must be powered. At the same time, the other circuits not in use, such as the audio and video receiving interface B (502) and the audio and video interface physical layer B (512), can be powered off. Conversely, when the user switches from the audio and video source A (51) to the audio and video source B (52), the audio and video receiving interface B (502) and the audio and video interface physical layer B (512) must be powered, and then because the status and control data channel control module ( Figure 4 , 41) is in continuous communication with the video source B (52), so the video source B (52) is sending a fixed rate link (FRL) signal, and then the fixed rate link video packet detection module ( Figure 4 , 42) to determine the transmission rate, and the parameters of the audio and video receiving interface B (502) and the audio and video interface physical layer B (512) can be reset to obtain the audio and video data sent by the audio and video source B (52).
[0041] In this way, the operation of the status and control data channel control module allows the audio and video source to continuously send out a fixed rate link signal. For example, when the user plays the audio and video content of the audio and video source A, the audio and video receiving interface B and the audio and video interface physical layer B can be turned off. When the circuit system receives the signal that the user switches to the HDMI audio and video source B, the power supply is controlled to be supplied to the audio and video receiving interface B and the audio and video interface physical layer B, and then the fixed rate link audio and video packet detection module is used to detect the fixed rate link signal from the audio and video source, and then the audio and video data is received, so that the audio and video interface protocol layer 520 is switched to the audio and video interface physical layer B through the switching circuit 521. The same audio and video interface protocol layer 520 can be used to receive data from different audio and video sources, thereby achieving the purpose of minimizing circuit design.
[0042] In the method for switching the audio and video receiving interface proposed in the disclosure, a fixed rate link (FRL) training process is executed. The FRL process is applicable to the transmission mode defined in the HDMI 2.1 specification, and the transmitter at the audio and video source end and the receiver at the storage end must first perform link training before entering the FRL mode. The relevant process can be referred to Figure 6 Flow chart of the embodiment shown.
[0043] When the storage end device is connected to the audio and video source via the audio and video signal line, the audio and video source and the storage end device start the fixed rate link training procedure through the status and control data channel (step S601). At the same time, the audio and video source and the storage end device communicate through the status and control data channel to establish a handshake procedure (step S603).
[0044] In the link training process, the storage end device has two checkpoints to determine whether the incoming and outgoing signals are correct. The two checkpoints include a link training pattern packet and a gap pattern packet. That is, in a handshake process of the link training process between the audio and video source and the storage end device, the circuit system in the storage end device can specify the audio and video source to send a certain link training pattern for the purpose of communication between the two ends; the gap pattern packet is used for the audio and video source and the storage end device to compare the signal quality of the fixed rate link.
[0045] As shown in step S605, the video source sends a link training pattern packet (LTP packet), and then as shown in step S607, the storage end device confirms the receipt of the link training pattern packet to determine whether the fixed rate link signal sent by the video source is correct. At this time, the storage end device unconditionally replies to the video source with a pass message so that the link training process can be completed to confirm the maximum transmission bandwidth between each other and allow the video source to continue to send a fixed rate link signal.
[0046] Next, as in step S609, before transmitting the image data, the video source will first transmit gap pattern packets so that the video source can prepare the image data during this time. However, the length of time for transmitting the gap pattern packets depends on the time for the video source to prepare the image data, and in order not to lose the image data, as in step S611, the storage end device also unconditionally responds to the gap pattern packet to check the correct information, as in step S613, that is, through link training, thereby maintaining the state of the FRL link and waiting for the video source to transmit the image data. Finally, in step S615, the video source will output a fixed rate link signal, and the storage end device will receive the video data according to the rate information therein, and play the video content accordingly.
[0047] In summary, according to the method flow of switching the audio and video receiving interface described in the above embodiments and the circuit system for executing the method, the circuit system is designed as a circuit of a common audio and video interface protocol layer, and is provided with a status and control data channel control module, wherein the link training pattern (LTP) check and the gap pattern (GAP) check are unconditionally correct, so that each audio and video source continues to send a fixed rate link signal, which can quickly respond to the audio and video content that the user wants to play, and then use the fixed rate link audio and video packet detection module to detect the transmission rate of the link signal to reset the HDMI interface and physical layer parameters, thereby obtaining audio and video data, that is, starting to play the image content. The design of the circuit system can save the protocol layer circuit and the circuit area used, and the multiple audio and video receiving interfaces can connect multiple audio and video sources at different fixed rates.
[0048] The contents disclosed above are only preferred feasible embodiments of the present invention, and are not intended to limit the scope of the present invention. Therefore, all equivalent technical changes made using the contents of the present invention's specification and drawings are included in the scope of the present invention.
[0049]
Explanation of symbols
[0050] 10: Storage terminal device
[0051] 101, 102, 103: Power Domain
[0052] 111:HDMI port A
[0053] 112: HDMI port B
[0054] 113: DisplayPort
[0055] 121, 122, 123: Audio and video signal cables
[0056] 11: Video source A
[0057] 12: Video source B
[0058] 13: Video source C
[0059] 30: Storage terminal device
[0060] 301:HDMI port A
[0061] 302: HDMI port B
[0062] 311:HDMI Physical Layer A
[0063] 312:HDMI Physical Layer B
[0064] 321:HDMI protocol layer A
[0065] 322:HDMI protocol layer B
[0066] 331, 332: Audio and video signal cable
[0067] 31: Video source A
[0068] 32: Video source B
[0069] 41: Status and control data channel control module
[0070] 42: Fixed rate link audio and video packet detection module
[0071] 40: Circuit module
[0072] 50: Storage terminal device
[0073] 501: Audio and video receiving interface A
[0074] 502: Audio and video receiving interface B
[0075] 511: Audio and video interface physical layer A
[0076] 512: Audio and video interface physical layer B
[0077] 520: Audio and video interface protocol layer
[0078] 521: Switching circuit
[0079] 531, 532: Audio and video signal cable
[0080] 51: Video source A
[0081] 52: Video source B
[0082] Steps S201 to S215 are the process of switching the image receiving interface to establish an audio and video connection.
[0083] Steps S401 to S411 are the process of switching the image receiving interface to establish an audio-visual connection.
[0084] Steps S601 to S615: Fixed rate link training process
Claims
1. A method for switching an audio and video receiving interface, executed in a circuit system, comprising: When multiple audio and video sources are connected to multiple audio and video receiving interfaces in a storage terminal device, a status and control data channel control module in the circuit system continuously responds to status and control data channel communication requests sent by the corresponding audio and video sources to the storage terminal device; Continuously sending fixed rate link signals from the plurality of video and audio sources according to the status and control data channel control module's continuous response; as well as When the storage end device switches to one of the plurality of audio and video receiving interfaces, a fixed rate link audio and video packet detection module in the circuit system starts to detect a fixed rate link signal sent by one of the plurality of audio and video sources corresponding to the switched audio and video receiving interface, and establishes a fixed rate link with the switched audio and video receiving interface, so that the storage end device obtains audio and video data from one of the plurality of audio and video sources connected to the audio and video receiving interface according to a transmission rate. When the fixed rate link signal sent by one of the plurality of audio and video sources corresponding to the switched audio and video receiving interface begins to be detected, the audio and video packet is parsed to obtain the transmission rate of the audio and video data.
2. The method for switching the audio and video receiving interface according to claim 1, wherein: When the storage end device switches to one of the multiple audio and video receiving interfaces, other audio and video sources that are not playing continuously respond to the status and control data channel communication requests issued by each audio and video source through the status and control data channel control module, so that each audio and video source continuously sends a fixed rate link signal according to the continuous response of the storage end device, so that the storage end device and each audio and video source complete the link training.
3. The method for switching the audio and video receiving interface according to claim 1, wherein: After the transmission rate is obtained, the parameters of a video receiving interface and a video interface physical layer in the storage device are reset to obtain the video data through a fixed rate link.
4. A method for switching audio and video receiving interfaces according to any one of claims 1 to 3, wherein the information continuously obtained by the multiple audio and video sources through the corresponding status and control data channel control module includes one or more checkpoints set by the storage end device in the status and control data channel control module. 5 . The method for switching the audio and video receiving interface according to claim 4 , wherein the checkpoint comprises a link training pattern packet and a gap pattern packet.
6. The method for switching the audio and video receiving interface according to claim 4, wherein the storage device unconditionally replies the correct information to the plurality of audio and video sources so that the link training can be completed and the plurality of audio and video sources can continue to send fixed rate link signals.
7. A circuit system, applied to a storage terminal device, wherein a plurality of audio and video receiving interfaces in the storage terminal device are connected to a plurality of audio and video sources, the circuit system comprising: a status and control data channel control module, communicating with corresponding audio and video sources through a status and control data channel, and providing the corresponding audio and video sources with polling information therein, so that the multiple audio and video sources can determine whether the corresponding multiple audio and video receiving interfaces in the storage terminal device are in continuous operation; A fixed rate link audio and video packet detection module is used to reconstruct a fixed rate link through signal detection, fixed rate link transmission rate determination and fixed rate link packet determination; The circuit system performs a method for switching an audio and video receiving interface, including: When multiple audio and video sources are connected to multiple audio and video receiving interfaces in the storage terminal device, the status and control data channel control module continuously responds to the status and control data channel communication requests sent by the corresponding audio and video sources to the storage terminal device; Continuously sending fixed rate link signals from the plurality of video and audio sources according to corresponding status and control data channel control modules in response; and When the storage end device switches to one of the multiple audio and video receiving interfaces, the fixed rate link audio and video packet detection module detects the fixed rate link signal sent by one of the multiple audio and video sources corresponding to the switched audio and video receiving interface, and parses it to obtain a transmission rate to establish the fixed rate link with the switched audio and video receiving interface, so that the storage end device obtains audio and video data from one of the multiple audio and video sources connected to the audio and video receiving interface according to the transmission rate.
8. The circuit system according to claim 7, wherein the plurality of audio and video receiving interfaces are connected to an audio and video interface physical layer respectively and also share an audio and video interface protocol layer through a switching circuit.
9. The circuit system according to claim 8, wherein the audio and video interface physical layer corresponding to the switched audio and video receiving interface, the switching circuit and the shared audio and video interface protocol layer must have power, and the remaining audio and video receiving interfaces and audio and video interface physical layers that are not in use are powered off.
Citation Information
Patent Citations
Link training in multimedia interfaces
CN108702466A
Electronic apparatus and control method thereof
CN111954061A