CN111726557A - Equipment channel control method and device, multi-equipment system and video processor - Google Patents
Equipment channel control method and device, multi-equipment system and video processor Download PDFInfo
- Publication number
- CN111726557A CN111726557A CN201910207656.3A CN201910207656A CN111726557A CN 111726557 A CN111726557 A CN 111726557A CN 201910207656 A CN201910207656 A CN 201910207656A CN 111726557 A CN111726557 A CN 111726557A
- Authority
- CN
- China
- Prior art keywords
- channel
- channel identification
- input
- control
- sequence
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/10—Adaptations for transmission by electrical cable
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/22—Adaptations for optical transmission
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Transfer Systems (AREA)
Abstract
The embodiment of the invention provides an equipment channel control method, an equipment channel control device, a multi-equipment system and a video processor, wherein the equipment channel control method comprises the following steps: acquiring a plurality of channel identification codes which are respectively transmitted by the cables and respectively input from the input channels, wherein the channel identification codes are different from each other; obtaining a channel identification code sequence based on the position sequence of the plurality of input channels, wherein the position sequence number of each of the plurality of channel identification codes in the channel identification code sequence is consistent with the position sequence number of the input channel inputting the channel identification code in the position sequence; determining a control signal based on the channel identification code sequence; and responding to the control signal to control the communication relation between the output channels and the input channels. The embodiment of the invention can readjust the communication relation in the equipment and self-adapt to the wrong connection sequence of the cables.
Description
Technical Field
The present invention relates to the field of embedded device technologies, and in particular, to a device channel control method, a device channel control apparatus, a multi-device system, and a video processor.
Background
When multiple video processors are cascaded, a video source accessed by one video processor often needs to be transmitted to another video processor, and in order to ensure the quality and the real-time performance of the video source, a high-speed interface gtx (gigabit driver) is generally adopted for transmission. The transmission medium of the high-speed interface is usually cable or optical fiber, but because the bandwidth of the high-speed interface is limited, a single cable or optical cable cannot meet the requirement, and a plurality of optical fibers or cables are usually used. In the actual use process, a user must connect optical fibers or cables between the interfaces of the two video processors in a one-to-one correspondence manner according to the sequence, if the user makes the connection sequence of the optical fibers or cables wrong, the cascade connection between the video processors will cause problems, which leads to abnormal communication or communication interruption between the two video processors, and the process of troubleshooting is also tedious.
Disclosure of Invention
Therefore, an embodiment of the present invention provides an equipment channel control method, an equipment channel control apparatus, a multi-equipment system, and a video processor, which can readjust a connectivity relationship inside equipment to adapt to an incorrect connection sequence of cables.
In particular, in a first aspect, an embodiment of the present invention provides an apparatus channel control method, which is suitable for being applied to a first apparatus having a plurality of input channels and a plurality of output channels, where the plurality of input channels are suitable for being respectively connected to a second apparatus through a plurality of cables; the equipment channel control method comprises the following steps: acquiring a plurality of channel identification codes which are respectively transmitted by the cables and respectively input from the input channels, wherein the channel identification codes are different from each other; obtaining a channel identification code sequence based on the position sequence of the plurality of input channels, wherein the position sequence number of each of the plurality of channel identification codes in the channel identification code sequence is consistent with the position sequence number of the input channel inputting the channel identification code in the position sequence; determining a control signal based on the channel identification code sequence; and responding to the control signal to control the communication relation between the output channels and the input channels.
In one embodiment of the present invention, the determining a control signal based on the channel identification code sequence comprises: and searching a control code corresponding to the channel identification code sequence from a control code table based on the channel identification code sequence to obtain the control signal.
In a second aspect, an embodiment of the present invention provides an apparatus channel control device, including: the identification code acquisition module is used for acquiring a plurality of channel identification codes which are respectively transmitted by the cables and respectively input from the input channels, wherein the channel identification codes are different from each other; a sequence obtaining module, configured to obtain a channel identifier code sequence based on a position sequence of the plurality of input channels, where a position sequence number of each of the plurality of channel identifiers in the channel identifier code sequence is consistent with a position sequence number of the input channel, in which the channel identifier code is input, in the position sequence; a signal determination module for determining a control signal based on the channel identification code sequence; and the signal response module is used for responding to the control signal to control the communication relation between the plurality of output channels and the plurality of input channels respectively.
In an embodiment of the present invention, the signal determining module is specifically configured to: and searching a control code corresponding to the channel identification code sequence from a control code table based on the channel identification code sequence to obtain the control signal.
In a third aspect, an embodiment of the present invention provides a multi-device system, including: a first device having a plurality of first input channels and a plurality of first output channels; a second device having a plurality of second output channels for outputting a plurality of channel identification codes, respectively; a plurality of cables connected between the plurality of first input channels and the plurality of second output channels; wherein the first device is to: acquiring the channel identification codes which are respectively transmitted by the cables and respectively input from the first input channels, wherein the channel identification codes are different from each other; obtaining a channel identification code sequence based on the position sequence of the first input channels, wherein the position sequence number of each of the channel identification codes in the channel identification code sequence is consistent with the position sequence number of the first input channel inputting the channel identification code in the position sequence; determining a control signal based on the channel identification code sequence; and responding to the control signal to control the communication relation between the first output channels and the first input channels.
In one embodiment of the invention, the first device further has a multiplexer for multiple-in and multiple-out; the multiplexer is connected between the plurality of first input channels and the plurality of first output channels, and the multiplexer is used for responding to the control signal to control the communication relation between the plurality of first output channels and the plurality of first input channels respectively.
In one embodiment of the invention, the first device comprises a microcontroller and a programmable logic device, and the microcontroller is connected with the programmable logic device; the programmable logic device comprises a plurality of first input channels and a plurality of first output channels and a multiplexer connected between the plurality of first input channels and the plurality of first output channels; the microcontroller is configured to determine a control signal based on the channel identifier code sequence, and the multiplexer is configured to control a communication relationship between the plurality of first output channels and the plurality of first input channels, respectively, in response to the control signal.
In an embodiment of the present invention, the first device further includes a memory, connected to the microcontroller, for storing a control code table; the microcontroller is specifically configured to: and searching a control code corresponding to the channel identification code sequence from the control code table based on the channel identification code sequence to obtain the control signal.
In a fourth aspect, an embodiment of the present invention provides a video processor, including: a programmable logic device comprising a plurality of input channels and a plurality of output channels; wherein the programmable logic device is to: acquiring a plurality of channel identification codes which are respectively transmitted by a plurality of cables and respectively input from a plurality of input channels, wherein the channel identification codes are different from each other; obtaining a channel identification code sequence based on the position sequence of the plurality of input channels, wherein the position sequence number of each of the plurality of channel identification codes in the channel identification code sequence is consistent with the position sequence number of the input channel inputting the channel identification code in the position sequence; the microcontroller is connected to the programmable logic device and used for determining a control signal based on the channel identification code sequence; the programmable logic device further comprises a multi-input multi-output multiplexer connected between the plurality of input channels and the plurality of output channels, and the multiplexer is used for responding to the control signal to control the communication relation between the plurality of output channels and the plurality of input channels respectively.
In an embodiment of the present invention, the aforementioned video processor further includes a memory, connected to the microcontroller, for storing a control coding table; the microcontroller is specifically configured to: and searching a control code corresponding to the channel identification code sequence from the control code table based on the channel identification code sequence to obtain the control signal.
As can be seen from the above, the above technical features of the present invention may have one or more of the following advantages: the equipment channel control method provided by the embodiment of the invention can avoid the complex steps that cables are required to be connected in sequence one by one before the equipment is used, and avoid the problems of communication interruption or abnormity and the like between the equipment caused by the error of the cable connection sequence.
Other aspects and features of the present invention will become apparent from the following detailed description, which proceeds with reference to the accompanying drawings. It is to be understood, however, that the drawings are designed solely for purposes of illustration and not as a definition of the limits of the invention. It should be further understood that the drawings are not necessarily drawn to scale and that, unless otherwise indicated, they are merely intended to conceptually illustrate the structures and procedures described herein.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of an apparatus channel control method according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of a specific implementation of an apparatus channel control method according to a first embodiment of the present invention;
fig. 3 is another schematic diagram of a specific implementation of the device channel control method according to the first embodiment of the present invention;
fig. 4 is a schematic diagram of a multiplexer in a specific implementation of a device channel control method according to a first embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus channel control device according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a multi-device system according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of a multi-device system according to a third embodiment of the present invention;
fig. 8 is a schematic diagram of another structure of a multi-device system according to a third embodiment of the present invention; and
fig. 9 is a schematic structural diagram of a video processor according to a fourth embodiment of the present invention.
[ description of reference ]
S11-S14: a device channel control method;
20: an equipment channel control device; 21: an identification code acquisition module; 22: a serial number acquisition module; 23: a signal determination module; 24: a signal response module;
30: a multi-device system; 31: equipment; 32: equipment; 321: a plurality of output channels; 33: a cable; 311: a plurality of input channels; 312: a plurality of output channels; 313: a multiplexer; 34: a programmable logic device; 35: a microcontroller; 36: a memory;
40: a video processor; 41: a programmable logic device; 411: a plurality of input channels; 412: a plurality of output channels; 413: a multiplexer; 42: a microcontroller; 43: a memory.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not a whole embodiment. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
[ first embodiment ] A method for manufacturing a semiconductor device
Referring to fig. 1, a first embodiment of the present invention proposes an apparatus channel control method. As shown in fig. 1, the device channel control method includes, for example, steps S11 to S14.
Step S11: acquiring a plurality of channel identification codes which are respectively transmitted by the cables and respectively input from the input channels, wherein the channel identification codes are different from each other;
step S12: obtaining a channel identification code sequence based on the position sequence of the plurality of input channels, wherein the position sequence number of each of the plurality of channel identification codes in the channel identification code sequence is consistent with the position sequence number of the input channel inputting the channel identification code in the position sequence;
step S13: determining a control signal based on the channel identification code sequence; and
step S14: and responding to the control signal to control the communication relation between the output channels and the input channels.
Specifically, the device channel control method provided by the first embodiment of the present invention is suitable for being applied to a first device having a plurality of input channels and a plurality of output channels, for example, and the plurality of input channels are suitable for being connected to a second device through a plurality of cables, respectively.
In step S11, the cable is, for example, an electrical cable or an optical fiber, and the channel identification codes are unique identifiers of the corresponding input channels. For example, the channel id is, for example, serial number "1, 2, 3 …". In step S12, the channel id sequence is a sequence in which a plurality of channel ids are arranged in the order of the positions of a plurality of input channels. For example, the position sequence of the input channels is 1, 2, and 3 …, the input channels correspond to the channel identifiers, for example, "a, b, c …", and the obtained channel identifier sequence is "abcd …", that is, the position serial number of each of the mentioned channel identifiers in the mentioned channel identifier sequence is identical to the position serial number of the input channel for inputting the channel identifier in the position sequence. Step S13 includes, for example: and automatically searching a control code corresponding to the channel identification code sequence from a control code table based on the channel identification code sequence to obtain the control signal. The control code table is mainly composed of a channel identification code sequence and corresponding control codes, and each control code is unique, namely, the control codes are different.
For better understanding of the present embodiment, a specific implementation of the device channel control method provided in the present embodiment is described below with reference to fig. 2 to 4.
As shown in fig. 2, device a has four output channels, output channel 1, output channel 2, output channel 3, and output channel 4. Device B has four input channels, input channel 1, input channel 2, input channel 3, and input channel 4. It is now necessary to cascade two devices, i.e. to cascade device a and device B with 4 cables, e.g. optical fibers, to form 4 communication channels. In the prior art, when a user uses optical fibers to cascade device a and device B, each optical fiber needs to connect a corresponding channel, that is, output channel 1 of device a connects input channel 1 of device B, output channel 2 of device a connects input channel 2 of device B, output channel 3 of device a connects input channel 3 of device B, and output channel 4 of device a connects input channel 4 of device B. The device channel control method provided by the first embodiment of the present invention does not need to care whether the respective channels of the two devices are connected correspondingly, and only needs to ensure reliable connection of optical fibers. For example, as shown in FIG. 2, the user connects output channel 1 of device A to input channel 2 of device B, output channel 2 of device A to input channel 1 of device B, output channel 3 of device A to input channel 3 of device B, and output channel 4 of device A to input channel 4 of device B.
After the two devices are connected, firstly, the device a sends channel identification codes through 4 connected channels, the channel identification codes are 1, 2, 3 and 4 respectively, that is, the output channel 1 of the device a sends the channel identification code 1 to the input channel 2 of the device B through an optical fiber, the output channel 2 of the device a sends the channel identification code 2 to the input channel 1 of the device B through the optical fiber, the output channel 3 of the device a sends the channel identification code 3 to the input channel 3 of the device B through the optical fiber, and the output channel 4 of the device a sends the channel identification code 4 to the input channel 4 of the device B through the optical fiber. The device B obtains a plurality of channel identification codes sent by the device a to obtain a sequence of channel identification codes. If the channel id sequence obtained by device B is 1234, it indicates that the connection sequence of the two devices is correct, and no adjustment is needed. If the channel id code sequence obtained by device B is not 1234, it indicates that the two devices are not connected in the correct order. According to the foregoing connection manner, the channel identifier sequence obtained by the device B is 2134. At this time, the device B searches for the control code 00001 corresponding to the channel identification code sequence 2134 from the control code table shown in table 1 to obtain a corresponding control signal, and the device B controls the communication relationship between the four input channels of the device B and the four output channels of the device B according to the corresponding control information, that is, the input channel 1 of the device B is communicated with the output channel 2 of the device B, the input channel 2 of the device B is communicated with the output channel 1 of the device B, the input channel 3 of the device B is communicated with the output channel 3 of the device B, and the input channel 4 of the device B is communicated with the output channel 4 of the device B. It should be noted here that the output channels 1 to 4 in the device B are not necessarily the final data output channels of the device B, but may also be data input channels of some processing modules in the device B.
TABLE 1 control coding table
Control coding | Channel identification code sequence |
00000 | 1234 |
00001 | 2134 |
00010 | 1243 |
… | … |
11111 | 4321 |
Further, as shown in fig. 3, a 4-in-4-out MUX (multiplexer) is provided in the device B, for example, and is configured to control the communication relationship between the plurality of output channels and the plurality of input channels of the device B in response to the control signal. As shown in fig. 4, both ends of the MUX are provided with 4 interfaces, the interface disposed at the left end of the MUX corresponds to four input channels of the connection device B, and the interface disposed at the right end of the MUX corresponds to four output channels of the connection device B. The channel identifier code sequence output by the right end of the MUX is always unchanged, which is 1234. There are 24 choices in the channel identification code sequence input at the left end of the MUX, which can adapt to all possible cases of wrong connection in this embodiment. In addition, the MUX also has a control terminal (SEL) which adopts a coding mode to indicate that the control coding adopts 5 bits because the channel identification code sequence has 24 choices. The MUX searches the corresponding control code 00001 from the control code table shown in table 1 according to the channel identification code sequence 2134 obtained by the erroneous connection between the two devices, and then generates a control signal to adjust the communication relationship between the input and the output of the device B, so that the output at the right end of the MUX in the device B is the output in a fixed sequence, namely 1234.
It should be noted that the control code table shown in table 1 does not limit the correspondence between the channel identifier sequences and the control codes, that is, the control code corresponding to each channel identifier sequence can be adjusted according to the user requirement, for example, the channel identifier sequence 2134 may also correspond to the control code 00010. In addition, in the specific implementation manner of this embodiment, four channels are taken as an example to illustrate, and accordingly, the number of the control encoding bits is 5 bits, but the present invention is not limited thereto, and the number of the channels may be increased or decreased according to the user requirement, and the number of the corresponding control encoding bits is also increased or decreased.
In addition, the device channel control method provided by the embodiment can be applied to products such as a video processor, a video input source expander, an adaptor in the communication field and the like.
In summary, the device channel control method provided in the first embodiment of the present invention avoids the tedious steps that cables need to be connected in sequence one-to-one before the devices are used, avoids the problems of communication interruption or abnormality between the devices due to a wrong cable connection sequence, and the like, can implement readjustment of the connectivity inside the devices, achieves an effect of adapting to the wrong cable connection sequence, and a user does not need to care whether the connection sequence of the cables is correct, but only needs to ensure reliable connection of the cables, thereby improving the usability of the devices.
[ second embodiment ]
Referring to fig. 5, a second embodiment of the present invention provides an apparatus channel control device. As shown in fig. 5, the device channel control apparatus 20 includes, for example: an identification code acquiring module 21, a serial number acquiring module 22, a signal determining module 23 and a signal responding module 24.
The identification code acquiring module 21 is configured to acquire a plurality of channel identification codes respectively transmitted by the plurality of cables and respectively input from the plurality of input channels, where the plurality of channel identification codes are different from each other. The sequence obtaining module 22 is configured to obtain a channel identifier code sequence based on a position sequence of the plurality of input channels, where a position serial number of each of the plurality of channel identifiers in the channel identifier code sequence is consistent with a position serial number of the input channel that inputs the channel identifier code in the position sequence. The signal determination module 23 is configured to determine a control signal based on the channel identifier code sequence. The signal response module 24 is configured to respond to the control signal to control the communication relationship between the plurality of output channels and the plurality of input channels, respectively.
Further, the signal determining module 23 is specifically configured to look up a control code corresponding to the channel identifier sequence from a control code table based on the channel identifier sequence to obtain the control signal.
The device channel control method implemented by the device channel control apparatus 20 of this embodiment is as described in the first embodiment, and therefore, will not be described in detail here. Optionally, each module and the other operations or functions in the second embodiment are respectively for implementing the method in the first embodiment of the present invention, and are not described herein for brevity.
In summary, the method for controlling the device channel implemented by the device channel control apparatus provided in the second embodiment of the present invention avoids the tedious steps that cables need to be connected in sequence one-to-one before the devices are used, avoids the problems of communication interruption or abnormality between the devices due to an error in the connection sequence of the cables, and the like, can implement readjustment of the connectivity inside the devices, achieves the effect of adapting to the incorrect connection sequence of the cables, and only needs to ensure reliable connection of the cables without the user needing to care whether the connection sequence of the cables is correct, thereby improving the usability of the devices.
[ third embodiment ]
Referring to fig. 6, a third embodiment of the present invention provides a multi-device system. As shown in fig. 6, the multi-device system 30 includes, for example: device 31, device 32, and a plurality of cables 33.
Where device 31 has a plurality of input channels 311 and a plurality of output channels 312. The device 32 has a plurality of output channels 321, wherein the plurality of second output channels 321 are used for respectively outputting a plurality of channel identification codes. A plurality of cables 33 are connected between the plurality of input channels 311 and the plurality of output channels 321. Wherein, the device 31 is used to implement the device channel control method according to the first embodiment, for example, the device 31 is used to implement the following steps:
(i) acquiring the channel identification codes which are respectively transmitted by the cables and respectively input from the first input channels, wherein the channel identification codes are different from each other;
(ii) obtaining a channel identification code sequence based on the position sequence of the first input channels, wherein the position sequence number of each of the channel identification codes in the channel identification code sequence is consistent with the position sequence number of the first input channel inputting the channel identification code in the position sequence;
(iii) determining a control signal based on the channel identification code sequence;
(iv) and responding to the control signal to control the communication relation between the first output channels and the first input channels.
Where cables are mentioned, for example optical fibres or electrical cables. Further, as shown in fig. 7, the device 31 also has, for example, a multi-input multi-output multiplexer 313. The multiplexer 313 is connected between the plurality of input channels 311 and the plurality of output channels 312, and the multiplexer 313 is configured to control the communication relationship between the plurality of output channels 312 and the plurality of input channels 311, respectively, in response to the control signal.
Further, as shown in fig. 8, the device 31 includes, for example, a microcontroller 35 and a programmable logic device 34, and the microcontroller 35 is connected to the programmable logic device 34.
Specifically, the programmable logic device 34 includes a plurality of input channels 311 and a plurality of output channels 312, and a multi-input multi-output multiplexer 313 connected between the plurality of input channels 311 and the plurality of output channels 312. The microcontroller 35 is configured to determine a control signal based on the channel identifier code sequence, and the multiplexer 313 is configured to control the communication relationship between the plurality of first output channels and the plurality of first input channels respectively in response to the control signal.
Further, the device 31 for example also comprises a memory 36 connected to the microcontroller 35 for storing a control code table. The microcontroller 35 is specifically configured to: and searching a control code corresponding to the channel identification code sequence from the control code table based on the channel identification code sequence to obtain the control signal.
The Programmable logic device 34 is, for example, an FPGA (Field-Programmable Gate Array) or other similar logic devices. The Microcontroller 35 is, for example, an MCU (Microcontroller Unit), which is also called a Single Chip Microcomputer (Single Chip Microcomputer) or a Single Chip Microcomputer. Or, other microprocessors with certain data processing and computing capabilities, such as ARM processors and DSP processors. The memory 36 is, for example, a nonvolatile memory, such as a Flash memory.
It should be noted that, the device 31 is used to implement the device channel control method according to the first embodiment, and reference may be made to the first embodiment for a description of a specific adopted device channel control method. This embodiment will not be described repeatedly. The device 31 corresponds to the device B mentioned in the detailed description of the first embodiment, and the device 32 corresponds to the device a mentioned in the detailed description of the first embodiment.
To sum up, the device channel control method implemented by the multi-device system 30 according to the third embodiment of the present invention avoids the tedious steps that cables need to be connected in sequence one-to-one before devices are used, avoids the problems of communication interruption or abnormality between devices due to an error in the cable connection sequence, and the like, can implement readjustment of the connectivity inside the devices, achieves the effect of adapting to the incorrect connection sequence of the cables, and only needs to ensure reliable connection of the cables without the user needing to care whether the connection sequence of the cables is correct, thereby improving the usability of the devices.
[ fourth example ] A
Referring to fig. 9, a fourth embodiment of the present invention provides a video processor. As shown in fig. 9, the video processor 40 includes, for example: a programmable logic device 41 and a microcontroller 42.
The microcontroller 42 is connected to the programmable logic device 41 for determining a control signal based on the channel identification code sequence. The programmable logic device 41 further includes a multi-input and multi-output multiplexer 413 connected between the plurality of input channels 411 and the plurality of output channels 412, and the multiplexer 413 is configured to control the communication relationship between the plurality of output channels 412 and the plurality of input channels 411 respectively in response to the control signal.
Further, the video processor 40 provided in the embodiment of the present invention optionally further includes, for example, a memory 43. The memory 43 is connected to the microcontroller 42 for storing a control code table. The microcontroller 42 is specifically configured to: and searching a control code corresponding to the channel identification code sequence from the control code table based on the channel identification code sequence to obtain the control signal.
The Programmable logic device 41 is, for example, an FPGA (Field-Programmable Gate Array) or other similar logic devices. The Microcontroller 42 is, for example, an MCU (Microcontroller Unit), which is also called a Single Chip Microcomputer (Single Chip Microcomputer) or a Single Chip Microcomputer. Or, other microprocessors with certain data processing and computing capabilities, such as ARM processors and DSP processors. The memory 43 is, for example, a nonvolatile memory, such as a Flash memory.
It should be noted that, the video processor 40 provided in this embodiment is used to implement the device channel control method according to the first embodiment, and reference may be made to the first embodiment for a description of the device channel control method adopted by the video processor 40. For brevity, the description thereof is not repeated in this embodiment.
To sum up, the method for controlling a device channel implemented by the video processor according to the fourth embodiment of the present invention avoids the tedious steps that cables need to be connected in sequence one-to-one before the device is used, avoids the problems of communication interruption or abnormality between devices due to an error in the connection sequence of the cables, and the like, can implement readjustment of the connectivity inside the device, achieves the effect of adapting to the incorrect connection sequence of the cables, and only needs to ensure reliable connection of the cables without the user being concerned about whether the connection sequence of the cables is correct, thereby improving the usability of the device.
In summary, the embodiments provided in the present disclosure should be understood that the disclosed system, apparatus and/or method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and the actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. An equipment channel control method is characterized in that the method is suitable for being applied to a first equipment with a plurality of input channels and a plurality of output channels, and the input channels are suitable for being respectively connected with a second equipment through a plurality of cables; the equipment channel control method comprises the following steps:
acquiring a plurality of channel identification codes which are respectively transmitted by the cables and respectively input from the input channels, wherein the channel identification codes are different from each other;
obtaining a channel identification code sequence based on the position sequence of the plurality of input channels, wherein the position sequence number of each of the plurality of channel identification codes in the channel identification code sequence is consistent with the position sequence number of the input channel inputting the channel identification code in the position sequence;
determining a control signal based on the channel identification code sequence; and
and responding to the control signal to control the communication relation between the output channels and the input channels.
2. The device channel control method of claim 1, wherein said determining a control signal based on the channel identifier code sequence comprises:
and searching a control code corresponding to the channel identification code sequence from a control code table based on the channel identification code sequence to obtain the control signal.
3. An apparatus channel control device, comprising:
the identification code acquisition module is used for acquiring a plurality of channel identification codes which are respectively transmitted by the cables and respectively input from the input channels, wherein the channel identification codes are different from each other;
a sequence obtaining module, configured to obtain a channel identifier code sequence based on a position sequence of the plurality of input channels, where a position sequence number of each of the plurality of channel identifiers in the channel identifier code sequence is consistent with a position sequence number of the input channel, in which the channel identifier code is input, in the position sequence;
a signal determination module for determining a control signal based on the channel identification code sequence; and
and the signal response module is used for responding to the control signal to control the communication relation between the plurality of output channels and the plurality of input channels respectively.
4. The device channel control apparatus of claim 3, wherein the signal determining module is specifically configured to: and searching a control code corresponding to the channel identification code sequence from a control code table based on the channel identification code sequence to obtain the control signal.
5. A multi-device system, comprising:
a first device having a plurality of first input channels and a plurality of first output channels;
a second device having a plurality of second output channels for outputting a plurality of channel identification codes, respectively;
a plurality of cables connected between the plurality of first input channels and the plurality of second output channels;
wherein the first device is to:
acquiring the channel identification codes which are respectively transmitted by the cables and respectively input from the first input channels, wherein the channel identification codes are different from each other;
obtaining a channel identification code sequence based on the position sequence of the first input channels, wherein the position sequence number of each of the channel identification codes in the channel identification code sequence is consistent with the position sequence number of the first input channel inputting the channel identification code in the position sequence;
determining a control signal based on the channel identification code sequence; and
and controlling the communication relation between the plurality of first output channels and the plurality of first input channels respectively in response to the control signals.
6. The multi-device system according to claim 5, wherein the first device further has a multiplexer for multiple-in and multiple-out; the multiplexer is connected between the plurality of first input channels and the plurality of first output channels, and the multiplexer is used for responding to the control signal to control the communication relation between the plurality of first output channels and the plurality of first input channels respectively.
7. The multi-device system of claim 5, wherein the first device comprises a microcontroller and a programmable logic device, and the microcontroller is connected to the programmable logic device; the programmable logic device comprises a plurality of first input channels and a plurality of first output channels and a multiplexer connected between the plurality of first input channels and the plurality of first output channels; the microcontroller is configured to determine a control signal based on the channel identifier code sequence, and the multiplexer is configured to control a communication relationship between the plurality of first output channels and the plurality of first input channels, respectively, in response to the control signal.
8. The multi-device system of claim 7, wherein the first device further comprises a memory, coupled to the microcontroller, for storing a control code table;
the microcontroller is specifically configured to: and searching a control code corresponding to the channel identification code sequence from the control code table based on the channel identification code sequence to obtain the control signal.
9. A video processor, comprising:
a programmable logic device comprising a plurality of input channels and a plurality of output channels; wherein the programmable logic device is to:
acquiring a plurality of channel identification codes which are respectively transmitted by a plurality of cables and respectively input from a plurality of input channels, wherein the channel identification codes are different from each other; and
obtaining a channel identification code sequence based on the position sequence of the plurality of input channels, wherein the position sequence number of each of the plurality of channel identification codes in the channel identification code sequence is consistent with the position sequence number of the input channel inputting the channel identification code in the position sequence; and
the microcontroller is connected to the programmable logic device and used for determining a control signal based on the channel identification code sequence;
the programmable logic device further comprises a multi-input multi-output multiplexer connected between the plurality of input channels and the plurality of output channels, and the multiplexer is used for responding to the control signal to control the communication relation between the plurality of output channels and the plurality of input channels respectively.
10. The video processor of claim 9, further comprising a memory coupled to the microcontroller for storing a control code table;
the microcontroller is specifically configured to: and searching a control code corresponding to the channel identification code sequence from the control code table based on the channel identification code sequence to obtain the control signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910207656.3A CN111726557A (en) | 2019-03-19 | 2019-03-19 | Equipment channel control method and device, multi-equipment system and video processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910207656.3A CN111726557A (en) | 2019-03-19 | 2019-03-19 | Equipment channel control method and device, multi-equipment system and video processor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111726557A true CN111726557A (en) | 2020-09-29 |
Family
ID=72562347
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910207656.3A Pending CN111726557A (en) | 2019-03-19 | 2019-03-19 | Equipment channel control method and device, multi-equipment system and video processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111726557A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113727091A (en) * | 2021-07-12 | 2021-11-30 | 深圳市有为信息技术发展有限公司 | Video input channel testing method and system for video terminal |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001102988A (en) * | 1999-09-30 | 2001-04-13 | Nec Eng Ltd | Initial connection system and its control circuit |
CN1838568A (en) * | 2004-11-18 | 2006-09-27 | 国际商业机器公司 | Apparatus, system, and method for detecting a fibre channel miscabling event |
CN101262977A (en) * | 2004-04-30 | 2008-09-10 | 安捷伦科技有限公司 | Method and apparatus for high-speed multiple channel and line selector switch |
CN101325752A (en) * | 2007-06-14 | 2008-12-17 | 大唐移动通信设备有限公司 | Base station primary device as well as control method and system for signal transmission between far-pulling unit and the primary device |
CN101540872A (en) * | 2009-02-23 | 2009-09-23 | 深圳华为通信技术有限公司 | Control method of multichannel cascade connection of media control server, device and system thereof |
CN102692556A (en) * | 2011-03-25 | 2012-09-26 | 深圳市锐能微科技有限公司 | Three-phase electric quantity calculation method and apparatus thereof |
CN105468326A (en) * | 2016-01-08 | 2016-04-06 | 京东方科技集团股份有限公司 | Display device and method and device for adjusting information channels thereof |
CN107194075A (en) * | 2017-05-24 | 2017-09-22 | 上海安路信息科技有限公司 | The connecting line construction and distributing system and method for PLD |
CN108898201A (en) * | 2018-07-13 | 2018-11-27 | 汉能移动能源控股集团有限公司 | Information association system and method for solar assembly |
-
2019
- 2019-03-19 CN CN201910207656.3A patent/CN111726557A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001102988A (en) * | 1999-09-30 | 2001-04-13 | Nec Eng Ltd | Initial connection system and its control circuit |
CN101262977A (en) * | 2004-04-30 | 2008-09-10 | 安捷伦科技有限公司 | Method and apparatus for high-speed multiple channel and line selector switch |
CN1838568A (en) * | 2004-11-18 | 2006-09-27 | 国际商业机器公司 | Apparatus, system, and method for detecting a fibre channel miscabling event |
CN101325752A (en) * | 2007-06-14 | 2008-12-17 | 大唐移动通信设备有限公司 | Base station primary device as well as control method and system for signal transmission between far-pulling unit and the primary device |
CN101540872A (en) * | 2009-02-23 | 2009-09-23 | 深圳华为通信技术有限公司 | Control method of multichannel cascade connection of media control server, device and system thereof |
CN102692556A (en) * | 2011-03-25 | 2012-09-26 | 深圳市锐能微科技有限公司 | Three-phase electric quantity calculation method and apparatus thereof |
CN105468326A (en) * | 2016-01-08 | 2016-04-06 | 京东方科技集团股份有限公司 | Display device and method and device for adjusting information channels thereof |
CN107194075A (en) * | 2017-05-24 | 2017-09-22 | 上海安路信息科技有限公司 | The connecting line construction and distributing system and method for PLD |
CN108898201A (en) * | 2018-07-13 | 2018-11-27 | 汉能移动能源控股集团有限公司 | Information association system and method for solar assembly |
Non-Patent Citations (1)
Title |
---|
靳藩: "《神经网络理论与应用研究》", 31 December 1996 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113727091A (en) * | 2021-07-12 | 2021-11-30 | 深圳市有为信息技术发展有限公司 | Video input channel testing method and system for video terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113630668B (en) | Equipment control method and device and storage medium | |
JP2019175424A (en) | Method and system for checking error of cable | |
CN111726557A (en) | Equipment channel control method and device, multi-equipment system and video processor | |
US20180181327A1 (en) | Method, apparatus or software for transferring a storage replication system between storage systems | |
CN106155954A (en) | The system and method that a kind of module identification and COM1 distribute automatically | |
CN111338869A (en) | Configuration parameter management method, device, equipment and storage medium | |
US20180106702A1 (en) | Universal manufacturing test platform | |
CN117271412A (en) | Automatic dialing method, system, computer equipment and storage medium | |
CN117632637A (en) | Hard disk management method, hard disk management device, computer readable storage medium and electronic equipment | |
CN117251401A (en) | Serial port information output control system, method and device | |
CN112217592A (en) | Management control method and equipment for new forwarding network | |
US11632266B2 (en) | Device setting control device, network system, device setting method, and program | |
CN107590086B (en) | Communication connection device and method and communication single board | |
CN107155359A (en) | Method, user equipment and the external equipment of multiplexing peripheral interface | |
CN110493671B (en) | Method and device for acquiring time delay adjustment value | |
CN109885519B (en) | Connection switching method for serial port of main control board and main control board | |
CN115079049A (en) | Detection method, device and equipment for wire harness | |
CN112463498A (en) | Hardware module testing method, system, electronic device and storage medium | |
CN112100109B (en) | Cable connection fault-tolerant connection device and method | |
CN109328447B (en) | Interface module, system having an interface module and method for coupling a data bus | |
US9742906B2 (en) | Method and device for testing in a DSL environment | |
CN110850779A (en) | Circuit of CAN bus interface expansion interface | |
US10965526B2 (en) | System and method for automatic transport connection of a network element | |
CN109542702A (en) | A kind of test equipment and test method | |
KR101539929B1 (en) | optical fiber distribution apparatus capable of automatically administrating cable number |
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 | ||
CB02 | Change of applicant information |
Address after: 710075 DEF101, Zero One Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province Applicant after: XI'AN NOVASTAR TECH Co.,Ltd. Address before: 710075 DEF101, Zero One Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province Applicant before: Xi'an NovaStar Tech Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200929 |
|
RJ01 | Rejection of invention patent application after publication |