CN108495369A - A kind of method of channel management and device - Google Patents

A kind of method of channel management and device Download PDF

Info

Publication number
CN108495369A
CN108495369A CN201810228631.7A CN201810228631A CN108495369A CN 108495369 A CN108495369 A CN 108495369A CN 201810228631 A CN201810228631 A CN 201810228631A CN 108495369 A CN108495369 A CN 108495369A
Authority
CN
China
Prior art keywords
channel
trunk desk
sequence number
trunk
slotted
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
CN201810228631.7A
Other languages
Chinese (zh)
Other versions
CN108495369B (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.)
Zhejiang Xinsheng Electronic Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201810228631.7A priority Critical patent/CN108495369B/en
Publication of CN108495369A publication Critical patent/CN108495369A/en
Application granted granted Critical
Publication of CN108495369B publication Critical patent/CN108495369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method of channel management and devices, to realize the management to home channel.Method specifically includes:First trunk desk sends channel frame to N number of second trunk desk, and receives the channel frame that N number of second trunk desk is sent;Wherein, N is the integer more than 0;Channel frame, which carries, sends the channel information for identifying each non-slotted channel of the sequence number and trunk desk of current home channel in communication system that the trunk desk of the channel frame is recorded;First trunk desk determines current home channel according to the channel information of each non-slotted channel in the channel information of each non-slotted channel in the sequence number of the sequence number of self record and N number of second trunk desk record, the first trunk desk and N number of second trunk desk.

Description

A kind of method of channel management and device
Technical field
The present invention relates to field of communication technology, more particularly to a kind of method of channel management and device.
Background technology
Digital intercom technology is a kind of wireless dispatching communication technology, and mobile command scheduling etc. may be implemented.Conventional numerical pair The technology of saying is to forward the communication data between each intercom by a trunk desk, and the trunk desk is more using the time-division of 2 time slots Location (English:Time division multiple access, referred to as:TDMA) communication mechanism realizes 2 road speeches or data communication Transmission, i.e., include 2 channel of 1 channel of time slot and time slot in a trunk desk.All intercoms for being set as time slot 1 are all in the relaying 1 channel of time slot of platform is communicated;All intercoms for being set as time slot 2 are all communicated in 2 channel of the time slot of the trunk desk. But if the intercom for being set as time slot 1 has 4, i.e. intercom 1, intercom 2, intercom 3 and intercom 4, work as intercom When 1 occupancy 1 channel call of time slot is to intercom 2, intercom 3 also wants to calling to intercom 4, at this moment just will produce channel confliction, After intercom 3 must wait the sign off of intercoms 1 and intercom 2, it could initiate to call to intercom 4, cause channel sharp It is low with rate.
At present, it is proposed that a kind of digital intercom technology based on multiple trunk desks, wherein multiple trunk desks are assisted by network View (English:Internet Protocol, referred to as:IP) interconnection composition communication system, each trunk desk have 2 non-slotted channels. In order to be managed collectively, which can select a non-slotted channel as home channel in all non-slotted channels, all Intercom all uses corresponding channel resource of the home channel etc. to be communicated, when certain intercom initiates communication service, the then intercommunication Machine occupies the home channel and is communicated, while the communication system reselects a time slot in other idle non-slotted channels For channel as new home channel, it is to be communicated that remaining intercom is all switched to new home channel etc..
By taking communication system includes 3 trunk desks as an example, the SlotID of 1 channel of time slot of trunk desk 1 is 1,2 channel of time slot SlotID be 2;The SlotID of 1 channel of time slot of trunk desk 2 is 3, and the SlotID of 2 channel of time slot is 4;The time slot 1 of trunk desk 3 The SlotID of channel is 5, and the SlotID of 2 channel of time slot is 6, as shown in Figure 1.Assuming that there is 4 intercoms to pass through the communication system It is communicated, i.e. intercom 1, intercom 2, intercom 3 and intercom 4, when home channel is 1 channel of time slot of trunk desk 1, Intercom 1 is to be communicated in 1 channel of time slot of trunk desk 1 etc. to intercom 4.When the time slot 1 that intercom 1 occupies trunk desk 1 is believed When road is called to intercom 2, home channel is switched to 2 channel of time slot of trunk desk 2, and intercom 3 and intercom 4 are in trunk desk 22 channel of time slot etc. is to be communicated.
As can be seen that the communication system based on more trunk desks normally can effectively work, the management ten to home channel It is point important, but there is no a kind of simple and effective management methods at present to home channel.
Invention content
A kind of method of channel management of offer of the embodiment of the present invention and device, to realize the management to home channel.
In a first aspect, the embodiment of the present invention provides a kind of method of channel management, the method is applied to include multiple relayings The communication system of platform, the method includes:
First trunk desk sends channel frame to N number of second trunk desk, and receives the channel that N number of second trunk desk is sent Frame;
Wherein, the N is the integer more than 0;The channel frame, which carries, sends the use that the trunk desk of the channel frame is recorded In the channel letter for identifying each non-slotted channel of the sequence number and trunk desk of current home channel in the communication system Breath;
First trunk desk according to the sequence number of the sequence number of self record and N number of second trunk desk record, In first trunk desk in the channel information of each non-slotted channel and N number of second trunk desk each non-slotted channel letter Road information determines current home channel.
Channel frame is sent to N number of second trunk desk by the first trunk desk in the embodiment of the present invention, and receives described N number of the The channel frame that two trunk desks are sent.Wherein, the N is the integer more than 0;The channel frame carries the relaying for sending the channel frame What platform was recorded believes for identifying each time slot of the sequence number of current home channel and the trunk desk in the communication system The channel information in road.First trunk desk is according to the sequence number of self record and the sequence of N number of second trunk desk record Each time slot letter in the channel information of each non-slotted channel and N number of second trunk desk in row number, first trunk desk The channel information in road determines current home channel.By mutually sending the side of channel frame between trunk desk in the embodiment of the present invention Formula can make each trunk desk in communication system automatically determine home channel, and make have when determining home channel Flexibility, and by this way can be to avoid there are multiple home channels, channel confliction be led in communication system the problem of.
With reference to first aspect, in the first possible embodiment of first aspect, first trunk desk is according to certainly Each non-slotted channel in the sequence number of the sequence number of body record and N number of second trunk desk record, first trunk desk Channel information and N number of second trunk desk in the channel information of each non-slotted channel determine current home channel, including:
It is sky in the sequence number of first trunk desk record and the sequence number of N number of second trunk desk record When, when first trunk desk determines that channel status in first trunk desk and N number of second trunk desk is idle Gap channel;
First trunk desk determines the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is to work as Preceding home channel.
With reference to first aspect, in second of possible embodiment of first aspect, first trunk desk is according to certainly Each non-slotted channel in the sequence number of the sequence number of body record and N number of second trunk desk record, first trunk desk Channel information and N number of second trunk desk in the channel information of each non-slotted channel determine current home channel, including:
It is not sky in the sequence number of first trunk desk record, and the sequence number of N number of second trunk desk record is equal For sky when, first trunk desk determines that the non-slotted channel corresponding to the sequence number of first trunk desk record is currently to wait for Channel.
With reference to first aspect, in the third possible embodiment of first aspect, first trunk desk is according to certainly Each non-slotted channel in the sequence number of the sequence number of body record and N number of second trunk desk record, first trunk desk Channel information and N number of second trunk desk in the channel information of each non-slotted channel determine current home channel, including:
It is empty in the Serial No. of first trunk desk record, and when the sequence number of M the second trunk desks records is not empty, First trunk desk determines highest priority in the non-slotted channel corresponding to the sequence number of the M the second trunk desk records Non-slotted channel;The M is the integer more than 0 and less than or equal to the N, during the M the second trunk desks are described N number of second After arbitrary M in platform;
First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is to work as Preceding home channel.
With reference to first aspect, in the 4th kind of possible embodiment of first aspect, first trunk desk is according to certainly In the sequence number of body and N number of second trunk desk record, first trunk desk channel information of each non-slotted channel with And the channel information of each non-slotted channel determines current home channel in N number of second trunk desk, including:
It is not sky in the sequence number of first trunk desk record, and the sequence number of P the second trunk desk records is not sky When, first trunk desk determines the sequence number of the first trunk desk record and the sequence of the P the second trunk desk records The non-slotted channel of highest priority in non-slotted channel corresponding to row number;The P is more than 0 and whole less than or equal to the N Number, the P the second trunk desks are arbitrary P in N number of second trunk desk;
First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is to work as Preceding home channel.
Second aspect, the embodiment of the present invention provide a kind of method of channel management, and the method is applied to include multiple relayings The communication system of platform, including:
When current home channel is occupied, the first trunk desk where the current home channel redefines new keep Wait channel;
First trunk desk sends channel frame to N number of second trunk desk;The channel frame, which carries, described new waits for letter The corresponding sequence number in road;
The new home channel is determined by following any mode:
There are when the non-slotted channel that channel status is the free time in first trunk desk, first trunk desk determines institute It is the new home channel to state the non-slotted channel that any channel status in the first trunk desk is the free time;Alternatively,
When there is no channel status being idle non-slotted channel in first trunk desk, first trunk desk according to Channel management table determines the new home channel;The channel management table includes each trunk desk correspondence in the communication system Priority, the sequence number of the non-slotted channel of each trunk desk and corresponding channel status.
In conjunction with second aspect, in the first possible embodiment of second aspect, first trunk desk is according to letter Road management table determines the new home channel, including:
When first trunk desk determines that channel status in the communication system is idle according to the channel management table Gap channel;
First trunk desk determines the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is institute State new home channel.
In conjunction with second aspect, in second of possible embodiment of second aspect, the method further includes:
First trunk desk receives the channel frame of any one second trunk desk transmission;Any one described second relaying The channel status of each non-slotted channel in any one described second trunk desk is carried in the channel frame that platform is sent;
First trunk desk updates the channel management based on the channel frame that any one described second trunk desk is sent Table.
The third aspect, an embodiment of the present invention provides a kind of method of channel management, the method is applied in including multiple After the communication system of platform, including:
Time interval between at the time of once receiving the first channel frame in current time and the first trunk desk is more than the One preset duration, and when current home channel is not belonging to first trunk desk, first trunk desk is by record for marking The sequence number for knowing home channel in the communication system is cleared to sky;Wherein, first channel frame currently waits for letter to be described Trunk desk periodicity sending where road, and carry the sequence number of the current home channel;
First trunk desk sends the sequence for asking the current home channel at least one second trunk desk Number second channel frame;
First trunk desk receives the third channel frame that at least one second trunk desk is sent;The third channel Frame, which carries, sends the sequence for identifying home channel in the communication system that the second trunk desk of the third channel frame is recorded Row number, and send the channel information of each non-slotted channel in the second trunk desk of the third channel frame;
When the sequence number that the third channel frame that at least one second trunk desk is sent carries is sky, described first Trunk desk is believed according to each time slot in the channel information of each non-slotted channel of itself and at least one second trunk desk The channel information in road redefines current home channel;
First trunk desk sends the 4th channel frame at least one second trunk desk;4th channel frame is taken The sequence number corresponding to the current home channel that band redefines.
In conjunction with the third aspect, in the first possible embodiment of the third aspect, in first trunk desk to extremely After few second trunk desk sends the second channel frame of sequence number for asking the current home channel, the method Further include:
If first trunk desk is not received by institute in the second preset duration after sending the second channel frame State third channel frame, it is determined that the non-slotted channel of sequence number minimum is current home channel in first trunk desk.
In conjunction with the third aspect, in second of possible embodiment of the third aspect, the method further includes:
Time interval between at the time of once receiving the first channel frame in current time and first trunk desk is big In the first preset duration, and when current home channel belongs to first trunk desk, the first trunk desk determination is currently waited for The sequence number of channel, and at least one the 5th channel frame of second trunk desk periodicity sending;5th channel frame is taken Sequence number with the current home channel.
Fourth aspect, an embodiment of the present invention provides a kind of channel management device, described device is applied in including multiple After the first trunk desk in the communication system of platform, described device includes:
Transceiver module for sending channel frame to N number of second trunk desk, and receives what N number of second trunk desk was sent Channel frame;
Wherein, the N is the integer more than 0;The channel frame, which carries, sends the use that the trunk desk of the channel frame is recorded In the channel letter for identifying each non-slotted channel of the sequence number and trunk desk of current home channel in the communication system Breath;
Determining module, for according to the sequence number of self record and sequence number, the institute of N number of second trunk desk record State the channel of each non-slotted channel in the channel information of each non-slotted channel in the first trunk desk and N number of second trunk desk Information determines current home channel.
In conjunction with fourth aspect, in the first possible embodiment of fourth aspect, the determining module is specific to use In:
It is sky in the sequence number of first trunk desk record and the sequence number of N number of second trunk desk record When, determine that channel status is idle non-slotted channel in first trunk desk and N number of second trunk desk;
Determine the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is current home channel.
In conjunction with fourth aspect, in second of possible embodiment of fourth aspect, the determining module is specific to use In:
It is not sky in the sequence number of first trunk desk record, and the sequence number of N number of second trunk desk record is equal For sky when, determine that the non-slotted channel corresponding to the sequence number of first trunk desk record is current home channel.
In conjunction with fourth aspect, in second of possible embodiment of fourth aspect, the determining module is specific to use In:
It is empty in the Serial No. of first trunk desk record, and when the sequence number of M the second trunk desks records is not empty, Determine the non-slotted channel of highest priority in the non-slotted channel corresponding to the sequence number of the M the second trunk desk records;The M For the integer more than 0 and less than or equal to the N, the M the second trunk desks are the arbitrary M in N number of second trunk desk It is a;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is current home channel.
In conjunction with fourth aspect, in the third possible embodiment of fourth aspect, the determining module is specific to use In:
It is not sky in the sequence number of first trunk desk record, and the sequence number of P the second trunk desk records is not sky When, determine corresponding to the sequence number of first trunk desk record and the sequence number of the P the second trunk desks records when The non-slotted channel of highest priority in gap channel;The P is the integer more than 0 and less than or equal to the N, the P a second Trunk desk is arbitrary P in N number of second trunk desk;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is current home channel.
5th aspect, an embodiment of the present invention provides a kind of channel management device, described device is applied to currently wait for letter The first trunk desk where road, including:
Determining module, for when current home channel is occupied, redefining new home channel;
Sending module, for sending channel frame to N number of second trunk desk;The channel frame carries the new home channel Corresponding sequence number;
The determining module determines the new home channel by following any mode:
There are when the non-slotted channel that channel status is the free time in first trunk desk, determine in first trunk desk Any channel status is that idle non-slotted channel is the new home channel;Alternatively,
There is no when the non-slotted channel that channel status is the free time in first trunk desk, determined according to channel management table The new home channel;The channel management table includes the corresponding priority of each trunk desk in the communication system, each The sequence number of the non-slotted channel of trunk desk and corresponding channel status.
In conjunction with the 5th aspect, in the first possible embodiment of the 5th aspect, the determining module, according to letter When road management table determines the new home channel, it is specifically used for:
Determine that channel status is idle non-slotted channel in the communication system according to the channel management table;
Determine the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is the new home channel.
In conjunction with the 5th aspect, in second of possible embodiment of the 5th aspect, described device further includes:
Receiving module, the channel frame for receiving the transmission of any one second trunk desk;Any one described second relaying The channel status of each non-slotted channel in any one described second trunk desk is carried in the channel frame that platform is sent;
Update module, the channel frame for being sent based on any one described second trunk desk update the channel management Table.
6th aspect, an embodiment of the present invention provides a kind of channel management device, described device is applied in including multiple After the first trunk desk in the communication system of platform, including:
Remove module, at the time of for once receiving the first channel frame in current time and the first trunk desk between when Between interval be more than the first preset duration, and when current home channel is not belonging to first trunk desk, by record for identifying The sequence number of home channel is cleared to sky in the communication system;Wherein, first channel frame is the current home channel The trunk desk periodicity sending at place, and carry the sequence number of the current home channel;
Sending module sends the of the sequence number for asking the current home channel at least one second trunk desk Two channel frames;
Receiving module, the third channel frame sent for receiving at least one second trunk desk;The third channel Frame, which carries, sends the sequence for identifying home channel in the communication system that the second trunk desk of the third channel frame is recorded Row number, and send the channel information of each non-slotted channel in the second trunk desk of the third channel frame;
Determining module, the sequence number that the third channel frame for being sent at least one second trunk desk carries are When empty, according to each non-slotted channel in the channel information of each non-slotted channel of itself and at least one second trunk desk Channel information redefine current home channel;
The sending module is additionally operable to send the 4th channel frame at least one second trunk desk;4th letter Road frame carries the sequence number corresponding to the current home channel redefined.
In conjunction with the 6th aspect, in the first possible embodiment of the 6th aspect, the determining module is additionally operable to First trunk desk sends second of the sequence number for asking the current home channel at least one second trunk desk After channel frame, if being not received by the third channel in the second preset duration after sending the second channel frame Frame, it is determined that the non-slotted channel of sequence number minimum is current home channel in first trunk desk.
In conjunction with the 6th aspect, in second of possible embodiment of the 6th aspect, the sending module is additionally operable to:
Time interval between at the time of once receiving the first channel frame in current time and first trunk desk is big In the first preset duration, and when current home channel belongs to first trunk desk, the sequence number of current home channel is determined, and To at least one the 5th channel frame of second trunk desk periodicity sending;The 5th channel frame carrying is described currently to wait for letter The sequence number in road.
The present invention has the beneficial effect that:
Channel frame is sent to N number of second trunk desk by the first trunk desk in the embodiment of the present invention, and receives described N number of the The channel frame that two trunk desks are sent.Wherein, the N is the integer more than 0;The channel frame carries the relaying for sending the channel frame What platform was recorded believes for identifying each time slot of the sequence number of current home channel and the trunk desk in the communication system The channel information in road.First trunk desk is according to the sequence number of self record and the sequence of N number of second trunk desk record Each time slot letter in the channel information of each non-slotted channel and N number of second trunk desk in row number, first trunk desk The channel information in road determines current home channel.By mutually sending the side of channel frame between trunk desk in the embodiment of the present invention Formula can make each trunk desk in communication system automatically determine home channel, and make have when determining home channel Flexibility, and by this way can be to avoid there are multiple home channels, channel confliction be led in communication system the problem of.
Description of the drawings
Fig. 1 is a kind of structural schematic diagram of communication system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of method of channel management provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of communication system initialization networking provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of method of channel management provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of channel management table renewal process provided in an embodiment of the present invention;
Fig. 6 is a kind of flow diagram of channel frame processing method provided in an embodiment of the present invention;
Fig. 7 is a kind of flow diagram of solving channel conflict method provided in an embodiment of the present invention;
Fig. 8 is a kind of flow diagram of method of channel management provided in an embodiment of the present invention;
Fig. 9 is a kind of flow diagram of dynamic networking method provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of channel management device provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of channel management device provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram of channel management device provided in an embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
A kind of method of channel management of offer of the embodiment of the present invention and device, to realize the management to home channel.Wherein, Method and apparatus be based on same inventive concept, since the principle that method and device solves the problems, such as is similar, device and side The implementation of method can be with cross-reference, and overlaps will not be repeated.
In digital cluster communication (English:DMR, referred to as:Digital Mobile Radio) intercom field, in order to be promoted The utilization rate of trunk desk channel and solve a large amount of intercoms simultaneously using channel when issuable channel confliction, propose at present A kind of communication system including multiple trunk desks, as shown in Figure 1.In the communication system, need to mark each time slot only Identity (English:Identification, referred to as:ID) number, it is ensured that can be by ID come when identifying specific in channel management Gap channel.Equally, in each intercom, can all there be the corresponding specific physical channel relation mapping table of a time slot ID number, This correspondence will be consistent with the correspondence of base station.
Two non-slotted channels of each trunk desk can be used in the communication system, so, whole system needs pair Each non-slotted channel is managed, which non-slotted channel is communicating, which non-slotted channel is in idle condition, which non-slotted channel First used.A home channel can be set up in order to be managed collectively, in communication system, all intercoms can all be switched to this Under a home channel, when intercom initiates voice or when short message service, home channel again can switching at runtime to other free time when On gap channel, this process, which is exactly this programme, to be described in detail.
Therefore a kind of method of channel management of proposition of the embodiment of the present invention and device, letter is waited for for simply and effectively managing Road, such as when home channel is occupied by business, which idle non-slotted channel conduct how system fast and effectively to determine New home channel.The management method of home channel includes that the channel after system electrification initialization determines, service communication process In home channel updating maintenance and the lookup again of the home channel after networking again.
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
Communication system is not aware that in the communication system there is several trunk desks after power-up, for each trunk desk, keeps Wait whether channel has been determined in the communication system.Based on this, the embodiment of the present invention provides a kind of method of channel management, ginseng It reads shown in Fig. 2, the method can be used for communication system initial power-on, or the scene for having new trunk desk that communication system is added In, the method can specifically include as follows:
S201, the first trunk desk send channel frame to N number of second trunk desk, and receive N number of second trunk desk and send Channel frame.
Wherein, the N is the integer more than 0;The channel frame, which carries, sends the use that the trunk desk of the channel frame is recorded In the channel letter for identifying each non-slotted channel of the sequence number and trunk desk of current home channel in the communication system Breath.First trunk desk is any trunk desk in the communication system, and second trunk desk is in the communication system Other trunk desks in addition to first trunk desk.
S202, the sequence that first trunk desk is recorded according to the sequence number and N number of second trunk desk of self record Each time slot letter in the channel information of each non-slotted channel and N number of second trunk desk in row number, first trunk desk The channel information in road determines current home channel.
Wherein, the sequence number can be the corresponding ID number of non-slotted channel.
Channel frame is sent to N number of second trunk desk by the first trunk desk in the embodiment of the present invention, and receives described N number of the The channel frame that two trunk desks are sent.Wherein, the N is the integer more than 0;The channel frame carries the relaying for sending the channel frame What platform was recorded believes for identifying each time slot of the sequence number of current home channel and the trunk desk in the communication system The channel information in road.First trunk desk is according to the sequence number of self record and the sequence of N number of second trunk desk record Each time slot letter in the channel information of each non-slotted channel and N number of second trunk desk in row number, first trunk desk The channel information in road determines current home channel.By mutually sending the side of channel frame between trunk desk in the embodiment of the present invention Formula can make each trunk desk in communication system automatically determine home channel, and make have when determining home channel Flexibility, and by this way can be to avoid there are multiple home channels, channel confliction be led in communication system the problem of.
Communication system is when initializing networking, and after power-up, each trunk desk can send channel frame to other trunk desks, The channel frame can be as shown in table 1.
Table 1
Wherein, SlotId and Prior is every trunk desk fixed setting, and the home channel ID that RestChan is system Value, RestChan fields indicate that the home channel of record is sky with " 0 ".ChanBusy and RestChanBusy fields can be used " 0 " indicates channel idle, indicates that channel is busy with " 1 ", other fields are the information of sender's trunk desk.
For example, when trunk desk 1 record home channel information be sky, and the priority of trunk desk 1 be 3 when, trunk desk 1 send out The channel frame sent is as shown in table 2.
Table 2
When communication system initialization networking, if there was only a trunk desk in the communication system, which is sending letter Will appear time-out after road, (channel frame that trunk desk is not received by the transmission of other trunk desks within a preset period of time is determined as Time-out), after 3 times are attempted, in the case of can not still obtaining home channel, it can confirm the time slot of the ID number minimum of this trunk desk Channel is as home channel.If receiving the channel frame of other trunk desks transmission in preset time, and letter is waited in frame Road information is 0, needs to compare the ID number of the priority and corresponding non-slotted channel of each trunk desk, and priority is high and ID number Small non-slotted channel is determined as home channel.If the home channel information carried in the channel frame received is non-zero, show have Home channel, update preserve this information.
The process of communication system initialization networking specifically may refer to shown in Fig. 3:
S301, trunk desk send channel frame to other trunk desks respectively.
S302, the trunk desk determine whether time-out;If so, executing step S303;If it is not, executing step S306.
Specifically, whether the trunk desk does not receive the channel frame of other trunk desks transmission in preset time period, it is determined that be Time-out.
S303, the trunk desk determine in communication system whether existing home channel;If so, executing step S304;If it is not, Execute step S305.
Wherein, the home channel information of trunk desk record is not sky, alternatively, being taken in the channel frame that other trunk desks are sent When the home channel information of band is not empty, existing home channel in communication system is determined.
S304, the trunk desk determine home channel based on the priority of each trunk desk and the ID number of non-slotted channel.
Specifically, in the sequence number of first trunk desk record and the sequence number of N number of second trunk desk record When being sky, first trunk desk determines that channel status is sky in first trunk desk and N number of second trunk desk Not busy non-slotted channel.First trunk desk determines the time slot of highest priority in the non-slotted channel that the channel status is idle Channel.First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is currently to keep Wait channel.Wherein, the priority of non-slotted channel can use a digital representation, and number is bigger, and expression priority is higher, alternatively, number The smaller expression priority of word is higher, and the embodiment of the present invention is not specifically limited herein.
S305, the home channel information of the trunk desk more new record.
Specifically, the trunk desk record home channel information be sky, and other trunk desks record wait for letter When road information is sky, the trunk desk determines that the non-slotted channel corresponding to the home channel ID number of self record is currently to wait for Channel.
It is sky in the home channel information of trunk desk record, and the home channel information of other trunk desks record is not When empty, the trunk desk determines highest priority in the non-slotted channel corresponding to the home channel ID number of other trunk desks record Non-slotted channel;The trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is currently to keep Wait channel.
It is not sky in the home channel information of trunk desk record, and the home channel information of other trunk desks record is not For sky when, the trunk desk determine self record home channel ID number and other trunk desks record home channel ID number institute The non-slotted channel of highest priority in corresponding non-slotted channel;The trunk desk determines in the non-slotted channel of the highest priority The non-slotted channel of ID number minimum is current home channel.
S306, trunk desk determine whether the number of time-out is more than preset value;If so, executing step S307;If it is not, executing step Rapid S301.
Wherein, preset value can be 3, can be other values, and the embodiment of the present invention is not specifically limited herein.
The non-slotted channel of the ID number minimum of itself is determined as home channel by S307, the trunk desk 1.
After communication system initialization is completed, home channel can determine whether.When subsequently having service communication, communication system Just it needs to be determined which non-slotted channel is new home channel, during this lookup, due to inquiring other trunk desks Free timeslot channel needs to carry out communications access by the internets IP, and there are certain delays for IP interconnections access, while also having There may be the delays that access conflict generates, and communication system is needed from the business that receives to the new home channel of determination more than ten It is completed in millisecond, the otherwise operation of system will appear exception.Based on this, a kind of method of channel management provided in an embodiment of the present invention Flow chart, as shown in fig.4, this method can be used for the updating maintenance of the home channel of communication system during service communication Scene in, the method can specifically include as follows:
S401, when current home channel is occupied, the first trunk desk where the current home channel redefines New home channel.
S402, first trunk desk send channel frame to N number of second trunk desk;The channel frame carries described new keep Wait the corresponding sequence number of channel.
Wherein, the new home channel is determined by following any mode:
There are when the non-slotted channel that channel status is the free time in first trunk desk, first trunk desk determines institute It is the new home channel to state the non-slotted channel that any channel status in the first trunk desk is the free time;Alternatively,
When there is no channel status being idle non-slotted channel in first trunk desk, first trunk desk according to Channel management table determines the new home channel;The channel management table includes each trunk desk correspondence in the communication system Priority, the sequence number of the non-slotted channel of each trunk desk and corresponding channel status.
Optionally, first trunk desk determines the new home channel according to channel management table, including:
When first trunk desk determines that channel status in the communication system is idle according to the channel management table Gap channel;First trunk desk determines the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle; First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is described new keeps Wait channel.
Optionally, first trunk desk can also receive the channel frame of any one second trunk desk transmission;Described The channel of each non-slotted channel in any one described second trunk desk is carried in the channel frame that one the second trunk desk of meaning is sent State;First trunk desk updates the channel management table based on the channel frame that any one described second trunk desk is sent.
When subsequently having service communication, communication system can follow a principle in the new home channel of determination:First It is searched in the trunk desk where home channel, if the non-slotted channel that the trunk desk is not idle, is looked into other trunk desks It looks for.
When home channel receives business, system can judge whether another time slot of the same trunk desk is idle, If idle, home channel is switched to another described non-slotted channel;Otherwise, system will search the free time in other trunk desks Time slot is as new home channel.The inquiry of other trunk desk free timeslot channels just needs by the internets IP communicate Access, IP interconnections access that there are certain delays, while being also possible to there are the delay that access conflict generates, and communication system from It receives business to need to complete in more than ten milliseconds to determining new home channel, the otherwise operation of system will appear exception.Institute With for the lookup of other trunk desk free timeslot channels, the embodiment of the present invention is proposed is waited for by the determination of channel management table The processing method of channel.This method is specific as follows:
Each trunk desk preserves the channel management table of a channel information for having recorded other trunk desks, so as to when in this When two time slots of platform are all occupied by business, new home channel can be determined by channel management table.It can meet in this way The timeliness of system processing.Channel management table includes the corresponding priority of other trunk desks, non-slotted channel in the communication system Sequence number and corresponding channel status.For example, the channel management table of trunk desk 1 shown in FIG. 1 can be as shown in table 3.
Table 3
So the channel management table and the situation of system reality in order to ensure the preservation of each trunk desk are consistent, each When the communication service of non-slotted channel changes, it is required for notifying other trunk desks by sending channel frame.And trunk desk When receiving channel frame every time, channel management table can be all updated.Can not include in the channel management table that each trunk desk preserves The information of this trunk desk non-slotted channel.When according to channel management table search new home channel, Chan can be first judged Busy, 0 indicates idle, and 1 indicates busy;In idle channel, then the high channel of priority is searched, numerical value is lower, priority It is higher;When equal priority occur there are multiple idle channels, home channel is finally set as according to ID number minimum.
For the channel management table of each trunk desk of updating maintenance, lead to whenever home channel enters business from idle state When letter state (namely busy condition), the trunk desk where the home channel sends channel frame to other trunk desks;Or Person (is converted to idle state) when the non-slotted channel in service communication terminates communication by busy condition, where the non-slotted channel Trunk desk to other trunk desks send channel frame, so as to other trunk desk updating maintenances preserve channel management table.
The process that trunk desk sends channel frame when the channel status of non-slotted channel changes may refer to shown in Fig. 5.
S501, trunk desk monitor that the channel status of the non-slotted channel of itself changes.
S502, trunk desk determine the channel information of the changed non-slotted channel of channel status.
The channel information may include the ID number of non-slotted channel, can also include other information, the embodiment of the present invention is at this In be not specifically limited.
S503, trunk desk send channel frame to other trunk desks.The newest channel of the trunk desk is carried in the channel frame Information.
Trunk desk receive other trunk desks transmission channel frame after process chart may refer to shown in Fig. 6:
S601, trunk desk receive the channel frame of other trunk desks transmission.Execute step S602.
The channel frame carries the home channel information of trunk desk record and the non-slotted channel information of the trunk desk.
S602, the trunk desk determine whether the home channel information carried in the channel frame received is empty;If so, executing Step S603;If it is not, executing step S604.
Step S602 first judges whether the home channel information carried in channel frame is empty, then indicates to send the channel for sky The trunk desk of frame is the trunk desk newly to network.
S603, trunk desk determine whether the home channel information of self record is empty.
If the home channel of this trunk desk record is also sky, the mode for carrying out initialization networking determines home channel and protects The channel information for depositing sender, the mode for initializing networking may refer to Fig. 2 and method shown in Fig. 3.If the machine has had Home channel replys the home channel information of record to other side.
Whether the information of S604, the information and self record that carry in the channel frame that trunk desk receives are consistent;If then Terminate;If it is not, executing step S605.
Home channel information, the state of the non-slotted channel for the trunk desk for sending channel frame or other information can be carried out Compare.
S605, whether the home channel of trunk desk self record is in the trunk desk;If so, executing step S607;If it is not, holding Row step S606.
S606, trunk desk update the home channel information of self record based on the channel frame received.Execute step S609.
Whether S607, trunk desk determine the home channel carried in the channel frame received in the trunk desk;If so, executing Step S606;If it is not, executing step S608.
S608, trunk desk carry out channel confliction processing.Execute step S609.
S609, trunk desk update the channel management table of self record based on the channel frame received.
Wherein, step S608, the method that trunk desk carries out channel confliction processing may refer to method shown in Fig. 7:
The priority of itself is compared by S701, the first trunk desk with the priority of the second trunk desk.If the first relaying The priority of platform is higher than the priority of the second trunk desk, thens follow the steps S702;If the priority of the first trunk desk is less than second The priority of trunk desk, thens follow the steps S703;If the priority of the first trunk desk is equal with the priority of the second trunk desk, Execute step S704.
Wherein, the second trunk desk is the trunk desk for sending the channel frame.
The home channel carrying of self record is sent to the second trunk desk by S702, the first trunk desk in channel frame.
S703, the first trunk desk update the home channel information of self record based on channel frame is received, and will be after update Home channel information be sent to other trunk desks.
S704, the first trunk desk determine whether the home channel ID number of self record is less than in the channel frame received and carry Home channel ID number;If so, executing step S702.If it is not, executing step S703.
Communication system is the small-sized trunked communication system interconnected by IP by several trunk desks, logical creating and managing When letter system, there are the possibility of networking and network reconnection.Such as when different trunk desks distinguish power-up initializing, need Networking determines the home channel of communication system.And it is also possible to that there are suspension or some trunk desk are abnormal, disconnected in communication process Situations such as electric, needs communication system networking again.Based on this, a kind of method of channel management provided in an embodiment of the present invention, refering to Shown in Fig. 8, it can specifically include as follows:
S801, at the time of once receiving the first channel frame in current time and the first trunk desk between time interval it is big In the first preset duration, and when current home channel is not belonging to first trunk desk, first trunk desk is by the use of record It is cleared to sky in the sequence number for identifying home channel in the communication system;Wherein, first channel frame is currently kept to be described The trunk desk periodicity sending where channel is waited, and carries the sequence number of the current home channel.
S802, first trunk desk are sent at least one second trunk desk for asking the current home channel The second channel frame of sequence number.
S803, first trunk desk receive the third channel frame that at least one second trunk desk is sent;Described What the second trunk desk of the three channel frames carrying transmission third channel frame was recorded waits for letter for identifying in the communication system The sequence number in road, and send the channel information of each non-slotted channel in the second trunk desk of the third channel frame.
S804, when the sequence number that the third channel frame that at least one second trunk desk is sent carries is sky, institute The first trunk desk is stated according to each in the channel information of each non-slotted channel of itself and at least one second trunk desk The channel information of non-slotted channel redefines current home channel.
S805, first trunk desk send the 4th channel frame at least one second trunk desk;4th letter Road frame carries the sequence number corresponding to the current home channel redefined.
Optionally, it is sent at least one second trunk desk for asking described currently to wait for letter in first trunk desk After the second channel frame of the sequence number in road, the method further includes:
If first trunk desk is not received by institute in the second preset duration after sending the second channel frame State third channel frame, it is determined that the non-slotted channel of sequence number minimum is current home channel in first trunk desk.
Optionally, at the time of once receiving the first channel frame in current time and first trunk desk between time Interval is more than the first preset duration, and when current home channel belongs to first trunk desk, and first trunk desk can be with Determine the sequence number of current home channel, and at least one the 5th channel frame of second trunk desk periodicity sending;It is described 5th channel frame carries the sequence number of the current home channel.
Networking includes newly-increased trunk desk and deletion trunk desk.When there is trunk desk to be newly added to communication system, during this is newly-increased The non-slotted channel information of itself is carried after platform and is sent to existing trunk desk in communication system in channel frame, and communication system In existing trunk desk the non-slotted channel information for having new is found after receiving the channel frame, non-slotted channel letter that then will be newly-increased Breath is added in channel management table.And the trunk desk to have networked needs that channel frame is sent or received by timing to determine whether Still in a network.
The congestion of network and frame conflict in order to prevent, after trunk desk networks, the trunk desk only where home channel is fixed When send channel frame, and then timing receipt channel frame is not received by information to other trunk desks if in the time beyond setting Frame then empties the home channel information of record and the channel management table of preservation, concurrent channels frame and building network again.Institute It, all can there are one the network state of timer monitor communication system, timings with, each trunk desk after initialization networking is completed When device triggers overtime interrupt, whether different processing can be carried out in this trunk desk according to home channel.
Trunk desk process of dynamic group net after timer expiry may refer to shown in Fig. 9.
Whether the home channel information of S901, trunk desk record are empty;If so, executing step S902;If it is not, executing step S906。
S902, trunk desk determine whether the home channel of record is located at itself;If so, executing step S905;If it is not, executing Step S903.
S903, trunk desk empty the home channel information of record and the channel management table of preservation.Execute step S904.
S904, trunk desk send claim frame to other trunk desks.The claim frame is that the home channel information carried is empty Channel frame, for other trunk desks ask home channel information.
S905, trunk desk send channel frame.Wherein carried in the channel frame record home channel information and itself Non-slotted channel information.
S906, trunk desk carry out initialization networking.
Wherein, trunk desk carry out initialization networking mode may refer to Fig. 2 and method shown in Fig. 3.
Three kinds of method of channel management provided in an embodiment of the present invention can be used as an independent scheme respectively, can be arbitrary Two schemes are combined into a new scheme, alternatively, three kinds of schemes are combined to obtain a new scheme, the present invention is real Example is applied to be not specifically limited herein.
Based on the same inventive concept of embodiment of the method corresponding with Fig. 2, the embodiment of the present invention provides a kind of channel management Device 100, the device 100 can be applied to trunk desk.The structure of the device 100 is as shown in Figure 10, including transceiver module 101 with And determining module 102, wherein:
Transceiver module 101 for sending channel frame to N number of second trunk desk, and receives N number of second trunk desk and sends Channel frame;
Wherein, the N is the integer more than 0;The channel frame, which carries, sends the use that the trunk desk of the channel frame is recorded In the channel letter for identifying each non-slotted channel of the sequence number and trunk desk of current home channel in the communication system Breath;
Determining module 102, for according to the sequence number of self record and the sequence of N number of second trunk desk record Number, each non-slotted channel in the channel information of each non-slotted channel and N number of second trunk desk in first trunk desk Channel information determine current home channel.
Optionally, the determining module 102 can be specifically used for:
It is sky in the sequence number of first trunk desk record and the sequence number of N number of second trunk desk record When, determine that channel status is idle non-slotted channel in first trunk desk and N number of second trunk desk;
Determine the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is current home channel.
Optionally, the determining module 102 can also be specifically used for:
It is not sky in the sequence number of first trunk desk record, and the sequence number of N number of second trunk desk record is equal For sky when, determine that the non-slotted channel corresponding to the sequence number of first trunk desk record is current home channel.
Optionally, the determining module 102 can also be specifically used for:
It is empty in the Serial No. of first trunk desk record, and when the sequence number of M the second trunk desks records is not empty, Determine the non-slotted channel of highest priority in the non-slotted channel corresponding to the sequence number of the M the second trunk desk records;The M For the integer more than 0 and less than or equal to the N, the M the second trunk desks are the arbitrary M in N number of second trunk desk It is a;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is current home channel.
Optionally, the determining module 102 can also be specifically used for:
It is not sky in the sequence number of first trunk desk record, and the sequence number of P the second trunk desk records is not sky When, determine corresponding to the sequence number of first trunk desk record and the sequence number of the P the second trunk desks records when The non-slotted channel of highest priority in gap channel;The P is the integer more than 0 and less than or equal to the N, the P a second Trunk desk is arbitrary P in N number of second trunk desk;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is current home channel.
Based on the same inventive concept of embodiment of the method corresponding with Fig. 4, the embodiment of the present invention provides a kind of channel management Device 110, the device 110 can be applied to trunk desk.The structure of the device 110 is as shown in figure 11, including determining module 111 with And sending module 112, wherein:
Determining module 111, for when current home channel is occupied, redefining new home channel;
Sending module 112, for sending channel frame to N number of second trunk desk;The channel frame carries described new wait for The corresponding sequence number of channel;
The determining module 111 determines the new home channel by following any mode:
There are when the non-slotted channel that channel status is the free time in first trunk desk, determine in first trunk desk Any channel status is that idle non-slotted channel is the new home channel;Alternatively,
There is no when the non-slotted channel that channel status is the free time in first trunk desk, determined according to channel management table The new home channel;The channel management table includes the corresponding priority of each trunk desk in the communication system, each The sequence number of the non-slotted channel of trunk desk and corresponding channel status.
Optionally, the determining module 111 is specific to use when determining the new home channel according to channel management table In:
Determine that channel status is idle non-slotted channel in the communication system according to the channel management table;
Determine the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is the new home channel.
Optionally, described device further includes:
Receiving module 113, the channel frame for receiving the transmission of any one second trunk desk;It is described any one in second After the channel status for carrying each non-slotted channel in any one described second trunk desk in the channel frame that platform is sent;
Update module 114, the channel frame for being sent based on any one described second trunk desk update the channel pipe Manage table.
Based on the same inventive concept of embodiment of the method corresponding with Fig. 8, the embodiment of the present invention provides a kind of channel management Device 120, the device 120 can be applied to trunk desk.The structure of the device 120 is as shown in figure 12, including removing module 121, Sending module 122, receiving module 123 and determining module 124, wherein:
Remove module 121, at the time of for once receiving the first channel frame in current time and the first trunk desk between Time interval be more than the first preset duration, and when current home channel is not belonging to first trunk desk, by being used for for record The sequence number for identifying home channel in the communication system is cleared to sky;Wherein, first channel frame is currently waited for be described Trunk desk periodicity sending where channel, and carry the sequence number of the current home channel;
Sending module 122 sends the sequence number for asking the current home channel at least one second trunk desk Second channel frame;
Receiving module 123, the third channel frame sent for receiving at least one second trunk desk;The third letter What the second trunk desk of the road frame carrying transmission third channel frame was recorded is used to identify home channel in the communication system Sequence number, and send the channel information of each non-slotted channel in the second trunk desk of the third channel frame;
Determining module 124, the sequence number that the third channel frame for being sent at least one second trunk desk carries When being sky, according to each time slot in the channel information of each non-slotted channel of itself and at least one second trunk desk The channel information of channel redefines current home channel;
The sending module 122 is additionally operable to send the 4th channel frame at least one second trunk desk;Described 4th Channel frame carries the sequence number corresponding to the current home channel redefined.
In conjunction with the 6th aspect, in the first possible embodiment of the 6th aspect, the determining module is additionally operable to First trunk desk sends second of the sequence number for asking the current home channel at least one second trunk desk After channel frame, if being not received by the third channel in the second preset duration after sending the second channel frame Frame, it is determined that the non-slotted channel of sequence number minimum is current home channel in first trunk desk.
In conjunction with the 6th aspect, in second of possible embodiment of the 6th aspect, the sending module 122 is also used In:
Time interval between at the time of once receiving the first channel frame in current time and first trunk desk is big In the first preset duration, and when current home channel belongs to first trunk desk, the sequence number of current home channel is determined, and To at least one the 5th channel frame of second trunk desk periodicity sending;The 5th channel frame carrying is described currently to wait for letter The sequence number in road.
The present invention has the beneficial effect that:
Channel frame is sent to N number of second trunk desk by the first trunk desk in the embodiment of the present invention, and receives described N number of the The channel frame that two trunk desks are sent.Wherein, the N is the integer more than 0;The channel frame carries the relaying for sending the channel frame What platform was recorded believes for identifying each time slot of the sequence number of current home channel and the trunk desk in the communication system The channel information in road.First trunk desk is according to the sequence number of self record and the sequence of N number of second trunk desk record Each time slot letter in the channel information of each non-slotted channel and N number of second trunk desk in row number, first trunk desk The channel information in road determines current home channel.By mutually sending the side of channel frame between trunk desk in the embodiment of the present invention Formula can make each trunk desk in communication system automatically determine home channel, and make have when determining home channel Flexibility, and by this way can be to avoid there are multiple home channels, channel confliction be led in communication system the problem of.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (22)

1. a kind of method of channel management, which is characterized in that the method is described applied to the communication system for including multiple trunk desks Method includes:
First trunk desk sends channel frame to N number of second trunk desk, and receives the channel frame that N number of second trunk desk is sent;
Wherein, the N is the integer more than 0;What the trunk desk that the channel frame carrying sends the channel frame was recorded is used to mark Know the channel information of each non-slotted channel of the sequence number and trunk desk of current home channel in the communication system;
First trunk desk is according to the sequence number of the sequence number of self record and N number of second trunk desk record, described In first trunk desk in the channel information of each non-slotted channel and N number of second trunk desk each non-slotted channel channel letter Breath determines current home channel.
2. the method as described in claim 1, which is characterized in that first trunk desk according to the sequence number of self record and The channel information of each non-slotted channel and the N in the sequence number of the N number of second trunk desk record, first trunk desk The channel information of each non-slotted channel determines current home channel in a second trunk desk, including:
When the sequence number of first trunk desk record and the sequence number of N number of second trunk desk record are sky, institute It states the first trunk desk and determines that channel status is that idle time slot is believed in first trunk desk and N number of second trunk desk Road;
First trunk desk determines the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is currently to keep Wait channel.
3. the method as described in claim 1, which is characterized in that first trunk desk according to the sequence number of self record and The channel information of each non-slotted channel and the N in the sequence number of the N number of second trunk desk record, first trunk desk The channel information of each non-slotted channel determines current home channel in a second trunk desk, including:
It is not sky in the sequence number of first trunk desk record, and the sequence number of N number of second trunk desk record is sky When, first trunk desk determines that the non-slotted channel corresponding to the sequence number of the first trunk desk record is currently to wait for letter Road.
4. the method as described in claim 1, which is characterized in that first trunk desk according to the sequence number of self record and The channel information of each non-slotted channel and the N in the sequence number of the N number of second trunk desk record, first trunk desk The channel information of each non-slotted channel determines current home channel in a second trunk desk, including:
It is empty in the Serial No. of first trunk desk record, and when the sequence number of M the second trunk desks records is not empty, it is described First trunk desk determines the time slot of highest priority in the non-slotted channel corresponding to the sequence number of the M the second trunk desk records Channel;The M is the integer more than 0 and less than or equal to the N, and the M the second trunk desks are N number of second trunk desk In arbitrary M;
First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is currently to keep Wait channel.
5. the method as described in claim 1, which is characterized in that first trunk desk is according to itself and described N number of second The sequence number of trunk desk record, the channel information of each non-slotted channel and N number of second relaying in first trunk desk The channel information of each non-slotted channel determines current home channel in platform, including:
It is not sky in the sequence number of first trunk desk record, and when the sequence number of P the second trunk desks records is not empty, institute It states the first trunk desk and determines the sequence number of the first trunk desk record and the sequence number institute of the P the second trunk desk records The non-slotted channel of highest priority in corresponding non-slotted channel;The P is the integer more than 0 and less than or equal to the N, described P the second trunk desks are arbitrary P in N number of second trunk desk;
First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is currently to keep Wait channel.
6. a kind of method of channel management, which is characterized in that the method is applied to the communication system for including multiple trunk desks, packet It includes:
When current home channel is occupied, the first trunk desk where the current home channel, which redefines, new waits for letter Road;
First trunk desk sends channel frame to N number of second trunk desk;The channel frame carries the new home channel pair The sequence number answered;
The new home channel is determined by following any mode:
When there are channel status being idle non-slotted channel in first trunk desk, first trunk desk determines described the It is the new home channel that any channel status, which is idle non-slotted channel, in one trunk desk;Alternatively,
There is no when the non-slotted channel that channel status is the free time in first trunk desk, first trunk desk is according to channel Management table determines the new home channel;The channel management table include in the communication system each trunk desk it is corresponding excellent First grade, the sequence number of the non-slotted channel of each trunk desk and corresponding channel status.
7. method as claimed in claim 6, which is characterized in that first trunk desk determines described new according to channel management table Home channel, including:
First trunk desk determines that channel status is that idle time slot is believed in the communication system according to the channel management table Road;
First trunk desk determines the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
First trunk desk determines that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is described new Home channel.
8. method as claimed in claim 6, which is characterized in that the method further includes:
First trunk desk receives the channel frame of any one second trunk desk transmission;Any one second trunk desk hair The channel status of each non-slotted channel in any one described second trunk desk is carried in the channel frame sent;
First trunk desk updates the channel management table based on the channel frame that any one described second trunk desk is sent.
9. a kind of method of channel management, which is characterized in that the method is applied to the communication system for including multiple trunk desks, packet It includes:
It is pre- that time interval between at the time of once receiving the first channel frame in current time and the first trunk desk is more than first If duration, and when current home channel is not belonging to first trunk desk, first trunk desk is by record for identifying institute The sequence number for stating home channel in communication system is cleared to sky;Wherein, first channel frame is the current home channel institute Trunk desk periodicity sending, and carry the sequence number of the current home channel;
First trunk desk sends the sequence number for asking the current home channel at least one second trunk desk Second channel frame;
First trunk desk receives the third channel frame that at least one second trunk desk is sent;The third channel frame is taken With the second trunk desk for sending the third channel frame recorded for identifying the sequence number of home channel in the communication system, And send the channel information of each non-slotted channel in the second trunk desk of the third channel frame;
When the sequence number that the third channel frame that at least one second trunk desk is sent carries is sky, first relaying Platform is according to each non-slotted channel in the channel information of each non-slotted channel of itself and at least one second trunk desk Channel information redefines current home channel;
First trunk desk sends the 4th channel frame at least one second trunk desk;4th channel frame carries weight The sequence number corresponding to the current home channel newly determined.
10. method as claimed in claim 9, which is characterized in that in first trunk desk at least one second trunk desk After sending the second channel frame of sequence number for asking the current home channel, the method further includes:
If first trunk desk is not received by described the in the second preset duration after sending the second channel frame Three channel frames, it is determined that the non-slotted channel of sequence number minimum is current home channel in first trunk desk.
11. method as claimed in claim 9, which is characterized in that the method further includes:
Time interval between at the time of once receiving the first channel frame in current time and first trunk desk is more than the One preset duration, and when current home channel belongs to first trunk desk, first trunk desk determines current home channel Sequence number, and at least one the 5th channel frame of second trunk desk periodicity sending;5th channel frame carries institute State the sequence number of current home channel.
12. a kind of channel management device, which is characterized in that described device be applied to include multiple trunk desks communication system in First trunk desk, described device include:
Transceiver module for sending channel frame to N number of second trunk desk, and receives the channel that N number of second trunk desk is sent Frame;
Wherein, the N is the integer more than 0;What the trunk desk that the channel frame carrying sends the channel frame was recorded is used to mark Know the channel information of each non-slotted channel of the sequence number and trunk desk of current home channel in the communication system;
Determining module, for according to the sequence number of the sequence number of self record and N number of second trunk desk record, described the In one trunk desk in the channel information of each non-slotted channel and N number of second trunk desk each non-slotted channel channel information Determine current home channel.
13. device as claimed in claim 12, which is characterized in that the determining module is specifically used for:
When the sequence number of first trunk desk record and the sequence number of N number of second trunk desk record are sky, really Channel status is idle non-slotted channel in fixed first trunk desk and N number of second trunk desk;
Determine the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is current home channel.
14. device as claimed in claim 12, which is characterized in that the determining module is specifically used for:
It is not sky in the sequence number of first trunk desk record, and the sequence number of N number of second trunk desk record is sky When, determine that the non-slotted channel corresponding to the sequence number of the first trunk desk record is current home channel.
15. device as claimed in claim 12, which is characterized in that the determining module is specifically used for:
It is empty in the Serial No. of first trunk desk record, and when the sequence number of M the second trunk desks records is not empty, determine The non-slotted channel of highest priority in non-slotted channel corresponding to the sequence number of the M the second trunk desk records;The M is big In 0 and the integer less than or equal to the N, the M the second trunk desks be arbitrary M in N number of second trunk desk;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is current home channel.
16. device as claimed in claim 12, which is characterized in that the determining module is specifically used for:
It is not sky in the sequence number of first trunk desk record, and when the sequence number of P the second trunk desks records is not empty, really Non-slotted channel corresponding to the sequence number of the fixed first trunk desk record and the sequence number of the P the second trunk desk records The non-slotted channel of middle highest priority;The P is the integer more than 0 and less than or equal to the N, the P the second trunk desks For arbitrary P in N number of second trunk desk;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is current home channel.
17. a kind of channel management device, which is characterized in that described device is applied to the first relaying where current home channel Platform, including:
Determining module, for when current home channel is occupied, redefining new home channel;
Sending module, for sending channel frame to N number of second trunk desk;The channel frame carries the new home channel and corresponds to Sequence number;
The determining module determines the new home channel by following any mode:
There are when the non-slotted channel that channel status is the free time in first trunk desk, determine any in first trunk desk The channel status is that idle non-slotted channel is the new home channel;Alternatively,
When the non-slotted channel that channel status is idle being not present in first trunk desk, according to the determination of channel management table New home channel;The channel management table includes the corresponding priority of each trunk desk in the communication system, each to relay The sequence number of the non-slotted channel of platform and corresponding channel status.
18. device as claimed in claim 17, which is characterized in that the determining module is determining institute according to channel management table When stating new home channel, it is specifically used for:
Determine that channel status is idle non-slotted channel in the communication system according to the channel management table;
Determine the non-slotted channel of highest priority in the non-slotted channel that the channel status is idle;
Determine that the non-slotted channel of sequence number minimum in the non-slotted channel of the highest priority is the new home channel.
19. device as claimed in claim 17, which is characterized in that described device further includes:
Receiving module, the channel frame for receiving the transmission of any one second trunk desk;Any one second trunk desk hair The channel status of each non-slotted channel in any one described second trunk desk is carried in the channel frame sent;
Update module, the channel frame for being sent based on any one described second trunk desk update the channel management table.
20. a kind of channel management device, which is characterized in that described device be applied to include multiple trunk desks communication system in First trunk desk, including:
Remove module, at the time of for once receiving the first channel frame in current time and the first trunk desk between time between It is every more than the first preset duration, and when current home channel is not belonging to first trunk desk, record is described for identifying The sequence number of home channel is cleared to sky in communication system;Wherein, first channel frame is the current home channel place Trunk desk periodicity sending, and carry the sequence number of the current home channel;
Sending module sends the second letter of the sequence number for asking the current home channel at least one second trunk desk Road frame;
Receiving module, the third channel frame sent for receiving at least one second trunk desk;The third channel frame is taken With the second trunk desk for sending the third channel frame recorded for identifying the sequence number of home channel in the communication system, And send the channel information of each non-slotted channel in the second trunk desk of the third channel frame;
Determining module, the sequence number that the third channel frame for being sent at least one second trunk desk carries is sky When, according to each non-slotted channel in the channel information of each non-slotted channel of itself and at least one second trunk desk Channel information redefines current home channel;
The sending module is additionally operable to send the 4th channel frame at least one second trunk desk;4th channel frame Carry the sequence number corresponding to the current home channel redefined.
21. device as claimed in claim 20, which is characterized in that the determining module is additionally operable in first trunk desk After sending the second channel frame of sequence number for asking the current home channel at least one second trunk desk, if It sends in the second preset duration after the second channel frame and is not received by the third channel frame, it is determined that described first The non-slotted channel of sequence number minimum is current home channel in trunk desk.
22. device as claimed in claim 20, which is characterized in that the sending module is additionally operable to:
Time interval between at the time of once receiving the first channel frame in current time and first trunk desk is more than the One preset duration, and when current home channel belongs to first trunk desk, determines the sequence number of current home channel, and to institute State at least one the 5th channel frame of second trunk desk periodicity sending;5th channel frame carries the current home channel Sequence number.
CN201810228631.7A 2018-03-20 2018-03-20 Channel management method and device Active CN108495369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810228631.7A CN108495369B (en) 2018-03-20 2018-03-20 Channel management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810228631.7A CN108495369B (en) 2018-03-20 2018-03-20 Channel management method and device

Publications (2)

Publication Number Publication Date
CN108495369A true CN108495369A (en) 2018-09-04
CN108495369B CN108495369B (en) 2022-08-12

Family

ID=63318573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810228631.7A Active CN108495369B (en) 2018-03-20 2018-03-20 Channel management method and device

Country Status (1)

Country Link
CN (1) CN108495369B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189503A (en) * 2021-12-10 2022-03-15 北京凯视达信息技术有限公司 IP intercommunication method for centreless public network and private network
CN114697886A (en) * 2022-05-23 2022-07-01 天津七一二移动通信有限公司 Ad hoc network relay station interconnection method with multiple receiving paths
WO2023025157A1 (en) * 2021-08-25 2023-03-02 力同科技股份有限公司 Intercom relay system and radio frequency transceiver control method and apparatus therefor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179776A (en) * 2007-12-06 2008-05-14 中兴通讯股份有限公司 Method and system for cluster terminal to fast switch waiting listing
CN101951559A (en) * 2009-09-04 2011-01-19 海能达通信股份有限公司 Method for distributing channels for interphone, communication method, system and interphone
CN102171948A (en) * 2008-10-03 2011-08-31 摩托罗拉解决方案公司 Method of communicating which channel is to be monitored by subscriber units that are idle in a communication system
US20130090056A1 (en) * 2011-10-05 2013-04-11 Motorola Solutions, Inc. Method and system for peer to peer wide area network communication among radio sites having dynamic rest channel base repeater stations
CN103813273A (en) * 2013-12-23 2014-05-21 杭州承联通信技术有限公司 PDT (programmable data terminal) digital trunked base station wireless link channel frequency allocation and access method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179776A (en) * 2007-12-06 2008-05-14 中兴通讯股份有限公司 Method and system for cluster terminal to fast switch waiting listing
CN102171948A (en) * 2008-10-03 2011-08-31 摩托罗拉解决方案公司 Method of communicating which channel is to be monitored by subscriber units that are idle in a communication system
CN101951559A (en) * 2009-09-04 2011-01-19 海能达通信股份有限公司 Method for distributing channels for interphone, communication method, system and interphone
US20130090056A1 (en) * 2011-10-05 2013-04-11 Motorola Solutions, Inc. Method and system for peer to peer wide area network communication among radio sites having dynamic rest channel base repeater stations
CN103813273A (en) * 2013-12-23 2014-05-21 杭州承联通信技术有限公司 PDT (programmable data terminal) digital trunked base station wireless link channel frequency allocation and access method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王易志: "内通集群调度系统的分析及应用", 《科技资讯》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023025157A1 (en) * 2021-08-25 2023-03-02 力同科技股份有限公司 Intercom relay system and radio frequency transceiver control method and apparatus therefor
CN114189503A (en) * 2021-12-10 2022-03-15 北京凯视达信息技术有限公司 IP intercommunication method for centreless public network and private network
CN114189503B (en) * 2021-12-10 2024-03-19 北京凯视达信息技术有限公司 IP intercom method for public network and private network without center
CN114697886A (en) * 2022-05-23 2022-07-01 天津七一二移动通信有限公司 Ad hoc network relay station interconnection method with multiple receiving paths

Also Published As

Publication number Publication date
CN108495369B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN113556763B (en) Method, related equipment and medium for realizing data transmission of time-sensitive network
CN104113937B (en) The time-multiplexed method, apparatus of radio frequency resource and terminal in a kind of terminal
WO2019101020A1 (en) Multi-terminal collaborative working method, terminal device and multi-terminal collaborative system
CN102026297B (en) Method, system and node for channel negotiation
CN104469694B (en) A kind of communication means and device based on group system
CN108513290A (en) A kind of selection method and device of network slice
WO2003013060A3 (en) Managing packet data interconnections in mobile communications
US8972593B2 (en) Load sharing method, load sharing system and access server
CN108495369A (en) A kind of method of channel management and device
CN108243110B (en) Resource adjusting method, device and system
CN112203330A (en) QoS flow control method and communication device
CN111797173A (en) Alliance chain sharing system, method and device, electronic equipment and storage medium
US7843973B2 (en) Method and apparatus for constituting transport network based on integrated synch and asynch frame
CN104581819A (en) Slot resource collision determination method and device
CN112690014A (en) Cellular telecommunications network
CN113938955B (en) Data transmission method, device, equipment and system
KR20050055629A (en) Wireless communication terminal for performing establishment of a communication link, method therefor, program for executing the method, and recording medium containing the program
CN112243019B (en) Method and system for establishing flexible Ethernet management channel
CN111885729B (en) Partial broadband determination method and communication device
CN106851853A (en) For the Multiple access control method and control device of multi-hop network without center
CN100534049C (en) Communication terminal accommodation apparatus and scheduling method
CN107786310B (en) Data packet transmission method and node
CN107005883B (en) Baseband resource management method and device
CN104780613B (en) Resource-sharing and synchronous method between Digital Clustering base station and switching centre
KR102084144B1 (en) Control plane apparatus and method for processing control plane message using the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200922

Address after: Room 1201, building a, 1181 Bin'an Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Zhejiang Xinsheng Electronic Technology Co.,Ltd.

Address before: Hangzhou City, Zhejiang province Binjiang District 310053 shore road 1187

Applicant before: ZHEJIANG DAHUA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant