CN114125347B - Information transmission method for active cable, CEC proxy module and active cable - Google Patents

Information transmission method for active cable, CEC proxy module and active cable Download PDF

Info

Publication number
CN114125347B
CN114125347B CN202210098434.4A CN202210098434A CN114125347B CN 114125347 B CN114125347 B CN 114125347B CN 202210098434 A CN202210098434 A CN 202210098434A CN 114125347 B CN114125347 B CN 114125347B
Authority
CN
China
Prior art keywords
information
cec
address list
address
active cable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210098434.4A
Other languages
Chinese (zh)
Other versions
CN114125347A (en
Inventor
李德振
江辉
周新亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Everpro Technologies Wuhan Co Ltd
Original Assignee
Everpro Technologies Wuhan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Everpro Technologies Wuhan Co Ltd filed Critical Everpro Technologies Wuhan Co Ltd
Priority to CN202210098434.4A priority Critical patent/CN114125347B/en
Publication of CN114125347A publication Critical patent/CN114125347A/en
Application granted granted Critical
Publication of CN114125347B publication Critical patent/CN114125347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/015High-definition television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/10Adaptations for transmission by electrical cable
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/22Adaptations for optical transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to an information transmission method for an active cable, wherein two connection ends of the active cable are respectively connected with and interacted with equipment supporting a Consumer Electronics Control (CEC) network, and the following operations are performed at the connection ends of the active cable: in response to first information about the CEC network sent by the local side equipment, performing interactive operation about the first information with the local side equipment and/or the connection end of the opposite terminal; and in response to the second information about the CEC network sent by the connection end of the opposite end, performing interactive operation about the second information with the connection end of the opposite end and/or the local-side equipment. Through the scheme of the invention, the information interaction operation between the local side equipment and the opposite side equipment can be carried out based on the connecting end of the active cable, so that the information interaction and synchronization among the equipment in the whole CEC network can be realized. Particularly, the effective transmission of information between the devices at the two ends of the active cable can be ensured by aiming at the active cable which adopts an agent scheme to realize the HDMI sideband signal transmission.

Description

Information transmission method for active cable, CEC proxy module and active cable
Technical Field
The present invention relates generally to the field of active cable technology. More particularly, the present invention relates to an information transmission method for an active cable, a CEC agent module that performs the aforementioned information transmission method, and an active cable.
Background
To support long-distance transmission of High Definition Multimedia Interface (HDMI) signals, an HDMI High-speed signal is usually transmitted by combining optical-electrical conversion with an optical fiber. The HDMI low-speed signal (e.g., HDMI sideband signal) may be transmitted in a proxy manner, that is, in the process of transmitting the HDMI sideband signal, the two ends of the cable respectively perform protocol analysis on the received sideband signal, encode effective data through an optical fiber or a single copper wire, transmit the encoded effective data to the other end of the cable, decode the encoded effective data from the other end of the cable, and send the encoded effective data back to the original protocol. The communication protocol involved in this transmission process includes the Consumer Electronics Control (CEC) protocol. The CEC protocol is a single copper broadcast transmission protocol that allows multiple CEC devices to be connected on a single copper basis to form a CEC network. In the same CEC network, each CEC device has its own unique address and adopts a strategy of who initiates first and who occupies the bus, and other CEC devices which do not occupy the bus can monitor the data on the bus, so that when a target address in the monitored data is matched with its own address or is a broadcast address, corresponding processing is performed, otherwise, discarding is performed.
Therefore, if an active cable is introduced between CEC devices in one CEC network, because the active cable transmits CEC messages in a non-transparent manner, the CEC devices connected to two ends of the active cable are divided into different CEC networks, and the CEC devices on two end sides cannot intercommunicate and synchronize messages. For this reason, there is currently no effective solution.
Disclosure of Invention
In order to solve at least the technical problems described in the above background section, the present invention proposes a solution for information transmission of an active cable. By utilizing the scheme of the invention, the effective transmission of the low-speed information between the two end sides of the active cable can be realized. In view of this, the present invention provides solutions in the following aspects.
A first aspect of the present invention provides an information transmission method for an active cable, two connection ends of which are respectively connected to and interact with a device supporting a consumer electronics control, CEC, network, and at the connection ends of which the following operations are performed: in response to first information about the CEC network sent by a local side device, performing interactive operation about the first information with a connection end of the local side device and/or an opposite end; and in response to second information about the CEC network sent by the connection end of the opposite end, performing interactive operation about the second information with the connection end of the opposite end and/or the local side equipment.
In one embodiment, wherein performing the interactive operation with respect to the first information or the second information comprises: traversing logical addresses of local side equipment in the CEC network to generate a first address list, wherein the first address list comprises the logical addresses of all the local side equipment; receiving a second address list sent by a connecting end of an opposite terminal, wherein the second address list comprises logic addresses of all opposite terminal equipment in the CEC network; and performing an interactive operation with respect to the first information or the second information according to the first address list and the second address list.
In one embodiment, wherein performing the interactive operation with respect to the first information comprises: and determining the type of the first information so as to execute corresponding interactive operation based on the type of the first information.
In one embodiment, where the first information is address application information, performing the corresponding interactive operation based on the type of the first information includes: detecting whether an address applied by the first information is in the first address list or the second address list; and selectively updating the address applied by the first information into the first address list according to the detection result, and sending the updated first address list to the connecting end of the opposite end.
In one embodiment, selectively updating the address applied by the first information to the first address list according to the detection result includes: responding to the address applied by the first information existing in the first address list, and ignoring the first information; or responding to the address applied by the first information and existing in the second address list, and responding to the first information based on the connection end of the local terminal; or in response to that the first information does not exist in the first address list and the second address list, determining to update the address applied by the first information into the first address list.
In an embodiment, the first information is data information, and the receiving end of the local side stores pre-read information about the local side device and the opposite side device, and performing the interactive operation about the first information includes: responding to the target address contained in the first information and existing in the first address list, monitoring whether local side equipment responds or not, selectively removing the target address from the first address list according to a monitoring result, and sending the updated first address list to a connecting end of an opposite end; responding to the fact that a target address contained in the first information exists in a second address list, responding by using pre-reading information related to the target address when the first information is determined to be read operation, or executing response operation on the first information and sending the first information to a connecting end of an opposite end when the first information is determined to be write operation; or responding to the target address contained in the first information as a broadcast address, and sending the first information to the connecting end of the opposite end.
In one embodiment, wherein performing the interactive operation with respect to the second information comprises: and determining the type of the second information so as to execute corresponding interactive operation based on the type of the second information.
In one embodiment, wherein performing the respective interaction based on the type of the second information comprises: in response to that the second information is updated address list information, updating the second address list based on the second information, and broadcasting the updated second address list to the local-side equipment; or responding to the second information being data information, sending the second information to the local side equipment, and monitoring whether the local side equipment sends response information about the second information; responding to the monitored response information, and sending the response information to a connecting end of an opposite end when the second information is read operation, or marking that the write operation is finished when the second information is write operation; or in response to not monitoring the response information, removing the target address contained in the second information from the first address list, and sending the updated first address list to the connection end of the opposite end.
A second aspect of the present invention provides a CEC agent module, including: a processor; and a memory storing computer instructions for information transfer of the active cable, which when executed by the processor, cause the CEC agent module to perform the method of the foregoing first aspect and in various embodiments below.
A third aspect of the invention proposes an active cable comprising: the CEC proxy module is configured in the connection end to realize information transmission between the local side device and the opposite side device based on the CEC proxy module in the connection end.
By using the scheme provided by the invention, the information interaction operation between the local side equipment and the opposite end connection end can be carried out based on the connection end of the active cable, so that the information interaction and synchronization among the equipment in the whole CEC network are realized. Particularly, the effective transmission of information between the devices at the two ends of the active cable can be ensured by aiming at the active cable which adopts an agent scheme to realize the HDMI sideband signal transmission. In some embodiments of the present invention, an address list of the local side device and an address list of the peer side device may be maintained through the active cable connection end, so as to achieve timely and precise transmission of information based on the address lists. In other embodiments of the present invention, the connection end of the active cable may further store pre-read information of the peer device, so as to respond to a read operation initiated by the peer device in time, thereby improving the information response rate.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar or corresponding parts and in which:
FIG. 1 is a schematic diagram illustrating an application scenario of an active cable according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an information transmission method for an active cable according to one embodiment of the present invention;
fig. 3 is a flowchart illustrating an information transmission method for an active cable according to another embodiment of the present invention;
fig. 4 is a diagram illustrating a structure of a CEC agent module according to an embodiment of the present invention;
fig. 5 is a schematic structural view showing an active cable according to another embodiment of the present invention;
fig. 6 is a flowchart illustrating an initialization process of an active cable according to an embodiment of the present invention;
FIG. 7 is a flow chart illustrating the processing of the first information by the active cable according to an embodiment of the present invention; and
fig. 8 is a flowchart illustrating a process of processing the second information by the active cable according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present invention, belong to the protection scope of the present invention.
It should be understood that the terms "first", "second", "third" and "fourth", etc. in the claims, the description and the drawings of the present invention are used for distinguishing different objects and are not used for describing a particular order. The terms "comprises" and "comprising," when used in the specification and claims of this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification and claims of this application, the singular form of "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in the specification and claims of this specification refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
As used in this specification and claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The following detailed description of embodiments of the invention refers to the accompanying drawings.
Fig. 1 is a schematic diagram illustrating an application scenario 100 of an active cable according to an embodiment of the present invention.
As shown in fig. 1, there are a plurality of CEC devices in the CEC network, wherein CEC device C1 and CEC device C2 may be connected by an active cable. Other devices (e.g., including CEC device a1, CEC device B1, and CEC device D1) on the same side of CEC device C1 may be connected by copper wires, and CEC devices a1 to D1 may be collectively connected to a connection terminal of the active cable (e.g., connected to the connection terminal by a hub). Other devices (including, for example, CEC device a2, CEC device B2, and CEC device D2) on the same side of CEC device C2 may be connected by a copper wire, and CEC devices a2 to D2 may be connected to another connection terminal of the active cable by a hub. In the whole CEC network, information interaction can be performed with the local side device and the opposite side device based on the connection end of the active cable, so as to realize information interaction and synchronization among all CEC devices in the CEC network. It should be noted that the description of the number of CEC devices and the location of active cables in fig. 1 is only an exemplary illustration, and the scheme of the present invention is not limited thereto.
Fig. 2 is a flow diagram illustrating an information transmission method 200 for an active cable according to one embodiment of the invention. It should be noted that the method 200 in fig. 2 can be understood as a specific implementation of the active cable in fig. 1 for transmitting information, and can be specifically executed at the connection end of the active cable. The preceding description of the active cable and CEC device in connection with fig. 1 is therefore equally applicable below.
As shown in fig. 2, at step S201, an interactive operation with respect to first information may be performed between the local side device and/or the connection end of the peer in response to the first information on the CEC network issued by the local side device. In step S202, an interactive operation may be performed between the connection end of the opposite end and/or the local-side device in response to the second information on the CEC network issued by the connection end of the opposite end. Here, the execution order of steps S201 and S202 is not limited.
In particular, the two connection terminals of the active cable may be respectively connected with devices supporting the consumer electronics control CEC network. As previously described, multiple devices may be connected by way of a hub + copper wire. The connection end may monitor first information (for example, address application information or data information) sent by the local-end device or receive second information sent by the connection end of the opposite end, and may interact with the local-end device or the connection end of the opposite end according to the first information or the second information. Wherein, can carry out based on the copper line with the interaction of this end side equipment, and can carry out based on the cable with the interaction of the link of opposite end. And the connecting end of the opposite terminal can interact with the equipment at the opposite terminal side and send out second information. The second information can be sent to the connecting end of the opposite terminal by the opposite terminal equipment, and then forwarded by the connecting end of the opposite terminal, and also can be directly sent out by the connecting end. Therefore, the problem that the devices in the CEC network are isolated by the active cable and cannot be communicated with each other can be solved, and the information interaction and synchronization among the devices in the whole CEC network are realized. Particularly, the active cable which adopts the proxy scheme to realize the HDMI sideband signal transmission can ensure the effective transmission of information between the devices at the two ends of the active cable.
Fig. 3 is a flowchart illustrating an information transmission method for an active cable according to another embodiment of the present invention. It should be noted that the method 300 in fig. 3 can be understood as a specific implementation of the active cable in fig. 1 for transmitting information, and can be specifically executed at the connection end of the active cable. Additionally, the method 300 may be further understood as a further definition and extension of the method 200 of FIG. 2. The same applies to the following description in connection with fig. 1 and 2.
As shown in fig. 3, at step S301, logical addresses of local side devices in the CEC network may be traversed to generate a first address list. Specifically, the logical addresses of all the local-side devices may be broadcast and traversed in the initialization phase to form a first address list containing the logical addresses of all the local-side devices, and the first address list may be sent to the opposite end. Next, at step S302, a second address list transmitted by the connection end of the peer may be received. As mentioned above, in the initialization phase, the connection end of the opposite end may also broadcast the logical addresses traversing its same-side device to form a second address list containing the logical addresses of all the opposite-side devices, and may send the second address list to the opposite end. Next, at step S303, an interactive operation with respect to the first information or the second information may be performed in accordance with the first address list and the second address list in response to the first information with respect to the CEC network issued by the local-side device or the second information with respect to the CEC network issued by the connection terminal of the opposite terminal. Therefore, the first address list and the second address list can be maintained at each connecting end simultaneously, and interactive operation can be performed according to the first address list and the second address list, so that the timeliness and the accuracy of information transmission are improved.
Fig. 4 is a schematic diagram illustrating a structure of a CEC agent module 400 according to an embodiment of the present invention. It should be noted that the CEC agent module 400 may be provided in the connection terminal of the active cable. The CEC agent module 400 may be understood as the execution body of the method described above in connection with fig. 2 and 3. Specifically, as shown in fig. 4, the CEC agent module 400 may include a processor 401 and a memory 402. The memory 402 stores computer instructions of an information transmission method of an active cable, which, when executed by the processor 401, cause the CEC agent module 400 to perform the method 200 or the method 300 according to the present invention.
In practical applications, the CEC agent module 400 has a function of receiving, analyzing and forwarding information on the CEC network. Specifically, the CEC agent module 400 may have a function of maintaining logical addresses of devices under test. For example, in the process of acquiring the local side address list (i.e., the aforementioned first address list), the CEC addresses (i.e., logical addresses) of all local side devices may be broadcasted during initialization, and the currently occupied address may be added; a new application address can be added into the address list when a new CEC device is monitored to be added at the local side; the address can be added or deleted by monitoring whether the CEC equipment at the local side responds to the information; the existing address in the address list can be broadcast and traversed when the CEC bus is idle, if the response of the CEC device is not monitored, the CEC device is considered to be unplugged, and the address can be deleted. In addition, a peer address list (i.e. the aforementioned second address list) sent by the CEC agent module of the peer may also be received. Therefore, the maintenance of the address lists of the two end sides is realized.
In some embodiments, the CEC agent module may also obtain internal information sent by the peer. Specifically, the internal information may be forwarded by the peer CEC proxy module, and may be forwarded to the local side device according to the content of the information.
In some embodiments, the CEC agent module may also pre-read information (for example, attribute information such as a device model and an identifier, or operating state information) of all the CEC devices on the local side, and may send the pre-read information to the CEC agent module on the opposite side, so as to respond to the read operation initiated by the CEC device on the opposite side in time.
Fig. 5 is a schematic diagram illustrating a structure of an active cable 500 according to another embodiment of the present invention. It should be noted that the active cable 500 in fig. 5 can be understood as a specific combination of the active cables in fig. 1, and can be understood as an application of the CEC proxy module in fig. 4. The two connection ends of the active cable 500 may include an optical cable, and a Source end and a Sink end located at the two ends of the optical cable, wherein a CEC proxy module is respectively built in the Source end and the Sink end. The information transmission process based on the active cable is further explained with reference to fig. 6 to 8.
Fig. 6 is a flow diagram illustrating an initialization process 600 for an active cable according to an embodiment of the invention. It should be noted that the active cable 500 in fig. 5 may be used as the active cable, and both ends of the active cable may be connected between CEC devices in the CEC network. In the power-on initialization stage, the Source terminal or the Sink terminal of the active cable may pass through the CEC address of the local-side device to the CEC network when it is monitored that the current CEC bus is idle, so as to find the addresses of all local-side CEC devices. As shown in fig. 6, at step S601, the initial stage may default the CEC address in the address list to 0. Next, at step S602, a current CEC address may be broadcast. Next, at step S603, it may be monitored whether a CEC device has responded. If yes, it indicates that the CEC address corresponds to a device and can operate normally, and then step S604 is executed. If there is no response, it indicates that the CEC address does not correspond to the device or the corresponding device cannot operate normally, in this case, step S608 is executed, and step S606 may be executed after the CEC address +1 is processed.
Next, at step S604, the current address may be added to the local CEC address list. Next, step S605 is performed, and information (e.g., attribute information, work information, or the like) of the CEC device of the current address may be read. And at step S606, it may be determined whether the CEC address has been traversed. If the traversal is completed, step S607 is executed to send the local CEC address list and the pre-read information to the opposite end. If not, return to step S602 to continue broadcasting the address. It should be noted that, the description of the process of acquiring the pre-read information is only an exemplary illustration, and the pre-read information may be acquired in an initialization phase, or may be transmitted to the CEC proxy module on the same side by the CEC device in a subsequent process.
Fig. 7 is a flow diagram illustrating a process 700 of the active cable to the first information according to an embodiment of the invention. It should be noted that the active cable 500 in fig. 5 may be used as the active cable, and both ends of the active cable may be connected between CEC devices in the CEC network. The method 700 may be understood as a specific handover process with respect to the first information, which is performed after the aforementioned initialization process 600.
Specifically, as shown in fig. 7, in step S701, the local CEC network information (i.e., the aforementioned first information) is received. As described above, the local CEC network information may be sent by the local device, and the CEC proxy module in the Source end or the Sink end of the active cable may monitor the local CEC network information. And at step S702, it is determined whether the local CEC network information is the address application information. If so, go to step S703, otherwise go to step S710.
At step S703, it may be determined whether the address is included in the home address list. If yes, it indicates that the address is occupied by other devices, and step S704 may be executed to discard the information. Otherwise, step S705 may be performed.
At step S705, it is determined whether the address is included in the peer address list. If yes, step S706 may be executed to answer the address. Specifically, the CEC proxy module on the same side may reply to the address to indicate that there is a device on the opposite side occupying the address. Otherwise, step S707 is executed.
At step S707, the address may be added to the local CEC address list. And executing step S708, which may read the information of the CEC device at the current address, and executing step S709, which sends the CEC address list of the local terminal and the pre-read information to the opposite terminal. For the process of obtaining the pre-read information and sending the address, reference may be made to the description of the relevant parts above, and details are not described here.
In step S710, the local CEC network message is data message, and it is determined whether the target address in the data message is in the local CEC address list. If yes, step S711 is executed. If not, go to step S715.
At step S711, it is determined whether the local device can be monitored for a response. If so, it indicates that the device corresponding to the target address performs interactive response without active cable intervention, and then step S712 is executed to ignore the information. If not, it indicates that the device corresponding to the target address does not exist or cannot work normally, step S713 may be executed to delete the address from the home address list, and step S714 is executed to send the updated home address list to the opposite end.
At step S715, if the destination address is in the peer address list, it can be determined whether the information is a read operation. If yes, go to step S716, reply may be made with the read-ahead information. If not, step S717 is executed, a response (e.g., an ACK response) may be sent, and the information may be forwarded to the peer.
In addition, if the destination address is a broadcast address, the information may be forwarded to the peer. Therefore, the interactive operation between the local terminal equipment or the connection end of the opposite terminal can be completed based on the content of the first information.
Fig. 8 is a flowchart illustrating a process of processing the second information by the active cable according to an embodiment of the present invention. It should be noted that the active cable 500 in fig. 5 may be used as the active cable, and both ends of the active cable may be connected between CEC devices in the CEC network. The method 800 may be understood as a specific handover process with respect to the second information, which is performed after the aforementioned initialization process 600.
Specifically, as shown in fig. 8, in step S801, information (i.e., the aforementioned second information) transmitted by the peer is received. As mentioned above, the second information may be monitored by the CEC proxy module in the Source end or Sink end of the active cable for the second information sent by the device on the same side or the second information sent by the CEC proxy module itself.
At step S802, it may be determined whether the information is address list update information. If yes, go to step S803. Otherwise, step S805 may be performed.
At step S803, the peer CEC address list may be updated. And at step S804, a new address may be broadcast to the home-side CEC device.
At step S805, the information may be forwarded to the home device. And at step S806, it can be monitored whether there is a response from the local device. If the local device responds, step S807 can be executed. Otherwise, step S808 is performed.
At step S807, if the message is a read operation, the responded message may be sent to the peer, or if the message is a write operation, the CEC agent module may mark that the write operation is completed.
At step S808, the destination address in the information may be deleted from the home address list, and at step S809, the updated address list information may be sent to the opposite terminal. Therefore, the interactive operation with the local terminal equipment or the connection end of the opposite terminal can be completed based on the content of the second information.
Based on the scheme, the problem that the CEC signal cannot be transmitted correctly due to the fact that the CEC network is divided by the active cable for transmitting the HDMI sideband signal by adopting the proxy scheme is solved. Specifically, the two connection ends of the active cable in the solution of the present invention may maintain a local CEC address list and an opposite CEC address list to synchronize the two CEC networks currently being split. And broadcasting and traversing the CEC address in the CEC bus idle time to acquire the currently occupied CEC address in the local CEC network or delete the invalid CEC address. And the current occupied CEC address in the opposite CEC network can be acquired through internal information communication at two ends of the active cable. The CEC addresses which are invalid can also be deleted in time by detecting whether the CEC equipment responds or not. In addition, the CEC message forwarding can be performed by comparing the target address with the CEC address list, so that the information synchronization between the two divided CEC networks can be realized.
While various embodiments of the present invention have been shown and described herein, it will be obvious to those skilled in the art that such embodiments are provided by way of example only. Numerous modifications, changes, and substitutions will occur to those skilled in the art without departing from the spirit and scope of the present invention. It should be understood that various alternatives to the embodiments of the invention described herein may be employed in practicing the invention. It is intended that the following claims define the scope of the invention and that the module compositions, equivalents, or alternatives falling within the scope of these claims be covered thereby.

Claims (9)

1. An information transmission method for an active cable, wherein two connection ends of the active cable are respectively connected with and interact with a device supporting a CEC (consumer electronics control) network, and the following operations are performed at the connection ends of the active cable:
in response to first information about the CEC network sent by a local side device, performing interactive operation about the first information with a connection end of the local side device and/or an opposite end;
in response to second information about the CEC network sent by the connection end of the opposite end, performing interactive operation about the second information with the connection end of the opposite end and/or the local-side equipment;
the first information is data information, and the receiving end of the local side stores pre-read information about the local side equipment and the opposite side equipment, and the executing interactive operation about the first information comprises:
responding to the fact that the target address contained in the first information exists in a first address list, monitoring whether local side equipment responds or not, selectively removing the target address from the first address list according to a monitoring result, and sending the updated first address list to a connecting end of an opposite end; or alternatively
Responding to that a target address contained in the first information exists in a second address list, responding by using pre-read information related to the target address when the first information is determined to be read operation, or executing response operation on the first information and sending the first information to a connecting end of an opposite end when the first information is determined to be write operation; or
And responding to the target address contained in the first information as a broadcast address, and sending the first information to a connecting end of an opposite end.
2. The information transmission method according to claim 1, wherein performing the interactive operation on the first information or the second information includes:
traversing logical addresses of local side equipment in the CEC network to generate a first address list, wherein the first address list comprises the logical addresses of all the local side equipment;
receiving a second address list sent by a connecting end of an opposite terminal, wherein the second address list comprises logic addresses of all opposite terminal equipment in the CEC network; and
and performing interactive operation related to the first information or the second information according to the first address list and the second address list.
3. The information transmission method according to claim 2, wherein performing an interactive operation on the first information includes:
and determining the type of the first information so as to execute corresponding interactive operation based on the type of the first information.
4. The information transmission method according to claim 3, wherein the first information is address application information, and performing the corresponding interactive operation based on the type of the first information includes:
detecting whether an address applied by the first information is in the first address list or the second address list; and
and selectively updating the address applied by the first information into the first address list according to the detection result, and sending the updated first address list to the connecting end of the opposite end.
5. The method of claim 4, wherein selectively updating the address requested by the first message to the first address list according to the detection result comprises:
responding to the address applied by the first information existing in the first address list, and ignoring the first information; or
Responding to the address applied by the first information in the second address list, and responding to the first information based on the connection end of the local terminal; or
And in response to the first information does not exist in the first address list and the second address list, determining to update the address applied by the first information into the first address list.
6. The information transmission method according to any one of claims 2 to 5, wherein performing the interactive operation on the second information includes:
and determining the type of the second information so as to execute corresponding interactive operation based on the type of the second information.
7. The information transmission method according to claim 6, wherein performing the corresponding interactive operation based on the type of the second information comprises:
in response to that the second information is updated address list information, updating the second address list based on the second information, and broadcasting the updated second address list to the local-side equipment; or
Responding to the second information as data information, sending the second information to the local side equipment, and monitoring whether the local side equipment sends response information about the second information;
responding to the monitored response information, and sending the response information to a connecting end of an opposite end when the second information is read operation, or marking that the write operation is finished when the second information is write operation; or
And in response to not monitoring the response information, removing the target address contained in the second information from the first address list, and sending the updated first address list to the connecting end of the opposite end.
8. A CEC proxy module, comprising:
a processor; and
memory storing computer instructions for an information transmission method for an active cable, which when executed by the processor, cause the CEC agent module to perform the method of any of claims 1-7.
9. An active cable, comprising:
an optical cable and a connection terminal disposed at both ends of the optical cable, wherein the connection terminal is configured with the CEC proxy module of claim 8 therein, so as to realize information transmission between a device at a home side and a device at an opposite side based on the CEC proxy module in the connection terminal.
CN202210098434.4A 2022-01-27 2022-01-27 Information transmission method for active cable, CEC proxy module and active cable Active CN114125347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210098434.4A CN114125347B (en) 2022-01-27 2022-01-27 Information transmission method for active cable, CEC proxy module and active cable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210098434.4A CN114125347B (en) 2022-01-27 2022-01-27 Information transmission method for active cable, CEC proxy module and active cable

Publications (2)

Publication Number Publication Date
CN114125347A CN114125347A (en) 2022-03-01
CN114125347B true CN114125347B (en) 2022-05-06

Family

ID=80361312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210098434.4A Active CN114125347B (en) 2022-01-27 2022-01-27 Information transmission method for active cable, CEC proxy module and active cable

Country Status (1)

Country Link
CN (1) CN114125347B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117596368A (en) * 2023-10-18 2024-02-23 广东高云半导体科技股份有限公司 Method for realizing CEC signal transmission and interface converter

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4343249B2 (en) * 2008-02-26 2009-10-14 株式会社東芝 Electronic device and connection device search method
JP2010004496A (en) * 2008-06-23 2010-01-07 Toshiba Corp Sink device and source device
US20130173835A1 (en) * 2011-12-29 2013-07-04 Broadcom Corporation Controlling HDMI Devices Via Intelligent Emulation of Consumer Electronics Control (CEC) Protocol
CN103973822A (en) * 2013-01-29 2014-08-06 鸿富锦精密工业(深圳)有限公司 HDMI-CEC devices and address allocation method thereof
TW201430575A (en) * 2013-01-29 2014-08-01 Hon Hai Prec Ind Co Ltd HDMI-CEC device and address assignment method
US9456149B2 (en) * 2013-06-13 2016-09-27 Google Inc. Methods, systems, and media for managing output of an HDMI source

Also Published As

Publication number Publication date
CN114125347A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US7518983B2 (en) Proxy response apparatus
US20080151907A1 (en) Ethernet/TMPLS Hybrid Network Operation Administration and Maintenance Frame Creation Method
JPS58500349A (en) Data processing system using broadcast packet switching
WO2011099690A2 (en) Method and apparatus for using service of home network device based on remote access
CN113746749A (en) Network connection device
CN110868278B (en) Method for dual-computer redundancy of communication front-end processor of rail transit comprehensive monitoring system
CN114125347B (en) Information transmission method for active cable, CEC proxy module and active cable
US20220358074A1 (en) PCIe-Based Data Transmission Method, Apparatus, and System
CN113141306A (en) Diagnostic message routing method and bus routing equipment thereof
CN111049765A (en) Aggregation port switching method, device, chip, switch and storage medium
CN112532526B (en) Data forwarding method and device and network equipment
CN113098770A (en) Message sending method, routing table entry generating method, device and storage medium
US20220365899A1 (en) PCIe-Based Data Transmission Method, Apparatus, and System
JP7448597B2 (en) Message generation method and device and message processing method and device
CN114500633B (en) Data forwarding method, related device, program product and data transmission system
CN113596017B (en) Protocol analysis method and device, soft gateway and storage medium
CN112003685B (en) Flexible Ethernet message forwarding method and device
CN109728926B (en) Communication method and network device
WO2024103582A1 (en) Method for acquiring data of link nodes and system
JP2008521083A (en) Configuration providing method, server, software, apparatus and signal
CN111865801A (en) Virtio port-based data transmission method and system
CN113904980B (en) Channel switching method, device, switch and storage medium
CN112162868B (en) Data communication method, device and storage medium applied to cluster processing
WO2022135321A1 (en) Packet transmission method, device and system
WO2023231836A1 (en) File synchronization method, apparatus, device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant