CN105185072A - Multichannel switching value transmission method and device - Google Patents

Multichannel switching value transmission method and device Download PDF

Info

Publication number
CN105185072A
CN105185072A CN201510370136.6A CN201510370136A CN105185072A CN 105185072 A CN105185072 A CN 105185072A CN 201510370136 A CN201510370136 A CN 201510370136A CN 105185072 A CN105185072 A CN 105185072A
Authority
CN
China
Prior art keywords
switching value
time slot
value information
transmission
frame
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.)
Granted
Application number
CN201510370136.6A
Other languages
Chinese (zh)
Other versions
CN105185072B (en
Inventor
朱海旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201510370136.6A priority Critical patent/CN105185072B/en
Publication of CN105185072A publication Critical patent/CN105185072A/en
Application granted granted Critical
Publication of CN105185072B publication Critical patent/CN105185072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)

Abstract

Relating to the technical field of data communication, the invention discloses a multichannel switching value transmission method and device. The multichannel switching value transmission method comprises: receiving a data frame, if the received data frame is judged to include switching value information, acquiring a transmission mode from the data frame, with the obtained transmission mode being an independent time slot mode or co-occupied time slot mode; acquiring the switching value information according to the acquired transmission mode and the corresponding relation between preset switching value information and the time slot/bit bearing the information, and according to the specific location of the switching value information, determining the transmission channel of the switching value information and making corresponding recording. The invention also discloses the device for implementing the method, and another multichannel switching value transmission method and device. The technical scheme involved in the invention can realize reliable transmission of collected active switching value signals or passive switching value signals, and has wide scene application.

Description

Multi-channel switch amount transmission method and device
Technical field
The present invention relates to data communication technology field, particularly multi-channel switch amount transmission method and device.
Background technology
In modern industry, the effect of switching value is more and more important, and it is usually used in the detection of commercial unit, for commercial unit provides control signal.Along with the development of science and technology, improving constantly of automaticity, in commercial Application the collection of switch amount signal and the requirement of transmission also more and more higher.Switch value input interface generally includes two kinds of interface shapes, and one is dry contact form, and another kind is wet contact form.Wherein dry contact interface refers to a kind of passive switch, and interface itself does not provide power supply, can be used for gathering active switch amount; Wet contact interface refers to a kind of active switch, and interface itself can provide power supply, has polarity between 2 contacts, can be used for gathering passive switch amount.In the prior art, for the collection of on-off model, the interface shape of signal access device is fixed, namely equipment interface can only the switch value input interface form of adaptive a kind of form, if the environment for use of this access device changes or corresponding switch value input interface mode changes, usually need the access device changing matched interfaces, signals collecting object could be realized, as can be seen here, in prior art, access device is in urgent need to be improved for the versatility of switch value input interface.
On the other hand, current access layer equipment is all in most cases as the node device in data communication network, needs the data collected to carry out point-to-point or point-to-multipoint transmission in reliably and efficiently mode.
In sum, how to provide a kind of switch value input interface, can the reliable collection of compatible active switch amount signal and passive switch amount signal, and to realize on-off model transmitting be current those skilled in the art's problem demanding prompt solution.
Summary of the invention
Technical matters to be solved by this invention is, provides multi-channel switch amount transmission method and device, to realize the transmitting to gathered active switch amount signal and passive switch amount signal.
In order to solve the problems of the technologies described above, the invention discloses a kind of multi-channel switch amount transmission method, the method comprises:
Receiving data frames, if when judging that the Frame received comprises switching value information, obtain transmission mode from described Frame, wherein, the transmission mode obtained is separate time slots pattern or accounts for slotted mode altogether;
According to obtained transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying obtains switching value information, according to the transmission channel of the particular location determination switching value information at switching value information place and corresponding record.
Alternatively, in said method, the process that the Frame that judgement receives comprises switching value information comprises:
When a time slot of the Frame received comprises predetermined multiframe alignment code, judge that the Frame received comprises switching value information, and this time slot is confirmed as the first subframe first time slot of described Frame.
Alternatively, in said method, determined fixed value set in fixed bit position when described predetermined multiframe alignment code is system.
Alternatively, in said method, the process obtaining transmission mode from described Frame comprises:
The transmission mode indication code comprised in a slot according to described multiframe alignment code determines the transmission mode of received switching value information.
Alternatively, in said method, determined fixed value set in fixed bit position when described transmission mode indication code is system, wherein, the fixed value of transmission mode indication code set by fixed bit position that the transmission mode indication code that separate time slots pattern is corresponding is corresponding with accounting for slotted mode is altogether different.
Alternatively, in said method, when transmission mode is separate time slots pattern, according to the transmission mode determined, the process that default switching value information obtains switching value information with the corresponding relation of the time slot/bit carrying it comprises:
From the 2nd, 3, the identical time slot of 4 subframes setting be used for obtaining switching value information in the bit of transmitting switch amount information.
Alternatively, in said method, the 2nd, 3, setting in the identical time slot of the 4 subframes bit that is used for transmitting switch amount information is the 2nd, 3, front 4 bits of each time slot of 4 subframes.
Alternatively, in said method, when transmission mode is for accounting for slotted mode altogether, according to the transmission mode determined, the process that default switching value information obtains switching value information with the corresponding relation of the time slot/bit carrying it comprises:
From first time slot of 2-8 subframe, setting is used for obtaining switching value information in the bit of transmitting switch amount information.
The invention also discloses a kind of multi-channel switch amount transmission method, the method comprises:
When judging to there is the Frame for multi-channel switch amount information transmission according to the instruction for starting transmitting switch amount information in network system, its the corresponding relation of time slot/bit of the instruction of the transmission mode adopted according to this Frame and default switching value information and carrying, the Frame that will comprise the switching value information of current channel sends into transmission network by time slot allotment;
When there is not the Frame for multi-channel switch amount information transmission in network system, in Frame to be sent, insert the instruction for the instruction and transmission mode that start transmitting switch amount information of notebook data frame, according to its corresponding relation of time slot/bit of the transmission mode of instruction of the transmission mode inserted and default switching value information and carrying, the Frame that will comprise the switching value information of current channel sends into transmission network by time slot allotment;
Wherein, described transmission mode is separate time slots pattern or accounts for slotted mode altogether.
Alternatively, in said method, for the instruction starting transmitting switch amount information, described basis judges that the process existed for the Frame of multi-channel switch amount information transmission comprises:
When the time slot of in the Frame received comprises the instruction for starting transmitting switch amount information, judge in network system, to there is the Frame being used for multi-channel switch amount information transmission, and described time slot is confirmed as the first subframe first time slot of described Frame.
Alternatively, in said method, for starting being designated as of transmitting switch amount information: the predetermined multiframe alignment code that the fixed bit position in first time slot of Frame first subframe is inserted.
Alternatively, in said method, described transmission mode is designated as: during system in first time slot of described Frame first subframe the determined transmission mode indication code inserted in fixed bit position, wherein, the fixed value that the transmission mode indication code that the transmission mode indication code that separate time slots pattern is corresponding is corresponding with accounting for slotted mode altogether inserts in fixed bit position is different.
Alternatively, in said method, according to the instruction of transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the process that the Frame comprising the switching value information of current channel sends into transmission network by corresponding time slot allotment is comprised:
When transmission mode is designated as separate time slots pattern, be that a multi-frame is as switching value information transmission unit using 4 subframes, its the corresponding relation of time slot/bit of the switching value information and carrying of this passage determined when Design of Network System according to current channel, the sequence code of this channel switch amount information of write instruction in fixed bit position in the 2nd, 3,4 subframe time slots, and be sent to transmission network.
Alternatively, in said method, according to the instruction of transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the process that the Frame comprising the switching value information of current channel sends into transmission network by corresponding time slot allotment is comprised:
When transmission mode be designated as account for slotted mode altogether time, be that a multi-frame is as switching value information transmission unit using 8 subframes, its the corresponding relation of time slot/bit of the switching value information and carrying of this passage determined when Design of Network System according to current channel, in the sequence code of this channel switch amount information of the fixed bit position of affiliated sub first time slot write instruction, and be sent to transmission network.
The invention also discloses a kind of multi-channel switch amount transmitting device, this device comprises:
Receive judging unit, receiving data frames, and judge whether the Frame received is switching value information, and when the Frame judging to receive is switching value information, transmission mode is obtained from described Frame, wherein, the transmission mode obtained is separate time slots pattern or accounts for slotted mode altogether;
Switching value information acquisition unit, according to obtained transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying obtains switching value information, according to the transmission channel of the particular location determination switching value information at switching value information place and corresponding record.
Alternatively, in said apparatus, described reception judging unit, judges that the Frame received is that switching value information refers to:
When first time slot of first subframe of the Frame received comprises predetermined multiframe alignment code, judge that the Frame received is switching value information.
Alternatively, in said apparatus, determined fixed value set in fixed bit position when described predetermined multiframe alignment code is system.
Alternatively, in said apparatus, described reception judging unit, obtains transmission mode and refers to from described Frame:
The transmission mode indication code comprised according to first time slot of first subframe of described Frame determines the transmission mode of received switching value information.
Alternatively, in said apparatus, determined fixed value set in fixed bit position when described transmission mode indication code is system, wherein, the transmission mode indication code that separate time slots pattern is corresponding, account for the transmission mode indication code that slotted mode is corresponding altogether, fixed value set in fixed bit position is different.
Alternatively, in said apparatus, when transmission mode is separate time slots pattern, described switching value information acquisition unit, according to the transmission mode determined, default switching value information obtains switching value information with the corresponding relation of the time slot/bit carrying it and refers to:
From the 2nd, 3, the identical time slot of 4 subframes setting be used for obtaining switching value information in the bit of transmitting switch amount information.
Alternatively, in said apparatus, the 2nd, 3, setting is used for transmitting switch amount information in the identical time slot of 4 subframes bit is the 2nd, 3, front 4 bits of each time slot of 4 subframes.
Alternatively, in said apparatus, when transmission mode is for accounting for slotted mode altogether, described switching value information acquisition unit, according to the transmission mode determined, default switching value information obtains switching value information with the corresponding relation of the time slot/bit carrying it and refers to:
From first time slot of 2-8 subframe, setting is used for obtaining switching value information in the bit of transmitting switch amount information.
The invention also discloses a kind of multi-channel switch amount transmitting device, this device comprises:
Indication information plug-in unit, when there is not the Frame for multi-channel switch amount information transmission in network system, in data note to be sent, insert the instruction for the instruction and transmission mode that start transmitting switch amount information of notebook data frame, wherein, described transmission mode is separate time slots pattern or accounts for slotted mode altogether;
Switching value information transmission unit, according to the transmission mode that described indication information plug-in unit inserts, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the Frame comprising the switching value information of current channel is sent into transmission network by corresponding time slot allotment, and when judging to there is the Frame for multi-channel switch amount information transmission according to the instruction for starting transmitting switch amount information in network system, its the corresponding relation of time slot/bit of the instruction of the transmission mode adopted according to this Frame and default switching value information and carrying, the Frame comprising the switching value information of current channel is sent into transmission network by time slot allotment.Alternatively, in said apparatus, for the instruction starting transmitting switch amount information, described basis judges that the Frame existed for multi-channel switch amount information transmission refers to:
When the time slot of in the Frame received comprises the instruction for starting transmitting switch amount information, judge in network system, to there is the Frame being used for multi-channel switch amount information transmission, and described time slot is confirmed as the first subframe first time slot of described Frame.
Alternatively, in said apparatus, for starting being designated as of transmitting switch amount information: the predetermined multiframe alignment code that the fixed bit position in first time slot of Frame first subframe is inserted.
Alternatively, in said apparatus, described transmission mode is designated as: during system in first time slot of described Frame first subframe the determined transmission mode indication code inserted in fixed bit position, wherein, the transmission mode indication code that separate time slots pattern is corresponding, account for the transmission mode indication code that slotted mode is corresponding altogether, the fixed value inserted in fixed bit position is different.
Alternatively, in said apparatus, described switching value information transmission unit is according to the instruction of transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the Frame comprising the switching value information of current channel is sent into transmission network by corresponding time slot allotment and refers to:
When transmission mode is designated as separate time slots pattern, be that a multi-frame is as switching value information transmission unit using 4 subframes, its the corresponding relation of time slot/bit of the switching value information and carrying of this passage determined when Design of Network System according to current channel, the sequence code of this channel switch amount information of write instruction in fixed bit position in the 2nd, 3,4 subframe time slots, and be sent to transmission network.
Alternatively, in said apparatus, described switching value information transmission unit is according to the instruction of transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the process that the Frame comprising the switching value information of current channel sends into transmission network by corresponding time slot allotment is comprised:
When transmission mode be designated as account for slotted mode altogether time, be that a multi-frame is as switching value information transmission unit using 8 subframes, its the corresponding relation of time slot/bit of the switching value information and carrying of this passage determined when Design of Network System according to current channel, in the sequence code of this channel switch amount information of the fixed bit position of affiliated subframe first time slot write instruction, and be sent to transmission network.
The multi-channel switch amount transmission method that technical scheme proposes and device can realize carrying out transmitting to gathered active switch amount signal or passive switch amount signal; Scene is widely used, and supports switch acquisition and the remote control application of point-to-point and point-to-multipoint.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention breaker in middle amount Acquisition Circuit schematic diagram;
Fig. 2 is separate time slots transmission mode schematic diagram in the embodiment of the present invention;
Fig. 3 (a) is the data frame structure schematic diagram of input end employing separate time slots transmission mode in the embodiment of the present invention;
Fig. 3 (b) is the data frame structure schematic diagram of output terminal employing separate time slots transmission mode in the embodiment of the present invention;
Fig. 4 accounts for slot transmission pattern diagram in the embodiment of the present invention altogether;
Fig. 5 (a) accounts for the data frame structure schematic diagram of slot transmission pattern altogether for input end in the embodiment of the present invention adopts; .
Fig. 5 (b) accounts for the data frame structure schematic diagram of slot transmission pattern altogether for output terminal in the embodiment of the present invention adopts;
Fig. 6 is receiving end operational flowchart in embodiment of the present invention breaker in middle amount transmitting procedure;
Fig. 7 is transmitting terminal operational flowchart in embodiment of the present invention breaker in middle amount transmitting procedure;
Fig. 8 is that embodiment of the present invention mid point is to point control mode schematic diagram;
Fig. 9 is that embodiment of the present invention mid point is to multiparty control mode schematic diagram
Figure 10 (a) is a kind of in embodiment of the present invention structural representation of multi-channel switch amount transmitting device;
Figure 10 (b) is the structural representation of multi-channel switch amount transmitting device another kind of in the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereafter will be described in further detail technical solution of the present invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine arbitrarily mutually.
At present, switching value is divided into active switch amount signal and passive switch amount signal, active switch amount signal refers to the signal that "ON" and "off" state are chargeds, for the collection of this on-off model, switch value input interface does not need to provide power supply, usually occurs with the form of dry contact input interface; Passive switch amount signal refers to the signal that "ON" and "off" state are not chargeds, and the collection switch value input interface for this on-off model needs to provide power supply, usually occurs with the form of wet contact input interface.Therefore by adopting different interface contact input forms to different switch acquisition modes, thus the flexible conversion to active switch amount signal and passive switch amount signals collecting can be realized.
Based on above-mentioned thought, the present embodiment provides a kind of switch acquisition device, can the collection of compatible active switch amount signal and passive switch amount signal, and it at least comprises switching mode control circuit and switch quantity acquisition circuit, wherein:
Switching mode control circuit, receives external signal, and according to external signal determination switching mode;
Switch quantity acquisition circuit, when switching mode control module determination switching mode is wet contact switching mode, selects wet contact switch transmission channel to gather on-off model; When switching mode control module determination switching mode is dry contact switching mode, dry contact switch transmission channel is selected to gather on-off model.
Below for Fig. 1, the specific implementation of said apparatus is described, wherein: switching mode control circuit at least comprises: relay SW, NPN type triode Q1 and the first divider resistance R3 and the second divider resistance R4.Coil one end of relay SW is connected with signal power source VCC, and the coil other end of relay SW is connected with the collector of triode Q1, and contact first free end of relay SW is connected with interface power VCC_PORT; The the first divider resistance R3 be connected in series and the second divider resistance R4 is arranged between peripheral mode control signal MODE_CTL and signal ground, and the first divider resistance R3 is connected with the base stage of triode Q1 with the series connection point of the second divider resistance R4, the emitter of triode Q1 is also connected with signal ground;
Switch quantity acquisition circuit at least comprises: optocoupler U1, first current-limiting resistance R1 and the second current-limiting resistance R2 and pull-up resistor R5, first current-limiting resistance R1 one end is connected with the first voltage acquisition input end PIN1, the other end is connected with the second free end contact of switching mode control circuit repeat circuit SW, second current-limiting resistance R2 one end is connected with the second voltage acquisition input end PIN2, the other end is connected with input side negative pole (light-emitting diode tube cathode) side of optocoupler U1, the input side positive pole of optocoupler U1 is connected with the common port contact of switching mode control circuit repeat circuit SW, the outgoing side positive pole of optocoupler U1 outputs signal AIM_IN with collection and is connected, also be connected with external power VDD by pull-up resistor R5 simultaneously, the outgoing side negative pole of optocoupler U1 is connected with external power supply ground.
Above-mentioned switch acquisition device is in order to compatibility collection active switch amount or passive switch amount, the connection terminal with at least 3 external pins can be utilized, wherein, 3 pins access the first voltage acquisition input end PIN1 respectively, second voltage acquisition input end PIN2 and interface ground GND_PORT, when gathering active switch amount, use the first voltage acquisition input end PIN1, second voltage acquisition input end PIN2 is as signals collecting input end, and be active switch amount due to what gather, the first voltage acquisition input end PIN1 is needed to be connected with the positive pole of external interface, second voltage acquisition input end PIN2 is connected with the negative pole of external interface, and when gathering passive switch amount, use the second voltage acquisition input end PIN2, interface ground GND_PORT as on-off model Gather and input end, be passive switch amount due to what gather, so the pin of on-off model Gather and input end need not distinguish polarity, above-mentioned two kinds of patterns select an existence for the signals collecting of same passage, but if there is multiple acquisition channel in system, can freely configure for different passage.Based on the configuration of above-mentioned external pin, the cooperative working process of above-mentioned switching mode control circuit and switch quantity acquisition circuit is as follows:
When gathering passive switch amount signal, use the second voltage acquisition input end PIN2, interface ground GND_PORT is as switching signal Gather and input end, the peripheral mode control signal MODE_CTL exporting supply according to configuration requirement (wet contact) by external control device exports high level (typically, 3.3V), dividing potential drop is carried out by the first divider resistance R3 and the second divider resistance R4, and export dividing point voltage to triode Q1 base stage, cause triode Q1 saturation conduction, thus, current path is formed between " coil-Q1 collector-Q1 emitter-signal ground of signal power source VCC-relay SW ", the coil of relay SW has electric current to flow through, the common port contact of relay SW is caused to be connected with the first free end contact (normally opened contact), path is formed when the dry contact gathering passive switch amount signal closes, thus, form the current path of " the common port contact-optocoupler U1 input side-the second voltage acquisition input end PIN2-interface ground GND_PORT of the first free end contact-SW of interface power VCC_PORT-SW ", the light emitting diode forward conduction of optocoupler U1 inside is luminous, now the phototriode of its inside is also by conducting, thus, the light emitting diode conducting of optocoupler U1 inside, thus, optocoupler U1 output terminal exports a low level and is used as collection signal AIM_IN for external circuit, and when gathering the dry contact disconnection of passive switch amount signal, the current path of the LEDs ON of optocoupler U1 inside no longer exists, thus, optocoupler U1 output terminal exports a high level signal AIM_IN by the effect of pull-up resistor R5 and external power VDD, is used as collection signal for external circuit,
When gathering active switch amount signal, use the first voltage acquisition input end PIN1, second voltage acquisition input end PIN2 is as switching signal Gather and input end, now export the peripheral mode control signal MODE_CTL output low level of supply (typically by external control device according to configuration requirement (dry contact), 0V), thus, triode Q1 can not conducting, the coil of relay SW also can not obtain enough electric currents, therefore, the common port contact of relay SW1 is connected with the second free end contact (normally closed contact), when the wet contact gathering active switch amount signal closes, now, form the current path of " the common port contact-optocoupler U1 input side-the second voltage acquisition input end PIN2 of the second free end contact-SW of first voltage acquisition input end PIN1-the first current-limiting resistance R1-SW ", the light emitting diode forward conduction of optocoupler U1 inside is luminous, now the phototriode of its inside is also by conducting, thus, the light emitting diode conducting of optocoupler U1 inside, thus, optocoupler U1 output terminal exports a low level signal AIM_IN, collection signal is used as external circuit, and when the wet contact gathering active switch amount signal disconnects, the current path of the LEDs ON of optocoupler U1 inside is caused no longer to exist, thus, optocoupler U1 output terminal exports a high level signal AIM_IN by the effect of pull-up resistor R5 and external power VDD, collection signal is used as external circuit.
Visible by the above-mentioned course of work, utilize a set of hardware can realize selection and the switching of passive switch amount signals collecting and active switch amount signals collecting by peripheral mode control signal MODE_CTL, by optocoupler to the detection of collection signal and from on-off model to the conversion of logic low and high level, simplify gatherer process, improve interface compatibility in facility switching amount gatherer process simultaneously, effectively meet the demand of different scene application.
In order to make the switch acquisition device proposed in above-described embodiment, there is higher reliability, preferably, in described switching mode control circuit, can arrange sustained diode 2 between signal power source VCC and the collector of triode Q1, the negative electrode of this sustained diode 2 is connected with signal power source VCC; This be due to transferred to by height when peripheral mode control signal MODE_CTL output level low after, triode Q1 becomes cut-off from saturated, at this moment the coil of relay SW makes wherein electric current lose distribution channel suddenly due to inertia effect, if without sustained diode 2, larger inverse electromotive force is produced by these coil two ends, magnitude of voltage can reach tens of volt, this voltage adds, and the collector that VCC voltage acts on triode Q1 is enough to damage triode, therefore, the effect of sustained diode 2 is for inverse electromotive force provides discharge loop.
Can also be preferably, the coil other end of relay SW is connected with the emitter of triode Q1 by a voltage stabilizing diode D3, in order to the voltage swing of restriction when triode Q1 saturation conduction and when turning off cut-off between transistor emitter and collector, ensure that triode Q1 is not fragile.
In addition, in switch quantity acquisition circuit, preferably, between input side negative pole (light-emitting diode tube cathode) side of second current-limiting resistance R2 one end and optocoupler U1, hold-off diode D1 can be set, the negative electrode of this hold-off diode D1 is connected with second current-limiting resistance R2 one end, and the optocoupler that hold-off diode D1 can be used for preventing from causing because of interface power reversal connection damages.
By above switch acquisition device, we can gather for the on-off model of passage, wherein gathered on-off model can be active switch amount signal also can be passive switch amount signal, and in the signals transmission of data communication network, can not by different way to the signal differentiated transmission gathered, therefore, although can be more preferably adopt above-mentioned switch acquisition device to gather in on-off model gatherer process, but will no longer the acquisition mode of signal be distinguished in the following description about on-off model transmission, and be only describe its transmission how carrying out in network system based on collecting on-off model.
Before the implementation process that on-off model transmission is described, first introduce in detail the present invention and carry out the adoptable two kinds of transmission modes of on-off model transmission, namely separate time slots pattern transmission mode and account for the transmission mode of slotted mode altogether, and time slot/bit configuration that these two kinds of transmission modes are corresponding:
(1) separate time slots pattern
Separate time slots pattern, refer to each on-off model take respectively one independently time slot transmit.
As shown in Figure 2, under separate time slots pattern, the transmission of each way switch amount information all independently takies a time slot, this pattern adopts multi-frame structure design, be a multi-frame with 4 subframes, wherein bit0 ~ the bit6 of every 1 time slot of the 1st subframe is all used for independently transmitting multiframe alignment code " 0000000 " (being namely used to indicate this Frame for starting transmitting switch amount signal), (' 0 ' expression accounts for slotted mode to bit7 fixing transmission transmission mode indication code altogether, ' 1 ' represents separate time slots pattern), 2nd, 3, front 4 bits (bit0 ~ bit3) of each time slot of 4 subframes amount to 12 bits and are used for transmitting the sequence code representing each way switch amount information respectively, this sequential coding can independently set in advance, but must guarantee not occur the message structure consistent with multiframe alignment code, as: use " 110110110110 " to represent ' 1 ', " 101010101010 " are used to represent ' 0 ', and there is no special recognition reaction due to the Filling power of other spare bits, filling ' 1 ' or ' 0 ' can be fixed in other spare bits, also can be other fixed Combination or random combine.Like this, just multi-frame and subframe thereof can be distinguished according to multiframe alignment code at opposite end receiver side, and according to clear and definite the adopted transmission mode of transmission mode indication code, and then transmitted switching value information can be parsed.In the design, sequence code indicates the switching value information of each passage, it is made up of jointly the fixed bit position in the identical time slot of subframes different in multi-frame, obvious anti-interference, the bit error rate can effectively reduce, and its length can design as required, but 12 and be distributed in the identical time slot of different subframe, for preferably, be enough to ensure reliable and stable.Certainly, the reliability that the length of sequence code is arranged in order to guarantee information transmission is set up, its length can set as required, in fact in application scenes, also directly sequence code can be set to 1 simply, carry out information transmission with switching value " 0 " or " 1 ", namely, 2nd, only take one " 0 " in each time slot of 3,4 subframes, or " 1 " shows on off state.
Also it should be noted that herein, when adopting separate time slots pattern to carry out switching value information transmission, also can based on above-mentioned multi-frame principle of design, be set in the 2nd, 3, a certain (or some) bit position in any time slot of 4 subframes carrys out transmitting switch amount information, and each subframe need not there is switching value information, but now obviously can transmitting switch amount port number reduce, but security also can be made to improve by its specific arrangement.
More intuitive explanation is shown in Figure 3, under separate time slots pattern, 8 way switch amounts need 8 time slots, 1st ~ 8 way switch amount signals take TS0 ~ TS7 time slot successively, what wherein 3 (a) figure described is the up direction that on-off model transmits, and the on-off state signal being about to collect from switch value input interface sends into transmission network; What 3 (b) figure described is the down direction that on-off model transmits, and the digital output modul signal namely parsed from transmission network, for gauge tap amount signal output interface.
(2) slotted mode is accounted for altogether
Account for slotted mode altogether, refer to that multiple on-off model jointly takies same time slot (TS0) and transmits, and by the form of multi-frame, it is multiplexing to carry out bit during multi-way switching values Signal transmissions, for ensureing the correctness of signal transmission, CRC-16 check code can also be added;
As shown in Figure 4, under accounting for slotted mode altogether, only need use time slot (TS0), and for comprising the Frame of 32 time slots (TS0-TS31), other time slot except TS0 still may be used for transmitting out of Memory.Multi-frame structure is used during transmitting switch amount signal, be a multi-frame with 8 subframes, bit0-the bit6 of the TS0 of the first subframe is fixing transmits multiframe alignment code (" 0000000 "), bit7 is that transmission mode indication code (wherein ' 0 ' is expressed as and accounts for slotted mode altogether, ' 1 ' represents separate time slots pattern), 2nd, 3, the TS0 time slot of 4 subframes is used for transmitting switch amount information, every frame can transmit the switching value information of 7 passages, for preventing " 0000000 " the i.e. appearance of multiframe alignment code, the bit6 of every frame fixes data inserting confirmation code ' 1 ', 5th, 6, 7, 8 subframes are used for transmitting switch amount information and CRC-16 check code, same bit6 fixes data inserting confirmation code ' 1 ', A ~ H in figure represents 8 way switch amount information, " X " is reserved switching value information transmission position, and preferably in order to realize two kinds of transmission modes of the present invention in the compatibility of master control website access device to access slave station point, and the bit7 of the TS0 time slot of the 2nd subframe is set to the free time in the diagram, fixing insertion such as ' 1 ', support the transmission of 32 way switch amount information with making system compatibility thus (position identifying shade in figure can transmitting switch amount signal: amount to 6 (the 2nd subframe)+7*2 the (the 3rd, 4 subframes)+3*4 the (the 5th, 6, 7, 8 subframes)=32).Certainly, accounting under slot transmission pattern altogether, also can by changing the figure place of time slot shared by check code and not setting the transmission quantity that spare bits increases switching value, spare bits also can be arranged on other subframe time slot in non-1st subframe.
Also it should be noted that herein, adopt account for altogether slotted mode carry out switching value information transmission time, also can based on above-mentioned multi-frame principle of design, predetermined other subframe or other bit that can be used for transmission can be selected during switching value transmission, as long as before meeting for the related setting accounting for slotted mode transmitting switch amount altogether, setting is herein just for convenience of description.
More intuitive explanation is shown in Figure 5, under accounting for slotted mode altogether, 8 way switch amounts only need a time slot, and the transmission of front 4 way switch amount information takies the bit0 ~ bit3 of multi-frame the 2nd subframe, and bit0 ~ bit3 that the transmission of rear 4 way switch amount information takies multi-frame the 3rd subframe transmits.What wherein Fig. 5 (a) figure described is the up direction that on-off model transmits, and the on-off state signal being about to collect from switch value input interface sends into transmission network; What Fig. 5 (b) figure described is the down direction that on-off model transmits, and the digital output modul signal namely parsed from transmission network, for gauge tap amount signal output interface.
The time slot carrying out switching value information transmission for above-mentioned two kinds of patterns is configured and it should be added that, although be below all utilize the bit0 ~ bit6 in 1 time slot to arrange multiframe alignment code, bit7 arranges transmission mode indication code, but in fact, this is not unique, but because for switching value information transmission, only have two kinds of transmission modes, therefore, only need just can distinguish by 1 bit, and utilize more bit can reduce bit error probability under the prerequisite ensureing identifiability to arrange multiframe alignment code, thus raising data transmission credibility.In some other occasion, also can multiframe alignment code be set with less bit, also transmission mode indication code can be set with more bit, all be not construed as limiting herein, only need the no more than 8bit of figure place sum shared by multiframe alignment code and transmission mode indication code two kinds of identification codes.
Based on above, transmission time slot in switching value message transmitting procedure is arranged, switching value information transmission is carried out between each website in network system, in whole transfers net system, as receiving end its corresponding relation of time slot/bit of known each channel switch amount information and carrying all in advance, and need its corresponding relation of time slot/bit of known channel switch amount information and carrying as transmitting terminal.
For the receiving end as Signal reception, receiving data frames, if judge, the Frame received is switching value information, then from Frame, obtain transmission mode, again according to obtained transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying obtains switching value information, according to the transmission channel of the particular location determination switching value information at switching value information place and corresponding record.Particularly, this receiving course as shown in Figure 6, performs following steps:
Step 601, judges whether first time slot of first subframe of the Frame received comprises predetermined multiframe alignment code, if so, then shows that the Frame that will receive is the multi-frame structure of transmission multi-channel switch amount information, continues to perform step 602; Otherwise show that received Frame is non-agreement multi-channel switch amount information, according to the Else Rule process of Design of Network System, the present invention does not relate to;
In this step, determined fixed value (such as, being set as in bit0-bit6 " 0000000 ") set in fixing bit when predetermined multiframe alignment code is system;
What do herein to illustrate is, at receiving end, the object that arranges of multiframe alignment code will start receiving key amount information in order to show as receiving end, as long as a time slot in the Frame therefore received comprises multiframe alignment code, then show that the Frame received comprises switching value information, and this time slot is confirmed as the 1st subframe the 1st time slot of described Frame.
Step 602, the transmission mode indication code comprised according to first time slot of first subframe of described Frame determines the transmission mode of received switching value information, when being judged as that separate time slots transmits, performs step 603, when being judged as accounting for slot transmission altogether, perform step 604;
In this step, determined fixed value set in fixing bit when transmission mode indication code is system, for separate time slots pattern with account for slotted mode altogether, this fixed value difference (such as, represent when being set as 0 in bit7 and account for slotted mode altogether, when being set as 1, represent separate time slots pattern);
Step 603, be the unit that a multi-frame reads as switching value information using 4 subframes, from the 2nd, 3, obtain the sequence code of indicator cock amount information in fixed bit position in the identical time slot of 4 subframes, be defined as switching value information which passage transmits and corresponding record according to this sequence code place particular location; Such as, the front 4bit data in the TS0 time slot of the 2nd, 3,4 subframes together as the sequence code of instruction first passage switching value information, the front 4bit data in the TS1 time slot of the 2nd, 3,4 subframes together as the sequence code indicating second channel switching value information,
Step 604, be the unit that a multi-frame reads as switching value information using 8 subframes, from the 2nd, 3,4 ... in the TS0 time slot of subframe, each setting is used for obtaining switching value information in the bit of transmitting switch amount information, is defined as switching value information which passage transmits and corresponding record according to this switching value information place particular location; Such as, bit0-bit5 in the TS0 time slot of the 2nd subframe is first passage switching value information-the Hexamermis spp switching value information, bit7 is the 7th channel switch amount information, bit0-bit5 in the TS0 time slot of the 3rd subframe is the 8th channel switch amount information-the tenth triple channel switching value information ...
Accordingly, as the transmitting terminal that signal sends, after utilizing on-off model harvester to collect the switching value information of this passage, send the Frame comprising switching value information, such as, when there is the Frame of the transmission being used for multi-channel switch amount information in network system, according to the transmission mode indicated in this Frame, the switching value information of current channel is sent into transmission network by time slot allotment; When there is not the Frame for multi-channel switch amount information transmission in network system, then in Frame to be sent, insert and be used for the instruction of transmitting switch amount information and the instruction of transmission mode, according to its corresponding relation of time slot/bit of the instruction of transmission mode of inserting and default switching value information and carrying, the switching value information of current channel is sent into transmission network by time slot allotment.Particularly, this process as shown in Figure 7, comprises the following steps:
Step 701, judges the transmitting data frame whether existed in network system for multi-channel switch amount information, if existed, then performs step 703, if there is no, then performs step 702;
In this step, have in network system to be used for the transmitting data frame of multi-channel switch amount information be whether comprise predetermined multiframe alignment code determine by judging to receive in Frame; When not receiving the Frame comprising predetermined multiframe alignment code, show the transmitting data frame do not existed in current network systems for multi-channel switch amount information;
Step 702, according to system configuration requirements, predetermined multiframe alignment code and transmission mode indication code are inserted in the fixed bit position in first time slot of first subframe of Frame to be sent; Wherein, described multiframe alignment code shows will start to send the Frame comprising switching value information as transmitting terminal at this moment; Described transmission mode indication code is for accounting for slotted mode altogether and separate time slots pattern sets respectively; Then step 703 is performed;
Step 703, according to the transmission mode indicated by transmission mode indication code, sends into transmission network by the switching value information of current channel by time slot allotment; Concrete:
When described transmission mode indication code is designated as separate time slots pattern, be that a multi-frame is as switching value information transmission unit using 4 subframes, this passage determined when Design of Network System according to current channel should the 2nd, 3, the sequence code of this channel switch amount information of write instruction in fixed bit position in 4 subframe time slots, and be sent to transmission network;
When described transmission mode indication code be designated as account for slotted mode altogether time, be that a multi-frame is as switching value information transmission unit using 8 subframes, this passage determined when Design of Network System according to current channel in the sequence code of this channel switch amount information of determination bit write instruction of affiliated subframe first time slot, and should be sent to transmission network.
It should be noted that, in the present embodiment, under accounting for time slot and separate time slots pattern altogether, multi-channel switch amount information can be transmitted, typically be 32 tunnels.Under accounting for slotted mode altogether, 8 way switch amount signals take same time slot, take resource few, and under separate time slots pattern, because every way switch amount signal takies separately 1 separate time slots, time slot allotment is more flexible, therefore, two kinds of switching value transmission modes can be selected flexibly in different networking application occasions, but for whole network system, adopt the design proposed in the embodiment of the present invention at least can accomplish same hardware system selecting compatibility and automatically identifying for two kinds of transmission modes.In addition, in the application, the compatibility of switching value transmission system is embodied in the switching value number of compatibility master control website gathers to(for) controlled website, for main Control point access device, it, for the access of the quantity such as two kinds of controlled nodes can realize, thus, is provided with in transmission system, two ends are configured change, without the need to changing for master control website access device when especially transmission mode is changed.As can be seen here, technical scheme is utilized can to make the compatible enhancing further on the basis realizing reliable data transmission of whole switching value transmission system.
Embody rule example
Point-to-point application.
Under point-to-point application model, as shown in Figure 8, the On-off signal signal that prosecution website A will detect, be sent to B by E1 transmission network and hold equipment, out by the digital output modul signal resolution from B website, for controlling local terminal controlled device or being shown by display screen as warning information simultaneously; In the same way, the on-off state signal that prosecution website B will detect, also transfer to A by E1 transmission network and hold equipment, out by the digital output modul signal resolution from A website, for controlling local terminal controlled device or being shown by display screen as warning information simultaneously.Under this application mode, the transmission mode of switching value can use and account for slotted mode altogether, also can use separate time slots pattern.
Point-to-multipoint is applied.
As shown in Figure 9, in loop network, there is one to control website CotrolSite and 3 controlled website SiteA, SiteB and SiteC, under separate time slots pattern, then can realize the control respectively realized separately A, B, C3 controlled website.ControlSite accesses double switch amount control signal (dotted line), take 2 TS time slots by time slot allotment and send into transmission network, control signal is sent to SiteA, and SiteA can obtain this information and on its display screen, can carry out information to show or be used for the open and close of control SiteA relevant device as required.Equally, ControlSite also can be realized to other website in ring network as the switch control rule of SiteB, SiteC by the allotment of time slot, thus the point-to-multipoint realizing switching value controls.In this scenario, after determining that the time slot of transmitting switch amount information and other relevant informations is determined, if allotment time slot information of carrying out inserts any technical scheme that the information that realizes can be selected in this area to insert time slot, do not limit herein.
Below, the present embodiment provides a kind of multi-channel switch amount transmitting device, and as shown in Figure 10 (a), it can be placed in and receive side, and it mainly comprises following each unit:
Receive judging unit, receiving data frames, and judge whether the Frame received is switching value information, and when the Frame judging to receive is switching value information, from Frame, obtain transmission mode, wherein, the transmission mode obtained is separate time slots pattern or accounts for slotted mode altogether;
Particularly, when first time slot of first subframe of the Frame received comprises predetermined multiframe alignment code, namely, during system during determined fixed value set in fixed bit position, receive judging unit and can judge that the Frame received is switching value information.Wherein, determinedly during system one or more bit can be comprised in fixed bit position.
In addition, receive judging unit, the transmission mode indication code comprised according to first time slot of first subframe of Frame obtains the transmission mode of switching value information.Particularly, determined fixed value set in fixed bit position when transmission mode indication code is system, for separate time slots pattern with account for slotted mode altogether, this fixed value difference.Such as, transmission mode indication code corresponding to separate time slots pattern is the value of the fixed bit position of systemic presupposition is fixed value 1, then to account for defeated pattern indication code corresponding to slotted mode be altogether the value of the fixed bit position of systemic presupposition is fixed value 2.
Switching value information acquisition unit, according to obtained transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying obtains switching value information, according to the transmission channel of the particular location determination switching value information at switching value information place and corresponding record.
Wherein, when transmission mode is separate time slots pattern, switching value information acquisition unit, according to the transmission mode determined, when its corresponding relation of time slot/bit of the switching value information preset and carrying obtains switching value information, be from the 2nd, 3, set for transmitting switch amount information bit the identical time slot of 4 subframes in obtain switching value information.Preferably, can by the 2nd, 3, front 4 bits of each time slot of 4 subframes are set to bit for transmitting switch amount information.
When transmission mode is for accounting for slotted mode altogether, described switching value information acquisition unit can set in the bit being used for transmitting switch amount information and obtain switching value information from first of a 2-8 subframe time slot.
The present embodiment introduces a kind of multi-channel switch amount transmitting device again, and as shown in Figure 10 (b), it can be placed in and send side, and it mainly comprises following each unit.
Indication information plug-in unit, when there is not the Frame for multi-channel switch amount information transmission in network system, in data note to be sent, inserts the instruction for the instruction and transmission mode that start transmitting switch amount information of notebook data frame;
In the present embodiment, predetermined multiframe alignment code is inserted in the fixed bit position of this unit in first time slot of first subframe of Frame, and this predetermined multiframe alignment code is the instruction for starting transmitting switch amount information.Now, be placed in the device of receiving end, when reading multiframe alignment code from Frame, can judge that this Frame is for transmitting switch amount information.Wherein, the fixed bit position for inserting multiframe alignment code can comprise one or more bit.
In addition, indication information transmission unit, can also insert transmission mode indication code by fixed bit position in first time slot of first subframe of Frame, be the instruction of transmission mode, wherein, the value of the transmission mode indication code that different transmission mode is corresponding is different.
Switching value information transmission unit, the transmission mode of information insertion unit insertion as indicated, and the corresponding relation of the time slot/bit of carrying switching value information corresponding to switching value information preset, the Frame that will comprise the switching value information of current channel sends into transmission network by corresponding time slot allotment; And when judging to there is the Frame for multi-channel switch amount information transmission according to the instruction for starting transmitting switch amount information in network system, its the corresponding relation of time slot/bit of the instruction of the transmission mode adopted according to this Frame and default switching value information and carrying, the Frame that will comprise the switching value information of current channel sends into transmission network by time slot allotment.
Particularly, when transmission mode is separate time slots pattern, the transmission of the switching value information of each paths independently can take a time slot, be such as a multi-frame for 4 subframes, now, switching value information transmission unit can the 2nd, 3, in the identical time slot of 4 subframes setting on the bit of transmitting switch amount information, transmit switching value information.Such as, the 2nd, 3, the sequence code of this channel switch amount information of write instruction in front 4 bits of each time slot of 4 subframes, and be sent to transmission network.
When transmission mode is for accounting for slotted mode altogether, the on-off model of each paths can carry out bit when transmitting multiplexing, for ensureing the correctness of signal transmission, CRC-16 check code can also be added, be such as a multi-frame for 8 subframes, now, switching value information transmission unit then in the sequence code of this channel switch amount information of the fixed bit position of the first time slot of 2-8 subframe write instruction, and can be sent to transmission network.
The transmission of technical scheme breaker in middle amount is applicable to based on TDM communication network, and occupied bandwidth is few.By can applying by flexible networking the allotment of time slot, not only can realize point-to-point switching value, transmission and control, can also meet the detection of on-off model point-to-multipoint, transmission and demand for control, circuit design is simple, and applying flexible is convenient.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and described program can be stored in computer-readable recording medium, as ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The application is not restricted to the combination of the hardware and software of any particular form.
The above, be only preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (28)

1. a multi-channel switch amount transmission method, is characterized in that, the method comprises:
Receiving data frames, if when judging that the Frame received comprises switching value information, obtain transmission mode from described Frame, wherein, the transmission mode obtained is separate time slots pattern or accounts for slotted mode altogether;
According to obtained transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying obtains switching value information, according to the transmission channel of the particular location determination switching value information at switching value information place and corresponding record.
2. the method for claim 1, is characterized in that, the process that the Frame that judgement receives comprises switching value information comprises:
When a time slot of the Frame received comprises predetermined multiframe alignment code, judge that the Frame received comprises switching value information, and this time slot is confirmed as the first subframe first time slot of described Frame.
3. method as claimed in claim 2, is characterized in that, determined fixed value set in fixed bit position when described predetermined multiframe alignment code is system.
4. method as claimed in claim 2, it is characterized in that, the process obtaining transmission mode from described Frame comprises:
The transmission mode indication code comprised in a slot according to described multiframe alignment code determines the transmission mode of received switching value information.
5. method as claimed in claim 4, is characterized in that,
Determined fixed value set in fixed bit position when described transmission mode indication code is system, wherein, the fixed value of transmission mode indication code set by fixed bit position that the transmission mode indication code that separate time slots pattern is corresponding is corresponding with accounting for slotted mode is altogether different.
6. the method as described in any one of claim 1 to 5, it is characterized in that, when transmission mode is separate time slots pattern, according to the transmission mode determined, the process that default switching value information obtains switching value information with the corresponding relation of the time slot/bit carrying it comprises:
From the 2nd, 3, the identical time slot of 4 subframes setting be used for obtaining switching value information in the bit of transmitting switch amount information.
7. method as claimed in claim 6, is characterized in that, the 2nd, 3, setting in the identical time slot of the 4 subframes bit that is used for transmitting switch amount information is the 2nd, 3, front 4 bits of each time slot of 4 subframes.
8. the method as described in any one of claim 1 to 5, it is characterized in that, when transmission mode is for accounting for slotted mode altogether, according to the transmission mode determined, the process that default switching value information obtains switching value information with the corresponding relation of the time slot/bit carrying it comprises:
From first time slot of 2-8 subframe, setting is used for obtaining switching value information in the bit of transmitting switch amount information.
9. a multi-channel switch amount transmission method, is characterized in that, the method comprises:
When judging to there is the Frame for multi-channel switch amount information transmission according to the instruction for starting transmitting switch amount information in network system, its the corresponding relation of time slot/bit of the instruction of the transmission mode adopted according to this Frame and default switching value information and carrying, the Frame that will comprise the switching value information of current channel sends into transmission network by time slot allotment;
When there is not the Frame for multi-channel switch amount information transmission in network system, in Frame to be sent, insert the instruction for the instruction and transmission mode that start transmitting switch amount information of notebook data frame, according to its corresponding relation of time slot/bit of the transmission mode of instruction of the transmission mode inserted and default switching value information and carrying, the Frame that will comprise the switching value information of current channel sends into transmission network by time slot allotment;
Wherein, described transmission mode is separate time slots pattern or accounts for slotted mode altogether.
10. method as claimed in claim 9, is characterized in that, for the instruction starting transmitting switch amount information, described basis judges that the process existed for the Frame of multi-channel switch amount information transmission comprises:
When the time slot of in the Frame received comprises the instruction for starting transmitting switch amount information, judge in network system, to there is the Frame being used for multi-channel switch amount information transmission, and described time slot is confirmed as the first subframe first time slot of described Frame.
11. methods as claimed in claim 10, is characterized in that, for starting being designated as of transmitting switch amount information: the predetermined multiframe alignment code that the fixed bit position in first time slot of Frame first subframe is inserted.
12. methods as claimed in claim 9, is characterized in that,
Described transmission mode is designated as: during system in first time slot of described Frame first subframe the determined transmission mode indication code inserted in fixed bit position, wherein, the fixed value that the transmission mode indication code that the transmission mode indication code that separate time slots pattern is corresponding is corresponding with accounting for slotted mode altogether inserts in fixed bit position is different.
13. methods as described in any one of claim 9 to 12, it is characterized in that, according to the instruction of transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the process that the Frame comprising the switching value information of current channel sends into transmission network by corresponding time slot allotment is comprised:
When transmission mode is designated as separate time slots pattern, be that a multi-frame is as switching value information transmission unit using 4 subframes, its the corresponding relation of time slot/bit of the switching value information and carrying of this passage determined when Design of Network System according to current channel, the sequence code of this channel switch amount information of write instruction in fixed bit position in the 2nd, 3,4 subframe time slots, and be sent to transmission network.
14. methods as described in any one of claim 9 to 12, it is characterized in that, according to the instruction of transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the process that the Frame comprising the switching value information of current channel sends into transmission network by corresponding time slot allotment is comprised:
When transmission mode be designated as account for slotted mode altogether time, be that a multi-frame is as switching value information transmission unit using 8 subframes, its the corresponding relation of time slot/bit of the switching value information and carrying of this passage determined when Design of Network System according to current channel, in the sequence code of this channel switch amount information of the fixed bit position of affiliated sub first time slot write instruction, and be sent to transmission network.
15. 1 kinds of multi-channel switch amount transmitting devices, it is characterized in that, this device comprises:
Receive judging unit, receiving data frames, and judge whether the Frame received is switching value information, and when the Frame judging to receive is switching value information, transmission mode is obtained from described Frame, wherein, the transmission mode obtained is separate time slots pattern or accounts for slotted mode altogether;
Switching value information acquisition unit, according to obtained transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying obtains switching value information, according to the transmission channel of the particular location determination switching value information at switching value information place and corresponding record.
16. devices as claimed in claim 15, is characterized in that, described reception judging unit, judge that the Frame received is that switching value information refers to:
When first time slot of first subframe of the Frame received comprises predetermined multiframe alignment code, judge that the Frame received is switching value information.
17. devices as claimed in claim 16, is characterized in that, determined fixed value set in fixed bit position when described predetermined multiframe alignment code is system.
18. devices as claimed in claim 17, it is characterized in that, described reception judging unit, obtains transmission mode and refers to from described Frame:
The transmission mode indication code comprised according to first time slot of first subframe of described Frame determines the transmission mode of received switching value information.
19. devices as claimed in claim 18, is characterized in that,
Determined fixed value set in fixed bit position when described transmission mode indication code is system, wherein, the transmission mode indication code that separate time slots pattern is corresponding, and account for transmission mode indication code corresponding to slotted mode altogether, fixed value set in fixed bit position is different.
20. devices as described in any one of claim 15 to 19, it is characterized in that, when transmission mode is separate time slots pattern, described switching value information acquisition unit, according to the transmission mode determined, default switching value information obtains switching value information with the corresponding relation of the time slot/bit carrying it and refers to:
From the 2nd, 3, the identical time slot of 4 subframes setting be used for obtaining switching value information in the bit of transmitting switch amount information.
21. devices as claimed in claim 20, is characterized in that, the 2nd, 3, setting is used for transmitting switch amount information in the identical time slot of 4 subframes bit is the 2nd, 3, front 4 bits of each time slot of 4 subframes.
22. devices as described in any one of claim 15 to 19, it is characterized in that, when transmission mode is for accounting for slotted mode altogether, described switching value information acquisition unit, according to the transmission mode determined, default switching value information obtains switching value information with the corresponding relation of the time slot/bit carrying it and refers to:
From first time slot of 2-8 subframe, setting is used for obtaining switching value information in the bit of transmitting switch amount information.
23. 1 kinds of multi-channel switch amount transmitting devices, it is characterized in that, this device comprises:
Indication information plug-in unit, when there is not the Frame for multi-channel switch amount information transmission in network system, in data note to be sent, insert the instruction for the instruction and transmission mode that start transmitting switch amount information of notebook data frame, wherein, described transmission mode is separate time slots pattern or accounts for slotted mode altogether;
Switching value information transmission unit, according to the transmission mode that described indication information plug-in unit inserts, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the Frame comprising the switching value information of current channel is sent into transmission network by corresponding time slot allotment, and when judging to there is the Frame for multi-channel switch amount information transmission according to the instruction for starting transmitting switch amount information in network system, its the corresponding relation of time slot/bit of the instruction of the transmission mode adopted according to this Frame and default switching value information and carrying, the Frame comprising the switching value information of current channel is sent into transmission network by time slot allotment.
24. devices as claimed in claim 23, is characterized in that, for the instruction starting transmitting switch amount information, described basis judges that the Frame existed for multi-channel switch amount information transmission refers to:
When the time slot of in the Frame received comprises the instruction for starting transmitting switch amount information, judge in network system, to there is the Frame being used for multi-channel switch amount information transmission, and described time slot is confirmed as the first subframe first time slot of described Frame.
25. devices as claimed in claim 24, is characterized in that,
For starting being designated as of transmitting switch amount information: the predetermined multiframe alignment code that the fixed bit position in first time slot of Frame first subframe is inserted.
26. devices as claimed in claim 25, is characterized in that,
Described transmission mode is designated as: during system in first time slot of described Frame first subframe the determined transmission mode indication code inserted in fixed bit position, wherein, the transmission mode indication code that separate time slots pattern is corresponding, account for the transmission mode indication code that slotted mode is corresponding altogether, the fixed value inserted in fixed bit position is different.
27. devices as described in any one of claim 23 to 26, it is characterized in that, described switching value information transmission unit is according to the instruction of transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the Frame comprising the switching value information of current channel is sent into transmission network by corresponding time slot allotment and refers to:
When transmission mode is designated as separate time slots pattern, be that a multi-frame is as switching value information transmission unit using 4 subframes, its the corresponding relation of time slot/bit of the switching value information and carrying of this passage determined when Design of Network System according to current channel, the sequence code of this channel switch amount information of write instruction in fixed bit position in the 2nd, 3,4 subframe time slots, and be sent to transmission network.
28. devices as described in any one of claim 23 to 26, it is characterized in that, described switching value information transmission unit is according to the instruction of transmission mode, and its corresponding relation of time slot/bit of the switching value information preset and carrying, the process that the Frame comprising the switching value information of current channel sends into transmission network by corresponding time slot allotment is comprised:
When transmission mode be designated as account for slotted mode altogether time, be that a multi-frame is as switching value information transmission unit using 8 subframes, its the corresponding relation of time slot/bit of the switching value information and carrying of this passage determined when Design of Network System according to current channel, in the sequence code of this channel switch amount information of the fixed bit position of affiliated subframe first time slot write instruction, and be sent to transmission network.
CN201510370136.6A 2015-06-29 2015-06-29 Multi-channel switch amount transmission method and device Active CN105185072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510370136.6A CN105185072B (en) 2015-06-29 2015-06-29 Multi-channel switch amount transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510370136.6A CN105185072B (en) 2015-06-29 2015-06-29 Multi-channel switch amount transmission method and device

Publications (2)

Publication Number Publication Date
CN105185072A true CN105185072A (en) 2015-12-23
CN105185072B CN105185072B (en) 2019-06-07

Family

ID=54907115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510370136.6A Active CN105185072B (en) 2015-06-29 2015-06-29 Multi-channel switch amount transmission method and device

Country Status (1)

Country Link
CN (1) CN105185072B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418653A (en) * 2017-02-09 2018-08-17 上海诺基亚贝尔股份有限公司 Method and apparatus for fiber optic communication
CN112992619A (en) * 2021-02-07 2021-06-18 青岛博宁福田智能交通科技发展有限公司 Emergency button switch interface and subway gate

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7243367B2 (en) * 2002-01-31 2007-07-10 Brocade Communications Systems, Inc. Method and apparatus for starting up a network or fabric
CN101043282A (en) * 2006-03-24 2007-09-26 中兴通讯股份有限公司 Data storage means for multi-channel voice process
CN201018521Y (en) * 2007-03-09 2008-02-06 杭州中导科技开发有限公司 Environment monitoring device
CN102394719A (en) * 2011-09-21 2012-03-28 浙江铭道通信技术有限公司 Multichannel HDLC data processing method based on FPGA

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7243367B2 (en) * 2002-01-31 2007-07-10 Brocade Communications Systems, Inc. Method and apparatus for starting up a network or fabric
CN101043282A (en) * 2006-03-24 2007-09-26 中兴通讯股份有限公司 Data storage means for multi-channel voice process
CN201018521Y (en) * 2007-03-09 2008-02-06 杭州中导科技开发有限公司 Environment monitoring device
CN102394719A (en) * 2011-09-21 2012-03-28 浙江铭道通信技术有限公司 Multichannel HDLC data processing method based on FPGA

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418653A (en) * 2017-02-09 2018-08-17 上海诺基亚贝尔股份有限公司 Method and apparatus for fiber optic communication
CN108418653B (en) * 2017-02-09 2021-03-05 上海诺基亚贝尔股份有限公司 Method and apparatus for optical fiber communication
CN112992619A (en) * 2021-02-07 2021-06-18 青岛博宁福田智能交通科技发展有限公司 Emergency button switch interface and subway gate
CN112992619B (en) * 2021-02-07 2022-06-03 青岛博宁福田智能交通科技发展有限公司 Emergency button switch interface and subway floodgate machine

Also Published As

Publication number Publication date
CN105185072B (en) 2019-06-07

Similar Documents

Publication Publication Date Title
US8823498B2 (en) Transceiver
US8903683B2 (en) Cable with field-writeable memory
CN102571201A (en) Method, terminal and system for managing optical fiber networks
CN109587022B (en) Communication method of ignition drive bus IDBUS
CN105046911A (en) Multichannel switching value transmission method and device
CN204145498U (en) Multi-channel optical fibre communication check warning switching device shifter
CN106445863A (en) Interface circuit
CN105141491A (en) RS485 communication circuit capable of achieving self-sending and self-receiving and method
CN105185072A (en) Multichannel switching value transmission method and device
CN105230004A (en) The Digital Image Transmission device of executive communication, self diagnosis and control
CN202998098U (en) Optical module port test device
CN210072603U (en) USB2.0 changes multichannel serial ports output device
CN101801104A (en) Mac OS system equipment and network connection configuration method thereof
KR20060097760A (en) Two-wire interface having dynamically adjustable data fields depending on operation code
CN105471569A (en) Multi-node current loop full-duplex communication circuit
CN101635609B (en) High-reliability control system based on asynchronous serial communication and control method thereof
CN210469301U (en) Serial port selection processing expansion system
CN105653003A (en) Cell management unit, cell management system, and communication management method and system of cell management system
CN112566307B (en) Safety display system and safety display method
CN205792601U (en) A kind of fiber optical transceiver of optical port self-adaptive
CN104199799A (en) Baud rate self-adaptation method and device based on CPLD
CN205005065U (en) RS485 communication circuit
CN208581235U (en) A kind of optical module for local loopback test
CN104699648A (en) SDI-12 intelligent debugger
CN105553859A (en) System and method for enabling SFP modules to be adaptive to interfaces

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100094 First to Fifth Floors of Building 11, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Applicant after: Raisecom Technology Inc.

Address before: 100085 No. 2 Building, No. 28 Shangdi Sixth Street, Haidian District, Beijing

Applicant before: Raisecom Technology Inc.

GR01 Patent grant
GR01 Patent grant