Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those skilled in the art are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of Bandwidth Dynamic Allocation methods, devices and systems.Below be elaborated respectively.
Embodiment one,
The embodiment of the invention will be described from the angle of transmitting terminal.This transmitting terminal specifically can be the PCM system.
A kind of Bandwidth Dynamic Allocation method comprises: confirm the required channel width of voice cluster signal, in private network total channel bandwidth resource, the allocated channel bandwidth resources are given trunking communication equipment, with transferring voice cluster signal according to the required channel width of voice cluster signal; Give ether network data transfer device with remaining channel width resource allocation in the private network; When confirming that the current assigned channel width of Ethernet data transmission equipment changes, notice Ethernet data transmission equipment is adjusted the transmission rate of Ethernet data according to current assigned channel width.
As shown in Figure 1, idiographic flow can be following:
101, confirm the required channel width of voice cluster signal; For example, specifically can be following:
Monitoring voice cluster signal is when confirming to exist voice cluster signal, then according to the required channel width of voice cluster calculated signals voice cluster signal; When confirming not have voice cluster signal, confirm that then the required channel width of voice cluster signal is 0.
Wherein, specifically can repeat no more at this according to the required channel width of voice cluster calculated signals voice cluster signal referring to prior art.
102, according to the required channel width of voice cluster signal in private network total channel bandwidth resource, the allocated channel bandwidth resources are given trunking communication equipment, with transferring voice cluster signal;
Wherein, the distribution of bandwidth can be directly to distribute according to the size of bandwidth, also can be to be that unit distributes with the time slot; For convenience; In embodiments of the present invention, the distribution of bandwidth all describes with the example that is assigned as of time slot, promptlystep 102 specifically can for:
Confirm the timeslot number that needs discharge according to the required bandwidth of voice cluster signal, the timeslot number that discharges as required discharges time slot to trunking communication equipment in private network total channel bandwidth resource.
Wherein, specifically can transmit the distribution condition of channel width resource through fixing channel, for example; The time slot allocation situation (being the distribution condition of channel width resource) that specifically can characterize current system through the insertion and the extraction of control word, still, the insertion of control word just must take a plurality of time slots always; Cause the waste of unnecessary bandwidth resources, therefore, in order to save bandwidth resources; Improve the utilance of bandwidth resources; And the saving signaling consumption, also can identify indicating channel allocated bandwidth situation, so that receiving terminal receives voice cluster signal and/or Ethernet data according to this bandwidth variations sign through in channel, inserting bandwidth variations; Wherein, because in embodiments of the present invention, the distribution of bandwidth mainly can refer to the distribution of time slot, so this bandwidth variations sign specifically can be mainly used in the timeslot number that indication need discharge for time slot change sign, and the start time that discharges; That is to say that " in private network total channel bandwidth resource, the allocated channel bandwidth resources are given trunking communication equipment according to the required channel width of voice cluster signal " (being step 102) afterwards, this method can also comprise:
Confirm the timeslot number that needs discharge according to the required bandwidth of voice cluster signal; In channel, insert time slot change sign, receive voice cluster signal and/or Ethernet data so that receiving terminal identifies according to said time slot change, wherein, the indication of time slot change sign needs the timeslot number of release, and the start time that discharges.For example, specifically can be following:
(1) adopts trailing edge of time transmission of two frames or the start time that rising edge is indicated release;
Such as; When defining time slot and need discharge, then next frame begins, and the time slot that needs to discharge can adopt the time of two frames to transmit a rising edge or trailing edge; Just begin to transmit its real data then; Such as the content of voice cluster signal, thereby make the transmission transition flatly of channel, avoid valid data to run off.
Wherein, rising edge refers to, and in first frame of this two frame, the value of everybody (bit) is " 0 " in the time slot that needs to discharge, and in second frame of this two frame, the value of everybody (bit) is " 1 " in the time slot that needs to discharge.Such as, the time slot that discharges if desired istime slot 1,time slot 2 andtime slot 3, and then in first frame of this two frame,time slot 1,time slot 2 andtime slot 3 pass complete " 0 ", and in second frame of this two frame,time slot 1,time slot 2 andtime slot 3 pass complete " 1 ".
Trailing edge refers to, and in first frame of this two frame, the value of everybody (bit) is " 1 " in the time slot that needs to discharge, and in second frame of this two frame, the value of everybody (bit) is " 0 " in the time slot that needs to discharge.Such as, the time slot that discharges if desired istime slot 1,time slot 2 andtime slot 3, and then in first frame of this two frame,time slot 1,time slot 2 andtime slot 3 pass complete " 1 ", and in second frame of this two frame,time slot 1,time slot 2 andtime slot 3 pass complete " 0 ".
What need explanation is, is to adopt a trailing edge to indicate the start time of release, still adopts a rising edge to indicate the start time of release, can decide according to strategy.
(2) in the odd-numbered frame of this two frame, insert a binary number on the reservation position of 0 time slot, wherein, this binary number indication needs the timeslot number of release;
Such as; The time slot that discharges if desired istime slot 1,time slot 2 andtime slot 3 totally three time slots; And adopt first frame and second frame to transmit rising edge or trailing edge; Then can in first frame (being odd-numbered frame), go up and insert " 00011 " in the reservation position (keep the position and be 5bit) of 0 time slot, the timeslot number that expression needs to discharge be " 3 ".
Thus it is clear that, in the odd-numbered frame of this twoframe 0 time slot, in other frame; 0 time slot still can be used for transmitting other information, so, and need not to take 0 time slot always; Promptly need not busy channel always, can save bandwidth resources, improve the utilance of bandwidth resources.
103, give ether network data transfer device with remaining channel width resource allocation in the private network;
Because voice cluster signal has instantaneity,, distribute corresponding channel width resource to get final product for voice cluster signal according to the bandwidth demand of trunking communication signal so only need when having voice cluster signal; And when not having voice cluster signal, then that system is all channel width resources are all distributed to ethernet device, with the transmission Ethernet data; Such as distributing to video encoder; With transmission video signal, or the like, thereby make the channel width resource to be utilized fully.
When 104, confirming that the current assigned channel width of Ethernet data transmission equipment changes, notice Ethernet data transmission equipment is adjusted the transmission rate of Ethernet data according to current assigned channel width.
This be because; If being used for transmitting the bandwidth of Ethernet data reduces; And the transmission rate of Ethernet data is constant, just must guarantee that data are not lost through buffer memory, and if the transmission data be real time data; Like picture control etc., phenomenons such as serious packet loss, card figure, mosaic then will appear.So after variation, the transmission that data can be unimpeded on the link can be notified ethernet device in order to ensure channel width.This method can avoid occurring phenomenons such as serious packet loss, card figure, mosaic well for especially suitable to video signal transmission.
By on can know that present embodiment adopts and dynamically to obtain the required channel width of voice cluster signal, when voice cluster signal has bandwidth demand; Distribute in the private network total channel bandwidth resource corresponding channel width resource to give trunking communication equipment,, and remaining channel width resource in the private network distributed to the Ethernet data transmission equipment entirely with transferring voice cluster signal; With the transmission Ethernet data; Meanwhile, when the current assigned channel width of definite Ethernet data transmission equipment changes, also can notify the Ethernet data transmission equipment to adjust the transmission rate of Ethernet data according to current assigned channel width; Make the transmission rate of Ethernet data and current channel width adapt; Thereby can avoid Ethernet data to lose, strengthen reliability of data transmission, and improve systematic function.
Embodiment two,
Present embodiment will be described from the angle of receiving terminal.This receiving terminal specifically can be the PCM system.
A kind of Bandwidth Dynamic Allocation method comprises: confirm whether to exist in the channel time slot change sign, if; Then, receive voice cluster signal and/or Ethernet data according to adjusted time slot allocation, if not according to said time slot change sign adjustment time slot allocation; Then receive voice cluster signal and/or Ethernet data according to former time slot allocation; Wherein, the said timeslot number that needs release of time slot change sign indication, and the start time that discharges.
Referring to Fig. 2, idiographic flow can be following:
201, confirm whether to exist in the channel time slot change sign, if then execution instep 202, if not, then execution instep 203; Wherein, the said timeslot number that needs release of time slot change sign indication, and the start time that discharges;
For example, specifically can adopt time of two frames to transmit the start time that a trailing edge or rising edge are indicated release, and in the odd-numbered frame of this two frame, insert a binary number on the reservation position of 0 time slot and indicate and need the timeslot number that discharges; Whether then, confirm to exist in the channel time slot change to identify specifically can be following:
The odd-numbered frame of supervisory channel confirms that on the reservation position of 0 time slot in this odd-numbered frame be not at complete 1 o'clock, confirms a current trailing edge or the rising edge of whether existing, if then confirm to exist time slot change sign, so execution instep 202; If not, then confirm not exist time slot change sign, so execution instep 203.
Wherein, stipulate according to the related protocol of existing pulse code modulation (PCM, Pulse code modulation) system; Be complete 1 on the reservation position of 0 time slot in the odd-numbered frame; So if not complete 1, then expression this moment, the value on should reservations was used to indicate the timeslot number of needs release; So further judge whether to exist a trailing edge or rising edge, whether change taken place with the distribution of confirming time slot.
202,, then, receive voice cluster signal and/or Ethernet data according to adjusted time slot allocation according to this time slot change sign adjustment time slot allocation if there is time slot change sign in the channel; For example, specifically can be following:
Confirm the timeslot number of binary number on this reservation position for needing to discharge; Timeslot number according to this needs release; And rising edge or trailing edge confirm to be used for the time slot of transferring voice cluster signal, receives voice cluster signal from the time slot of confirming that is used for transferring voice cluster signal;
Confirm that the time slot except that the time slot that is used for transferring voice cluster signal is the time slot that is used to transmit Ethernet data, from this time slot reception Ethernet data of confirming that is used to transmit Ethernet data.
203, if there is not time slot change sign in the channel, then need not adjust the distribution of time slot, promptly receive voice cluster signal and/or Ethernet data according to former time slot allocation.
By on can know that present embodiment adopts through in channel, inserting time slot change sign and characterizes the distribution condition of time slot, thereby realizes the dynamic assignment of bandwidth; Because what adopt is in channel, to insert an interim time slot change sign, so, in prior art; Need take fixing time slot always and transmit the channel width assignment information, save bandwidth resources greatly, help improving the utilance of bandwidth resources; And signaling consumption is little, has improved the performance of system.
Embodiment three,
According to embodiment one and two described methods, below will do further explain for example.
In the present embodiment, will be specially video encoder with ethernet device, Ethernet data is specially vision signal, and bandwidth variations sign is specially the time slot change and is designated example and describes.
Referring to Fig. 3; This figure is the structural representation of PCM system; This PCM system can comprise transmitting terminal and receiving terminal; Wherein, transmitting terminal comprises microcontroller (MCU, Microprogramed Control Unit), video encoder, trunking communication transmitting apparatus, data processing module, speech processing module, time slot allocation module, the time slot change sign insert module of transmitting terminal and becomes frame module; Receiving terminal comprises MCU, Video Decoder, trunking communication receiving equipment, odd-numbered frame monitoring modular, data bit affirmation module and the time slot adjusting module of receiver module, receiving terminal, and is specific as follows:
The MCU of transmitting terminal: mainly accomplish various calculating,, and each module of transmitting terminal controlled such as the calculating of the timeslot number that needs to discharge and time slot allocation etc.
The MCU of receiving terminal: mainly accomplish various calculating, such as carrying out time slot adjustment etc., and each module of receiving terminal is controlled.
Video encoder: the main digital-to-analogue conversion of accomplishing realtime graphic, and image compression encoding form vision signal.
Trunking communication transmitting apparatus: send voice cluster signal.
Data processing module: handle the encoded video of physical layer and the detection of accomplishing physical layer frame structure.
Speech processing module: handle the voice cluster signal of physical layer and the detection of accomplishing physical layer frame structure.
Time slot allocation module: mainly through MCU according to the actual requirements, distribute different slot transmission vision signals and voice cluster signal.
Time slot change sign insert module: insert the change conditions that time slot change sign comes the current imminent time slot allocation of characterization system at transmitting terminal, promptly be used for identifying the situation of time slot allocation.
Become frame module, be used for voice cluster signal and vision signal are formed E1 frame or T1 frame, wherein, E1 frame and T1 frame are a kind of frames that can on the E1 link, transmit.
Receiver module is used for the frame that receiving end/sending end sends, such as E1 frame or T1 frame.
Odd-numbered frame monitoring modular: keep the time slot synchronised that is about to change with current transmitting terminal at receiving terminal through monitoring, so that confirm to be used for the time slot and the time slot that is used for transmission video signal of transferring voice cluster signal to odd-numbered frame.
Data bit is confirmed module, is used for acknowledgement channel and whether has rising edge or trailing edge, to confirm whether time slot allocation changes.
The time slot adjusting module is used for time slot is adjusted.
The trunking communication receiving equipment is used to receive voice cluster signal.
Video decoding apparatus is used for receiving video signals, and analyzes and decode.
As shown in Figure 4, the execution flow process of this PCM system can be following:
301, the MCU of transmitting terminal monitors voice cluster signal; If there is voice cluster signal, then execution instep 302, if there is not voice cluster signal; Confirm that then the required channel width of voice cluster signal is 0, returns execution voice cluster signal is carried out monitoring step.
When 302, having voice cluster signal, the MCU of transmitting terminal is according to the required channel width of voice cluster calculated signals voice cluster signal, and execution instep 303 then;
303, the MCU of transmitting terminal confirms the timeslot number that needs discharge according to the required channel width of voice cluster signal; The timeslot number that is discharged according to these needs by the time slot allocation module discharges time slot to trunking communication equipment; With transferring voice cluster signal, and remaining all time slots in the private network are then given video encoder by the time slot allocation module assignment; With transmission video signal, execution instep 304 then.
That is to say that when not having voice cluster signal, all time slots all can be used for transmission video signal in the private network, and when monitoring voice cluster signal, then can distribute corresponding time slot to give it according to the actual demand of voice cluster signal; Such as; If have 30 time slots in the private network, then when trunking communication did not have voice cluster signal, MCU will pass through the time slot allocation module; 30 time slots are distributed to video transmission fully; And when having monitored voice cluster signal, then MCU can discharge the time slot of respective numbers from 30 time slots, to transmit this voice cluster signal.
304, confirm whether the current assigned channel width of video encoder changes; If change; Then the MCU of transmitting terminal also need notify video encoder adjustment transmission of video signals speed; Thereby make vision signal to transmit glibly, video image can be not influenced because of the variation of bandwidth, and execution instep 305; If do not change, then return execution voice cluster signal is carried out monitoring step, promptly return execution instep 301.
305, the time slot change identifies insert module and in channel, inserts time slot change sign according to the situation of time slot allocation, wherein, and the timeslot number that the indication of time slot change sign need discharge, and the start time that discharges.For example, specifically can be following:
(1) adopts trailing edge of time transmission of two frames or the start time that rising edge is indicated release;
(2) in the odd-numbered frame of this two frame, insert a binary number on the reservation position of 0 time slot, wherein, this binary number indication needs the timeslot number of release, and the timeslot number that needs to discharge is started at from 1 time slot.
Referring to Fig. 5, this figure is the frame structure sketch map of E1 frame in the prior art, can be known by Fig. 5; In existing E1 frame, 0 time slot of even frame mainly is used for transmitting slot synchronization information, and 0 time slot of odd-numbered frame then mainly is used for transmitting frame synchronization information; Wherein, 0 time slot of odd-numbered frame has 5 and keeps the position, and occurrence is 1; Therefore, can utilize these 5 to keep the timeslot number that indicate the position needs release.Such as, if need to discharge time slot 1, time slot 2 and time slot 3 totally 3 time slots, then this moment now; Low 5 (promptly the keeping the position) of 0 time slot of odd-numbered frame should be: 00011, and the front cross frame of time slot 1, time slot 2 and time slot 3 is respectively complete 0 and complete 1 (being rising edge) then, perhaps; The front cross frame of time slot 1, time slot 2 and time slot 3 is respectively complete 1 and complete 0 (being trailing edge), and referring to Fig. 6, this figure adopts time of two frames to transmit the sketch map of a rising edge; Can find out that by Fig. 6 in the 0th frame, everybody value is 0 in time slot 1, time slot 2 and the time slot 3; And in the 1st frame, everybody value is 1 in time slot 1, time slot 2 and the time slot 3, and; Because the 1st frame is an odd-numbered frame, so low 5 (i.e. reservation positions) of 0 time slot of the 1st frame are: 00011.
306, become frame module time slot change sign and voice cluster signal and vision signal to be encapsulated, form E1 frame or T1 frame, and send receiving terminal to through the E1 link according to the situation of time slot allocation.
307, after the receiver module of receiving terminal receives E1 frame or T1 frame; By the odd-numbered frame of odd-numbered frame monitoring module monitors channel, confirm on the reservation position of 0 time slot in this odd-numbered frame whether to be complete 1, if be complete 1 on the reservation position of 0 time slot in the odd-numbered frame; Then continue the odd-numbered frame of supervisory channel by the odd-numbered frame monitoring modular; If be not complete 1 on the reservation position of 0 time slot in the odd-numbered frame, then confirm that by data bit module confirms a current trailing edge or the rising edge of whether existing, if having a trailing edge or rising edge; Then represent the time slot allocation change, so execution instep 308; If do not have a trailing edge and do not have a rising edge, then confirm to have time slot change sign (representing that promptly time slot allocation does not have change), so return execution is continued the odd-numbered frame of supervisory channel by the odd-numbered frame monitoring modular step.
308, the MCU of receiving terminal adjusts time slot through the time slot adjusting module according to time slot change sign; And according to adjusted time slot allocation reception voice cluster signal and vision signal; Return execution instep 307 then, promptly by the odd-numbered frame of odd-numbered frame monitoring module monitors channel.Specifically can be following:
Confirm that this odd-numbered frame keeps the timeslot number of binary number for needing to discharge on the position; Timeslot number according to this needs release; And rising edge or trailing edge confirm to be used for the time slot of transferring voice cluster signal, receives voice cluster signal from the time slot of confirming that is used for transferring voice cluster signal;
Confirm that the time slot except that the time slot that is used for transferring voice cluster signal is the time slot that is used for transmission video signal, from this time slot receiving video signals of confirming that is used for transmission video signal.
By on can know, when present embodiment is employed in the public link of voice cluster signal and vision signal, voice cluster signal is monitored; When not having voice cluster signal, bandwidth resources all in the private network all are used for transmission video signal, and when having voice cluster signal; Then discharge corresponding time slot and give voice cluster signal; And notice video encoder adjustment transmission of video signals speed, adapting to current channel width, thereby can save on bandwidth resources and the basis of improving the bandwidth resources utilance; The generation of phenomenons such as card figure, mosaic appears in the image of avoiding loss of data to cause, has guaranteed the quality of video transmission.And; Because what adopt is in channel, to insert the situation that an interim time slot change sign is indicated time slot allocation; So, transmit for the channel width assignment information with respect to need take fixing time slot in the prior art always, it is little not only to have significantly reduced signaling consumption; And can further save bandwidth resources and the utilance that improves bandwidth resources, improved the performance of system on the whole.
Embodiment four,
In order to implement above method better; The embodiment of the invention also correspondingly provides a kind of sending ending equipment; Can be used as the transmitting terminal of the embodiment of the invention, as shown in Figure 7, this sending ending equipment comprises that bandwidth confirmsunit 401, allocatedbandwidth unit 402 andnotification unit 403.
Bandwidth is confirmedunit 401, is used for confirming the required channel width of voice cluster signal;
Allocatedbandwidth unit 402, the required channel width of voice cluster signal that is used for confirming to confirmunit 401 according to bandwidth is in private network total channel bandwidth resource, and the allocated channel bandwidth resources are given trunking communication equipment, with transferring voice cluster signal; Give ether network data transfer device with remaining channel width resource allocation in the private network;
Notification unit 403, when being used for confirming that the current assigned channel width of Ethernet data transmission equipment changes, notice Ethernet data transmission equipment is adjusted the transmission rate of Ethernet data according to current assigned channel width.
Wherein, bandwidth confirms that the unit can comprise monitoring subelement and definite subelement;
The monitoring subelement is used to monitor voice cluster signal;
Confirm subelement, when being used to confirm to exist voice cluster signal, according to the required channel width of voice cluster calculated signals voice cluster signal; When confirming not have voice cluster signal, confirm that the required channel width of voice cluster signal is 0.
Wherein, the distribution of bandwidth can be directly to distribute according to the size of bandwidth, also can be to be that unit distributes with the time slot, and for convenience, in embodiments of the present invention, the distribution of bandwidth all describes with the example that is assigned as of time slot, that is:
Allocatedbandwidth unit 402 specifically is used for confirming the timeslot number that needs discharge according to the required bandwidth of voice cluster signal, and the timeslot number that discharges according to said needs discharges time slot to trunking communication equipment, with transferring voice cluster signal in private network total channel bandwidth resource;
Wherein, specifically can transmit the distribution condition of channel width resource through fixing channel, for example; The time slot allocation situation (being the distribution condition of channel width resource) that specifically can characterize current system through the insertion and the extraction of control word, still, the insertion of control word just must take a plurality of time slots always; Cause the waste of unnecessary bandwidth resources, therefore, in order to save bandwidth resources; Improve the utilance of bandwidth resources; And the saving signaling consumption, also can identify indicating channel allocated bandwidth situation, so that receiving terminal receives voice cluster signal and/or Ethernet data according to this bandwidth variations sign through in channel, inserting bandwidth variations; Promptly as shown in Figure 8, this sending ending equipment can also comprisesign insertion unit 404;
Sign is insertedunit 404; Be used for inserting time slot change sign, so that receiving terminal receives voice cluster signal and/or Ethernet data according to said time slot change sign, wherein at channel; The said timeslot number that needs release of time slot change sign indication, and the start time that discharges.
For example; Sign is insertedunit 404; Specifically can be used to adopt trailing edge of time transmission of two frames or the start time that rising edge is indicated release; And in the odd-numbered frame of said two frames, insert a binary number on the reservation position of 0 time slot, wherein, this binary number indication is said to need the timeslot number that discharges.
Wherein, rising edge refers to, and in first frame of this two frame, the value of everybody (bit) is " 0 " in the time slot that needs to discharge, and in second frame of this two frame, the value of everybody (bit) is " 1 " in the time slot that needs to discharge.Such as, the time slot that discharges if desired istime slot 1,time slot 2 andtime slot 3, and then in first frame of this two frame,time slot 1,time slot 2 andtime slot 3 pass complete " 0 ", and in second frame of this two frame,time slot 1,time slot 2 andtime slot 3 pass complete " 1 ".
Trailing edge refers to, and in first frame of this two frame, the value of everybody (bit) is " 1 " in the time slot that needs to discharge, and in second frame of this two frame, the value of everybody (bit) is " 0 " in the time slot that needs to discharge.Such as, the time slot that discharges if desired istime slot 1,time slot 2 andtime slot 3, and then in first frame of this two frame,time slot 1,time slot 2 andtime slot 3 pass complete " 1 ", and in second frame of this two frame,time slot 1,time slot 2 andtime slot 3 pass complete " 0 ".
This sending ending equipment specifically can be the PCM system.During practical implementation, more than each unit can be used as independent entity and realize, also can carry out combination in any; Realize as same or plurality of entity; Confirm that such as,bandwidth unit 401 andnotification unit 403 can be realized that allocatedbandwidth unit 402 can be realized by the time slot allocation module among the embodiment three by the MCU of the transmitting terminal among the embodiment three; Sign is insertedunit 404 and can be realized by the change of the time slot among the embodiment three sign insert module, or the like.
More than the practical implementation of each unit can repeat no more at this referring to the method embodiment of front.
By on can know; The sending ending equipment of present embodiment adopts and dynamically obtains the required channel width of voice cluster signal, when voice cluster signal has bandwidth demand, in private network total channel bandwidth resource, distributes corresponding channel width resource to give trunking communication equipment by allocatedbandwidth unit 402; With transferring voice cluster signal; And remaining channel width resource in the private network distributed to the Ethernet data transmission equipment entirely, with the transmission Ethernet data, meanwhile; When the current assigned channel width of definite Ethernet data transmission equipment changes; By the transmission rate ofnotification unit 403 notice Ethernet data transmission equipments, make the transmission rate of Ethernet data and current channel width adapt, thereby can avoid Ethernet data to lose according to current assigned channel width adjustment Ethernet data; Strengthen reliability of data transmission, and improved systematic function.
And; Owing to adopt bysign insertion unit 404 and in channel, insert the situation that an interim time slot change sign is indicated time slot allocation; So, transmit for the channel width assignment information with respect to need take fixing time slot in the prior art always, it is little not only to have significantly reduced signaling consumption; And can further save bandwidth resources and the utilance that improves bandwidth resources, improved the performance of system on the whole.
Embodiment five,
Accordingly, the embodiment of the invention also provides a kind of receiving device, can be used as the receiving terminal of the embodiment of the invention, and is as shown in Figure 9, and this receiving device comprises signdefinite unit 501, timeslot adjustment unit 502 and receivingelement 503;
Sign is confirmedunit 501, is used for confirming whether channel exists the time slot change to identify, the said timeslot number that needs release of said time slot change sign indication, and the start time that discharges;
Timeslot adjustment unit 502 is used for when sign confirms thatunit 501 confirms that there is time slot change sign in channel, according to said time slot change sign adjustment time slot allocation;
Receivingelement 503 is used for when sign confirms thatunit 501 confirms that there is time slot change sign in channel, receiving voice cluster signal and/or Ethernet data according to adjusted time slot allocation; When sign confirms that time slot change sign is confirmed not exist in the channel inunit 501; Receive voice cluster signal and/or Ethernet data according to former time slot allocation; That is to say; If time slot allocation less than changing, then receives voice cluster signal according to original time slot allocation mode and/or Ethernet data gets final product.
Wherein, specifically can adopt time of two frames to transmit the start time that a trailing edge or rising edge are indicated release, and in the odd-numbered frame of this two frame, insert a binary number on the reservation position of 0 time slot and indicate and need the timeslot number that discharges; Then:
Sign is confirmedunit 501; The odd-numbered frame that specifically can be used for supervisory channel confirms that on the reservation position of 0 time slot in this odd-numbered frame be not at complete 1 o'clock, confirms a current trailing edge or the rising edge of whether existing; If have a trailing edge or rising edge; Then confirm to exist time slot change sign,, then confirm not exist time slot change sign if do not have a trailing edge and do not have a rising edge.
Timeslot adjustment unit 502; Can be used for specifically confirming that the binary number on the reservation position of this odd-numberedframe 0 time slot is the timeslot number of needs release; Timeslot number according to this needs release; And rising edge or trailing edge confirm to be used for the time slot of transferring voice cluster signal, receives voice cluster signal from this time slot that is used for transferring voice cluster signal; Confirm that the time slot except that the time slot that is used for transferring voice cluster signal is the time slot that is used to transmit Ethernet data, be used to transmit the time slot reception Ethernet data of Ethernet data from this.
This receiving device specifically can be the PCM system.During practical implementation, more than each unit can be used as independent entity and realize, also can carry out combination in any; Realize as same or plurality of entity; Such as, thedefinite unit 501 of sign can confirm that module realize that timeslot adjustment unit 502 can be realized by the time slot adjusting module among the embodiment three by odd-numbered frame monitoring modular among the embodiment three and data bit; 503 of receiving elements can be realized by the receiver module among the embodiment three, or the like.
More than the practical implementation of each unit can repeat no more at this referring to the method embodiment of front.
By on can know that the receiving device of present embodiment adopts through in channel, inserting time slot change sign and characterizes the distribution condition of time slot, thereby realizes the dynamic assignment of bandwidth; Because what adopt is in channel, to insert an interim time slot change sign; So, in prior art, need take fixing time slot always and transmit the channel width assignment information; Bandwidth resources have been saved greatly; Help improving the utilance of bandwidth resources, and signaling consumption is little, has improved the performance of system.
Embodiment six,
Accordingly, the embodiment of the invention also provides a kind of communication system, comprises any sending ending equipment that the embodiment of the invention provides, and wherein, this sending ending equipment specifically can repeat no more at this referring to embodiment four.
In addition, this communication system can also comprise any receiving device that the embodiment of the invention provides, and wherein, this sending ending equipment specifically can repeat no more at this referring to embodiment five.
This communication system specifically can be the PCM system.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program; This program can be stored in the computer-readable recording medium; Storage medium can comprise: read-only memory (ROM; Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than a kind of Bandwidth Dynamic Allocation methods, devices and systems that the embodiment of the invention provided have been carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for those skilled in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.