CN102882774B - Different-service-type data hybrid transmission method, equipment and module slots - Google Patents
Different-service-type data hybrid transmission method, equipment and module slots Download PDFInfo
- Publication number
- CN102882774B CN102882774B CN201210313495.4A CN201210313495A CN102882774B CN 102882774 B CN102882774 B CN 102882774B CN 201210313495 A CN201210313495 A CN 201210313495A CN 102882774 B CN102882774 B CN 102882774B
- Authority
- CN
- China
- Prior art keywords
- service
- module slot
- state information
- data
- idle
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 129
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012544 monitoring process Methods 0.000 claims description 30
- 238000004891 communication Methods 0.000 abstract description 12
- 238000004519 manufacturing process Methods 0.000 abstract description 4
- 238000013461 design Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000010606 normalization Methods 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
Abstract
The embodiment of the invention provides a different-service-type data hybrid transmission method, different-service-type data hybrid transmission module slots and different-service-type data hybrid transmission equipment. Central office equipment acquires first service state information of each module slot according to an identifier bit corresponding to a setting jack in each local module slot, receives second service state information, which is transmitted by remote equipment, of the module slot corresponding to each local module slot, and compares the first service state information with the second service state information; if the first service state information and the corresponding second service state information of each local module slot are matched with each other and are not free, service data on the module slot are allowed to transmit; and otherwise, the service data on the module slot are prohibited from transmitting. By the method, the module slots and the equipment, the problems that a transmission bandwidth is not enough and the manufacturing cost is increased because interfaces which transmit different-service-type data are independent, different-service-type data are required to be independently transmitted by the interfaces, and the interfaces cannot be mutually transformed and cannot be flexibly configured are solved. The invention relates to the technical field of communication.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, a device, and a module slot for hybrid transmission of data of different service types.
Background
At present, with the development of network technology, data of various service types can be transmitted through a network, but for data transmission of different service types, if the data is required to be simultaneously transmitted from a transmitting end to a receiving end, the transmission interfaces are often mutually independent, and the physical interfaces, transmission bandwidths, communication protocols and the like are completely different. If two or more kinds of data of different service types need to be sent to a receiving end at a sending end, in the prior art, interfaces are separately set for the data of the service types at the sending end and the receiving end during transmission, so that the interfaces corresponding to the data of the different service types are isolated from each other, and cannot be mutually converted or flexibly configured.
Taking actual security engineering as an example, with the application of a video compression technology, new requirements are provided for the mixed transmission of analog video service data and Ethernet service data and the flexible configuration of interfaces thereof. The reason is that the security market is in the digital/analog handover period, the analog monitoring camera arranged in the early stage needs the support of the analog video service interface, and the newly added IPC (digital compressed video camera) needs the support of the ethernet service interface. However, for different monitoring points, how many analog video service interfaces and ethernet service interfaces are needed is unknown. If a product is required to meet the changing demands of the market according to the method of the prior art, a plurality of different types of interfaces, such as a plurality of analog video service interfaces and a plurality of ethernet service interfaces, have to be developed in the product at the same time, and since the two interfaces are independent from each other and the physical interfaces, transmission bandwidths and communication protocols are completely different, the development of a plurality of analog video service interfaces and a plurality of ethernet service interfaces in a product will increase the transmission bandwidth and the cost.
Disclosure of Invention
The embodiment of the invention provides a mixed transmission method, a module slot and equipment for data of different service types, which are used for solving the problems that interfaces for transmitting the data of different service types are mutually independent, cannot be mutually converted and flexibly configured, and respectively occupy certain bandwidths, so that the transmission bandwidth is insufficient and the manufacturing cost is increased in the prior art.
Based on the above problem, an embodiment of the present invention provides a method for hybrid transmission of data of different service types, including:
the local side equipment acquires first service state information of each module slot according to the identification bit corresponding to the set jack in each local module slot, receives second service state information of the module slot corresponding to each local module slot, which is sent by the remote side equipment, and compares the first service state information with the second service state information; the first service state information and the second service state information include: information whether the module slot is idle or not and a service type corresponding to data to be transmitted when the module slot is not idle;
for each local module slot, if the first service state information of the slot is matched with the second service state information of the corresponding module slot and is not idle, allowing the local side equipment to transmit the service data on the module slot;
otherwise, the local side equipment prohibits the transmission of the service data on the module slot.
The second method for mixed transmission of data of different service types provided by the embodiment of the invention comprises the following steps:
the remote equipment acquires second service state information of each module slot according to the identification bit corresponding to the set jack in each local module slot; and sending the second service state information to the local side equipment.
An embodiment of the present invention further provides a local side device, including:
the main control circuit is used for acquiring first service state information of each module slot according to the identification bit corresponding to the set jack in each local module slot;
the receiving and transmitting circuit is used for receiving second service state information of the module slots corresponding to the local module slots, which is sent by the remote equipment;
the single board state monitoring circuit is used for comparing the first service state information with the second service state information; the first service state information and the second service state information include: information whether the module slot is idle or not and a service type corresponding to data to be transmitted when the module slot is not idle; for each local module slot, if the first service state information of the slot is matched with the second service state information of the corresponding module slot and is not idle, allowing the transmission of the service data on the module slot; otherwise, the transmission of the service data on the module slot is forbidden.
An embodiment of the present invention further provides a remote device, including:
the main control circuit is used for acquiring second service state information of each module slot according to the identification bits corresponding to the jacks set in each local module slot;
and the single board state monitoring circuit is used for sending the second service state information to the local side equipment.
The embodiment of the invention also provides a module slot for mixed transmission of data of different service types, which comprises a plurality of jacks, wherein at least one jack exists in the jacks and is used for identifying the service state information of the module slot before service data starts to be transmitted; the service state information includes: information of whether the module slot is idle or not and the type of service of data to be transmitted when the module slot is not idle.
The embodiment of the invention also provides equipment for mixed transmission of data of different service types, which comprises the module slot for mixed transmission of the data of different service types.
The embodiment of the invention has the beneficial effects that:
in the mixed transmission method, the module slot and the device for data of different service types provided in the embodiments of the present invention, corresponding module slots are respectively provided in a local device and a remote device, where data of different service types needs to be mixed-transmitted, and the module slots corresponding to data of different service types are all normalized, so that the same transmission interface can be flexibly adapted to multiple different service types, and for the transmission interface of the normalized design, a corresponding transmission control mechanism is provided at the same time, that is, before the transmission of service data is started, current service state information of the module slot is identified by multiplexing and defining the jack selected by the module slot, and the service state information includes: the information whether the module slot is idle or not and the service type corresponding to the data to be transmitted when the module slot is not idle, so that the transmission of the service data is allowed only when the service state information of the module slot corresponding to the two ends of the mixed data transmission are matched, otherwise, the transmission of the service data is forbidden; according to the embodiment of the invention, the normalized design and the corresponding transmission control mechanism are carried out on the module slots, so that the local side equipment and the far end equipment can transmit different types of service data in a mixed manner, and different types of data transmission interfaces can share the transmission link interface and the transmission bandwidth, thereby solving the problems that the interfaces for transmitting different types of service data are independent from each other, can not be mutually converted and flexibly configured, respectively occupy certain bandwidths, so that the transmission bandwidth is insufficient, and the manufacturing cost is increased.
Drawings
Fig. 1 is a flowchart of a method for hybrid transmission of data of different service types according to an embodiment of the present invention;
fig. 2 is a flowchart of a second method for hybrid transmission of data of different service types according to an embodiment of the present invention;
FIG. 3 is a partial system structure diagram of a security project according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a working process of a main control circuit in a local device according to an embodiment of the present invention, where security engineering is taken as an example;
fig. 5 is a flowchart illustrating a working process of a single board state monitoring circuit in a local device according to an embodiment of the present invention, where security engineering is taken as an example;
fig. 6 is a flowchart illustrating a working process of a main control circuit in a remote device according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a monitoring circuit for monitoring a state of a single board in a remote device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an office device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a remote device according to an embodiment of the present invention;
fig. 10 is a block diagram of an ethernet interface module in security engineering according to an embodiment of the present invention;
fig. 11 is a structural diagram of a video output interface module and a video input interface module in security engineering according to an embodiment of the present invention;
fig. 12 is a definition diagram of jacks of module slots corresponding to pins after normalization design of an internal interface of an ethernet interface module according to an embodiment of the present invention;
fig. 13 is a definition diagram of jacks of the module slots corresponding to the pins after the normalized design of the internal interface of the video input/output interface module according to the embodiment of the present invention.
Detailed Description
The following describes specific embodiments of a method, a device, and a module slot for hybrid transmission of data of different service types according to an embodiment of the present invention with reference to the accompanying drawings.
In the embodiment of the present invention, a plurality of module slots are installed in the local device and the remote device for connecting interface modules, and the module slots in the local device and the remote device have a corresponding relationship, and the interface modules in the module slots having the corresponding relationship perform one-to-one communication, so as to more clearly distinguish current service state information of the module slot of the local device from current service state information of the module slot corresponding to the remote device. As shown in fig. 1, one of the hybrid transmission methods for data of different service types provided in the embodiments of the present invention is a processing flow at the local side, where the processing flow specifically includes the following steps:
s101, local side equipment acquires first service state information of each module slot according to identification bits corresponding to set jacks in each local module slot;
s102, the local side equipment receives second service state information of the module slots corresponding to the local module slots, wherein the second service state information is sent by the remote side equipment;
s103, comparing the first service state information with the second service state information by the local side equipment; in this step, the first service state information and the second service state information include: information whether the module slot is idle or not and a service type corresponding to data to be transmitted when the module slot is not idle;
s104, judging whether the first service state information of each local module slot is matched with the second service state information of the corresponding module slot, if the first service state information is matched with the second service state information of the corresponding module slot, if not, executing a step S105, otherwise, executing a step 106;
s105, allowing the local side equipment to transmit the service data on the module slot;
and S106, the local side equipment prohibits the transmission of the service data on the module slot.
Further, in step S105, the central office device may prohibit transmission of service data in a certain slot, and the method may be implemented as follows:
when the local side equipment transmits service data with the remote side equipment, transmitting a set pseudo random code in a time slot corresponding to a module slot which is forbidden to transmit the service data; for the service data sent by the remote device, the office device discards the service data of the module slot corresponding to the module slot in which the service data transmission is prohibited, which is sent by the remote device. The pseudo random code may be, for example, a code stream in which 0 and 1 continuously alternate.
Further, in the process of transmitting service data between the local side device and the remote side device, if the local side device recognizes that the first service state information of a certain local module slot changes from non-idle to idle, the first service state information of the module slot is updated to idle, the service data transmission corresponding to the module slot is prohibited, and the set pseudo random code is transmitted in the time slot corresponding to the module slot.
Further, in the process of transmitting service data between the local side device and the remote side device, if the local side device identifies that the first service state information of a certain local module slot is changed from idle to non-idle, the local side device updates the service state information of the module slot and sends a message to request the remote side device to send the second service state information of the corresponding module slot; after receiving the second service state information, the local side equipment compares the first service state information with the second service state information, and if the first service state information is matched with the second service state information, the local side equipment allows the service data on the module slot to be transmitted; otherwise, the local side equipment prohibits the transmission of the service data on the module slot.
The first service state information and the second service state information include: the information of whether the module slot is idle, the service type of the data required to be transmitted by the module slot is video service data receiving, the service type of the data required to be transmitted by the module slot is video service data sending, and the service type of the data required to be transmitted by the module slot is Ethernet service.
Preferably, the current service status information of the module slot may be represented by setting an identification bit corresponding to the jack of the module slot, for example, using two jacks may identify four kinds of service status information by outputting a high level or a low level respectively.
The second method for hybrid transmission of data of different service types provided in the embodiment of the present invention is a processing flow at the remote device side, and the processing flow is shown in fig. 2, and specifically includes the following steps:
s201, the remote equipment acquires second service state information of each module slot according to identification bits corresponding to the set jacks in each local module slot;
and S202, the far-end equipment sends second service state information to the local-end equipment.
Further, if the second service state information of a certain module slot of the remote device is idle, the remote device transmits the set pseudo random code in the time slot corresponding to the module slot.
Further, in the process of transmitting service data between the remote device and the office device, if the remote device recognizes that the second service state information of the local module slot changes from non-idle to idle, the second service state information corresponding to the module slot is updated and sent to the office device, and the set pseudo random code is transmitted in the time slot corresponding to the module slot.
Further, in the process of transmitting service data between the remote device and the office device, if the remote device recognizes that the second service state information of the local module slot changes from idle to non-idle, the second service state information of the module slot is updated and the updated second service state information is sent to the office device.
The following further describes a specific application of the hybrid transmission method for data of different service types provided by the embodiment of the present invention in practice, by taking the hybrid transmission of analog video service data and ethernet service data in actual security engineering as an example.
In order to more clearly introduce the hybrid transmission method of the analog video service data and the ethernet service data in the actual security engineering, first, each component in the actual security engineering is introduced, as shown in fig. 3, a part of the system in the security engineering includes a local device 301, a remote device 302, a network management end 303, and an upper computer 304. The office device 301 is connected to the remote device 302 through an optical fiber, the office device 301 is connected to the network pipe end 303 through a chassis backplane, and the network pipe end 303 is connected to the upper computer 304 through an ethernet communication cable.
The office device 301 mainly includes at least one module slot 305, at least one interface module 306, a main control circuit 307, and a board status monitoring circuit 308; the remote device 302 mainly includes at least one module slot 309, at least one interface module 310, a main control circuit 311, and a board status monitor circuit 312.
The module slots (305 and 309) on the local side device 301 and the remote side device 302 implement the interconversion between the analog video service interface and the ethernet service interface through the normalized design, i.e. the module slots (305 and 309) can support both the ethernet module interface and the video input/output interface. When the module slot of the local side equipment is inserted into the Ethernet interface module and the module slot of the remote side equipment is inserted into the Ethernet interface module, Ethernet service data are transmitted between the local side equipment and the remote side equipment; when the module slot of the local device is inserted into the video input interface module and the module slot of the remote device is inserted into the video output interface module, video service data is transmitted between the local device and the remote device.
After the central office device 301 is powered on, the work flow of the main control circuit 307 of the central office device may specifically include the following steps as shown in fig. 4:
s401, the main control circuit 307 acquires first service state information of each module slot according to the identification bit corresponding to the set jack in each local module slot 305;
s402, the main control circuit 307 writes the first service status information obtained in step S401 into each first module status register corresponding to each module slot 305;
s403, the main control circuit 307 determines the first service status information of each module slot 305, and if the first service status information of a certain module slot is an ethernet service, executes step S404; if the first service status information of a certain module slot is video service data input, executing step S405; if the first service status information of a certain module slot is idle, executing step S406;
s404, the main control circuit 307 establishes a communication channel for the module slot, and initializes a transmission interface to an MII interface;
s405, the main control circuit 307 establishes a communication channel for the module slot, and initializes a transmission interface as a video data input interface;
s406 and the main control circuit 307 perform real-time monitoring on the flag corresponding to the jack set in each module slot 305, and if the flag is changed from idle to non-idle, continue to execute step S401.
Preferably, the main control circuit 307 may be implemented by a Field Programmable Gate Array (FPGA).
As shown in fig. 5, the work flow of the board state monitoring circuit 308 in the office device 301 may specifically include the following steps:
s501, the board status monitor circuit 308 sets the first checked register corresponding to each module slot 305 to 0;
s502, the board status monitor circuit 308 reads each first module status register corresponding to each module slot 305 to obtain the current first service status information of each module slot 305;
s503, the board status monitoring circuit 308 reads the second service status information of the module slot 309 corresponding to each local module slot 305, which is sent by the remote device 302 through the optical fiber;
s504, the board status monitoring circuit 308 compares the first service status information read in S502 with the second service status information read in S503, if the first service status information matches the second service status information of the corresponding module slot and is not idle, then step S505 is executed, otherwise, step S506 is executed;
s505, the board status monitor circuit 308 associates the first transmission enable register of the module socket 305 with position 0, that is, allows the transmission of the service data in the module socket, and sets the first checked register to 1;
s506, the board status monitor circuit 308 sets the first transmission enable register of the module slot 305 to correspond to the position 1, i.e. prohibits the transmission of the service data in the module slot, and sets the first checked register to 1.
Preferably, after the board status monitor circuit 308 performs the above steps, it may also periodically check the value of each first module status register, and if the value changes from non-idle to idle or from idle to non-idle, process the processing flow at the central office device side in the hybrid transmission method for data of different service types according to the embodiment of the present invention.
Preferably, the board state monitoring circuit 308 may be implemented by a Micro Controller Unit (MCU).
Further, the board state monitoring circuit 308 transmits a set pseudo random code in a time slot corresponding to the module slot 305 in which the transmission of the service data is prohibited; and discards the service data of the module slot 309 corresponding to the module slot 305 for which the service data transmission is prohibited, which is sent by the remote device 302; an "interface setup mismatch" warning may also be issued to the upper computer 304.
Further, if the mismatch between the original first service state information and the original second service state information is corrected subsequently, the board state monitoring circuit 308 may send an "interface setting mismatch" alarm release signal to the upper computer 304; if the original first service state information is not corrected subsequently, the single board state monitoring circuit 308 may send an "interface setting mismatch" alarm to the upper computer 304 again, and maintain the service data transmission interruption state of the corresponding module slot corresponding to the time slot.
After the remote device 302 serving as the opposite-end communication device of the office device 301 is powered on, a work flow of the main control circuit 311 is as shown in fig. 6, specifically:
s601, the main control circuit 311 acquires second service state information of each module slot according to the identification bit corresponding to the set jack in each local module slot 309;
s602, the main control circuit 311 writes the second service status information obtained in step S601 into each second module status register corresponding to each module slot 309;
s603, the main control circuit 311 determines the second service status information of each module slot 309, and if the second service status information of a certain module slot is an ethernet service, then step S604 is executed; if the second service status information of a certain module slot is video service data output, executing step S605; if the second service status information of a certain module slot is idle, executing step S606;
s604, the main control circuit 311 establishes a communication channel for the module slot, and initializes the transmission interface to an MII interface;
s605, the main control circuit 311 establishes a communication channel for the module slot, and initializes a transmission interface to a video data output interface;
s606 and the main control circuit 311 perform real-time monitoring on the identification bits corresponding to the jacks set in the module slots 309, and if the identification bits are changed from idle to non-idle, continue to execute step S601.
Preferably, the main control circuit 311 is also implemented by a Field Programmable Gate Array (FPGA).
As shown in fig. 7, the working flow of the board status monitoring circuit 312 in the remote device 302 specifically includes:
s701, setting a second check-completed register to 0 corresponding to each module slot 309 of board status monitor circuit 312;
s702, the board status monitor circuit 312 reads the second module status registers corresponding to the module slots 309 to obtain the current second service status information of the module slots;
s703, the board status monitor circuit 312 sends the second service status information corresponding to each module slot 309 to the office device 301, and sets each second check-completed register to 1.
Preferably, after the board status monitor circuit 312 executes the above steps, it may also periodically check the value of each second module status register, and if the value changes from non-idle to idle or from idle to non-idle again, process the processing flow at the remote device side in the hybrid transmission method for data with different service types according to the embodiment of the present invention.
Further, if the second service status information of the module slot of the remote device 302 is idle, the set pseudo random code is transmitted in the time slot corresponding to the module slot.
Preferably, the board status monitoring circuit 312 may be implemented by a Micro Controller Unit (MCU).
Preferably, the local device 301 and the remote device 302 are mainly used for implementing one-to-one transparent transmission of analog video service data, ethernet service data and other auxiliary service data to an opposite terminal; the remote device 302 sends the collected service data to the local device 301 through the optical fiber, and the service data collected by the remote device 302 includes analog video service data and ethernet service data.
Further, the main function of the network management terminal 303 is to collect and set various network management data and registers of the master device and the slave device in a centralized manner; the main function of the upper computer 304 is to display and set the working state and network topology of each part of the system in real time through network management software so as to facilitate maintenance and management of maintenance personnel. Since the network pipe end 303 and the upper computer 304 are prior art, they will not be described in detail here.
Further, the present embodiment has no dependency on the transmission network topology, and can be used in network topologies such as peer-to-peer, star, tree, chain, ring, etc. for simplifying the description, the present embodiment takes the peer-to-peer topology as an example for illustration.
Based on the same inventive concept, embodiments of the present invention further provide a local device and a remote device, and because the principle of the problem solved by these devices is similar to the aforementioned mixed transmission method for data of different service types, the implementation of the device may refer to the implementation of the aforementioned method, and repeated details are not repeated.
As shown in fig. 8, an office device according to an embodiment of the present invention specifically includes:
the main control circuit 801 is configured to obtain first service state information of each module slot according to an identification bit corresponding to a set jack in each local module slot;
the transceiver circuit 802 is configured to receive second service state information of the module slot corresponding to each local module slot, where the second service state information is sent by the remote device;
a single board status monitoring circuit 803, configured to compare the first service status information with the second service status information; the first service state information and the second service state information include: information whether the module slot is idle or not and a service type corresponding to data to be transmitted when the module slot is not idle; for each local module slot, if the first service state information of the slot is matched with the second service state information of the corresponding module slot and is not idle, allowing the transmission of the service data on the module slot; otherwise, the transmission of the service data on the module slot is forbidden.
Further, the single board state monitoring circuit 803 is specifically configured to: transmitting a set pseudo-random code in a time slot corresponding to a module slot which is forbidden to transmit service data; and discarding the service data of the module slot corresponding to the module slot for which the service data transmission is prohibited, which is sent by the remote device.
Further, the main control circuit 801 is further configured to, in a process of transmitting service data between the local device and the remote device, identify that the first service state information of a certain local module slot changes from non-idle to idle if the first service state information of the certain local module slot changes from non-idle to idle, and update the first service state information of the certain local module slot to idle;
correspondingly, the board state control circuit 803 is further configured to detect that the service state information of a certain module slot updated by the main control circuit 801 changes from non-idle to idle, prohibit transmission of service data corresponding to the module slot, and transmit a set pseudo random code in a time slot corresponding to the module slot.
Further, the main control circuit 801 is further configured to, in a process of performing service data transmission between the local side device and the opposite communication terminal device, identify that the first service state information of a local module slot changes from idle to non-idle if the first service state information of the local module slot changes from idle to non-idle, and update the first service state information of the module slot;
correspondingly, the transceiver circuit 802 is further configured to send a message to the remote device to request the remote device to send the second service state information of the corresponding module slot after the board state monitoring circuit 803 detects that the first service state information of the module slot updated by the main control circuit 801 changes from idle to non-idle, and receive the second service state information;
correspondingly, the single board status monitoring circuit 803 is further configured to detect that the service status information of the module slot updated by the main control circuit 801 changes from idle to non-idle, compare the first service status information with the second service status information, and allow service data transmission on the module slot if the first service status information matches the second service status information; otherwise, the transmission of the service data on the module slot is forbidden.
As shown in fig. 9, the remote device provided in the embodiment of the present invention specifically includes:
the main control circuit 901 is configured to obtain second service state information of each module slot according to an identification bit corresponding to a jack set in each local module slot;
the board status monitoring circuit 902 is configured to send the second service status information to the local side device.
Further, the board status monitoring circuit 902 is further configured to: and if the second service state information of the module slot of the remote equipment is idle, transmitting the set pseudo-random code in the time slot corresponding to the module slot.
Further, the main control circuit 901 is further configured to, in a process of transmitting service data between a remote device and a local device, identify that second service state information of a local module slot changes from non-idle to idle if the second service state information of the local module slot changes from non-idle to idle, and update the second service state information of the local module slot to idle;
correspondingly, the board status monitor circuit 902 is further configured to detect that the service status information of the module slot updated by the main control circuit 901 changes from non-idle to idle, send the second service status information to the local side device, and transmit the set pseudo random code in the time slot corresponding to the module slot.
Further, the main control circuit 901 is further configured to, in a process of transmitting service data between a remote device and a local device, identify that second service state information of a local module slot changes from idle to non-idle if the second service state information of the local module slot changes from idle to non-idle, and update the second service state information of the module slot;
correspondingly, the board status monitoring circuit 902 is further configured to detect that the service status information of the module slot updated by the main control circuit 901 changes from idle to non-idle, and send the second service status information to the local side device.
Based on the same inventive concept, the embodiment of the present invention further provides a module slot for hybrid transmission of data of different service types, where the module slot includes a plurality of jacks, and at least one jack exists in the plurality of jacks and is used for identifying service state information of the module slot before service data starts to be transmitted; wherein, the service state information comprises: information of whether the module slot is idle or not and the type of service of data to be transmitted when the module slot is not idle.
Further, when the type of data transmission service of the module slot is ethernet service, the module slot includes: at least one jack for transmitting traffic data; at least one jack for transmitting a service data signal clock; at least one jack for transmitting an enable signal; at least one jack for receiving traffic data; at least one jack for receiving a service data signal clock; and at least one jack for indicating that the received traffic data is valid;
when the service type of the data to be transmitted by the module slot is a video service data receiving service or a video service data sending service, the module slot comprises: at least one jack for transmitting service data; at least one jack as a signal clock; at least one jack indicating that the video signal is active; at least one jack as a low bit of the type code; at least one jack as the high bit of the type code.
Further, before the service data starts to be transmitted, the module slot respectively outputs a high level or a low level by using any two jacks to identify the service state information of the module slot; the service state information includes: the information of whether the module slot is idle, the service type of the data required to be transmitted by the module slot is video service data receiving, the service type of the data required to be transmitted by the module slot is video service data sending, and the service type of the data required to be transmitted by the module slot is Ethernet service.
The following further explains concrete applications of the hybrid transmission module slot for data of different service types provided by the embodiment of the present invention in practice by taking an example of hybrid transmission of analog video service data and ethernet service data and flexible configuration of interfaces thereof in practical security engineering as an example.
First, a module structure diagram of an ethernet interface module in security engineering is described below, as shown in fig. 10:
for the ethernet interface module, its external interface 1001 (RJ 45 user-side connector) is an interface of the public telecommunication network (for example, using the existing interface RJ45, registered jack 45) for receiving ethernet data from the user side; it may employ an MII standard interface for the internal interface 1002 (link-side connector);
correspondingly, the structure of the video output interface module and the video input interface module in the security engineering is shown in fig. 11:
a video output interface module and a video input interface module, wherein an external interface 1101 (BNC user side interface) of the video output interface module and the video input interface module is an existing Neisselman Bayonet plug (BNC, Bayonet Neil Concelman) and is used for receiving analog video data; the internal interface 1102 (link side connector) is a digital video data transmission interface (for the internal interface, the video output interface module refers to a transmission interface used by the video output interface module to send digital video data to the video input interface module, and for the video input interface module refers to a transmission interface used by the video input interface module to receive digital video data from the video output interface module).
In order to realize that the analog video service interface module and the ethernet service interface module can share one module slot, normalized design is required to be performed on slots corresponding to the analog video input interface module, the analog video output interface module and the ethernet interface module. The processing of the module slots corresponding to the three service interface modules is described below.
For the Analog video output interface module, first, Analog video data is sampled at high speed, and an Analog to Digital Converter 1103 (ADC) is used to convert the Analog video signal into an 8/10-bit Digital video signal. At the Analog input interface module, the 8/10-bit Digital video signal is converted into an Analog video signal by a Digital-to-Analog Converter 1104 (DAC). In order to ensure that the analog video input interface can correctly restore the analog video signal, the internal interfaces 1102 of both define, in addition to 8 transmission data jacks: 1 video sampling clock jack, 1 video ACT jack and 1 video receiving/transmitting identification jack. For a total of 11 jacks.
For the ethernet interface module, considering that the bandwidth of the ethernet interface module is the same as that of the analog video input/output interface module and the module slot on the shared office/far-end device, an MII standard interface may be used as the internal interface 1002, that is, 4 data receiving jacks, 4 data transmitting jacks, 1 data receiving clock jack, 1 data transmitting enabling jack, and 1 data receiving effective jack. For a total of 12 jacks.
In order to realize the management of the analog video input/output interface and the Ethernet service interface, and when different interface modules are accessed into the same module slot, the module slot can identify the current service type, a combined identification bit of two jacks is added in the jack of the module slot, 4 values are taken as the idle identification bit of the video service input/video service output/Ethernet service/slot.
Finally, in order to reduce the volume of the subsequent service interface module, multiplexing definitions are made for the transmission interfaces of the three services, and the original 25-bit total interface is compressed into a 12-bit wide parallel interface, where each bit of the specific interface is defined as shown in fig. 12 and 13. Since other devices constituting the above three modules belong to the prior art, they will not be described in detail here.
As shown in fig. 12, after the link-side connector 1002 as the internal interface of the ethernet interface module in fig. 10 is designed in a normalized manner, the jacks of the module slots corresponding to the pins are defined as follows:
the jack number 1 is a service data transmitting TXD0, the jack number 3 is a service data transmitting TXD1, the jack number 5 is a service data transmitting signal clock TXCLK, the jack number 7 is a service data receiving signal clock RXCLK, the jack number 9 is a service data receiving RXD0, the jack number 11 is a service data receiving RXD1, the jack number 13 is a service data receiving RXD2, the jack number 15 is a service data receiving RXD3, the jack number 17 is a service data transmitting TXD2, the jack number 19 is a service data transmitting TXD3, the jack number 21 is a service data transmitting enabling signal, the jack number 23 is a service data receiving valid RXDV0, the jack number 24 is a power supply, and the rest jacks are grounded.
As shown in fig. 13, after the normalized design of the link-side connector 1102 as the internal interface of the video input/output interface module in fig. 11, the jacks of the module slots corresponding to the pins are defined as follows:
the jack No. 1 is a TYPE code high-order TYPE-M, the jack No. 3 is a TYPE code low-order TYPE-L, the jack No. 5 is a video signal effective V-ACT, the jack No. 7 is a signal clock CLK, the jack No. 9 is transmission service data VD0, the jack No. 11 is transmission service data VD1, the jack No. 13 is transmission service data VD2, the jack No. 15 is transmission service data VD3, the jack No. 17 is transmission service data VD4, the jack No. 19 is transmission service data VD5, the jack No. 21 is transmission service data VD6, the jack No. 23 is transmission service data VD7, the jack No. 24 is a power supply, and the rest jacks are grounded.
Before the ethernet service data or video service data starts to be transmitted, the link interface connectors 1002 and 1102 respectively multiplex the combination of the jacks No. 1 and No. 3 thereof as service status information of the module slots. If the module slot is free, the value of the jack 1 and the jack 3 is low level; if the current service type is the Ethernet service, the value is that the jack No. 1 takes the low level, and the jack No. 3 takes the high level; if the current service type is the sending of video data, the value is that the jack No. 1 takes a high level, and the jack No. 3 takes a low level; and if the current service type is the receiving of video data, the value of the jack 1 and the jack 3 are both high level. After the business data begins to be formally transmitted, the multiplex jacks work according to the defined functions when the business data is transmitted. And the positions and the number of the jacks which are grounded in the module slot are unchanged for different types of services. Therefore, the interface modules of different types of services can flexibly share the same module slot, and the purpose of normalization of interface design is achieved.
As shown in table 1, the jack definitions of the module slots corresponding to the non-power non-ground pins after normalization of the ethernet interface module and the video input/output module, and the values of the multiplexing jacks thereof are defined. If the current service type is an ethernet service, before data transmission, the number 1 jack (service data transmission TXD 0) and the number 3 jack (service data transmission TXD 1) corresponding to the module slot of the ethernet interface module may be multiplexed as a service type identification bit, and the value thereof may be set to 01; when data starts to be transmitted, jack No. 1 (traffic data transmission TXD 0) and jack No. 3 (traffic data transmission TXD 1) can be used for transmission of traffic data according to their original definitions;
if the current service TYPE is a video input/output ethernet service, before data transmission, a jack No. 1 (TYPE code high TYPE-M) and a jack No. 3 (TYPE code low TYPE-L) corresponding to a module slot of a video input/output interface module can be multiplexed as a service TYPE identification bit, and a value of 11 can be taken for video reception service and a value of 10 can be taken for video transmission service; when data starts to be transmitted, the jack No. 1 (TYPE code high TYPE-M) and the jack No. 3 (TYPE code low TYPE-L) can work according to the original definition.
TABLE 1
Based on the same inventive concept, the embodiment of the invention also provides equipment for mixed transmission of data of different service types, which comprises the module slot for mixed transmission of the data of different service types.
In the mixed transmission method, the module slot and the device for data of different service types provided in the embodiments of the present invention, corresponding module slots are respectively provided in a local device and a remote device, where data of different service types needs to be mixed-transmitted, and the module slots corresponding to data of different service types are all normalized, so that the same transmission interface can be flexibly adapted to multiple different service types, and for the transmission interface of the normalized design, a corresponding transmission control mechanism is provided at the same time, that is, before the transmission of service data is started, current service state information of the module slot is identified by multiplexing and defining the jack selected by the module slot, and the service state information includes: the information whether the module slot is idle or not and the service type corresponding to the data to be transmitted when the module slot is not idle, so that the transmission of the service data is allowed only when the service state information of the module slot corresponding to the two ends of the mixed data transmission are matched, otherwise, the transmission of the service data is forbidden; according to the embodiment of the invention, the normalized design and the corresponding transmission control mechanism are carried out on the module slots, so that the local side equipment and the far end equipment can transmit different types of service data in a mixed manner, and different types of data transmission interfaces can share the transmission link interface and the transmission bandwidth, thereby solving the problems that the interfaces for transmitting different types of service data are independent from each other, can not be mutually converted and flexibly configured, respectively occupy certain bandwidths, so that the transmission bandwidth is insufficient, and the manufacturing cost is increased.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (13)
1. A method for hybrid transmission of data of different service types, comprising:
the local side equipment acquires first service state information of each module slot according to identification bits corresponding to the set jacks in each local module slot, receives second service state information of the module slot corresponding to each local module slot, which is sent by the remote side equipment, and compares the first service state information with the second service state information; the first service state information and the second service state information include: information whether the module slot is idle or not and a service type corresponding to data to be transmitted when the module slot is not idle;
for each local module slot, if the first service state information of the slot is matched with the second service state information of the corresponding module slot and is not idle, the local side equipment allows the transmission of the service data on the module slot;
otherwise, the local side equipment prohibits the transmission of the service data on the module slot.
2. The method of claim 1, wherein the local side device forbids transmission of service data, comprising:
when the local side equipment transmits service data with the remote side equipment, transmitting a set pseudo random code in a time slot corresponding to a module slot which is forbidden to transmit the service data;
and the local side equipment discards the service data of the module slot corresponding to the module slot which is forbidden to transmit the service data and is sent by the remote side equipment.
3. The method of claim 1, further comprising:
in the process of transmitting service data between the local side equipment and the remote side equipment, if the local side equipment identifies that the first service state information of the local module slot is changed from non-idle to idle, the first service state information of the module slot is updated to idle, the service data transmission corresponding to the module slot is forbidden, and the set pseudo-random code is transmitted in the time slot corresponding to the module slot.
4. The method of claim 1, further comprising:
in the process of transmitting service data between the local side equipment and the remote side equipment, if the local side equipment identifies that the first service state information of the local module slot is changed from idle to non-idle, the service state information of the module slot is updated, and a message is sent to request the remote side equipment to send the second service state information of the corresponding module slot;
the local side equipment receives the second service state information, compares the first service state information with the second service state information, and allows the service data transmission on the module slot if the first service state information is matched with the second service state information; otherwise, the local side equipment prohibits the transmission of the service data on the module slot.
5. The method of any of claims 1-4, wherein the first traffic state information and the second traffic state information comprise: the information of whether the module slot is idle, the service type of the data required to be transmitted by the module slot is video service data receiving, the service type of the data required to be transmitted by the module slot is video service data sending, and the service type of the data required to be transmitted by the module slot is Ethernet service.
6. An office-side device, comprising:
the main control circuit is used for acquiring first service state information of each module slot according to the identification bit corresponding to the set jack in each local module slot;
the transceiver circuit is used for receiving second service state information of the module slot corresponding to each local module slot, which is sent by remote equipment;
the single board state monitoring circuit is used for comparing the first service state information with the second service state information; the first service state information and the second service state information include: information whether the module slot is idle or not and a service type corresponding to data to be transmitted when the module slot is not idle; for each local module slot, if the first service state information of the slot is matched with the second service state information of the corresponding module slot and is not idle, allowing the transmission of the service data on the module slot; otherwise, the transmission of the service data on the module slot is forbidden.
7. The office-side device of claim 6, wherein the board state monitoring circuit is specifically configured to: transmitting a set pseudo-random code in a time slot corresponding to a module slot which is forbidden to transmit service data; and discarding the service data of the module slot corresponding to the module slot which is forbidden to transmit the service data and sent by the remote device.
8. The office-side device of claim 6,
the main control circuit is further configured to, during a process of transmitting service data between the local side device and the remote device, identify that the first service state information of the local module slot is changed from non-idle to idle if the first service state information of the local module slot is changed from non-idle to idle, and update the first service state information of the local module slot to idle;
the single board state control circuit is further configured to detect that the service state information of the module slot updated by the main control circuit changes from non-idle to idle, prohibit service data transmission corresponding to the module slot, and transmit a set pseudo random code in a time slot corresponding to the module slot.
9. The office-side device of claim 6,
the main control circuit is further configured to, during a process of transmitting service data between the local side device and the remote device, identify that the first service state information of the local module slot changes from idle to non-idle if the first service state information of the local module slot changes from idle to non-idle, and update the first service state information of the local module slot;
the transceiver circuit is further configured to send a message to a remote device to request the remote device to send second service state information of a module slot corresponding to the remote device after the board state monitoring circuit detects that first service state information of the module slot updated by the main control circuit changes from idle to non-idle, and receive the second service state information;
the single board state monitoring circuit is further configured to detect that service state information of a module slot updated by the main control circuit changes from idle to non-idle, compare the first service state information with the second service state information, and allow service data transmission on the module slot if the first service state information matches the second service state information; otherwise, the transmission of the service data on the module slot is forbidden.
10. A module slot for mixed transmission of data of different service types comprises a plurality of jacks, and is characterized in that at least one jack in the plurality of jacks is used for identifying service state information of the module slot before service data starts to be transmitted; the service state information includes: information whether the module slot is idle or not and the service type of data to be transmitted when the module slot is not idle;
when the type of data transmission service of the module slot is ethernet service, the module slot includes at least one ground jack and at least one power jack, and further includes: at least one jack for transmitting traffic data; at least one jack for transmitting a service data signal clock; at least one jack for transmitting a service data enable signal; at least one jack for receiving traffic data; at least one jack for receiving a service data signal clock; and at least one jack for indicating that the received traffic data is valid;
or,
when the service type of the module slot for transmitting data is a video service data receiving service or a video service data sending service, the module slot includes at least one ground jack and at least one power jack, and further includes: at least one jack for transmitting service data; at least one jack as a signal clock; at least one jack indicating that the video signal is active; at least one jack as a low bit of the type code; at least one jack as the high bit of the type code.
11. The module socket of claim 10,
the module slot comprises at least one grounding jack and at least one power jack; and when the module slot transmits different types of service data, the grounded jack and the power supply jack are correspondingly the same.
12. The module socket according to any of claims 10-11, specifically configured to use any two jacks to output a high level or a low level, respectively, before the start of transmission of traffic data, to identify traffic status information of the module socket; the service state information includes: the information of whether the module slot is idle, the service type of the data required to be transmitted by the module slot is video service data receiving, the service type of the data required to be transmitted by the module slot is video service data sending, and the service type of the data required to be transmitted by the module slot is Ethernet service.
13. Device for the mixed transmission of data of different traffic types, characterized in that it comprises a module slot according to any one of claims 10 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210313495.4A CN102882774B (en) | 2012-08-29 | 2012-08-29 | Different-service-type data hybrid transmission method, equipment and module slots |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210313495.4A CN102882774B (en) | 2012-08-29 | 2012-08-29 | Different-service-type data hybrid transmission method, equipment and module slots |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102882774A CN102882774A (en) | 2013-01-16 |
CN102882774B true CN102882774B (en) | 2015-05-20 |
Family
ID=47483925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210313495.4A Active CN102882774B (en) | 2012-08-29 | 2012-08-29 | Different-service-type data hybrid transmission method, equipment and module slots |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102882774B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127650A (en) * | 2007-09-29 | 2008-02-20 | 中兴通讯股份有限公司 | A method and testing backboard for single board production test |
CN101667992A (en) * | 2008-09-05 | 2010-03-10 | 华为技术有限公司 | Bus protecting auto-negotiation method and device |
CN102571450A (en) * | 2012-02-16 | 2012-07-11 | 华为技术有限公司 | Port configuration method and device of network interface module and frame communication device |
-
2012
- 2012-08-29 CN CN201210313495.4A patent/CN102882774B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127650A (en) * | 2007-09-29 | 2008-02-20 | 中兴通讯股份有限公司 | A method and testing backboard for single board production test |
CN101667992A (en) * | 2008-09-05 | 2010-03-10 | 华为技术有限公司 | Bus protecting auto-negotiation method and device |
CN102571450A (en) * | 2012-02-16 | 2012-07-11 | 华为技术有限公司 | Port configuration method and device of network interface module and frame communication device |
Also Published As
Publication number | Publication date |
---|---|
CN102882774A (en) | 2013-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009535877A (en) | Assembly to enable power-over-Ethernet connection | |
AU2008221607A1 (en) | A gaming network | |
US9432309B2 (en) | Transmission device control system | |
JP5505796B2 (en) | Media converter, media converter data communication method, and network system | |
CN105978633B (en) | The Ethernet reverse feeding device and its implementation of PON far end systems | |
CN101554020B (en) | System for offering mobile telecommunication service using internet network with UTP cable | |
CN101682517B (en) | Intrinsically safe DSL circuit | |
JP2010154404A (en) | Subscriber's home side optical network unit | |
CN102882774B (en) | Different-service-type data hybrid transmission method, equipment and module slots | |
US20090235096A1 (en) | Network Connection Device | |
CN100562164C (en) | The method that the remote radio unit (RRU) master slave relation is determined in a kind of wireless communication system | |
CN110417583B (en) | Data communication equipment and out-of-band management system | |
KR101764652B1 (en) | Remote contact monitoring apparatus and method thereof | |
CN208638365U (en) | Fire Control system | |
CN202886974U (en) | Server computer remote control system based on controller area network (CAN) bus | |
JP4440138B2 (en) | Communication system and communication multiplexer | |
TW202046662A (en) | Iot network architecture and a wavelength division iot gateway device thereof | |
KR100945106B1 (en) | Home network common apparatus | |
CN211930795U (en) | Poe distribution frame with quick hunting function | |
WO2018074631A1 (en) | Integrated broadcasting system using can communication | |
CN219642235U (en) | GPIB converter and instrument system | |
CN217955256U (en) | Multi-platform intelligent-connection dual-network module | |
KR100934074B1 (en) | light transmission equipment for Ethernet in RPR protocol and Ring Network using thereof | |
JP2011024157A (en) | Electric energy-monitoring system | |
KR200326673Y1 (en) | Apparatus for supplying power for network camera system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |