Summary of the invention
For the problem that background technology proposes, the invention provides multi-user's frequency interlock method and system in a kind of point-to-multipoint microwave telecommunication system, when switching the working frequency points of any website, the frequency of other websites can be switched to target frequency automatically fast, to realize the working frequency points that fast and effeciently can switch whole system, the handoff procedure used time is short, simple to operate.
In order to solve the problems of the technologies described above, technical scheme of the present invention is specific as follows:
Multi-user's frequency interlock method in a kind of point-to-multipoint microwave telecommunication system, described point-to-multipoint microwave telecommunication system comprises central station and multiple subscriber station;
When frequency switching initiated by central station, comprise the following steps:
S110, central station send frequency handover request to all subscriber stations, and the target frequency that broadcast needs are switched to;
S120, subscriber station send response message to central station after receiving frequency handover request and target frequency;
S130, central station receive subscriber station the laggard row relax of response message and to all subscriber station broadcast acknowledgements message;
After S140, subscriber station receive acknowledge message, working frequency points is switched to target frequency;
S150, central station detect subscriber station working frequency points switch instances and after handling accordingly, local terminal working frequency points are switched to target frequency;
When frequency switching initiated by any subscriber station, comprise the following steps:
S210, a certain subscriber station send frequency handover request to central station, and inform that central station needs the target frequency be switched to;
S220, central station are forwarded to all subscriber stations after receiving frequency handover request, and the target frequency that broadcast needs are switched to;
S230, subscriber station send response message to central station after receiving frequency handover request and target frequency;
S240, central station receive subscriber station the laggard row relax of response message and to all subscriber station broadcast acknowledgements message;
After S250, subscriber station receive acknowledge message, working frequency points is switched to target frequency;
S260, central station detect subscriber station working frequency points switch instances and after handling accordingly, local terminal working frequency points are switched to target frequency.
Wherein, described step S110, central station send frequency handover request to all subscriber stations, and the target frequency that broadcast needs are switched to; Be specially:
Central station detects the need of switch operating frequency, if so, then organizes claim frame and is sent to all subscriber stations in a broadcast manner by microwave link, wherein, carrying frequency handover request mark, target frequency and calling subscriber station id information in described request frame;
Described S120, subscriber station send response message to central station after receiving frequency handover request and target frequency; Be specially:
After subscriber station receives the claim frame that central station sends, group response frame also sends to central station by microwave link, and instruction has received frequency handover request frame, carries frequency handoff response mark, target frequency and subscriber station flag information in described response frame;
Described S130, central station receive subscriber station the laggard row relax of response message and to all subscriber station broadcast acknowledgements message; Be specially:
Central station, according to the response frame received, judges whether that all subscriber stations all receive frequency handover request; If all subscriber stations all receive frequency handover request, then group acknowledge frame send to all access user stations in a broadcast manner by microwave link, indicates all access user stations all frequency to be switched to target frequency; If certain user station does not receive frequency handover request, repeat step S110 and S120, and then whether detection has subscriber station not receive frequency handover request, if had, then record the information of these subscriber stations and report, then group acknowledge frame send to accessed user to stand in a broadcast manner by microwave link, indicates the subscriber station accessed that frequency is switched to target frequency;
After described S140, subscriber station receive acknowledge message, working frequency points is switched to target frequency; Be specially:
Subscriber station receives after frequency switches acknowledgement frame and frequency is switched to target frequency;
Described S150, central station detect subscriber station working frequency points switch instances and after handling accordingly, local terminal working frequency points are switched to target frequency; Be specially:
Central station detects whether all subscriber stations accessed all are switched to target frequency, if detected that subscriber station is not switched to target frequency, after then again sending a frequency switching acknowledgement frame, again detect the subscriber station whether existing and do not switch, if had, then the subscriber station not being switched to target frequency is reported, finally the working frequency points of our station is switched to desired value.
Wherein, described step S210, a certain subscriber station send frequency handover request to central station, and inform that central station needs the target frequency be switched to; Be specially:
Subscriber station detects the need of switch operating frequency, if so, then organizes claim frame and sends to central station by microwave link in the mode of clean culture, wherein, carrying frequency handover request mark, target frequency and calling subscriber station id information in described request frame;
Described S230, subscriber station send response message to central station after receiving frequency handover request and target frequency; Be specially:
After subscriber station receives the claim frame that central station sends, group response frame also sends to central station by microwave link in the mode of clean culture, instruction has received frequency handover request frame, carries frequency handoff response mark, target frequency and subscriber station flag information in described response frame;
Described S240, central station receive subscriber station the laggard row relax of response message and to all subscriber station broadcast acknowledgements message; Be specially:
Central station, according to the response frame received, judges whether that all subscriber stations all receive frequency handover request; If all subscriber stations all receive frequency handover request, then group acknowledge frame send to all access user stations in a broadcast manner by microwave link, indicates all access user stations all frequency to be switched to target frequency; If certain user station does not receive frequency handover request, repeat step S220 and S230, and then whether detection has subscriber station not receive frequency handover request, if had, then record the information of these subscriber stations and report, then group acknowledge frame send to accessed user to stand in a broadcast manner by microwave link, indicates the subscriber station accessed that frequency is switched to target frequency;
After described S250, subscriber station receive acknowledge message, working frequency points is switched to target frequency; Be specially:
Subscriber station receives after frequency switches acknowledgement frame and frequency is switched to target frequency;
Described S260, central station detect subscriber station working frequency points switch instances and after handling accordingly, local terminal working frequency points are switched to target frequency; Be specially:
Central station detects whether all subscriber stations accessed all are switched to target frequency, if detected that subscriber station is not switched to target frequency, after then again sending a frequency switching acknowledgement frame, again detect the subscriber station whether existing and do not switch, if had, then the subscriber station not being switched to target frequency is reported, finally the working frequency points of our station is switched to desired value.
Wherein, described method, also comprises: after central station sends frequency handover request frame, opening timing device, receives the response of transmission from subscriber station, after timer time arrives within timer effective time at interval of certain hour, if do not receive the response frame at all stations, then retransmit frequency handover request frame.
Wherein, described method, also comprises: after central station forwards frequency handover request frame, opening timing device, receives the response of transmission from subscriber station, after timer time arrives within timer effective time at interval of certain hour, if do not receive the response frame at all stations, then again forward frequency handover request frame.
Wherein, three kinds of frame types that the information interactive process between central station and subscriber station adopts, comprise claim frame, response frame and acknowledgement frame, the frame structure of described request frame, response frame and acknowledgement frame, comprise frame head, CRC check, content frame and postamble; Described frame head and postamble adopt different spcial characters to identify; Described content frame comprises frame type, data overall length, user ID and frequency, the content frame length of described data overall length instruction except frame type, be mainly used in later stage expansion, described user ID is for transmitting the subscriber station information in reciprocal process, the user ID of central station is a distinctive mark 0xff, described frequency, for transmitting the target frequency needing to be switched to.
Adopt a system for multi-user's frequency interlock method in a kind of point-to-multipoint microwave telecommunication system described above, described system, comprises central station, subscriber station and microwave link;
Described central station is by communicating between microwave link with subscriber station.
Beneficial effect:
Multi-user's frequency interlock method and system in the point-to-multipoint microwave telecommunication system of one of the present invention, the frequency that can realize other websites when switching the working frequency points of any website can be switched to target frequency automatically fast, to realize the working frequency points that fast and effeciently can switch whole system, the handoff procedure used time is short, simple to operate.
Embodiment
Technical solution of the present invention is described in detail below in conjunction with drawings and Examples.
According to the initiator that frequency switches, multi-user's frequency interlock scheme that the present invention proposes, the frequency that frequency switches and subscriber station is initiated mainly comprising central station initiation switches two parts.
The method provided in the embodiment of the present invention comprises following process:
Central station and the interaction diagrams of subscriber station when the frequency of initiating of standing centered by Fig. 1 switches.As shown in Figure 1, when frequency switching initiated by central station, comprise the following steps:
S110, central station initiate frequency handover request to all subscriber stations, and the target frequency that broadcast needs are switched to;
Be specially, central station detects the need of switch operating frequency, if so, then organizes claim frame on request and sends to all subscriber stations in a broadcast manner by microwave link, wherein, frequency handover request mark, target frequency and calling subscriber station id information is carried in described request frame.
S120, subscriber station send response message to central station after receiving frequency handover request and target frequency;
Particularly, after subscriber station receives the claim frame that central station sends, group response frame also sends to central station by microwave link, and instruction has received frequency handover request frame, carries frequency handoff response mark, target frequency and subscriber station flag information in described response frame.
S130, central station receive subscriber station the laggard row relax of response message and to all subscriber station broadcast acknowledgements message;
Particularly, central station, according to the response frame received, judges whether that all subscriber stations all receive frequency handover request; If all subscriber stations all receive frequency handover request, then group acknowledge frame send to all access user stations in a broadcast manner by microwave link, indicates all access user stations all frequency to be switched to target frequency; If certain user station does not receive frequency handover request, repeat step S110 and S120, and then whether detection has subscriber station not receive frequency handover request, if had, then record the information of these subscriber stations and report, then group acknowledge frame send to accessed user to stand in a broadcast manner by microwave link, indicates the subscriber station accessed that frequency is switched to target frequency.
After S140, subscriber station receive acknowledge message, working frequency points is switched to target frequency;
Be specially, subscriber station receives after frequency switches acknowledgement frame and frequency is switched to target frequency.
S150, central station detect subscriber station working frequency points switch instances and after handling accordingly, local terminal working frequency points are switched to target frequency;
Be specially, central station detects whether all subscriber stations accessed all are switched to target frequency, if detected that subscriber station is not switched to target frequency, after then again sending a frequency switching acknowledgement frame, again detect the subscriber station whether existing and do not switch, if had, then the subscriber station not being switched to target frequency is reported, finally the working frequency points of our station is switched to desired value.
The interaction diagrams of central station and subscriber station when Fig. 2 is the frequency switching of subscriber station initiation.As shown in Figure 2, when frequency switching initiated by any subscriber station, comprise the following steps:
S210, a certain subscriber station send frequency handover request to central station, and inform that central station needs the target frequency be switched to;
Be specially: subscriber station detects the need of switch operating frequency, if, then organize claim frame and send to central station by microwave link in the mode of clean culture, wherein, in described request frame, carrying frequency handover request mark, target frequency and calling subscriber station id information.
S220, central station are forwarded to all subscriber stations after receiving frequency handover request, and the target frequency that broadcast needs are switched to;
After central station receives frequency handover request, in a broadcast manner frequency handover request and target frequency are forwarded to the subscriber station of all accesses by microwave link.
S230, subscriber station send response message to central station after receiving frequency handover request and target frequency;
Particularly, after subscriber station receives the claim frame that central station sends, group response frame also sends to central station by microwave link in the mode of clean culture, and instruction has received frequency handover request frame, carries frequency handoff response mark, target frequency and subscriber station flag information in described response frame.
Described S240, central station receive subscriber station the laggard row relax of response message and to all subscriber station broadcast acknowledgements message;
Be specially: central station, according to the response frame received, judges whether that all subscriber stations all receive frequency handover request; If all subscriber stations all receive frequency handover request, then group acknowledge frame send to all access user stations in a broadcast manner by microwave link, indicates all access user stations all frequency to be switched to target frequency; If certain user station does not receive frequency handover request, repeat step S220 and S230, and then whether detection has subscriber station not receive frequency handover request, if had, then record the information of these subscriber stations and report, then group acknowledge frame send to accessed user to stand in a broadcast manner by microwave link, indicates the subscriber station accessed that frequency is switched to target frequency.
After described S250, subscriber station receive acknowledge message, working frequency points is switched to target frequency;
Be specially: subscriber station receives after frequency switches acknowledgement frame and frequency is switched to target frequency.
Described S260, central station detect subscriber station working frequency points switch instances and after handling accordingly, local terminal working frequency points are switched to target frequency;
Be specially: central station detects whether all subscriber stations accessed all are switched to target frequency, if detected that subscriber station is not switched to target frequency, after then again sending a frequency switching acknowledgement frame, again detect the subscriber station whether existing and do not switch, if had, then the subscriber station not being switched to target frequency is reported, finally the working frequency points of our station is switched to desired value.
In sum, visible, multi-user's frequency interlock method and system in the point-to-multipoint microwave telecommunication system of one of the present invention, the frequency that can realize other websites when switching the working frequency points of any website can be switched to target frequency automatically fast, to realize the working frequency points that fast and effeciently can switch whole system, the handoff procedure used time is short, simple to operate.
The information interaction frame structure of station and subscriber station centered by Fig. 3.As shown in Figure 3, in this programme, three kinds of frame types that the information interactive process between central station and subscriber station adopts, comprise claim frame, response frame and acknowledgement frame, the frame structure of described request frame, response frame and acknowledgement frame, comprises frame head, CRC check, content frame and postamble; Described frame head and postamble adopt different spcial characters to identify; Described content frame comprises frame type, data overall length, user ID and frequency, the content frame length of described data overall length instruction except frame type, be mainly used in later stage expansion, described user ID is for transmitting the subscriber station information in reciprocal process, the user ID of central station is a distinctive mark 0xff, described frequency, for transmitting the target frequency needing to be switched to.
Frame head: for detecting the beginning of a whole frame, carrys out the initial of mark one frame with a special character.
CRC check: adopt sixteen bit CRC check multinomial to verify content frame, the CRC check generating 16 with.
Content frame: content frame, for transmitting the effective information in frequency handoff procedure, comprises frame type, data overall length, frequency and user ID four parts.Frame type is used to indicate the type of institute's transferring frames, and the frame type transmitted in frequency handoff procedure comprises claim frame (0x01), response frame (0x02) and acknowledgement frame (0x03) three kinds; Data overall length is used to indicate the content frame length except frame type, is mainly used in later stage expansion; Frequency is used to indicate the target frequency of switching; User ID is for transmitting the subscriber station information in reciprocal process, and the user ID of central station is a distinctive mark 0xff.
Postamble: the ending of a mark whole frame, indicates with a special character, in order to the frame head of the postamble and next frame of distinguishing previous frame, postamble and frame head adopt different characters.
Described method also comprises, after central station sends frequency handover request frame, and opening timing device, within timer effective time, receive the response of transmission from subscriber station at interval of certain hour, after timer time arrives, if do not receive the response frame at all stations, then retransmit frequency handover request frame.
Described method also comprises, after central station forwards frequency handover request frame, and opening timing device, within timer effective time, receive the response of transmission from subscriber station at interval of certain hour, after timer time arrives, if do not receive the response frame at all stations, then again forward frequency handover request frame.
For the frequency handover request flow process that central station is initiated, comprise central station flow process and subscriber station flow process two parts, concrete implementation step is as follows:
Stand centered by Fig. 4 initiate frequency handoff procedure in central station flow chart.As shown in Figure 4,
In step sl, central station starts to initiate frequency handover request; Then step S2 is entered.
In step s 2, central station detects and judges whether to need switched system frequency, if do not need switched system frequency, then enters step S14; Otherwise enter step S3.
In step s3, central station is according to the frame structure group frequency handover request frame shown in Fig. 3, and frame type is claim frame (0x01), frequency is need to stand (0xff) centered by the target frequency of switching, user ID; And the claim frame of composition is sent to all subscriber stations in a broadcast manner, open a timer, in timing, receive the response of subscriber station, then enter step S4.
In step s 4 which, central station waits for a period of time and starts to receive the response frame of transmission from subscriber station, then enters step S5.
In step s 5, central station judges whether timer reaches, if timing does not arrive, then enters step S4; If timing arrives, then enter step S6.
In step s 6, by the subscriber station response frame received, central station judges whether that all users receive frequency handover request, if so, then enter step S9; Otherwise enter step S7.
In the step s 7, central station judges whether frequency handover request frame was retransmitted, if do not retransmitted, then returns step S3; Otherwise enter step S8.
In step s 8, central station will still not receive the subscriber station information reporting of frequency handover request, then enter step S9.
In step s 9, central station switches acknowledgement frame according to the frame structure group frequency shown in Fig. 3, and frame type is acknowledgement frame (0x03), frequency is need to stand (0xff) centered by the target frequency of switching, user ID; And the acknowledgement frame of composition is sent to all subscriber stations in a broadcast manner, open a timer, then enter step S10.
In step slo, judge whether after central station waiting timer time-out that all subscriber stations all complete frequency and switch, if so, then enter step S13; Otherwise enter step S11.
In step s 11, central station judges that frequency switches acknowledgement frame and whether retransmitted, if retransmitted, then enters step S12; Otherwise return step S9.
In step s 12, central station reports the subscriber station information not completing frequency and switch.Then step S13 is entered.
In step s 13, the frequency of our station is switched to target frequency by central station, then enters step S14.
In step S14, central station terminates the frequency handoff procedure that central station is initiated.
Stand centered by Fig. 5 initiate frequency handoff procedure in subscriber station flow chart.As shown in Figure 5,
In step S101, subscriber station starts to respond the frequency switching flow of being initiated by central station, enters step S102.
In step s 102, subscriber station detects whether receive frequency handover request frame, if do not received, then enters step S107; Otherwise enter step S103.
In step s 103, set of subscriber stations switches acknowledgement frame according to the frame structure group frequency shown in Fig. 3, the ID that the target frequency that frame type is response frame (0x02), frequency is needs switching, user ID are subscriber station self; And the acknowledgement frame of composition is sent to corresponding central station in the mode of clean culture, then enter step S104.
In step S104, subscriber station wait-receiving mode, from the message of central station, then enters step S105.
In step S105, subscriber station judges whether that receiving frequency switches acknowledgement frame, if received, enters step S106, otherwise returns step S104.
In step s 106, system frequency is switched to target frequency by subscriber station, then enters step S107.
In step s 107, subscriber station terminates the frequency handoff response flow process initiated by central station.
For the frequency handover request flow process that subscriber station is initiated, comprise the subscriber station flow process of the request of initiation, central station flow process and other subscriber station flow process three parts, concrete implementation step is as follows:
Fig. 6 is the subscriber station flow chart of initiating frequency handover request in the frequency handoff procedure of subscriber station initiation.As shown in Figure 6,
In step s 201, subscriber station starts to initiate frequency switching flow, then enters step S202.
In step S202, subscriber station judges whether to need switched system frequency, if needed, enters step S203; Otherwise enter step S210.
In step S203, subscriber station is according to the frame structure group frequency handover request frame shown in Fig. 3, and frame type is claim frame (0x02), frequency is need target frequency, the user ID switched to be the ID of subscriber station self; And the claim frame of composition is sent to corresponding central station in the mode of clean culture, open a timer, then enter step S204.
In step S204, subscriber station receives the message from central station, then enters step S205.
In step S205, subscriber station judges whether to receive the frequency handover request from central station, if yes then enter step S207; Otherwise enter step S206.
In step S206, subscriber station judges that whether timer is overtime; If time-out, return step S203; Otherwise return step S204.
In step S207, subscriber station receives the message from central station; Then step S208 is entered.
In step S208, subscriber station judges whether that the frequency received from central station switches acknowledgement frame, if so, then enters step S209; Otherwise return step S207.
In step S209, the frequency of oneself is switched to target frequency by subscriber station, then enters step S210.
In step S210, subscriber station terminates the frequency handover request flow process initiated by oneself.
Fig. 7 is central station flow chart in the frequency handoff procedure of subscriber station initiation.As shown in Figure 7,
In step S301, central station starts the frequency handover request process responding subscriber station initiation, then enters step S302.
In step s 302, central station judges whether to receive the frequency handover request that subscriber station is sent, if do not received, then enters step S314; Otherwise enter step S303.
In step S303, the frequency handover request received is sent to all subscriber stations by central station in a broadcast manner, opens a timer, receives the response of subscriber station, then enter step S304 in timing.
In step s 304, central station waits for a period of time and starts to receive the response frame of transmission from subscriber station, then enters step S305.
In step S305, central station judges whether timer reaches, if timing does not arrive, then enters step S304; If timing arrives, then enter step S306.
In step S306, by the subscriber station response frame received, central station judges whether that all users receive frequency handover request, if so, then enter step S309; Otherwise enter step S307.
In step S307, central station judges whether frequency handover request frame was retransmitted, if do not retransmitted, then returns step S303; Otherwise enter step S308.
In step S308, central station will still not receive the subscriber station information reporting of frequency handover request, then enter step S309.
In step S309, central station switches acknowledgement frame according to the frame structure group frequency shown in Fig. 3, and frame type is acknowledgement frame (0x03), frequency is need to stand (0xff) centered by the target frequency of switching, user ID; And the acknowledgement frame of composition is sent to all subscriber stations in a broadcast manner, open a timer, then enter step S310.
In step S310, judge whether after central station waiting timer time-out that all subscriber stations all complete frequency and switch, if so, then enter step S313; Otherwise enter step S311.
In step S311, central station judges that frequency switches acknowledgement frame and whether retransmitted, if retransmitted, then enters step S312; Otherwise return step S309.
In step S312, central station reports the subscriber station information not completing frequency and switch.Then step S313 is entered.
In step S313, the frequency of our station is switched to target frequency by central station, then enters step S314.
In step S314, central station terminates the frequency handoff procedure of being initiated by subscriber station.
Fig. 5 is other non-initiator's subscriber station flow charts in the frequency handoff procedure of certain subscriber station initiation.As shown in Figure 5,
In step S101, other subscriber stations start to respond the frequency switching flow of being initiated by certain subscriber station, enter step S102.
In step s 102, subscriber station detects whether receive frequency handover request frame, if do not received, then enters step S107; Otherwise enter step S103.
In step s 103, set of subscriber stations switches acknowledgement frame according to the frame structure group frequency shown in Fig. 3, the ID that the target frequency that frame type is response frame (0x02), frequency is needs switching, user ID are subscriber station self; And the acknowledgement frame of composition is sent to corresponding central station in the mode of clean culture, then enter step S104.
In step S104, subscriber station wait-receiving mode, from the message of central station, then enters step S105.
In step S105, subscriber station judges whether that receiving frequency switches acknowledgement frame, if received, enters step S106, otherwise returns step S104.
In step s 106, system frequency is switched to target frequency by subscriber station, then enters step S107.
In step s 107, subscriber station terminates the frequency handoff response flow process initiated by central station.
Above embodiment contains multi-user's frequency interlock scheme overall process, when making any one website need to switch frequency, automatically effectively can switch the frequency of whole system, guarantee that the communication of whole system is normal.
Fig. 8 is point-to-multipoint microwave telecommunication system schematic diagram.As shown in Figure 8, a kind of system adopting multi-user's frequency interlock method in a kind of point-to-multipoint microwave telecommunication system described above, described system, comprises central station, subscriber station and microwave link;
Described central station is by communicating between microwave link with subscriber station.
As shown in Figure 8, described system multiple subscriber stations of comprising a central station and being communicated by microwave link with central station; Communication between subscriber station need by central station as terminal.Central station comprises central station IDU and central station ODU, and described central station IDU is connected with central station ODU by optical cable/cable; Subscriber station comprises subscriber station IDU and subscriber station ODU, and described subscriber station IDU is connected with subscriber station ODU by optical cable/cable.
By adopting the system of above-mentioned multi-user's frequency interlock method, can realize, when any one website needs switched system frequency, automatically effectively can switching the frequency of whole system, guaranteeing that the communication of whole system is normal.
Embodiment is illustrated technical scheme of the present invention and non-limiting.By the description of above embodiment; those skilled in the art can be expressly understood very much technical scheme of the present invention; and can modify to embodiment or equivalent to replace, and do not depart from the spirit and scope of the present invention, in the middle of the right that all should be included in request of the present invention protection.