CN110059046B - Method, system and readable medium for switching transmission path of data signal - Google Patents
Method, system and readable medium for switching transmission path of data signal Download PDFInfo
- Publication number
- CN110059046B CN110059046B CN201910332835.XA CN201910332835A CN110059046B CN 110059046 B CN110059046 B CN 110059046B CN 201910332835 A CN201910332835 A CN 201910332835A CN 110059046 B CN110059046 B CN 110059046B
- Authority
- CN
- China
- Prior art keywords
- data signal
- target port
- signal
- transmitting
- changed
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000005540 biological transmission Effects 0.000 title claims abstract description 22
- 230000008859 change Effects 0.000 claims abstract description 36
- 230000004044 response Effects 0.000 claims abstract description 10
- 230000008569 process Effects 0.000 claims abstract description 9
- 230000008054 signal transmission Effects 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 238000013461 design Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
The invention discloses a method for switching a transmission path of a data signal, which comprises the following steps: setting a plurality of control signals on a host module and setting corresponding virtual host signals on different ports; in the process of data signal transmission, whether a target port of a data signal changes is judged in real time, and the source of the data signal is judged in response to the change of the target port; responding to the host module as the source of the data signal, receiving a control signal which is output by the host module and corresponds to the changed target port, and transmitting the data signal to the changed target port according to the control signal; and responding to the source of the data signal being the target port before the change, receiving a corresponding virtual host signal from the target port before the change, and transmitting the data signal to the target port after the change according to the virtual host signal. The method and the device for switching the transmission path of the data signal can realize the automatic switching of the uplink and downlink connection ports of different data signals.
Description
Technical Field
The present invention relates to the field of data signal transmission, and more particularly, to a method, a system and a readable medium for switching a transmission path of a data signal.
Background
At present, the conventional method of data signal interconnection design of a traditional host computer is to determine the connection topology of data signals at the hardware design stage, reserve cable connection ports or connection slots at uplink and downlink ends, and interconnect different ports according to the design requirements. The cable combination and the slot position of the interconnection design from the upstream end to the downstream end are relatively fixed and single, and when the requirement of changing another connection port mode exists, a worker needs to manually shut down the machine to switch the cables at the upstream end and the downstream end or plug the board card into different slot positions.
The traditional method for switching the uplink and downlink connection ports of the data signals through the cable and the slot cannot realize automatic switching, and when the host module needs to switch different ports, an operator needs to power off and shut down the host module to complete the exchange of the cable connection ports or adjust the board card to be inserted into different slot positions. This kind of traditional way not only can bring inconvenience for operating personnel, needs the host computer module outage moreover and can influence the normal work of complete machine system, greatly influences work efficiency and the stability of host computer module like this, can increase the later maintenance cost simultaneously.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for switching a transmission path of a data signal, which enable an operator to perform real-time maintenance and fast automatic switching on switching of a data signal of a host module, and do not need manual operation.
In view of the above, an aspect of the embodiments of the present invention provides a method for switching a transmission path of a data signal, including the following steps: setting a plurality of control signals on a host module and setting corresponding virtual host signals on different ports; in the process of data signal transmission, whether a target port of a data signal changes is judged in real time, and the source of the data signal is judged in response to the change of the target port; responding to the host module as the source of the data signal, receiving a control signal which is output by the host module and corresponds to the changed target port, and transmitting the data signal to the changed target port according to the control signal; and responding to the source of the data signal being the target port before the change, receiving a corresponding virtual host signal from the target port before the change, and transmitting the data signal to the target port after the change according to the virtual host signal.
In some embodiments, transmitting the data signal to the changed target port according to the control signal includes: and transmitting the data signal to the switching unit, and transmitting the data signal to the changed target port through the switching unit.
In some embodiments, transmitting the data signal to the changed target port through the switching unit includes: the switching unit transmits the data signal to the corresponding output unit, and the output unit transmits the data signal to the changed target port.
In some embodiments, transmitting the data signal to the changed target port according to the virtual host signal includes: and transmitting the data signal to one of the switching units according to the virtual host signal, and transmitting the data signal to the changed target port by the switching unit.
In some embodiments, determining whether the target port has changed comprises: and judging whether the new target port is consistent with the original target port.
In some embodiments, determining the source of the data signal comprises: the data signal is determined to originate from the host module or port.
In another aspect of the embodiments of the present invention, a system for switching a transmission path of a data signal is further provided, including: a host module configured to output a data signal and a control signal; the connection mode control module is connected with the host module, is configured to receive the data signal and the control signal output by the host module, and transmits the data signal to the target port according to the control signal; the plurality of ports are connected with the connection mode control module and are configured for setting and calling a virtual host signal and receiving or outputting a data signal, wherein the connection mode control module is also configured for judging whether a target port of the data signal is changed in real time and judging the source of the data signal in response to the change of the target port; and transmitting the data signal to the target port according to the virtual host signal corresponding to the target port before the change in response to the source of the data signal being the target port before the change.
In some embodiments, the input unit is configured to receive a data signal and a control signal input by the host module; the switching unit is connected with the input unit and is configured to transmit the data signal to the output unit corresponding to the target port through the control signal; and an output unit connected with the switching unit and configured to transmit the data signal to the target port.
In some embodiments, the output unit is further configured to receive the data signal generated by the port and transmit the data signal to the switching unit, and the switching unit is further configured to receive the data signal input by the output unit and transmit the data signal to the destination port.
In yet another aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, which stores a computer program for executing the above method when executed by a processor.
The invention has the following beneficial technical effects: the automatic switching of uplink and downlink connection ports of different data signals can be realized, the switching of different modes can be realized according to different requirements, manual operation of personnel is not needed, and the later maintenance cost is saved. The automation and the mode diversification of data signal switching can be rapidly realized in the switching process, and the bidirectional interconnection and intercommunication of data signals can be realized, so that the method is convenient and rapid.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating an embodiment of a method for switching a transmission path of a data signal according to the present invention;
FIG. 2 is a diagram illustrating an embodiment of a system for switching a transmission path of a data signal according to the present invention;
FIG. 3 is a schematic diagram of distributing N sets of data signals to corresponding N ports;
FIG. 4 is a schematic diagram of the distribution of N sets of data signals to a port;
FIG. 5 is a schematic diagram of a set of data signals being sequentially distributed to N ports;
fig. 6 is a schematic diagram of N port interconnections.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above object, a first aspect of an embodiment of the present invention proposes an embodiment of a method for switching a transmission path of a data signal. Fig. 1 is a schematic flow chart illustrating an embodiment of a method for switching a transmission path of a data signal according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, setting a plurality of control signals on the host module and setting corresponding virtual host signals on different ports;
s2, in the process of data signal transmission, judging whether the target port of the data signal changes in real time;
s3, responding to the change of the target port, and judging the source of the data signal;
s4, responding to the source of the data signal being the host module, receiving a control signal output by the host module and corresponding to the changed target port, and transmitting the data signal to the changed target port according to the control signal; and responding to the source of the data signal being the target port before the change, receiving a corresponding virtual host signal from the target port before the change, and transmitting the data signal to the target port after the change according to the virtual host signal.
The data signals may include high speed signals, low speed signals, and other signals. Any port can be a target port, either a target port before change or a target port after change, and it is understood from common knowledge that, in the same transmission process, the same port cannot be both a target port before change and a target port after change. The control signals corresponding to different situations can be set in the host module in advance, and the virtual host signals corresponding to different situations can be set in each port. And the transmission paths of the data signals corresponding to different situations are different, the current situation is detected in real time, and the data signals are transmitted according to the current situation and preset instructions. Specifically, in the process of data signal transmission, whether a target port of a data signal changes or not can be judged in real time, and if the target port changes, the transmission path of the data signal is told to be changed certainly. Whether the target port is changed can be judged by detecting whether the new target port is consistent with the original target port.
The data signal has two generation paths, one being the host module and one being the port. Different generation paths cause different transmission paths of the data signal, and therefore, the source of the data signal needs to be determined first. Whether the source of the data signal is the host module or not can be judged first, and whether the source of the data signal is the target port before change or not can be judged when the source of the data signal is not the host module.
When the data signal comes from the host module, the data signal is directly transmitted from the host module to the target port through the connection mode control module. The host module outputs the data signal to the connection mode control module, and the host module outputs different control signals to the connection mode control module according to different task requirements; and the connection mode control module makes a corresponding operation response after receiving the control command and outputs the data signal to a corresponding port according to the command of the control signal. There are various ways to transmit data signals in the connection mode control module, for example, N groups of data signals may be allocated to corresponding N ports; the N groups of data signals can be distributed to any one port; it is also possible to distribute a set of data signals to the N ports in sequence. N is a positive integer. Specifically, the host module transmits the data signal to the switching unit connected to the mode control module, the switching unit transmits the data signal to the corresponding output unit, and the output unit transmits the data signal to the corresponding port.
When the data signal comes from the port, the data signal is transmitted to the target port through the connection mode control module. At this point, a virtual host signal is invoked at that port, which can be assumed to be the host, and thus corresponds to a transfer from the host module to the target port. There are many ways to create a virtual host signal, for example, a decision condition may be set in advance in a port, and a virtual host signal is formed when the formation condition is satisfied. The data signal returns to the output unit of the connection mode control module from the port, then is transmitted to any switching unit, then is transmitted to the output unit corresponding to the target port, and finally is transmitted to the target port.
It should be particularly noted that, the steps in the embodiments of the method for switching the transmission path of the data signal may be mutually intersected, replaced, added, and deleted, so that these methods for switching the transmission path of the data signal by reasonable permutation and combination should also belong to the scope of the present invention, and the scope of the present invention should not be limited to the embodiments.
In view of the above object, according to a second aspect of the embodiments of the present invention, there is provided a system for switching a transmission path of a data signal, including: a host module configured to output a data signal and a control signal; the connection mode control module is connected with the host module, is configured to receive the data signal and the control signal output by the host module, and transmits the data signal to the target port according to the control signal; the plurality of ports are connected with the connection mode control module and are configured for setting and calling a virtual host signal and receiving or outputting a data signal, wherein the connection mode control module is also configured for judging whether a target port of the data signal is changed in real time and judging the source of the data signal in response to the change of the target port; and transmitting the data signal to the target port according to the virtual host signal corresponding to the target port before the change in response to the source of the data signal being the target port before the change.
The connection mode control module includes: the input unit is configured to receive a data signal and a control signal input by the host module; the switching unit is connected with the input unit and is configured to transmit the data signal to the output unit corresponding to the target port through the control signal; and an output unit connected with the switching unit and configured to transmit the data signal to the target port. The output unit is also configured to receive the data signal generated by the port and transmit the data signal to the switching unit, and the switching unit is also configured to receive the data signal input by the output unit and transmit the data signal to the target port.
Fig. 2 is a schematic diagram of an embodiment of a system for switching a transmission path of a data signal according to the present invention. As shown in fig. 2, the system includes a host module, a connection mode control module, and N ports. IN the figure, IN represents the data signal, contral represents the control signal, and OUT _1 … … OUT _ N represents the N output cells. The host module connects N groups of data signals to the data signal input unit through 1 input port, the data signal input unit connects the N groups of data signals to N data signal switching units Switch through IN _1, IN _2, IN _3 and IN4 … IN _ N signal lines IN turn, each data signal switching unit Switch is connected with N data signal output units of OUT _1, OUT _2, OUT _3 and OUT _4 … OUT _ N which are arranged downwards IN turn, the N data signal output units are connected with N external ports IN turn, and a control signal sent by the external host module can control the working mode of each data signal switching unit Switch, so that the automatic multi-mode switching function of the data signals is realized. The connection mode control module has a plurality of working modes, for example, N groups of data signals are distributed to corresponding N ports; the N groups of data signals can be distributed to any one port; it is also possible to distribute a set of data signals to the N ports in sequence. The following detailed description is made with reference to the accompanying drawings.
Fig. 3 is a schematic diagram showing the assignment of N sets of data signals to corresponding N ports. This switching pattern allows one input port to be converted into N output ports, each of which contains N groups of data signals. The method is roughly realized by the following steps: the host module connects N groups of data signals to a data signal input unit, the data signal input unit connects the N groups of data signals to N data signal switching units Switch through IN _1, IN _2, IN _3 and IN4 … IN _ N signal lines IN sequence, the control mode signal sent by the host module enables each data signal switching unit Switch to convert a group of uplink data signals into N groups of downlink data signals, and then the N groups of downlink data signals are output to N data signal output units of OUT _1, OUT _2, OUT _3 and OUT _4 … OUT _ N corresponding to the downlink, and the N data signal output units are connected with N external ports.
Fig. 4 is a schematic diagram showing the assignment of N groups of data signals to one port. There are multiple ports in the system, only one port is illustrated in fig. 4. The switching mode can combine N groups of data signals from 1 input port to be distributed to any output port, can realize free switching of the data signals to any required port, and is convenient and fast. The method is roughly realized by the following steps: the host module connects N groups of data signals to a data signal input unit, the data signal input unit connects the N groups of data signals to N data signal switching units Switch through IN _1, IN _2, IN _3 and IN4 … IN _ N signal lines IN sequence, the control mode signal sent by the host module enables each data signal switching unit Switch to convert a group of uplink data signals into a group of downlink data signals, and then the downlink data signals are output to any data signal output unit corresponding to the downlink, and the data signal output units are connected with external ports.
Fig. 5 is a schematic diagram showing sequential distribution of a set of data signals to N ports. The system has a plurality of switching units, only one of which is illustrated in fig. 5. The switching mode can copy and distribute 1 group of data signals from 1 input port to N output ports, and can realize copy and distribution of the data signals. The method is roughly realized by the following steps: the host module connects N groups of data signals to a data signal input unit, the data signal input unit connects one group of data signals to a data signal switching unit Switch through an IN _1 signal line, a control mode signal sent by the host module enables each data signal switching unit Switch to convert one group of uplink data signals into N groups of downlink data signals, and then the N groups of downlink data signals are output to N data signal output units corresponding to the downlink, and the data signal output units are connected with external ports.
Fig. 6 shows a schematic diagram of the interconnection of N ports. The switching mode can realize that the N ports are mutually connected, and data exchange is carried out among the N ports. The method is roughly realized by the following steps: the N data signal switching units Switch and the N data signal output units are mutually and bidirectionally connected, a control mode signal sent by the host module enables each data signal switching unit Switch to open a downlink port, then each data signal switching unit Switch is sequentially and bidirectionally connected and communicated with the N data signal output units of OUT _1, OUT _2, OUT _3 and OUT _4 … OUT _ N corresponding to the downlink, and the N data signal output units are mutually and bidirectionally connected with the external N ports, so that bidirectional data signal exchange among different ports can be realized.
The process of switching the data signal transmission path will be described by taking fig. 6 as an example. Firstly, whether a target port of a data signal changes is judged in real time, if the target port does not change, further operation does not occur, and if the target port changes, for example, the target port can be switched from the port 1 to the port 2, that is, the target port before the change is the port 1, and the target port after the change is the port 2, at this time, the source of the data signal can be judged. When the source of the data signal is the host module, receiving a control signal which is output by the host module and corresponds to the changed target port, namely receiving a control signal which is output by the host module and corresponds to the port 2, and transmitting the data signal to the changed target port according to the control signal, namely transmitting the data signal to the port 2; when the source of the data signal is the target port before the change, the data signal is transmitted to the target port, continuing with the above example, that is, the source of the data signal is port 1, and the data signal is transmitted to port 2 according to the virtual host signal corresponding to port 1.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the method for switching the transmission path of the data signal can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (3)
1. A method of switching a data signal transmission path, comprising:
setting a plurality of control signals on a host module and setting corresponding virtual host signals on different ports;
in the process of data signal transmission, whether a target port of the data signal is changed or not is judged in real time;
responding to the change of a target port, and judging the source of the data signal;
responding to the fact that the source of the data signal is a host module, receiving a control signal which is output by the host module and corresponds to the changed target port, and transmitting the data signal to the changed target port according to the control signal;
in response to the source of the data signal being a target port before change, receiving a corresponding virtual host signal from the target port before change and transmitting the data signal to the target port after change according to the virtual host signal,
wherein, judging whether the target port is changed comprises: judging whether the new target port is consistent with the original target port; determining the source of the data signal includes: determining that the data signal originates from the host module or the target port before the change,
transmitting a data signal to the changed target port according to the control signal includes: transmitting the data signal to a switching unit, transmitting the data signal to the changed target port through the switching unit,
transmitting the data signal to the changed target port through the switching unit includes: the switching unit transmits the data signal to the corresponding output unit, the output unit transmits the data signal to the changed target port,
transmitting a data signal to the changed target port according to the virtual host signal includes: and transmitting a data signal to one of the switching units according to the virtual host signal, and transmitting the data signal to the changed target port by the switching unit.
2. A system for switching a transmission path of a data signal, comprising:
a host module configured to output a data signal and a control signal;
the connection mode control module is connected with the host module, is configured to receive a data signal and a control signal output by the host module, and transmits the data signal to a target port according to the control signal;
a plurality of ports connected to the connection mode control module and configured to set and invoke virtual host signals and to receive or output data signals,
the connection mode control module includes:
the input unit is configured to receive a data signal and a control signal input by the host module;
the switching unit is connected with the input unit and is configured to transmit the data signal to an output unit corresponding to a target port through the control signal; and
an output unit connected with the switching unit and configured to transmit a data signal to a destination port,
the output unit is also configured to receive the data signal generated by the port and transmit the data signal to the switching unit, the switching unit is also configured to receive the data signal input by the output unit and transmit the data signal to the target port,
the connection mode control module is also configured to judge whether a target port of a data signal is changed in real time, and judge a source of the data signal in response to the change of the target port; responding to the fact that the source of the data signal is a host module, and transmitting the data signal to the changed target port according to a control signal which is output by the host module and corresponds to the changed target port; and in response to that the source of the data signal is a target port before change, transmitting the data signal to the target port according to a virtual host signal corresponding to the target port before change, and determining whether the target port is changed includes: judging whether the new target port is consistent with the original target port; determining the source of the data signal includes: determining that the data signal originates from the host module or the target port before the change,
transmitting a data signal to the changed target port according to the control signal output by the host module corresponding to the changed target port includes: transmitting the data signal to a switching unit, and transmitting the data signal to the changed target port through the switching unit; the switching unit transmits the data signal to the corresponding output unit, the output unit transmits the data signal to the changed target port,
transmitting a data signal to the changed target port according to the virtual host signal includes: and transmitting a data signal to one of the switching units according to the virtual host signal, and transmitting the data signal to the changed target port by the switching unit.
3. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910332835.XA CN110059046B (en) | 2019-04-24 | 2019-04-24 | Method, system and readable medium for switching transmission path of data signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910332835.XA CN110059046B (en) | 2019-04-24 | 2019-04-24 | Method, system and readable medium for switching transmission path of data signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110059046A CN110059046A (en) | 2019-07-26 |
CN110059046B true CN110059046B (en) | 2020-12-04 |
Family
ID=67320427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910332835.XA Active CN110059046B (en) | 2019-04-24 | 2019-04-24 | Method, system and readable medium for switching transmission path of data signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110059046B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114579491A (en) * | 2022-01-28 | 2022-06-03 | 新华三技术有限公司合肥分公司 | Integrated circuit bus multiplexing device and network equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1624624A (en) * | 2003-12-05 | 2005-06-08 | 宏碁股份有限公司 | Display used to control computer host switch and its control method |
CN101843073A (en) * | 2007-10-30 | 2010-09-22 | 高通股份有限公司 | Methods and apparatus for fast channel switching between real time content on a device |
CN108268167A (en) * | 2016-12-30 | 2018-07-10 | 乐金显示有限公司 | Touch display unit |
CN108886374A (en) * | 2016-01-18 | 2018-11-23 | 唯亚威解决方案股份有限公司 | Method and apparatus for detecting distortion or the deformation of cellular communication signal |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100349405C (en) * | 2003-07-15 | 2007-11-14 | 中兴通讯股份有限公司 | An apparatus for implementing disaster recovery of 10G Ethernet port |
US7111102B2 (en) * | 2003-10-06 | 2006-09-19 | Cisco Technology, Inc. | Port adapter for high-bandwidth bus |
KR100659515B1 (en) * | 2004-01-26 | 2006-12-20 | 주식회사 텔레칩스 | Automatic Switching Method of USB Operation Mode, and Single-Type USB Port Device Using The Same |
US7747901B2 (en) * | 2005-07-20 | 2010-06-29 | Texas Instruments Incorporated | Auxiliary link control commands |
TWI511552B (en) * | 2012-05-17 | 2015-12-01 | Aten Int Co Ltd | Multi-media signal transmission system, multi-media signal switching apparatus, and multi-media signal transmission method |
JP2016091512A (en) * | 2014-11-11 | 2016-05-23 | ルネサスエレクトロニクス株式会社 | Connection relationship detection system, information processing apparatus, and connection relationship detection method |
US10331187B2 (en) * | 2017-01-26 | 2019-06-25 | Intel Corporation | Selectively controlling power to a connector port |
US11070512B2 (en) * | 2017-02-10 | 2021-07-20 | International Business Machines Corporation | Server port virtualization for guest logical unit number (LUN) masking in a host direct attach configuration |
-
2019
- 2019-04-24 CN CN201910332835.XA patent/CN110059046B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1624624A (en) * | 2003-12-05 | 2005-06-08 | 宏碁股份有限公司 | Display used to control computer host switch and its control method |
CN101843073A (en) * | 2007-10-30 | 2010-09-22 | 高通股份有限公司 | Methods and apparatus for fast channel switching between real time content on a device |
CN108886374A (en) * | 2016-01-18 | 2018-11-23 | 唯亚威解决方案股份有限公司 | Method and apparatus for detecting distortion or the deformation of cellular communication signal |
CN108268167A (en) * | 2016-12-30 | 2018-07-10 | 乐金显示有限公司 | Touch display unit |
Also Published As
Publication number | Publication date |
---|---|
CN110059046A (en) | 2019-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108108324B (en) | PCIE (peripheral component interface express) expansion method and device | |
CN106788699A (en) | The detecting system and method and ROADM equipment of optical fiber connection status | |
WO2021082417A1 (en) | Method and system for controlling internal serial port access of multi-node device | |
CN110059046B (en) | Method, system and readable medium for switching transmission path of data signal | |
EP3285173A1 (en) | Cpu interconnecting apparatus, system and control method, control apparatus therefor | |
CN115550693A (en) | Method, device, equipment and medium for synchronizing configuration information of video stream encryption | |
CN103873390A (en) | Method for indicating port state, and switch | |
US20070211648A1 (en) | Dynamic data path component configuration apparatus and methods | |
CN105578147A (en) | Equipment combined control method and apparatus | |
CN110554881A (en) | Switching chip working mode remote switching system and method based on CPLD | |
CN100396031C (en) | System and method for testing function of communication apparatus | |
CN104683130A (en) | Method for configuring stacking port and equipment | |
CN105162514A (en) | Optical fiber ring network communication system and method | |
CN113626359A (en) | Signal switching device and method for flash memory chip of server | |
CN108718287B (en) | Data exchange system, establishment method and device thereof and communication system | |
KR102080078B1 (en) | Automation system and method for operation | |
CN107241141B (en) | Drive chip, optical module switching method and PON (passive optical network) equipment | |
CN210573287U (en) | Expansion circuit | |
CN103595639A (en) | Multicast forwarding table item processing method and device | |
CN100499535C (en) | Method and device for supporting Ethernet self-consultation in medium access control | |
CN111339023B (en) | Node board card and server | |
CN107577202B (en) | Automation system and method for operating the same | |
CN102904819B (en) | A kind of router networking network and crossover router | |
CN112436983B (en) | Analog wide area network data transmission method and device, electronic equipment and storage medium | |
CN103491021A (en) | Method and device for sharing traffic load |
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 |