Technical background
The gsm wireless communication system that is the most widely used at present is made up of many subsystems, consults Fig. 1, and its framework is mobile station (MS) 71, base station subsystem (BSS) 72, mobile switching centre (MSC) 73 or the like from the bottom to top in regular turn.Mobile station 71 promptly refers to so-called mobile phone, and base station subsystem 72 has then comprised a base station (BTS) 721 and a base station controller (BSC) 722.
(Air interface, Um), its function is that platform 71 and 72 of base stations provide a reliable wireless channel in action to required air interface when base station 721 is responsible for linking up with mobile station 71.Base station controller 722 is the use of responsible radio resource allocated then, and is the main core of control action platform 71 handovers (handover) relative program.As shown in FIG., a base station controller 722 is being managed several base stations 721 usually.
And by base station controller 722 upwards, it then is mobile switching centre (MSC) 73, it is switching center place main in the GSM network, and most gsm system also can be connected with public switch telephone network extraneous networks such as (PSTN) through mobile switching centre 73.
In addition, gsm system has also defined attaching position register (HLR) 74, Visited Location Registor (VLR) 75, and several data bank such as identification code buffer 76.Attaching position register 74 has been deposited all registration relevant informations of user, 75 of Visited Location Registors are to deposit to be enough to allow the client set up the part customer information of communication link, on reality was used, Visited Location Registor 75 was seated in mobile switching centre 73 usually.Identification code buffer 76 then provides the data bank of mobile phone relevant identification information.
Therefore, the scope that each base station 721 is contained promptly is called a sub-district (cell), so integral body promptly constitutes a cellular communication network.Consulting Fig. 2, when a mobile station 81 desires are conversed with another mobile station 82, is that requirement is set up and called out by user's dialing and in regular turn through sending mobile switching centre 85 to behind base station 83, the base station controller 84.Receive the service request message of mobile station 81 when mobile switching centre 85, through promptly disposing a traffic channel after identification, the authentication, and require base station controller 86 control base stations 87 to see through air interface appointment wireless channel to another mobile station 82, therefore constituted the communication action of 82 of mobile station 81 and mobile stations.
The framework of above-mentioned hierarchy type can utilize the base station of establishing in a wide range to enlarge the communication context of mobile station, and sees through the mechanism of conversation handover, reaches borderless purpose.Yet, because mobile station itself has possessed the function of electromagnetic wave transmitting-receiving, so if this case inventor thinks to reach can be under the prerequisite that does not change the mobile station hardware structure, set up the communication network between mobile station and mobile station, promptly need not see through base station and can reach the communication purpose of point-to-point (peer topeer) formula, the function that just can increase mobile phone itself with and surcharge.
Summary of the invention
Therefore, purpose of the present invention is promptly providing a kind of base station that need not see through can make mobile station and mobile station carry out the wireless communication method and the system thereof of communication.
Another object of the present invention is promptly providing a kind of wireless communication method and system thereof that is applicable to two kinds of agreements simultaneously.
So wireless communication method of the present invention comprises the following step: from a mobile station select one first protocol mode and one second protocol mode one of them; When selecting this first protocol mode, be to carry out communication by an air interface and a base station; And, be to carry out communication by this air interface and another mobile station when selecting this second protocol mode.
Wherein, this first agreement is a gsm protocol, this second agreement is the part of this first agreement of utilization, and wherein this second agreement is the frequency division multiple access/time division multiple access protocol of physical layer in this first agreement of utilization, and the LAPDm agreement of data link layer in this first agreement.
So, wireless telecommunication system of the present invention comprises a base station, and plural mobile station, and each this action platform can be imported between one first protocol mode and one second protocol mode by the user to switch, each this action platform also has an analysis module, one first protocol module, and one second protocol module.
Analysis module can receive one first electromagnetic wave signal that comes from this base station and one second electromagnetic wave signal that comes from another mobile station.First protocol module is to send one first electromagnetic wave signal according to user's input, and handles first electromagnetic wave signal from this analysis module received.Second protocol module then sends one second electromagnetic wave signal according to user's input, and handles second electromagnetic wave signal from this analysis module received.
Wherein, this first electromagnetic wave signal is the electromagnetic wave signal that accords with gsm protocol, this second electromagnetic wave signal is an electromagnetic wave signal of following one second agreement, and this second agreement is to utilize the part of this gsm protocol, wherein this second agreement is to utilize the frequency division multiple access/time division multiple access protocol of physical layer in the gsm protocol, and the LAPDm agreement of data link layer in this gsm protocol.
So mobile station of the present invention comprises: an analysis module can receive one first electromagnetic wave signal that comes from a base station and one second electromagnetic wave signal that comes from another mobile station; One first protocol module sends one first electromagnetic wave signal according to user's input, and handles first electromagnetic wave signal from this analysis module received; And one second protocol module, send one second electromagnetic wave signal according to user's input, and handle second electromagnetic wave signal from this analysis module received.
Wherein, this first electromagnetic wave signal is the electromagnetic wave that accords with gsm protocol, this second electromagnetic wave signal is the electromagnetic wave signal that accords with one second agreement, and this second agreement is to utilize the part of this gsm protocol, wherein this second agreement is to utilize the frequency division multiple access/time division multiple access protocol of physical layer in the gsm protocol, and the LAPDm agreement of data link layer in this gsm protocol.
In sum, wireless communication method of the present invention and system thereof are applicable to two kinds of agreements simultaneously, can not need between mobile station and mobile station see through base station and can carry out communication.
Embodiment
Aforementioned and other technology contents, feature and advantage of the present invention reach in the detailed description of preferred embodiment with reference to the accompanying drawings in following cooperation, can be clear.
See also shown in Figure 3ly, wireless telecommunication system 1 of the present invention comprises a base station 11, and plural mobile station 12,13.In the present embodiment, mobile station 12,13 is respectively to refer to a mobile phone, the digital mobile phone of a GSM particularly, and for convenience of description, only represent with two mobile stations 12,13 in the icon.
11 of mobile station 12,13 and base stations are to follow first agreement, and promptly existing gsm protocol carries out communication, then can make 13 of mobile station 12 and another mobile stations carry out point-to-point communication with second agreement by the present invention, are described in detail as follows at this.
Need indicate earlier, as shown in Figure 4, illustrated the gsm protocol Organization Chart of 11 of mobile station 12 or mobile station 13 and base stations, this figure is the OSI Reference Model of being issued corresponding to International Standards Organization (ISO) and getting, should be appreciated that and be familiar with this operator, ground floor is meant that a physical layer (physical layer), the second layer are meant a data link layer (data-link layer), and the 3rd layer has then comprised the function more than the 3rd layer in the OSI seven layer model, for example authenticated, link management or the like.
In ground floor, 11 of mobile station 12 and base stations are to set up transmission channel (channel) between air interface (Um) by the communications protocol of frequency division multiple access/time division multiple access (FDMA/TDMA).With the GSM900 system is example, just reach following chain (downlink) frequency range 890~915MHz of mobile station 12 at base station 11, and mobile station 12 reaches among cochain (uplink) frequency range 935~960MHz of base station 11, utilize frequency division multiple access (FDMA) mode earlier, cut into the carrier wave of many 200KHz of being separated by.Then again with carrier wave in time division multiple access (TDMA) mode, will be cut into eight time slots (time slot) time, wherein each time slot promptly can be used to transmit a user's speech sound signal.And for the convenience on distinguishing, be positioned at a certain time slot on a certain carrier wave promptly corresponding a physical channel (physical channel), the defined logic channel of gsm system (logicalchannel) just.
Cooperate Fig. 5, logic channel can be divided into two kinds of traffic channel (TCH) and control channels (CCH).Traffic channel promptly is to be used for transmitting user's voice or data information, and on the other hand, control channel then is to be used for carrying needed control signal between base station and mobile station.Certainly, control channel more can be subdivided into broadcast channel (BCH), shared control channel (CCCH), and exclusive control channel (DCCH) etc.Wherein, broadcast channel is to transmit signal to mobile station 12 or 13 uses by base station 11, can more be subdivided into synchronizing channel (SCH), Broadcast Control Channel (BCCH), and frequency correction channel (FCCH).Shared control channel then divides for by paging channel (PCH), the access assentment channel (AGCH) of base station 11 to mobile station 12 or 13, and mobile station 12 or 13 direct access communications channels to base station 11 (RACH).
The second layer is a data link layer, and the agreement of this layer is LAPDm, is to be improved by the LAPD agreement in the ISDN, because this is a GSM standard agreement part, so repeat no more.
And in three-tier architecture, also include three sublayers, from bottom to top be respectively provided for radio resources management (RR) layer 131, mobile management (MM) layer 132, and communication management (CM) layer 133.Wherein, the major function of each sublayer is: communication management layer 133 is the release of being responsible for setting up conversation line, conversation, mobile management layer 132 is responsible for actions such as conversation handover, authentification of user, signal coding with 131 on provided for radio resources management layer, generally speaking, management and record when mobile management layer 132 control mobile station 12 move, provided for radio resources management layer 131 is distribution of being responsible for radio spectrum resources.
So by above-mentioned framework, the flow direction of signal is shown in the direction of arrow among Fig. 4, just by the user when transfering to the GSM number, then control communication management layer 133 → mobile management layer 132 → provided for radio resources management layer 131 in regular turn, see through ground floor (physical layer) at last and send one first electromagnetic wave signal that accords with first agreement and give base station 11 via air interface, and received by base station 11 undermost physical layers, therefore layering decipher in regular turn again reaches the communication of 11 of mobile station 12 and base stations.
The present invention is built on the above-mentioned gsm protocol framework, in the ground floor and the second layer, still is the agreement of adopting TDMA/FDMA and LAPDm promptly, but has then done preferable variation in approaching the 3rd layer of user.
Consult Fig. 6, be the schematic internal view of a mobile station 12 of the present invention, comprise an analysis module 120, one first protocol module 121, and one second protocol module 122.What will illustrate earlier is, in the present embodiment, above-mentioned module is that the form with program code is compiled, and be recorded on the recording medium that a mobile station can read, for example fast flash memory bank (flash), read-only memory (ROM) etc., and can be deciphered, carry out by mobile station internal processor (figure does not show), to carry out following action.And constitute above-mentioned module as if form with single-chip, only belong to and know the simple change that this skill personage can understand.
In addition, mobile station also has operating system 123, sim module 124, input module 125, and display module 126 etc.Sim module 124 is interior except building first identification code that is equipped with corresponding to first agreement, also has second identification code corresponding to second agreement, so can make mobile station 12 by base station 11 or 13 identifications of another mobile station by these two kinds of different identification codes, constitute and this sim module can be a SIM card or a memory body.Input module 125 refers to such as the device for user's input such as button, touch panel, and after operation system 123 receives user's input via input module 125, promptly can drive peripheral hardware with kernel program and relevant driver.
Further, comprised Digital Signal Processing (DSP) chipset 127 etc. in the mobile station 12, its inside has comprised squares such as modulation/demodulation power transformation road 21, transmitter 22, receiver 23, so can carry out electromagnetic transmitting-receiving.Certainly, still have dsp processor, fundamental frequency processor, rf processor, power amplifier module or the like in modulation/demodulation power transformation road 21, do not specialize at this.But must be appreciated that, by modulation circuit 21 fundamental frequency signal is sneaked into after carrier wave changes radiofrequency signal into, can externally send electromagnetic wave by transmitter 22, and when the receiver 23 of mobile station 12 receives an electromagnetic wave, then can change fundamental frequency signal into and transmit sound or data via the demodulation on demodulation power transformation road 21.
Analysis module 120 is to couple mutually with modulation/demodulation power transformation road 21, and can receive and come from base station 11 one the first electromagnetic wave signals, and is differentiated after coming from one second electromagnetic wave signal that adopts of the present invention one another mobile station 13.Wherein, first electromagnetic wave signal promptly is the electromagnetic wave signal that is established on first agreement, second electromagnetic wave letter then is to be established on second agreement, and when analysis module 120 receives first electromagnetic wave signal, transfer to processing in the first following protocol module 121, when receiving second electromagnetic wave signal, transfer in the second following protocol module 122 and handle.
First protocol module 121 can send first electromagnetic wave signal according to user's input, and handles first electromagnetic wave signal that is received from this analysis module 120.Because handling first protocol module 121 of gsm protocol has been known by industry, and all build in each GSM mobile station and be equipped with this module, so no longer describe in detail, the action that first protocol module is carried out promptly is the function of each sublayer in above-mentioned the 3rd layer, promptly and after importing one first identification code when receiving that the user sees through input module 125, promptly formulate the agreement more than the 3rd layer among Fig. 4 by first protocol module 121, last modulation circuit 21, the transmitter 22 that sees through physical layer again sends first electromagnetic wave signal, can carry out communication with base station 11.
Second protocol module 122 couples mutually with analysis module 120, has a signal transmitting unit 31 and a protocol processing unit 32.Signal transmitting unit 31 is to send one second electromagnetic wave signal in order to the input signal that receives the user, promptly is the function that is used for simulating base station 11.In other words, it promptly is corresponding each time slot, in frequency correction channel, transmit the prominent bag of a frequency correction (frequency correction burst), in synchronizing channel, transmit a synchronous prominent bag (frequency burst), and in Broadcast Control Channel, transmit a common prominent bag (normal burst), can reach with base station 11 identical functions and call out another mobile station 13 with mobile station 12 of the present invention.And with respect to signal transmitting unit 31,32 of protocol processing unit are after receiver 23 receives second electromagnetic wave signal, promptly second electromagnetic wave signal are handled, and are interpreted as the information that the user can understand.
Consult Fig. 7, when mobile station 12 was given orders or instructions, the user was by input module 125 input one identification code, and to be differentiated by analysis module 120 be first protocol mode corresponding to first identification code, or corresponding to second protocol mode of second agreement.If first identification code knows that then the user desires to carry out communication via a mobile station 12 and a base station 11, require communication so see through Random Access Channel to base station 11, and wait for base station 11 appointment traffic channels via first protocol module 121.If second identification code, then the signal transmitting unit 31 via second protocol module 122 deals with, and promptly sends the prominent bag of a frequency correction, a synchronous prominent bag etc., and another mobile station 13 is broadcasted.At last, see through modulation circuit 21, transmitter 22 in the physical layer and send first electromagnetic wave signal respectively corresponding to first agreement, or corresponding to second electromagnetic wave signal of second agreement.
Consult Fig. 8, on the other hand, when mobile station 12 is talked about, receive first electromagnetic wave signal or second electromagnetic wave signal by receiver 23, and be converted to fundamental frequency signal via demodulation power transformation road 21, transfer to analysis module 120 and differentiate, handle, be presented on the display module 1216 through operating system 123 if second agreement is then transferred to the result that second protocol module 122 handle after will handling more at last if first agreement is then transferred to first protocol module 121.Promptly in first agreement and second agreement, the agreement of ground floor, the second layer is identical, then transfers to first protocol module and second protocol module is handled respectively for the 3rd layer.
Consult Fig. 9, so the call flow of 13 of mobile station 12 and mobile stations also is to carry out according to the agreement of FDMA/TDMA on physical layer.At first, dial (second identification code) and indicate mobile station 12 to call out,, promptly come transmission frequency to proofread and correct prominent bag and prominent synchronously bag by broadcast channel as step 41 by the user.On the other hand, the standard of formulating according to mobile station, 13 every spacing a period of times of callee promptly can be searched broadcasting channel automatically, as step 51, if the message of broadcasting channel accords with the identification code of callee 13, then after finishing frequency correction and synchronized operation, when the user of callee 13 pushes reception key or cancel key (figure does not show), promptly come first speaker 12 is confirmed the indication of (ACK) or refusal, as step 52 by Random Access Channel.
Then, after if callee 13 is confirmed to converse, then to carry out the step 42,53 of an assigned channels, after promptly supplying actions such as first speaker 12 and callee 13 authenticate, affirmation through access assentment Channel Assignment one exclusive control channel via first speaker 12, assign a traffic channel to carry out the transmission of voice, data information again for first speaker 12 and callee 13, promptly shown in step 43, make first speaker 12 and callee 13 carry out communication.At last, before finishing conversation as step 44,55, by first speaker 12 or callee 13 wherein a side send the signal that conversation discharges, and after the opposing party confirms, promptly finish to converse.
So, can understand by above-mentioned, the present invention utilizes second protocol module to simulate the function of base station 11, so, reach the possibility of mobile station 12 and 13 direct communications of mobile station.Need indicate, because the ability power that mobile station 12 or mobile station 13 are received and dispatched for electromagnetic wave itself, and avoid under the considering of noise jamming, so, in the use of reality, mobile station 12 needs at interval in certain scope with mobile station 13, known to the data of present test, about 500 meters with interior be an effective range, but since the circuit design of each mobile station 12 be not quite similar, so, should be with this as restriction of the present invention.