Background technology
In cdma system, the network model that Packet data service is handled as shown in Figure 1, the DT of wireless terminal (Data Terminal, the data terminal module) initiates data call, request is delivered to MT (the Mobile Terminal of wireless terminal by the Rm interface, mobile terminal module), MT carries out the data call initialization and comes initialization RLP and air interface etc.Then, MT and BTS (Base Transceiver Station, base station transceiver) and BSC (Base Station Controller, base station controller) setting up the CDMA air interface connects, base station transceiver BTS and base station controller BSC are carried out communication, BTS and BSC are that data call distributes radio channel resource, set up RLP (radio link protocal, radio link protocol) connects, at BSC and MSC (Mobile Switching Center, mobile switching centre) sets up the data service service conversation between, distributing radio resource, MSC deal with data call establishment do not participate in packet data transmission, in case distribute Radio Resource, after packet data service was also created success, it was synchronous to carry out RLP between MT and BSC.After finishing synchronously, at wireless terminal and IWF (Interworking Function, the IWF center) setting up PPP (Point to Point Protocol) between connects, after connecting foundation, IWF is wireless terminal distributing IP address, IWF is as gateway and PDN (Packet Data Network, packet data network) links to each other, IWF connects by PDN network and destination host again, this moment wireless terminal just can same destination host (this destination host comprises home server, long-range also this locality) carried out transfer of data.
The protocol stack structure that Packet data service is handled as shown in Figure 2, it illustrates the protocol stack layers aggregated(particle) structure of each functional node between wireless terminal and destination host, protocol stack is divided into relay layer, link layer, network layer, application layer.Application layer comprises transport layer and other more high-rise agreement, as TCP, and HTTP etc.; Network layer is an ip protocol layer, by each bar data connection of socket organizations layer; X.25, frame relay network, ATM, token-ring network etc. the effect of link layer is to make wireless terminal and destination host to set up being connected of reliable low bit error, and the place can adopt different agreements at the difference in functionality node, as Ethernet; Relay layer mainly is responsible for the transfer of data between different physical entities, and as adopting IS-95 or the IS-2000 protocol transmission data of CDMA between MT and BSC, at BSC, MSC can use multiple relaying between IWF, as E1/T1, and ATM, SDH etc.In order to guarantee the reliability of data, link layer at MT has increased the RLP protocol processes, the RLP agreement has been added the information that ensures reliability on the original link layer data, send at the Um mouth after afterwards data format being turned to the cdma wireless isl frame, the link layer of BSC carries out opposite reception when the Um mouth receives handles.The terminated PPP of wireless terminal of IWF connects, and then according to dissimilar PDN, is connected with destination host.PDN can be Ethernet, X.25, and frame relay network, ATM, the Packet Data Network of types such as token-ring network.
Fig. 3 shows the flow chart that the wireless packet data service standard is handled.As shown in the figure, the flow process of Packet data service processing is as follows:
S302, DT initiates data service calls;
S304, MT set up wireless channel with BSC and are connected;
S306, BSC and MSC set up the packet data service session;
S308, it is synchronous that BSC and MT carry out RLP;
S310, DT set up PPP with IWF and are connected;
S312, IWF distribute a dynamic IP addressing to give MT, connect with destination host;
S314, wireless terminal connects foundation to destination host, begins to transmit data.
Yet, when the data service of handling between wireless terminal and the home server, this handling process just seems that step complexity, redundancy, speed are slow, because can skip the processing of BSC, MSC and IWF between wireless terminal and the home server fully, between wireless terminal and home server, directly connect, omit complicated middle connection procedure, improve the speed and the stability of transfer of data.
Summary of the invention
In order to address the above problem, the invention provides a kind of packet data business transmitting method and a kind of wireless terminal, it can be implemented between wireless terminal and the home server and directly connect, thereby make wireless terminal obtain packet data content from home server, wherein, connection can be adopted multiple relay layer protocol, as RS232, USB (Universal Serial Bus, USB), Bluetooth (bluetooth) etc.
According to an aspect of the present invention, provide a kind of packet data business transmitting method, may further comprise the steps: the data terminal module in the wireless terminal is initiated the data service calls request; Mobile terminal module in the wireless terminal receives the data service calls request, and whether the destination host that the judgment data service call request is asked is home server; And if destination host is home server, then between data terminal module and destination host, directly set up link layer and be connected, utilize link layer to connect the transmission of carrying out data service.
Preferably, the request of the initiation of the data terminal module in wireless terminal data service calls specifically comprises: in the data service calls request special parameter is set, special parameter is used to represent whether destination host is home server.
Preferably, creating special parameter in the data service calls request specifically comprises: if destination host is a home server, it is first value that special parameter then is set; If destination host is not a home server, it is second value that special parameter then is set.
Preferably, whether the destination host that the judgment data service call request is asked comprises for the local service implement body: judge that special parameter is first value, then definite destination host is a home server; Judge that special parameter is second value, determine that then destination host is not a home server.
Preferably, data terminal module and destination host are set up link layer and be connected specifically and comprise: mobile terminal module is set up relay layer with destination host and is connected; Mobile terminal module sends to destination host by relay layer data in connection passage with link layer connection request message; And destination host replys response message according to link layer connection request message to the data terminal module, is connected thereby directly set up link layer between data terminal module and destination host.
On the other hand bright according to we, a kind of wireless terminal is provided, comprising: a kind of wireless terminal comprises: the data terminal module, it comprises: initiate the unit, be used to initiate the data service calls request; Transmission unit utilizes link layer to connect the transmission of carrying out data service; Mobile terminal module, it comprises: receiving element is used to receive the data service calls request; Judging unit is used for whether the destination host that the judgment data service call request asked is home server; Setting up the unit, is home server if be used for destination host, then directly sets up link layer between data terminal module and destination host and is connected; And transmission unit, be used to utilize link layer to connect the transmission of carrying out data service.
Preferably, initiate the unit and comprise: parameter set unit, be used for creating special parameter in the data service calls request, special parameter is used to represent whether destination host is home server.
Preferably, parameter set unit comprises: first is provided with the unit, is home server if be used for destination host, and it is first value that special parameter then is set; Second is provided with the unit, is not home server if be used for destination host, and it is second value that special parameter then is set.
Preferably, judging unit comprises: first judging unit, be used to judge that special parameter is first value, and determine that then destination host is a home server; Second judging unit is used to judge that special parameter is second value, determines that then destination host is not a home server.
Preferably, set up the unit and comprise: first module is used to make mobile terminal module and destination host to set up relay layer and is connected; Unit second is used to make mobile terminal module by relay layer data in connection passage link layer connection request message to be sent to destination host; And Unit the 3rd, be used to make destination host to reply response message to the data terminal module according to link layer connection request message, be connected thereby between data terminal module and destination host, directly set up link layer.
Technique scheme because simplified is set up wireless channel and is set up flow process such as wireless packet data service session, so improved the data service processing speed effectively.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 4 shows the flow chart according to the packet data business transmitting method of the embodiment of the invention, and it may further comprise the steps:
S402, the data terminal module in the wireless terminal is initiated the data service calls request;
S404, the mobile terminal module in the wireless terminal receives the data service calls request, and whether the destination host that the judgment data service call request is asked is home server; And
S406 if destination host is a home server, then directly sets up link layer and is connected between data terminal module and destination host, utilize link layer to connect the transmission of carrying out data service.
The packet data business transmitting method of present embodiment has been set up PPP and has been connected between wireless terminal and destination host, so reduced the process step that the Packet data service between wireless terminal and the home server is handled, thereby improved the treatment effeciency of data call effectively.
Obviously, if destination host is not a home server, just can not directly connect, need relaying, walk the flow process of prior art this moment, promptly walks Um Interface.
Preferably, handle below the execution in step S402: in the data service calls request special parameter is set, special parameter is used to represent whether destination host is home server.Wherein, if destination host is a home server, special parameter then is set is first value (for example 1), obvious first value is used to represent that destination host is a home server; If destination host is not a home server, special parameter then be set be second value (for example 0), obvious second value is used to represent that destination host is not a home server.
Preferably, handle below in step S404, carrying out: judge that special parameter is first value, determine that then destination host is a home server; Judge that special parameter is second value, determine that then destination host is not a home server.
Preferably, handle below the execution in step S406: mobile terminal module is set up relay layer with destination host and is connected; Mobile terminal module sends to destination host by relay layer data in connection passage (data channel among this embodiment is meant the RS232 passage) with link layer connection request message; And destination host replys response message according to link layer connection request message to the data terminal module, is connected thereby directly set up link layer between data terminal module and destination host.
Hence one can see that, different 2 points that are with the normal data call flow of flow process according to packet data business transmitting method of the present invention: one, home server need be bound a PPP connection, two, wireless terminal needs preliminary setting parameter, make MT when link layer process, before setting up the PPP connection, carry out the connection of relay layer protocol earlier.
Fig. 5 shows the wireless packet data service normal process protocol stack structure figure according to the embodiment of the invention.As shown in Figure 5, the DT of wireless terminal initiates data call, MT is after the request of receiving, RLP and air interface do not reinitialize, and be connected with destination host by other relay layer protocol, the link layer protocol of destination host is required to be the ppp protocol corresponding with wireless terminal, could correctly resolve the data of receiving.Because be that point-to-point connects, just need not BSC and MSC and carry out allocation of radio resources and set up packet data service, also need not the IWF distributing IP, route is provided, after directly between portable terminal and home server, setting up PPP and being connected, just can carry out transfer of data.
Fig. 6 shows the flow chart of handling according to the wireless packet data service of the embodiment of the invention.As shown in Figure 6, wireless packet data service is handled and be may further comprise the steps:
S602 creates the special parameter that the data terminal module can be set, if target host be home server then to set special parameter be 1, initiate data service calls then;
S604, mobile terminal module receives request, according to special parameter judgment data call business type, if parameter setting is 0, then walks former flow process; If parameter setting is 1, then initialization relay layer protocol connects home server;
S606, the data terminal module is set up PPP with home server and is connected;
S608 begins transfer of data in the connection that step S606 sets up.
The present invention is described further below in conjunction with Fig. 7 to Fig. 9.
One, the java virtual machine in the CDMA2000 handset is done compatibility test.Fig. 7 shows CDMA2000 handset and uses according to the packet data business transmitting method of the embodiment of the invention process chart from home server PC file in download.Here, be that the RS232 relay layer protocol links to each other by a Serial Port Line between mobile phone and PC server.
1. mobile phone side configuration, flow chart be as shown in Figure 7:
1) in the initialization flow process of mobile phone, increases special-purpose SIO (serialinput/output of initialization, I/O continuously) passage is handled, this passage is used for connecting with home server, this SIO passage is handled and is positioned at relay layer, agreement adopts RS232, whether special parameter of initialization, being used for distinguishing is normal process.
2) on mobile phone configuration target server address, server end slogan, need the bag title downloaded etc.
3) when the link layer (PPP) of MT is handled, judge whether away the branch of special flow process.
4) MT relay layer SIO passage is received receiveing the response of home server, illustrate that relay layer successfully connects, continue the connection of link layer, when sending PPP message, because bound the transmitting-receiving function of PPP and SIO passage, so connection sends to home server with the PPP connection message through SIO.
5) DT successfully sets up PPP with home server and is connected, the beginning data traffic transmission.
2. home server side configuration
The step of building local java virtual machine testing server is as follows, and the operating system of PC is win2000.
1) on PC, set up new the connection:
---->click " control panel ";
---->click " network and dial-up connection ";
---->click " newly-built connection ";
" network connection attribute " page of---->in the dialog box of jumping out is selected " being directly connected to another computer " (that is, using serial, parallel or infrared port to connect);
---->click " next step " back to select " main frame " (that is, PC does server, and mobile phone is done client) at " selecting computer to serve as the role " page;
" equipment of this connection " is selected at " connection device " page in---->click " next step " back is the com port of mobile phone;
---->continue to click " next step ", can increase by one " what import into is connected " at " network and dial-up connection " page after " finishing " at last, click " connection of importing into " selection " attribute " by mouse right button, in the attribute page of jumping out, select " network " page or leaf, in " networking component ", choose " Internet agreement (TCP/IP) ", click then " attribute ", select to specify " specifying the TCP/IP address " at " the TCP/IP attribute that imports into " page of jumping out, " from " and " to " after edit box fill out fixed Intranet IP scope, arrive " 192.168.100.140 " as " 192.168.100.139 ", complete back " total " and show 2, so disposing then, the PC server ip is 192.168.100.139, the IP of mobile phone is 192.168.100.140, after selecting " determining " at last, the new connection of PC configuration finishes, and connection attribute example such as Fig. 8 of importing into are shown in Figure 9;
2) the java server is installed on PC, and the IP of configuration server is the 192.168.100.139 that previous step is set.
3. test result
Mobile phone successfully connects home server, obtained the file on the server apace, speed is approximately 15 times that walk the standard radio data traffic flows originally, as seen, by wireless data service handling process of the present invention, improved the wireless data service treatment effeciency of mobile phone and home server effectively.
Two, make CDMA 1x mobile phone from the home server file in download, mobile phone and home server are all supported bluetooth, relay layer protocol adopts bluetooth, it is basic identical with last example that mobile phone flow gauge and home server are surveyed configuration, difference is that relay layer protocol is changed to bluetooth from RS232, the SIO passage is replaced by the Bluetooth passage, does not give unnecessary details so do not do at the different disposal of relay layer protocol separately here again.
Figure 10 shows the block diagram according to the wireless terminal of the embodiment of the invention.As shown in figure 10, this wireless terminal comprises:
Data terminal module 1002, it comprises: initiate unit 22, be used to initiate the data service calls request; Transmission unit 24 utilizes link layer to connect the transmission of carrying out data service;
Mobile terminal module 1004, it comprises: receiving element 42 is used to receive the data service calls request; Judging unit 44 is used for whether the destination host that the judgment data service call request asked is home server; Setting up unit 46, is home server if be used for destination host, then sets up link layer between data terminal module and destination host and is connected; And transmission unit 48, be used to utilize link layer to connect the transmission of carrying out data service.
The Packet data service transmitting device of present embodiment has been set up PPP and has been connected between wireless terminal and destination host, so reduced the process step that the Packet data service between wireless terminal and the home server is handled, thereby improved the treatment effeciency of data call effectively.
Preferably, initiate unit 20 and also comprise: parameter set unit, be used for creating special parameter in the data service calls request, special parameter is used to represent whether destination host is home server.
Wherein, parameter set unit further comprises: first is provided with the unit, is home server if be used for destination host, and it is special parameter that special parameter then is set; Second is provided with the unit, is not home server if be used for destination host, and it is non-special parameter that special parameter then is set.
Preferably, initiate the unit and comprise: parameter set unit, be used for creating special parameter in the data service calls request, special parameter is used to represent whether destination host is home server.
Preferably, parameter set unit comprises: first is provided with the unit, is home server if be used for destination host, and it is first value that special parameter then is set; Second is provided with the unit, is not home server if be used for destination host, and it is second value that special parameter then is set.
Preferably, judging unit comprises: first judging unit, be used to judge that special parameter is first value, and determine that then destination host is a home server; Second judging unit is used to judge that special parameter is second value, determines that then destination host is not a home server.
Preferably, set up the unit and comprise: first module is used to make mobile terminal module and destination host to set up relay layer and is connected; Unit second is used to make mobile terminal module by relay layer data in connection passage link layer connection request message to be sent to destination host; And Unit the 3rd, be used to make destination host to reply response message to the data terminal module according to link layer connection request message, be connected thereby between data terminal module and destination host, directly set up link layer.
Figure 11 shows the block diagram of wireless terminal according to the preferred embodiment of the invention, the initiation unit 20 of Figure 10 corresponds to application interface unit, the Rm interface transmission unit of transmission unit 22 corresponding data terminal modules 1002, the Rm interface transmission unit of receiving element 42 corresponding mobile terminal module 1004, normal process can be walked the Um Interface transmission unit, set up in the link layer interface transmission unit that unit 46 and transmission unit 48 can be integrated into mobile terminal module, the bottom that transmission unit is positioned at module is the part of actual transmissions data, and judging unit and application interface unit are positioned at the upper strata of transmission unit.
In sum, adopt the present invention, reduced the process step that the Packet data service between wireless terminal and the home server is handled, so improved the treatment effeciency of data call effectively.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.