CN1558637A - A method for improving end-to-end QoS of mobile application system - Google Patents

A method for improving end-to-end QoS of mobile application system Download PDF

Info

Publication number
CN1558637A
CN1558637A CNA2004100152250A CN200410015225A CN1558637A CN 1558637 A CN1558637 A CN 1558637A CN A2004100152250 A CNA2004100152250 A CN A2004100152250A CN 200410015225 A CN200410015225 A CN 200410015225A CN 1558637 A CN1558637 A CN 1558637A
Authority
CN
China
Prior art keywords
module
communication
data
control
control module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2004100152250A
Other languages
Chinese (zh)
Inventor
巍 胡
胡巍
吴少凡
邵长军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN SIJIE TECHNOLOGIES Co Ltd
Original Assignee
SHENZHEN SIJIE TECHNOLOGIES Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN SIJIE TECHNOLOGIES Co Ltd filed Critical SHENZHEN SIJIE TECHNOLOGIES Co Ltd
Priority to CNA2004100152250A priority Critical patent/CN1558637A/en
Publication of CN1558637A publication Critical patent/CN1558637A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for increasing end-to-end QoS in mobile application system wherein a mobile terminal / server system is employed, an administration layer for monitoring and controlling the communication quality of the system is established between the system application layer and TCP layer, the administration layer includes a driving interface, a communication information library, a finite status machine, a control strategy module and an management control module.

Description

A kind of method that improves the mobile application system end-to-end QoS
Technical field
The present invention relates to communication technical field, relate in particular in the wide area mobile communication system, satisfy application layer, improve a kind of method of system's end-to-end quality of service (QoS) the end-to-end QoS demand.
Background technology
Along with the develop rapidly of mobile communication technology, moving communicating field, by original based on voice communication, progressively turn to data communication and multimedia communication.The wireless access environment of wide area mobile communication system is very complicated, and radio spectrum resources is limited, and the signal to noise ratio of Radio Link is than 1 to 2 order of magnitude of wire link poor signal to noise, easier being interfered in addition.
Present wide area mobile communication system provides high download bandwidth, and the low non-symmetrical service pattern of uploading bandwidth is provided as the data link that download service is optimized, to restricted bigger based on the service application of uploading.From the protocol layer architecture of communication system, the highest of wide area mobile operator is implemented to the IP layer of communications protocol layers, and the TCP layer that end-end is used is realized by portable terminal of using and server.And wide area mobile operator wouldn't provide priority service to the wireless access links section, therefore, can not distribute different priority level and bandwidth according to the situation of user's business; Postpone greatly, shake big (otherness of delay is big), packet loss height, limited bandwidth, control complexity are the characteristics of present wide area mobile data communication.
And in existing technical scheme, first does not realize the monitoring and the control of comprehensive communication process.The monitoring of communication process is just considered from each layer of communication, shortage is for the communications status and the unified measurement and the evaluation of communication quality of application, monitoring great majority to messaging parameter and communications status are realized at physical layer, link layer and IP layer, and the TCP layer is also just monitored the state that TCP connects (SocketConnection); The control of communication process also is independently to realize at each layer, not the control strategy of comprehensively considering from the availability angle of application layer.The independent operation of this each layer of communication makes bottom for high-rise, is the black box that can not control fully.Therefore, the prior art scheme only can differentiate that the link layer that the low physical layer that causes of physical signalling intensity is interrupted, PPP connects opening and closed condition cause interrupts, TCP is connected the TCP whether active state causes and interrupts.Control measure also only are the heavily connection and overtime heavy that goes offline, and be each layer independent operation, lack global planning and cooperation, because control measure lack specific aim, therefore can duplicate operation and oscillatory occurences, increase break period, reduced communication quality, can not fundamentally solve the problem of application availability.
The second, existing technical scheme is not considered the validity of communication from application point of view, just wait the validity of the communication of judgement from the accessibility of signal strength signal intensity, state that PPP connects, IP layer, state that TCP connects, not from application judge the connection of communication and state whether real effectively.Both lacked the judgement of invalid and inefficient state and the index and the relative measures of measurement, the method for thoroughly evaluating communication quality was not provided yet.For example, TCP virtual connections phenomenon and TCP performance degradation phenomenon for frequent appearance in the mobile communication application: TCP virtual connections phenomenon is meant in the mobile communication normal course of communications, reason owing to the switching that base station/base station controller takes place, the cooperation of software and hardware module or other bottom, cause that wireless signal strength is normal, link layer is normal, the IP layer is normal, the TCP connection status is normal, and actual at the TCP layer not or the phenomenon of considerably less application-layer data transmission; TCP performance degradation phenomenon refers to then that in mobile communication process along with the TCP growth of connection setup time, the parameter of each layer of communicating by letter is normal, but the efficiency of throughput of TCP layer can reduce, even can be able to not satisfy the phenomenon of the Minimum requirements of application.Existing technical scheme is in the face of these two kinds of phenomenons, because the TCP connection status is normal, IP layer, the link layer of communication bottom is normal, signal strength signal intensity is normal, so system can not take measures but maintain the statusquo, and causes discerning and eliminating invalid and state poor efficiency.And in fact, at the TCP layer not or considerably less application-layer data transmission is only arranged, for application layer, this is that a TCP invalid or poor efficiency connects, and can not ensure the QoS of communication quality.
The 3rd, because in the wireless communications environment part, the geographical environment of various places, city layout, the building form, base station distribution, customer group distributes, user mobility distributes, applied business distribution etc. all has very big influence to communication quality in time-domain and spatial domain, for example, in certain place or certain time period in some zone, there are frequent switching or disruption, the communications of Mobile Terminals effect there is very large influence, the influence of factors such as position and time can not be discerned and adapt to existing technical scheme, and there are not the historical experience data as a reference, can only by frequent dialing and heavily connection attempt to solve, reduced the validity and the availability of communication.And aspect equipment, producer's equipment difference that various places operator adopts, according to the optimization difference that local condition carries out, messaging parameter is the variation of life period territory and spatial domain also, existing technical scheme is not considered the influence of above factor to communication quality on communication efficiency and control aspect.Realize QoS mechanism, demand side is to the influence of these factors.
Summary of the invention
Technical problem to be solved by this invention is: overcome prior art each layer independent operation of communicating by letter, do not realize the shortcoming of the monitoring and the control of comprehensive communication process, the application layer and the TCP interlayer of system increase management level separately at portable terminal and server, realization is to each layer of communication comprehensive monitoring in the communication process, implement the function of control strategy, set up a kind of intellectuality, manageable QoS controlling mechanism, satisfy the demand of application layer end-to-end QoS.
Another object of the present invention is to provide a kind of method and quantizating index of evaluation system communication quality, the invalid and inefficient state of define system.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
A kind of method that improves the mobile application system end-to-end QoS, it is used for portable terminal/server system, set up a monitoring and control the management level of this system communication quality between the application layer of described system and TCP layer, described management level comprise: one is used to connect the driving interface of communication module and described management level; One is used to describe and write down the finite state machine of described system communication process dynamic change; One is used for the communication information storehouse of the dynamic real-time updated stored communication information; One provides the control strategy module of control strategy, and communication is connected with finite state machine with described communication information storehouse; One is used to manage and coordinate the control module of above-mentioned each functional module of described management level, is connected with each functional module communication; Said method comprising the steps of:
A, collect the messaging parameter and the communications status of each communication layers under the described management level by the described driving interface cycle, deposit the parameter information that obtains in described communication information storehouse, the change of communications status feeds back to described control module;
B, described management level control module respond the change of described system communication state, are foundation with the described communication information storehouse current state of current information, finite state machine, quote predefined control strategy;
C, implement corresponding control strategy by described management level control module.
Described method, wherein: described steps A is simultaneously further comprising the steps of: with the built-in communication quality appraisal tool of described control module, cycle is estimated the communication quality of described system, and result deposits described communication information storehouse in, and the change of communications status feeds back to described control module.
Described method, wherein: described steps A is simultaneously further comprising the steps of: described control module responding communication Event triggered, deposit parameter information in described communication information storehouse, the change of communications status feeds back to described control module.
Described method, wherein: described management level also comprise a communication quality grade storehouse, the communication quality grade that described management level control module is inquired about current communication environment by described communication quality grade storehouse, and quote the additional foundation of control strategy as described step B.
Described method, wherein: described communication quality grade storehouse is used to assess the actual communication quality grade of network, described communication quality grade is divided into and sends grade and receive grade, and described communication quality storehouse is with position or time and the position search index as the communication quality grade.
Described method, wherein: described management level also comprise a special-purpose AP data channel module, described AP data channel module has buffering and flow FEEDBACK CONTROL, by the management level control module data transmission quality between described application layer and the described TCP layer is managed.
Described method, wherein: described AP data channel is provided with the two-stage buffering, first order buffering is arranged in the Installed System Memory, as sending and receive buffering area, second level buffering is arranged on system low speed memory block, overflows the processing buffering area as transmission and reception, described first buffering area is provided with the control threshold value, when the data capacity of described data channel first buffering area surpasses the control threshold value, trigger the flow FEEDBACK CONTROL, reduce the transmission and the traffic rate of application data.
Described method, wherein: described management level control module comprises: an event processing module, one parameter/status poll module, one connectedness/usability evaluation module, a parameter control module, a strategic control module, a status control module and be connected and call and coordinate the scheduler module of above-mentioned each functional module with above-mentioned module communication.
Described method, wherein: the described step of described step B comprises:
B1, described scheduler module respond the change from the working state of system of event processing module or parameter/status poll module or connectedness/usability evaluation module report;
B2, described scheduler module are called described strategic control module, inquire about the information in described communication information storehouse, finite state machine, communication quality grade storehouse, and will inquire about the information that obtains and offer the control strategy module;
B3, described control strategy module are initial conditions with the information that described inquiry obtains, and the rule base/method in the control strategy module is concentrated and searched relative strategy and feed back to described strategic control module.
Described method, wherein: the described enforcement control strategy of described step C comprises the following measure of adopting: with the flow feedback of described strategic control module ACTIVE CONTROL AP data channel; Perhaps call described status control module, make finite state machine realize the transfer of operating state by the predefine rule; Perhaps call described parameter control module and implement control strategy at ICP/IP protocol stack and communication module, or adopt as above measure simultaneously by described driving interface; Perhaps do not take any action.
Described method, wherein: described communication quality appraisal tool comprises: to the evaluation of IP layer connectivity and availability, to the evaluation of TCP layer connectivity and availability and the evaluation of AP aspect availability.
Described method, wherein: described evaluation method to IP layer connectivity and availability is: described scheduler module is called connectedness/usability evaluation module, by described driving interface, utilize PING mechanism and ICMP agreement, source and destination end in described system, by designated packet length and specified quantity, the connectedness of test lead-end, analyze delay, shake, packet loss, simultaneously in set period, statistics IP layer sends and receives information such as number of packet, type, distribution situation, data traffic, estimates the availability of IP layer;
Described evaluation method to TCP layer connectivity and availability is: described scheduler module is called connectedness/usability evaluation module, by described driving interface, the SYN packets of information of statistics and analysis TCP layer, the intercommunication of heartbeat messages such as Alive packets of information, the connectedness that test tcp connects, simultaneously in set period, statistics TCP layer sends and receives information such as the quantity, type, distribution situation, data traffic of bag, estimates the availability of TCP layer;
Described evaluation method to AP aspect availability is: described scheduler module is called connectedness/usability evaluation module, in set period, the situation that buffer data sends and receives in the statistics AP data channel, overflow the situation of processing, calculate the valid data throughput of AP layer, estimate the availability of AP aspect.
Beneficial effect of the present invention is:
A kind of method of the present invention, owing between application layer and TCP layer, increased management level, scheduling, driving interface by the management level control module called, the dynamic memory of connectedness and availability tool analysis, state parameter collection and finite state machine, realized communication overall process, the comprehensive monitoring of each communication layers parameter and state; By management level control module inquiry control strategy, select optimum treatment measures, take appropriate measures at each layer of communication and realize responding rapidly and accurately by calling driving interface, improved communication quality; Because this method has proposed to weigh the notion of availability of communication and the index of quantification communication quality from application, and provide implementation method, therefore, by connective and usability analyses tools assessment, can judge the validity of current communications status, identification poor efficiency and invalid communicating to connect, and then by the control strategy inquiry take at measure eliminate invalid and inefficient state, recover effectively to communicate to connect, realize higher communication quality and availability.Because this method has been quoted the notion in the communication quality grade storehouse of reflection communication locations and the historical experience data of time, can understand the frequency of the efficient communication speed in this place in the past and interrupt probability, interrupt type, and the communication quality grade is quoted the important factor in order of decision-making as control strategy, according to control strategy, judge processing optimum under present case, the complexity and the actual change that better adapt to applied environment guarantee more effectively communication quality.
Therefore, method of the present invention is set up a kind of intellectuality, manageable QoS controlling mechanism at portable terminal/server system, satisfies the demand of application layer to end-to-end QoS.
Description of drawings
Fig. 1 is the protocol layer architecture figure that has increased management level
Fig. 2 is the management level structural representation
Fig. 3 is that driving interface structure and function realize figure
Fig. 4 is the state transition diagram of the finite state machine of typical case's application
Fig. 5 is a control strategy modular structure schematic diagram
Fig. 6 is an AP data channel work schematic diagram
Fig. 7 is a management level control module structure chart
Fig. 8 is the inventive method flow chart
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
Because the complexity of radio communication, the traditional communication model that is suitable under cable environment can not adapt to the demand of radio communication, the real time business of especially interactive (Session).For this reason, for improving system's end-to-end quality of service (QoS), the present invention is improved the traditional communication model, increasing management level that communicate quality-monitoring and control specially simultaneously between the application layer of mobile terminal system and the TCP layer and between the application layer of server system and the TCP layer, referring to Fig. 1, Fig. 2, realize the new traffic model that has QoS to guarantee.
Management level are made up of following module:
● driving interface, referring to Fig. 3: driving interface is the interface that communicates to connect between management level and each communication layers, management level are monitored inquiry and obtaining communication information in real time by driving interface, and implement control strategy by driving interface.Driving interface is made up of the function library of data-interface and realization data-interface function: data-interface comprises inquiry class data-interface and control class data-interface, inquiry class data-interface is realized the collection of each communication layers state parameter information and unitizing of data format, comprises parameter query interface, status poll interface and event report interface; Control class data-interface is realized the enforcement of parameter setting, control strategy, comprises parameter control interface, State Control interface and function control interface.Data-interface is the power function storehouse of realizing in management level, is the api interface that other functional module of management level is called.
The data-interface function library is the software program of specific implementation data-interface function.The AT command set, expansion AT instruction set, the specific instruction/interface of product that provide according to wireless communication module, interface such as the API that the ICP/IP protocol stack provides, configuration file, specific function, specific API and call API and Elementary Function as programming, through logical combination, mapping, realize the function of data-interface.As parameter and status poll, handle through software control, call Elementary Functions such as API and AT command set and realize inquiry in each communication layers, after the result is handled, return by predefined form by data-interface.
Because the supplier of the communication module (physical layer and data link layer) that portable terminal uses is different, interface mode is also different; The version of protocol stack (IP layer and TCP layer) is different, the api interface mode is also different, driving interface can provide unified data-interface for management level, shielding hardware module and ICP/IP protocol stack, pass through driving interface, provide an adaptable interface to management level control module and other functional module, eliminate the otherness of bottom, realize the consistency of the stable and management of version.
● communication information storehouse: communication information storehouse is a data storage organization, and storage format comprises data structures such as array, record, structure, set; Be used for store communications parameters, state parameter, statistical information, logout and other relevant customizing messages.Communication information storehouse is safeguarded by the management level control module, dynamically updates the communication information in real time, and the information in communication information storehouse participates in the decision process that control strategy is quoted as one of important evidence of quoting control strategy.The renewal in communication information storehouse has 2 kinds of methods: active inquiry is upgraded, event report upgrades.Wherein active inquiry adopts multithreading and timer technology, regularly by the inquiry class data-interface of driving interface, inquires about information such as current messaging parameter and state parameter by the management level control module, and new data more; Event report upgrades the event report that produces and trigger by in the communication process, handles by the event report interface of driving interface, parses parameter, state information, and current latest data is upgraded communication information storehouse.
● finite state machine, referring to Fig. 4: finite state machine is to describe and the software of record communication process dynamic change, by specific data structure with realize that the power function of state variation forms.The variable condition of finite state machine is predefined, the state transition diagram of the finite state machine that typical case for example shown in Figure 4 uses, finite state machine is according to setting dissimilar interrupt statuss in the normal course of communications that do not coexist of communication quality: 1 state that interrupts keeps connecting for the TCP layer, but AP data throughout degradation is lower than threshold values; 2 states that interrupt are torn chain open for the TCP layer connects, but IP can lead to by PING; 3 states that interrupt are that IP can not lead to by PING, but PPP connects maintenance; Interrupt 4:PPP and connect interruption, and signal quality is lower than threshold values.Finite state machine is safeguarded by the management level control module, the information of management level control module by collecting, the information in the state parameter table, the information of event report, the information in communication quality grade storehouse etc., after quoting control strategy, safeguard finite state machine, the finite state machine state is changed by the predefine rule.The equipment difference that mobile operator adopts in various places, the state of a control of the communication bottom of realization is also slightly variant; Different mobile operator and different communication networks, the Control on Communication state difference of realization, therefore, finite state machine has the otherness of region and network.
● communication quality grade storehouse: communication quality grade storehouse is in order to consider communication environment to the influence of communication quality and the notion of introducing.The communication quality storehouse is to set up like this, with position or position and time be Major key, by field survey and processing, the data of record mobile terminal side or server side transmission, received communication credit rating and data throughout, current location outage probability and interrupt type distribution probability, and handle throughput data with statistical method according to the data that actual measurement repeatedly obtains, obtain average and variance, determine communication quality grade, outage probability, interrupt type and the frequency with this, with its typing communication quality rating database as a result.The communication quality grade is to weigh the quantizating index that satisfies the application communication demand, is divided into sending grade and receiving grade.
Communication quality grade storehouse is used to assess the communication quality of the current practical communication environment of network, in communication process, the management level control module can be utilized position, position and the time communication quality grade as the current communication environment of search index, as the input source of control strategy decision-making,, management level provide foundation and support for adopting the measure of reliable communication.Because the network optimization, network upgrade, customer group variation, mobile data services variation etc. all can exert an influence to the communication quality grade, so communication quality grade storehouse needs dynamically to keep upgrading the availability of reflection practical application.
● control strategy, referring to Fig. 5: the control strategy module is according to the messaging parameter of current communications status (finite state machine), each communication layers (communication information storehouse), and, be provided under the present situation to satisfying strategy and the method that communication quality uses in conjunction with residing communication environment (communication quality grade storehouse).The control strategy module is made up of data query interface, policy engine, rule base/method collection.Rule base/method collection is a knowledge base, is storing the control measure of organizing in advance, and these measures are the problem that runs in the practical application and the summary of solution, and rule base/method collection is to be that main condition is organized with the state in the finite state machine.Policy engine is then called by the management level control module, concentrates search strategy and method according to the condition of input in rule base/method, and the result that will mate (relative strategy) returns to the realization of management level control module.Policy engine is that the result of state, the messaging parameter in the communication information storehouse, communication quality grade, connectedness and efficiency evaluation instrument with finite state machine is that condition is come query strategy.According to the variation of communication network, applied environment, the renewal of knowledge, the upgrading of software, control strategy need keep dynamic renewal.
● the AP data channel, referring to Fig. 6: the AP data channel is the data pipe with buffering and flow FEEDBACK CONTROL, be used for finishing the application layer data exchange, by management control module monitoring AP data channel data transmission quality, form quantizating index simultaneously AP aspect availability.
To interactive (Session) real time business data communication to upload, especially in the transmission course of the information data of key business, can not obliterated data be an important quality index of system transmissions, for the situation that Bandwidth Dynamic changes greatly, link reliability is low that adapts to Radio Link, remedy throughput rate and the generation of application data source and the otherness of arrival rate of wireless communication link, level 2 buffering and flow FEEDBACK CONTROL are set.
Buffering: first order buffering is to send and the reception buffering area, realizes in internal memory.Send the capacity configuration of buffering area, will produce the transmission throughput of speed, Radio Link according to the data of using, factors such as the availability of Radio Link consider that suggestion is pressed the data average generation amount of using in 10 minutes and is provided with, when the first-level buffer district reaches 90% threshold value, start and overflow processing.Second level buffering is that the processing buffering area is overflowed in transmission and reception, in the low speed memory block, as realizations such as FLASH, CF cards.Send buffering area and will produce speed, consider under worst case, configuration capacity under the prerequisite that the assurance user data is not lost according to application data.
The flow FEEDBACK CONTROL: the first-level buffer district is provided with control threshold value (suggestion 70%), when the data capacity in first-level buffer district surpasses threshold value, triggers FEEDBACK CONTROL.Mobile terminal side sends the feedback of buffering area and carries out the flow negotiation by the application layer of data-interface and portable terminal; The feedback of reception buffering area and opposite end data channel software or application layer are carried out flow and are consulted.Server side sends the feedback of buffering area and carries out the flow negotiation by the application layer of data-interface and server; The feedback of reception buffering area and opposite end data channel software or application layer are carried out flow and are consulted.
Also can be used as a kind of means that control strategy adopts of implementing except above-mentioned by the passive triggering flow of the control threshold value FEEDBACK CONTROL, by the flow feedback of management level control module ACTIVE CONTROL AP data channel.
● the management level control module, referring to Fig. 7: the management level control module is the nucleus module of management level, this module management with coordinate above-mentioned each functional module and also control the realization of every function and the scheduling of task; Communication connectivity and usability evaluation instrument also are provided.The management level control module comprises following submodule: the event processing module, parameter/status poll module, the connectedness/usability evaluation module that communicate to connect with driving interface; The status control module that is used for controlling, parameter control module, strategic control module; And the scheduler module of dispatching each submodule.Every function of management level control module is embodied in the detailed description of following the inventive method step.
The present invention is in order to weigh index---connectedness and the availability that availability of communication has proposed to quantize communication quality from application, be used for the invalid and inefficient state of define system, and the implementation method of estimating connective and availability is provided, the management level control module provides communication connectivity and usability evaluation instrument.Evaluation method to communicate by letter each layer connectivity and availability is as follows:
Evaluation method to IP layer connectivity and availability is: described scheduler module is called connectedness/usability evaluation module, by described driving interface, utilize PING mechanism and ICMP agreement, source and destination end in described system, by designated packet length and specified quantity, the connectedness of test lead-end, analyze delay, shake, packet loss, in set period, statistics IP layer sends and receives information such as number of packet, type, distribution situation, data traffic, estimates the availability of IP layer simultaneously.
Described evaluation method to TCP layer connectivity and availability is: described scheduler module is called connectedness/usability evaluation module, by described driving interface, the SYN packets of information of statistics and analysis TCP layer, the intercommunication of heartbeat messages such as Alive packets of information, the connectedness that test tcp connects, simultaneously in set period, statistics TCP layer sends and receives information such as the quantity, type, distribution situation, data traffic of bag, estimates the availability of TCP layer.
Described evaluation method to AP aspect availability is: described scheduler module is called connectedness/usability evaluation module, in set period, the situation that buffer data sends and receives in the statistics AP data channel, overflow the situation of processing, calculate the valid data throughput of AP layer, estimate the availability of AP aspect.The measuring method of data throughout has 2 kinds:
Portable terminal measuring and calculating: be connected under effective situation with the Socket of server, sending data throughout and do not put under the sky situation, fixedly the average data transmission rate in the duration to send buffering area.Receive data throughout and be the average received speed that receives continuously under the data cases in the fixing duration.
Server end measuring and calculating: be connected under effective situation with the Socket of portable terminal, sending data throughout and do not put under the sky situation, fixedly the average data transmission rate in the duration to send buffering area.Receive data throughout and be the average received speed that receives continuously under the data cases in the fixing duration.
Concrete steps below in conjunction with Fig. 7 and Fig. 8 process in detail:
1a, communication beginning, scheduler module is periodically called (according to the application demand adjustment cycle time, advised 30 seconds) parameter/status poll module, inquiry class data-interface by driving interface, the state and the parameter of each layer of query communication (from physical layer to the TCP layer) also obtains current communications status and parameter, if communications status and parameter change, then deposits parameter current information in communication information storehouse, the change of communications status feeds back to scheduler module, and does the LOG record;
1b, be with step 1a carries out simultaneously side by side, the communication beginning, the scheduler module cycle calls (according to the application demand adjustment cycle time, advised 30 seconds) connectedness/usability evaluation module, by IP layer TCP layer information processing that driving interface is obtained and the AP layer information processing that the AP data channel is obtained, obtain the effective mass of current communication, deposit result in communication information storehouse, the change of communications status feeds back to scheduler module, and does the LOG record;
1c, when the accident that makes state changes takes place, event processing module is accepted the triggering of communication event and is handled, and deposits parameter current information in communication information storehouse, the change of communications status feeds back to scheduler module, and does the LOG record;
2, described scheduler module responds the change of the working state of system of autoregressive parameter/status poll module or connectedness/usability evaluation module or event processing module report, the regulative strategy control module goes to inquire about the information in described communication information storehouse, finite state machine, communication quality grade storehouse, and will inquire about the information that obtains and offer the control strategy module;
3, strategic control module regulative strategy engine, policy engine is that initial conditions goes rule base/method collection to search relative strategy and method with the information that described inquiry obtains, and feeds back to described strategic control module;
4, strategic control module calls status control module, the parameter control module is implemented corresponding control strategy.
The said enforcement control strategy of step 4 comprises the following measure of adopting: directly the flow with described strategic control module ACTIVE CONTROL AP data channel feeds back; Perhaps call described status control module, make finite state machine realize the transfer of operating state by the predefine rule; Perhaps call described driving interface and realize control (implementing control strategy or parameter setting) at ICP/IP protocol stack and communication module by described parameter control module.Above-mentioned measure can be independent enforcement, also can be that combination is implemented mutually, or adopt as above measure simultaneously; Perhaps do not take any action.
Illustrate the effect of the inventive method below.After having adopted the inventive method:
● can in time find invalid and inefficient state: referring to Fig. 4, in the communication beginning, through initialization and dial-up connection, after the proper communication, finite state machine be transferred to communications status.The connectedness of management level control module/availability module is understood the IP that calls in cycle (according to the application demand adjustment), TCP, connective and the availability instrument real time monitoring IP layer of AP, the efficient of the connected sum data throughout of TCP layer and application layer, when data throughout is lower than threshold value (determining according to application demand), or when continuously being lower than threshold value in a period of time, trigger the communication disruption incident, feed back to the scheduler module of management level control module, scheduler module is transferred to 1 state of interruption by status control module with finite state machine, and (TCP connects maintenance, the AP throughput-degrade is lower than threshold value).
● can eliminate invalid and inefficient state: the scheduler module responsive feedback of management level control module, start strategic control module, the information in strategic control module collection communication information bank, finite state machine, communication quality grade storehouse, the inquiry control strategy:
In time, restorability is not taken measures at overtime (determining according to application demand) if 1. interrupt 1 state, and status control module is transferred to communications status with finite state machine.
2. if after overtime, by query communication credit rating storehouse, understand the communication quality information of current location and time history, judgement is accidental phenomenon, or the reason of communication quality difference.
3. if data throughout is higher than controlling value (communication quality grade storehouse throughput 80%), be judged to be the reason of communication quality difference, the zero clearing of time-out count device, finite state machine maintains 1 state of interruption, does not take measures.Processing got back to for the 1st step.Avoid unnecessary chain rupture heavily to join.
4. if data throughout is lower than controlling value (communication quality grade storehouse throughput 80%), be judged to be accidental phenomenon, status control module is transferred to the chain state of tearing open with finite state machine, the parameter control module redials by the control class interface chain rupture of calling driving interface, after redialing successfully, call finite state machine and transfer to communications status.
By timely discovery poor efficiency and invalid state, comprehensively judge communications status, be connected with invalid avoiding eliminating poor efficiency under the unnecessary action situation, recover effective connection status, guarantee the QoS of communication quality.
● make system possess adaptivity.
The validity of communication quality grade storehouse reflection actual application environment, and according to the in time dynamic adjustment of the variation of reality.Control strategy is preserved the optimized treatment measures to dissimilar incidents and interruption, and dynamically keeps upgrading.
For example, in certain place or certain time period in some zone, there are frequent switching or disruption, the communications of Mobile Terminals effect there is very large influence, the influence of factors such as position and time can not be discerned and adapt to existing technical scheme, and do not have the historical experience data as a reference, can only by frequent dialing and heavily connection attempt to solve, reduced the validity and the availability of communication.
The present invention is by using communication quality grade storehouse, record is because of the availability of communications and the validity of position and time variation, can predict the place of frequent switching or interruption, and know the frequency of the efficient communication speed in this place in the past and interrupt probability, interrupt type, under the control of management level control module, utilize the flow feedback mechanism of AP data channel, can suitably reduce the transmission and the receiving velocity of application; Simultaneously, clear and definite messaging parameter and the communications status of knowing current each from the physical layer to the application layer layer according to control strategy, judged processing optimum under present case, avoids wait timeout blindly, tears that chain redials, oscillatory occurences such as retry repeatedly open.The complexity and the actual change that better adapt to applied environment guarantee more effectively communication quality.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.

Claims (13)

1, a kind of method that improves the mobile application system end-to-end QoS, it is used for portable terminal/server system, set up a monitoring and control the management level of this system communication quality between the application layer of described system and TCP layer, described management level comprise: one is used to connect the driving interface of communication module and described management level; One is used to describe and write down the finite state machine of described system communication process dynamic change; One is used for the communication information storehouse of the dynamic real-time updated stored communication information; One provides the control strategy module of control strategy, and communication is connected with finite state machine with described communication information storehouse; One is used to manage and coordinate the control module of above-mentioned each functional module of described management level, is connected with each functional module communication; Said method comprising the steps of:
A, collect the messaging parameter and the communications status of each communication layers under the described management level by the described driving interface cycle, deposit the parameter information that obtains in described communication information storehouse, the change of communications status feeds back to described control module;
B, described management level control module respond the change of described system communication state, are foundation with the described communication information storehouse current state of current information, finite state machine, quote predefined control strategy;
C, implement corresponding control strategy by described management level control module.
2, method according to claim 1, it is characterized in that: described steps A is simultaneously further comprising the steps of: with the built-in communication quality appraisal tool of described control module, cycle is estimated the communication quality of described system, result deposits described communication information storehouse in, and the change of communications status feeds back to described control module.
3, method according to claim 2, it is characterized in that: described steps A is simultaneously further comprising the steps of: described control module responding communication Event triggered, deposit parameter information in described communication information storehouse, the change of communications status feeds back to described control module.
4, method according to claim 3, it is characterized in that: described management level also comprise a communication quality grade storehouse, the communication quality grade that described management level control module is inquired about current communication environment by described communication quality grade storehouse, and quote the additional foundation of control strategy as described step B.
5, method according to claim 4, it is characterized in that: described communication quality grade storehouse is used to assess the actual communication quality grade of network, described communication quality grade is divided into and sends grade and receive grade, and described communication quality storehouse is with position or time and the position search index as the communication quality grade.
6, method according to claim 4, it is characterized in that: described management level also comprise a special-purpose AP data channel module, described AP data channel module has buffering and flow FEEDBACK CONTROL, by the management level control module data transmission quality between described application layer and the described TCP layer is managed.
7, method according to claim 6, it is characterized in that: described AP data channel is provided with the two-stage buffering, first order buffering is arranged in the Installed System Memory, as sending and receive buffering area, second level buffering is arranged on system low speed memory block, overflows the processing buffering area as transmission and reception, described first buffering area is provided with the control threshold value, when the data capacity of described data channel first buffering area surpasses the control threshold value, trigger the flow FEEDBACK CONTROL, reduce the transmission and the traffic rate of application data.
8, method according to claim 6, it is characterized in that: described management level control module comprises: an event processing module, one parameter/status poll module, one connectedness/usability evaluation module, a parameter control module, a strategic control module, a status control module and be connected and call and coordinate the scheduler module of above-mentioned each functional module with above-mentioned module communication.
9, method according to claim 8 is characterized in that: the described step of described step B comprises:
B1, described scheduler module respond the change from the working state of system of event processing module or parameter/status poll module or connectedness/usability evaluation module report;
B2, described scheduler module are called described strategic control module, inquire about the information in described communication information storehouse, finite state machine, communication quality grade storehouse, and will inquire about the information that obtains and offer the control strategy module;
B3, described control strategy module are initial conditions with the information that described inquiry obtains, and the rule base/method in the control strategy module is concentrated and searched relative strategy and feed back to described strategic control module.
10, method according to claim 8 is characterized in that: the described enforcement control strategy of described step C comprises the following measure of adopting: with the flow feedback of described strategic control module ACTIVE CONTROL AP data channel; Perhaps call described status control module, make finite state machine realize the transfer of operating state by the predefine rule; Perhaps call described parameter control module and implement control strategy at ICP/IP protocol stack and communication module by described driving interface; Or adopt as above measure simultaneously; Perhaps do not take any action.
11, method according to claim 8 is characterized in that: described communication quality appraisal tool comprises: to the evaluation of IP layer connectivity and availability, to the evaluation of TCP layer connectivity and availability and the evaluation of AP aspect availability.
12, method according to claim 11, it is characterized in that: described evaluation method to IP layer connectivity and availability is: described scheduler module is called connectedness/usability evaluation module, by described driving interface, utilize PING mechanism and ICMP agreement, source and destination end in described system, by designated packet length and specified quantity, the connectedness of test lead-end, analyze delay, shake, packet loss, simultaneously in set period, statistics IP layer sends and receives information such as number of packet, type, distribution situation, data traffic, estimates the availability of IP layer;
Described evaluation method to TCP layer connectivity and availability is: described scheduler module is called connectedness/usability evaluation module, by described driving interface, the SYN packets of information of statistics and analysis TCP layer, the intercommunication of heartbeat messages such as Alive packets of information, the connectedness that test tcp connects, simultaneously in set period, statistics TCP layer sends and receives information such as the quantity, type, distribution situation, data traffic of bag, estimates the availability of TCP layer;
Described evaluation method to AP aspect availability is: described scheduler module is called connectedness/usability evaluation module, in set period, the situation that buffer data sends and receives in the statistics AP data channel, overflow the situation of processing, calculate the valid data throughput of AP layer, estimate the availability of AP aspect.
13, according to the described method of claim 1-12, it is characterized in that: described driving interface is made up of the function library of data-interface and realization data-interface function;
Described data-interface comprises: inquiry class data-interface and control class data-interface; The api interface of these data-interfaces for being provided with in described management level can be called by other functional module of management level;
Described function library realizes that the method for data-interface function is: the interface that provides with wireless communication module and ICP/IP protocol stack and calling as described function library programmed cells function, described Elementary Function through logical combination, is realized the function of described data-interface.
CNA2004100152250A 2004-01-19 2004-01-19 A method for improving end-to-end QoS of mobile application system Pending CN1558637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2004100152250A CN1558637A (en) 2004-01-19 2004-01-19 A method for improving end-to-end QoS of mobile application system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2004100152250A CN1558637A (en) 2004-01-19 2004-01-19 A method for improving end-to-end QoS of mobile application system

Publications (1)

Publication Number Publication Date
CN1558637A true CN1558637A (en) 2004-12-29

Family

ID=34351372

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2004100152250A Pending CN1558637A (en) 2004-01-19 2004-01-19 A method for improving end-to-end QoS of mobile application system

Country Status (1)

Country Link
CN (1) CN1558637A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764184B (en) * 2005-10-20 2010-07-07 中兴通讯股份有限公司 Real-time flow media communication transmission method
WO2011012046A1 (en) * 2009-07-31 2011-02-03 华为技术有限公司 Method, device and system for determining and maintaining quality of service (qos) parameters of multi-hop network
CN101779444B (en) * 2006-05-02 2014-06-18 斯凯普公司 User interface for handling call quality in a communication system
CN104181842A (en) * 2014-08-12 2014-12-03 浪潮(北京)电子信息产业有限公司 Method and device for realizing communication processing
CN105120472A (en) * 2015-09-16 2015-12-02 上海斐讯数据通信技术有限公司 Access point and access point management method and system
CN105245548A (en) * 2015-10-30 2016-01-13 上海斐讯数据通信技术有限公司 Method and system for determining QoS (Quality of Service) of real-time communication channel, and application method and system thereof
CN105591954A (en) * 2015-10-28 2016-05-18 杭州华三通信技术有限公司 Message control method and device
CN105940640A (en) * 2014-01-30 2016-09-14 高通股份有限公司 Determination of end-to-end transport quality
CN109361620A (en) * 2018-11-09 2019-02-19 杭州迪普科技股份有限公司 A kind of method, apparatus, equipment and storage medium that data are sent
CN110109872A (en) * 2019-04-29 2019-08-09 北京空间飞行器总体设计部 A kind of remote sensing satellite isomeric data unifies memory management unit
CN110764932A (en) * 2019-10-22 2020-02-07 网易传媒科技(北京)有限公司 Data processing method, system, medium and computing device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764184B (en) * 2005-10-20 2010-07-07 中兴通讯股份有限公司 Real-time flow media communication transmission method
CN101779444B (en) * 2006-05-02 2014-06-18 斯凯普公司 User interface for handling call quality in a communication system
WO2011012046A1 (en) * 2009-07-31 2011-02-03 华为技术有限公司 Method, device and system for determining and maintaining quality of service (qos) parameters of multi-hop network
US8681652B2 (en) 2009-07-31 2014-03-25 Huawei Technologies Co., Ltd. Method, apparatus, and system for determining and maintaining quality of service parameters on a multi-hop network
CN105940640A (en) * 2014-01-30 2016-09-14 高通股份有限公司 Determination of end-to-end transport quality
CN105940640B (en) * 2014-01-30 2019-05-28 高通股份有限公司 The determination of end-to-end transmission quality
CN104181842A (en) * 2014-08-12 2014-12-03 浪潮(北京)电子信息产业有限公司 Method and device for realizing communication processing
CN105120472B (en) * 2015-09-16 2018-10-12 上海斐讯数据通信技术有限公司 A kind of access point, access point management method and system
CN105120472A (en) * 2015-09-16 2015-12-02 上海斐讯数据通信技术有限公司 Access point and access point management method and system
CN105591954A (en) * 2015-10-28 2016-05-18 杭州华三通信技术有限公司 Message control method and device
CN105245548A (en) * 2015-10-30 2016-01-13 上海斐讯数据通信技术有限公司 Method and system for determining QoS (Quality of Service) of real-time communication channel, and application method and system thereof
CN105245548B (en) * 2015-10-30 2018-07-13 上海斐讯数据通信技术有限公司 Determine QoS method, system and its application process, the system in real-time Communication for Power channel
CN109361620A (en) * 2018-11-09 2019-02-19 杭州迪普科技股份有限公司 A kind of method, apparatus, equipment and storage medium that data are sent
CN110109872A (en) * 2019-04-29 2019-08-09 北京空间飞行器总体设计部 A kind of remote sensing satellite isomeric data unifies memory management unit
CN110764932A (en) * 2019-10-22 2020-02-07 网易传媒科技(北京)有限公司 Data processing method, system, medium and computing device

Similar Documents

Publication Publication Date Title
CN101335972B (en) Border cell configuring and regulating method, network element management system
CN1225134C (en) Link manager and link managing method
CN1558637A (en) A method for improving end-to-end QoS of mobile application system
US9031561B2 (en) Method and system for optimizing cellular networks operation
CN1588895A (en) System for monitoring internet service quality and realizing method
CN1534927A (en) Local guarantee management apparatus of equipment parts used in communication network
CN102045197B (en) Alarm data synchronization method and network management system
CN102396255A (en) Dynamic mobile network traffic control
CN1791113A (en) Method for balancing gridding load
CN1244078A (en) Dynamic fixing method and device for timing parameters of wireless data apparatus
CN1317860C (en) Load balancing method of radio access point
CA2857727C (en) Computer-implemented method, computer system, computer program product to manage traffic in a network
CN104468152A (en) Network transmission method and device
CN1527538A (en) Dynamic user's priority management method
CN106101468A (en) The determination method and device of transmission link
CN1283054A (en) Overload control method implemented in application layer of mobile switch center
CN103179642A (en) Multi-interface terminal with automatic network interface selection function and working method of multi-interface terminal
CN1751303A (en) System and method for efficient distribution of multicastable services
CN104168601B (en) wireless network congestion control method and device
CN1889775A (en) Mobile IPv6 dynamic switching control system and method based on network service
CN104581757B (en) M2M terminal active switching method and device in a kind of M2M network
CN110601897A (en) Network resource configuration method and device
CN1588881A (en) Method and device for controlling close ring feedback in IP network service quality management system
CN1933613A (en) Short message customer service repair reporting system
CN1625915A (en) Method and network node for selecting a combining point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
C20 Patent right or utility model deemed to be abandoned or is abandoned