A kind of radio communication device and method for connecting network thereofTechnical field
The present invention relates to wireless communication technology field, more specifically, relate to a kind of radio communication setting and method for connecting network thereof.
Background technology
Radio communication device, after particularly data card is inserted into PC and powers on, at first look for the resident operation in net and sub-district, and by upgrading and CS territory (Circuit Switched Domain is obtained in routing update respectively the position, circuit domain) and PS territory (Packet Switched Domain, packet domain).The CS territory is used for speech business, the PS territory is used for Packet data service.
After successfully obtaining the PS territory, data card just can be by dialing, PDP (Packet Data Protocol between foundation and the network, packet data protocol) context and radio bearer, and by the core net distributing IP, set up a link between " PC-data card-wireless access network-core net SGSN (Serving GPRSSupport Node; Serving GPRS Support Node) and GGSN (Gateway GPRS Support Node; wireless network inserts the gateway of external network; the GPRS gateway node)-external network (remote server) ", be used for the passage of transmitting grouped data.After this passage was set up, the user just can upload activities such as download, browsing page.
Because the channel resource of each base station is limited, therefore for the Internet resources that utilize of bigizationner, guarantee needs the user who serves that service is provided to more, pass through Signalling exchange between network and the data card, give dynamic " distribution according to need " different channel of user of different demands, guarantee the network channel efficiency of resource.Therefore after networking successfully, data card might be in following channel status: CELL_DCH, CELL_FACH, CELL_PCH/URA_PCH.
Be in the data card under the CELL_DCH state, have dedicated channel, can carry out data upload and download at a high speed.Be in the data card under the CELL_FACH state, be in common signal channel, can't carry out high-speed data and upload and download, but insert dedicated channel at any time fast.Be in the data card under the CELL_PCH/URA_PCH state, be in paging channel, can not carry out uploading and downloading of any grouped data, can switch to the CELL_FACH state to data card by beep-page message.
According to agreement, enter the networking state after, data card can carry out a series of measurement, wherein just comprises flow measurement.According to different flow measurement results, may trigger two class incident: 4A and 4B[3].Described 4A incident refers to, if the flow that the user produces in a period of time is lower than specific threshold, and certain time.Described 4B incident is meant if user's flow becomes big and surpasses specific threshold, and certain time.Parameters such as the threshold values of Event triggered, duration depend on the network side setting, and data card can obtain by the measurement control messages that comes from network.
(1) if the flow that a period of time user produces is lower than specific threshold, and certain time, data card can be given network-reporting 4B incident, extended meeting issues the radio bearer reconfiguration request to data card behind the network, wherein carrying RRC (Radio Resource Control, Radio Resource control, down together) state indication CELL_FACH.Reshuffle finish after, data card enters the CELL_FACH state; [5] if data card keeps no flow status, network can also be further data card incision CELL_PCH/URA_PCH state (CELL_PCH/URA_PCH state not necessarily, different network equipment vendors has different configurations and selection).
(2) if becoming big, user's flow surpasses specific threshold, and certain time, data card can be given network-reporting 4A incident, and extended meeting issues the radio bearer reconfiguration request to data card behind the network, is wherein carrying RRC state indication CELL_DCH.Reshuffle finish after, data card enters the CELL_DCH state;
(3) after data card enters CELL_FACH state or CELL_PCH/URA_PCH state, if for a long time without any packet data activity, promptly be in " user is inactive " state, network can issue the RRC release command, discharge data card and be connected with RRC between the network, data card enters idle pulley.
By the handoff technique of above-mentioned three condition, dedicated channel is fully used; The needs that can make the user enjoy high-speed uploading/download are met; Can as much as possible save channel resource.This is current for the more abundant network/channel resource that effectively utilizes, the generally technology of Cai Yonging.
In the network configuration of reality, except above-mentioned three general technology, some operator is under the condition of existing access capability, and coming provides the network insertion service to user as much as possible, usually can carry out following setting:
The SGSN of core net can carry out charge on traffic to each user, simultaneously can carry out following setting: if find within a certain period of time, this user does not have the flow of packet data traffic amount fully, network will think that this user is in " user is inactive " state, at this moment core net can initiatively be initiated the dispose procedure of PDP, stop this user's networking, thereby discharge all wireless network resource (as shown in Figure 1) that this user occupies.
Network monitoring user's disabled state when the user is in this state during the long period, is initiated the PDP deexcitation by network, stops this user's networking.Virtual network operator adopts this way, and the chance of network insertion can be provided for more user really, improves utilization efficiency of network resources, but has following deficiency:
(1) setting of network side " network stops long-time inactive data card user networking " is not personalized, does not satisfy the needs that some data card user carries out special Packet data service activity.For example when the user carry out be the Packet data service of some particular types the time, though from the angle of network, this user has been in user's disabled state really, the user do not approve and lays oneself open to disabled state, and can be ended networking by network.For example: watch film when the user is online, under the 3G fast wireless network situation, a film of 2 hours may will cushion and finish in 1 hour, will be in user's disabled state in so remaining one hour, if the inactive maximum permission time of the user of network settings, this user's networking will be interrupted so in one hour.Work as the user this moment and finish watching film or need network to carry out other activity, oneself need will find dialing again.
(2) setting of network side " network stops long-time inactive data card user networking " has indifference, in some specific occasions, can bring some problems.For example in test of office side or user experience test, perhaps because autotelic, perhaps because unintentionally, after causing the data card networking, be in the disabled state that does not have the grouped data flow for a long time, if this moment, network had setting mentioned above, networking will be disconnected, and this brings bad impression for the consumer who participates in experience.This also often is used as fault by the data card user, feeds back to my department.
Be similar to these suspensions in above-mentioned the giving an example, all do not meet the data card user and require, be called " suspension that is not supposed to ".The most basic way that addresses this problem, it is exactly modification configuration at network side, the cancellation inactive monitoring of user or revise the maximum permission time, but owing to usually the provider of terminal equipment and the provider of the network equipment are not same, and because the modification of network equipment is needed technical professional and the network equipment suitable transparency to Virtual network operator, therefore, this settling mode relatively is difficult to realize technically.
Summary of the invention
The objective of the invention is to propose a kind of radio communication device and method for connecting network thereof.
For achieving the above object, the present invention proposes a kind of radio communication device method for connecting network, after described radio communication device is networked successfully, when user and network free of data exchange activity, described radio communication device enters common signal channel, and start small data flow simulation game regularly in described radio communication device plate side, make network think that described radio communication device is to have alternately with network, and can not disconnect the network connection of described radio communication device.
Further, described radio communication device keeps this common signal channel, and continue the small data flow simulation game of carrying out regularly and continue so always, network side can think always that described radio communication device is and network interaction, connects thereby can not disconnect network.
Further, timer calls the flow detection module, and the flow of described radio communication device is detected, and detects whether flow equals 0 in the described timer cycle; If equal 0, then data card is simulated PING; If be not equal to 0, then continue flow is detected.
Further, described data card simulation PING is meant, described radio communication device flow of packet data traffic amount is 0 in the timer cycle time if detect, then radio communication device plate side system begins to simulate automatically the PING bag, send to a reachable address, ask the PING of specific big or small byte to reply, show the activity of oneself to network.
Further, described reachable address is name server (DNS) address.
Further, what described PING packet procedures was realized is the low discharge data activity, and the flow that radio communication device produces in timer cycle is lower than specific threshold.
The present invention also proposes a kind of radio communication device, and it comprises user's configuration process module, Event triggered thresholding acquisition module, timer module, flow detection module and PING analog module; Wherein
User's configuration process module, at a data clamp side sign of operation and an effective duration, the user can be provided with by this module;
Event triggered thresholding acquisition module: the flow control higher limit that from measure control messages, parses corresponding network by this module;
Timer: be registered in the former main program of plate side, regularly call the flow detection module data card flow is detected.
Flow detection module: according to the output of user's configuration process module, call, data card flow in the timing period is added up by timer;
The PING analog module: take all factors into consideration the threshold value that Event triggered thresholding acquisition module obtains, simulation PING bag sends to a long-range reachable address.
Further, during registration timer, interval regularly allows to keep the time of " user is inactive " state to the user less than network.
Further, the plate side is obtained the value that the user is provided with by user's configuration process module, and writes the Nonvolatile memory of described radio communication device.
Further, described flow detection module is replied processing module according to the call by result PING analog module and the PING of flow detection, realizes the flow simulation activity.
Further, described radio communication device comprises that also PING replys processing module, asks the PING of distance host to reply to the PING analog module and handles.
In sum, compared with prior art, technical solution of the present invention is passed through at radio communication device plate side development function, and when the user did not have the actual packet data flow, radio communication device was initiatively simulated the low discharge grouped data, kept the activity of oneself.Like this, wireless communication terminal just can not enter triggering " network interrupts networking " incident " user is inactive " state, can guarantee the long-time networking of this radio communication device too; The setting of network just can not make the user " suspension that is not supposed to " problem occur, and effect is equal to has revised network configuration.By said method, data clamp side system can be monitored flow automatically, and in the period, carries out the data activity of low discharge at no flow automatically, shows the activity of oneself to network, thereby has avoided by the network suspension.
Description of drawings
Fig. 1 is that data card is stopped the networking schematic diagram because of user's disabled state by network in the prior art;
Fig. 2 prevents in the specific embodiment of the invention that data card from entering user's disabled state and by the realization principle schematic of suspension;
Fig. 3 is the software function module schematic diagram that specific embodiment of the invention data clamp side realizes the simulation of low discharge data activity;
Fig. 4 is the specific implementation process schematic diagram that specific embodiment of the invention data card realizes keeping user's activity.
Embodiment
For fear of because network settings cause the appearance of data card user " suspension that is not supposed to " problem, technical solution of the present invention has been proposed.
The technical solution of the present invention network side is provided with constant, and by at data clamp side development function, when the user did not have the actual packet data flow, data card was initiatively simulated the low discharge grouped data, kept the activity of oneself.Like this, data card just can not enter triggering " network interrupts networking " incident " user is inactive " state, can guarantee this data card user's long-time networking so too; The setting of network just can not make the user " suspension that is not supposed to " problem occur, and effect is equal to has revised network configuration.
Describe technical solution of the present invention in detail below in conjunction with the drawings and specific embodiments.
Radio communication device of the present invention is the example explanation with the data card in the following execution mode, and as shown in Figure 2, it prevents to enter user's disabled state by the realization principle of suspension for data card of the present invention.
As can be seen from Figure 2, after data card is networked successfully, during with network free of data exchange activity, data card enters common signal channel (CELL_FACH), and start small data flow simulation game regularly in data clamp side, at this moment, network can think that the user data card is movable, and network that can the turn-off data card connects, data card keeps this common signal channel (CELL_FACH), and continue the small data flow simulation game of carrying out regularly and continue so always, network side can think always that data card is movable.
As shown in Figure 3, the data card in this execution mode comprises following functional module: user's configuration process module, Event triggered thresholding acquisition module, timer module, flow detection module, PING analog module and PING reply processing module.
User's configuration process module: at a data clamp side sign of operation and an effective duration, the user can be provided with by this module; The plate side is obtained the value that the user is provided with by this module, and writes the Nonvolatile memory of data card.
Event triggered thresholding acquisition module: can not cause data card to switch to the CELL_DCH state in order to guarantee the digital simulation behavior, need the data traffic of control simulation game.Owing to different networks, the thresholding of measuring Event triggered in the control messages may be different simultaneously, therefore need parse the flow control higher limit (just triggering the flow higher limit of 4A incident) of corresponding network by this module from measure control messages.
Timer: be registered in the former main program of plate side, regularly call the flow detection module data card flow is detected.
Flow detection module: according to the output of user's configuration process module, call, data card flow in the timing period is added up by timer.Call by result PING analog module and PING according to flow detection reply processing module, realize the flow simulation activity.
The PING analog module: take all factors into consideration the threshold value that Event triggered thresholding acquisition module obtains, simulation PING bag, the PING of request distance host (server) replys.
PING replys processing module: replying of PING above handled.
During registration timer, need to guarantee that fixed time interval allows to keep the time of " user is inactive " state to the user less than network.Because this time data card can't obtain from system information, so we need be provided with a suitable value artificially, for example consider the efficient of data clamp side software operation, and people's habituation in the actual disposition of network, are set to 1 minute.Timer is registered in the data clamp side software main program.
As shown in Figure 4, be embodiment of the invention data card method for connecting network schematic flow sheet, said method comprising the steps of:
401: the run timing device;
402: judge whether the user is provided with;
If the user is provided with, enabled low discharge digital simulation movable function, changestep 403 so over to; If the user is not provided with, then rotate back intostep 401.
403: flow is detected;
Timer calls the flow detection module, and the data card flow is detected.
404: detect whether flow equals 0 in this timer cycle;
If equal 0, then changestep 405 over to; If be not equal to 0, then changestep 403 over to.
405: data card simulation PING;
User grouping data service flow is 0 in this section period if detect, then data clamp side system begins to simulate automatically the PING bag, send to certain reachable address, DNS (Directory NameService for example, name server) address, ask the PING of specific big or small byte to reply, show the activity of oneself to network.In order to guarantee that the process of dedicated channel state CELL_DCH does not appear switching in data card, what need the realization of assurance PING packet procedures is the low discharge data activity, within the scope that incident 4A allows simultaneously.
406: monitoring PING bag is replied;
Next the plate side system is monitored the downlink grouped data business data packet that comes from network.
407: judge whether to receive that PING bag replys;
Reply if received the correspondence of PING bag, then changestep 408 over to; If do not receive then changestep 405 over to, continue simulation PING bag, till receiving response packet.
408: abandon response packet;
Reply if received the correspondence of PING bag, then hold back this response packet, abandon, finish this PING bag simulation process;
409: stop to simulate PING;
410: judge whether flow is 0 always in effective duration;
If several times detect continuously, user grouping data service flow is 0 always, changes step 410 over to, if flow is not 0, then goes back to step 403, continues flow is detected.
411: the plate side stops to simulate PING.
The plate side stops to simulate the low discharge data, allows network that data are sticked into capable suspension; Detect number of times and depend on effective duration that the user is provided with; Effectively duration allows to be set to not have limit.
By said method, data clamp side system can be monitored flow automatically, and in the period, carries out the data activity of low discharge at no flow automatically, shows the activity of oneself to network, thereby has avoided by the network suspension.
The objective of the invention is to use needs in order to satisfy office side or user, perhaps the test of data card manufacturer needs, and prevents data card because long-time linked network is in user's disabled state, and is stopped networking by network and proposition.
Certainly; the present invention also can have numerous embodiments; in the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making various corresponding changes or variation according to the present invention; in every case any modification of being done within the spirit and principles in the present invention, be equal to replacements, improvement, all should be included within protection scope of the present invention.