Embodiment
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of one embodiment of the network quality method of adjustment of the present invention.This realityApply in example, network quality method of adjustment includes:
101st, detection client is currently located the network type of network.
In the present embodiment, application software is provided with client, the application software can be interactive application or otherUsing this is not restricted.For example, the application software is gaming platform.When user logs in the application software, the application softwareThe network type of network where automatic detection active client.Or when user logs in the application software, the application software is certainlyDynamic to obtain test instruction from server, the test indicates to be currently located the network class of network for indicating whether client detectsType.The application software is when the test is indicated for indicating that client detects network type to being currently located the network type of networkDetected.
Wherein, there is a variety of the method for the network type of network where detecting client.Below to a kind of preferred side thereinMethod carries out citing description.
Detect first in client with the presence or absence of the wireless network card connected.Specifically, can be by using Windows systemsThe functions such as WlanOpenHandle in Native WiFi API and WlanEnumInterfaces in system detect clientIn with the presence or absence of the wireless network card that has connected.
If in the presence of obtaining procotol (Internet Protocol, IP) address of the wireless network card connected.In the system of client, when network interface card even connect to the Net after, user manually or DHCP (Dynamic HostConfiguration Protocol, DHCP) server can distribute IP address and gateway information to network interface card automatically.The present embodimentIn, can be according to the corresponding application programs in the Iphlpapi.dll in windows systems it is determined that after the wireless network card connectedDLL (Application Programming Interface, API) (such as GetAdaptersInfo) is got pointThe dispensing wireless network card IP address that has connected.
Client also obtains the transmission control protocol (Transmission Control Protocol, TCP) currently keptThe bound local ip address of link;When the IP address of the local ip address and the wireless network card connected matches, reallyIt is wireless network to determine client to be currently located the network type of network.Specifically, TCP, which is linked at before being communicated, can bind visitorOne IP address at family end and port;When obtaining the address, can use Windows Winsock2API (such asGetSockName IP address and the port of the binding) are got.
In Windows systems, lead to using network can be carried out by the package application layer protocol and other-end of high levelLetter, can also complete byte transmission by transport layer.But the network interface card installed of client and network environment are made to the applicationVarious transfer functions call fully transparent.The entirely autonomous bottom work for completing all-network communication of Windows systems.Therefore in general, using the network type of network where generally can not directly judging client.And above-mentioned detection visitorIn the method for the network type of network where the end of family, pass through the current link shape of the wireless network card in client detected by judgementState and corresponding IP address, the TCP currently kept with the client link whether bound local ip address matches, canAccurately determine whether client is in wireless network.
102nd, when the network type is wireless network, the status data of first network is obtained.
When it is wireless network that client, which determines network type, start to detect the status data of first network.Wherein, thisNetwork of one network between client and wireless router.Specifically, when the network type for determining first network is wireless networkDuring network, the application software in client sends test request to server.Server returns to test after test request is receivedParameter to client, wherein, the test parameter includes the client relevant parameter required when carrying out network posture test.OrPerson, user log in the client application software when, the application software automatically from server obtain test instruction in the case of, shouldTest parameter can also indicate to be sent to client by server together with the test, and this is not restricted.Or test ginsengNumber can also be preset in client, and this is not restricted.For example, the test parameter stores when client installs application softwareIn client.
In practical application, the test parameter can have it is a variety of, this depend in practice user how to carry out network state surveyExamination.A kind of method of the status data to obtaining first network carries out citing description below.
Specifically, test parameter includes testing time and interval duration.Client is according to the test parameter between describedThe first measurement data bag is sent to wireless router every duration, wherein, transmission times is the testing time.Receive described wirelessThe response data packet that router returns.Specifically, mark is carried in each first measurement data bag, should for unique markFirst measurement data bag, and the mark of the first measurement data bag corresponding to being carried in the response data packet that is returned of wireless routerKnow, to indicate response data packet of the client response data packet as the first measurement data bag corresponding to the mark.
The length of delay and packet loss of the first network are calculated according to the first measurement data bag and the response data packetRate, the status data of the first network include the length of delay and packet loss of the first network.Specifically, client obtains oftenThe reception time for sending time and the response data packet of the first measurement data bag of one the first measurement data bag, according to thisThe interval of two times determines the length of delay of the first measurement data bag, and so, client can obtain first networkLength of delay, the quantity of the length of delay is at least one.Client also counts the quantity of the first measurement data bag sent and connectThe quantity of the response data packet received, the ratio of the quantity of the response data packet and the quantity of the first measurement data bag sent areX, then 1-x is the packet loss of first network.
Optionally, in the present embodiment, client can be with the status data of real-time exhibition first network.
Optionally, in the present embodiment, client also obtains the status data of the second network, and wherein second network is clientNetwork between end and server.Specifically, client is sent according to the test parameter every the interval duration to serverSecond measurement data bag, wherein, transmission times is the testing time.Specifically, carried in each second measurement data bagThere is mark, for unique mark the second measurement data bag, and carried in the partial response packet that is returned of wireless routerThe mark of second measurement data bag corresponding to having, to indicate that the client response data packet tests the speed number as corresponding to the mark secondAccording to the response data packet of bag.Client calculates second net always according to the second measurement data bag and the response data packetThe length of delay and packet loss of network, the status data of second network include the length of delay and packet loss of second network.
Specifically, client obtain each the second measurement data bag send time and the second measurement data bagThe reception time of response data packet, the length of delay of the second measurement data bag, so, visitor are determined according to the interval of two timesFamily end can obtain the length of delay of second network, and the quantity of the length of delay is at least one.Client also counts what is sentThe quantity of second measurement data bag and the quantity of the response data packet received, the quantity of the response data packet and send theThe ratio of the quantity of two measurement data bags is y, then 1-y is the packet loss of the second network.
103rd, the status data of the first network is sent to server.
After client is collected into the status data of first network, the data are reported to the background server of application software,So that the server judges according to the status data state of first network, and meet prompting in the status data of the first networkGeneration adjustment prompting during condition.Wherein, the implied condition has a variety of, for example, the implied condition is used for the shape for indicating first networkState is poor.
Optionally, in the present embodiment, when server generates corresponding adjustment prompting, client also the reception server is sentAdjust request, and adjustment prompting is sent according to the adjust request, the adjustment prompting is used to prompt user's adjustment described theThe state of one network.
Specifically, adjustment prompting can be the route pattern for prompting user to change the network.Wherein, the road of networkGenerally there are 802.11b, 802.11g, 802.11n, 802.11b and 802.11g to mix this several modes by pattern.The several modesIt is defined, will not be repeated here in 802.11 wireless network standards.In practical application, different business is in different route mouldsPreferable laser propagation effect is had under formula.For example, when application software is Games Software, route pattern is generally adjusted to 802.11bPreferable laser propagation effect is had during pattern.So, adjustment prompting is specifically used for prompting user to be revised as route pattern802.11b。
Or adjustment prompting is used to prompt user to change the position pass between the client and the wireless routerSystem.In practical application, when having barrier before client and wireless router, the state of first network may be influenceed.Therefore,Adjustment prompting by prompting user to change the position relationship between client and the wireless router, such as reduce client withBarrier between wireless router, to improve the state of first network.
Or client receives the adjust request sent according to server, and according to the adjust request directly to describedThe route pattern of first network is adjusted.For example, when application software is Games Software, client is automatically by first networkRoute pattern is revised as 802.11b.
In the present embodiment, by this important localized network path for client to wireless router and for nothingThe network state of this special network type of gauze network carries out special detection, and the network status data detected can be moreAdd and accurately reflect network state, contribute to user more targetedly to improve network state.
Optionally, in the case of the status data that the second network is also obtained in client, client is also by second netThe status data of network is sent to server, so that server can analyze client to the universe network state between server.
Optionally, in the present embodiment, after user is to the state adjustment of first network, client also obtains the first net againThe status data of network is simultaneously sent to server, so that server checks whether the state of first network take a favorable turn.
The network quality method of adjustment of the present invention is described from client-side above, below from server-sideThe network quality method of adjustment of the present invention is described.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of one embodiment of the network quality method of adjustment of the present invention.This realityApply in example, network quality method of adjustment includes:
201st, the status data for the first network that client is sent is received, the first network is for the client and wirelesslyNetwork between router.
Optionally, in this implementation, server also receives before the status data for the first network that client is sent is receivedThe test request of client, and sent according to the test request by instruction is tested to client, the test indicates to be used for according to surveyWhether examination request instruction client detects the network type for being currently located network.For example, client is carried in test requestUser identifies, and server judges that the user is identified whether in white list according to the strategy pre-established, if so, then test refers toShow that instruction client detection is currently located the network type of network.
Optionally, server also receives client before the status data for the first network that client is sent is receivedParameter request, and sent test parameter to client according to the parameter request.Or server can also receive clientDuring the test request at end, test instruction and test parameter are sent to client together, this is not restricted.Wherein, test ginsengSeveral explanations refers to the explanation of the step 102 in embodiment illustrated in fig. 1, will not be repeated here.
202nd, when the status data of the first network meets implied condition, adjust request is sent to the client.
Implied condition is preset with server, when the status data of first network meets implied condition, represents the first netThe state of network is poor.Specifically, implied condition includes the dependent thresholds of at least one parameter, the wherein parameter and first networkParameter in status data is identical.For example, in the case of the status data of first network includes length of delay and packet loss, this is carriedShow that condition meets specified conditions respectively for the value of length of delay and packet loss.One kind therein is illustrated below.
In the present embodiment, after server receives the status data of first network, according to the first of status data calculatingThe length of delay of network calculates the average and variance of the length of delay, or calculates the average and standard deviation of the length of delay.When describedWhen the average of the length of delay of one network is more than three threshold values, represent that client is slower to the transmission speed between wireless router.When the variance or standard deviation of the length of delay of the first network are more than four threshold values, represent client between wireless routerNetwork fluctuation it is larger.When the packet loss of the first network is more than five threshold values, represent client to wireless router itBetween network it is poor.Therefore, when at least one in following three meets, determine that the status data of the first network meetsImplied condition:The average of the length of delay of the first network be more than the 3rd threshold value, the first network length of delay variance orStandard deviation is more than the 4th threshold value, the packet loss is more than the 5th threshold value.
Server generates adjust request and is pushed to client.Wherein, the adjust request is used to indicate that client sends tuneWhole prompting, the adjustment prompting are used for the state for prompting user to adjust the first network.Adjust the side of the state of first networkMethod has a variety of.For example, the adjust request sends the route pattern for adjusting the wireless network specifically for instruction clientPrompting, or for indicating that client sends the prompting of the relative position between adjustment client and the wireless router.OrPerson, the adjust request are used to indicate that the client is adjusted the route pattern of the first network.For example, applyingWhen software is Games Software, the adjust request is used to indicate that the route pattern of first network is revised as 802.11b by client.
In the present embodiment, the status data for the first network that server reception client is sent judges the shape of first networkState, and when the state of first network is poor, namely when the status data at the first networking meets implied condition, to client pushAdjust request, to indicate that client prompts the user with the state of adjustment first network so that user has found Wi-Fi in timeProblem, improve the state of the wireless network in time, improve the transmission quality of data in the wireless network.
Optionally, in the present embodiment, server is also received and sent out from the client after adjust request is sent to clientThe status data of the first network sent, and by the state of the status data and the first network received before adjust request is sentData are compared, to judge the state change of first network.It is averaged for example, server calculates the first average value and second respectivelyValue, wherein the first average value is first that server is calculated according to the status data received before adjust request is sentThe average value of the length of delay of network, the second average value are server according to the status data received after adjust request is sentThe average value of the length of delay for the first network being calculated, if the second average value is less than the first average value, it is determined that first networkState take a turn for the better.So, server can count the change of the first network state of all clients before and after first network is adjustedChange, to be changed according to this to adjust the content in adjust request.
Above in embodiment illustrated in fig. 1, client is sent to server after the status data of first network is got.Optionally, in the alternatively possible embodiment of the present invention, client is after the status data of first network is got, noIt is that the status data of the first network is sent to server, but itself judges whether the status data of the first network meetsImplied condition.When client determines that the status data of the first network meets implied condition, to the route mould of the first networkFormula is adjusted.Wherein, the method being adjusted to the route pattern of the first network have it is a variety of, for example, being in application softwareDuring Games Software, the adjust request is used to indicate that the route pattern of first network is revised as 802.11b by client.
Or when the status data of first network meets implied condition, client sends adjustment prompting, the adjustment carriesShow the state for prompting the adjustment first network.The method of the state of adjustment first network has a variety of.For example, the adjustmentRequest is specifically used for the prompting that instruction client sends the route pattern for adjusting the wireless network, or for indicating clientSend the prompting of the relative position between adjustment client and the wireless router.
Wherein, it is a variety of to judge whether the status data of first network meets that the method for implied condition has for client, for example, objectiveAfter family end gets the status data of first network, the length of delay of the first network calculated according to the status data calculates the delayThe average and variance of value, or calculate the average and standard deviation of the length of delay.When at least one in following three meets, reallyThe status data of the fixed first network meets implied condition:The average of the length of delay of the first network be more than the 3rd threshold value,The variance or standard deviation of the length of delay of the first network are more than the 4th threshold value, the packet loss is more than the 5th threshold value.Specific solutionReleasing, whether the status data for referring to that first network is judged server in embodiment illustrated in fig. 2 in step 202 meets to prompt barThe explanation of part, will not be repeated here.
For convenience of understanding, the network quality method of adjustment of the present invention is illustrated with reference to a practical application sceneExplanation.
In the present embodiment, gaming platform is installed in client.When user logs in the gaming platform, the gaming platform is certainlyThe dynamic network type to first network (namely client be presently in network) detects.Specifically, as shown in figure 3, Fig. 3To detect the schematic flow sheet of one embodiment of the network type for the network that client is currently located in the present invention.
First, gaming platform is by using the WlanOpenHandle in the Native WiFi API in Windows systemsIt whether there is the wireless network card connected in client with functions such as WlanEnumInterfaces to detect.When detecting the presence ofDuring the wireless network card connected, related API in the Iphlpapi.dll in windows systems (such asGetAdaptersInfo) get and distribute to the wireless network card IP address connected.This has been distributed to specifically, gettingThe wireless network card IP address of connection is XX.XX.XX.XX.
Gaming platform also gets the client using Windows Winsock2API (such as GetSockName) and worked asLocal ip address bound in the TCP links of preceding holding.Gaming platform search the local ip address whether be connected it is wirelessThe IP address matching of network interface card.If specifically, the local ip address is XX.XX.XX.XX, then the local ip address and has been connectedWireless network card IP address matching, it may be determined that the network type that client is currently located network is wireless network.If the localIP address is not XX.XX.XX.XX, then determines that the network type that active client is currently located network is cable network.
When network where gaming platform determines active client is wireless network, the status data of first network is carried outDetection.As shown in figure 4, Fig. 4 is the detecting customer terminal of the present invention to one of the status data of the network between wireless routerThe schematic flow sheet of embodiment.
Gaming platform obtains test parameter from server, wherein, test parameter includes testing time N and interval duration t.ObtainAfter getting test parameter, gaming platform is tested according to the test parameter.As shown in figure 5, Fig. 5 puts down for the game in clientThe process schematic that platform is tested.Every the gaming platform in time t client 501 one is sent to wireless router 502Measurement data bag, N number of measurement data bag is sent to wireless router 502 altogether, wherein, each measurement data bag, which carries, to be used forThe ID of the unique mark packet.Gaming platform receives at least one response data packet that wireless router 502 returns, wherein,The ID in the measurement data bag each responded is carried in each response data packet.
For there is a measurement data bag of response data packet, gaming platform according to the measurement data bag send the time and shouldThe reception time of the response data packet of measurement data bag calculates length of delay corresponding to the measurement data bag.For example, as shown in figure 5,The reception time for sending time and the response data packet of the measurement data bag for the measurement data bag that gaming platform is sent for the first timeIt is separated by 3ms, then length of delay corresponding to the measurement data bag is 3ms;The measurement data bag that n-th is sent sends the time and is somebody's turn to doThe reception time of the response data packet of measurement data bag is separated by 6ms, then length of delay corresponding to the measurement data bag is 6ms.NeedIt is noted that gaming platform is when often sending a measurement data bag, it is not necessary to receives the sound of the measurement data bagPacket is answered just to send next measurement data bag afterwards, the interval duration of the transmission time of two neighboring measurement data bag depends onInterval duration t in test parameter.
The quantity that gaming platform also counts the response data packet received is m, then can determine that packet loss is 1-m/n.TripPlay platform sends the status data of first network to server, and the network data includes each length of delay and packet loss.
After server receives the status data of first network, calculate each length of delay in the status data average value andVariance, when average value is more than the 3rd threshold value, or variance is more than four threshold values, adjust request is pushed to gaming platform.ClientAfter termination receives the adjust request, adjustment prompting is sent according to the adjust request, the content of adjustment prompting will for prompting userThe route pattern of first network is revised as 802.11b patterns.
The network quality method of adjustment of the present invention is described above, the network quality of the present invention will be adjusted belowDevice is described.
As shown in fig. 6, Fig. 6 is the structural representation of one embodiment of the network quality adjusting apparatus of the present invention.This realityApply in example, network quality adjusting apparatus 600 includes:
Detection module 601, the network type of network is currently located for detecting client;
Acquisition module 602, for when the network type is wireless network, obtaining the status data of first network, instituteState network of the first network between the client and wireless router;
Sending module 603, for the status data of the first network to be sent to server.
In the present embodiment, by this important localized network path for client to wireless router and for nothingThe network state of this special network type of gauze network carries out special detection, and the network status data detected can be moreAdded with local network state is pointedly reflected, user is contributed to more targetedly to improve network state.
Optionally, the detection module 601 is specifically used for:
With the presence or absence of the wireless network card connected in detection client;
When the wireless network card connected be present, the network protocol IP address of the wireless network card is obtained;
Obtain the local ip address bound in the TCP links that the client is currently kept;
When the IP address of the wireless network card and the local ip address match, it is determined that being currently located the network class of networkType is wireless network.
Optionally, described device 600 also includes:
Receiving module 604, the adjust request sent for the reception server, wherein, the adjust request is the serviceWhat device generated when the status data of the first network meets implied condition;
Adjusting module 605, for sending adjustment prompting according to the adjust request, the adjustment prompting is used to prompt userAdjust the state of the first network.
Optionally, the adjustment prompting is specifically used for the route pattern that prompting user changes the network, or for carryingShow that user changes the position relationship between the client and the wireless router.
Optionally, as shown in fig. 7, described device also includes receiving module 701, for obtaining first in the acquisition moduleBefore the status data of network, test parameter is obtained from the server, the test parameter also includes testing time and intervalDuration;
The acquisition module 602 is specifically used for:
First measurement data bag is sent to wireless router every the interval duration according to the test parameter, wherein,Transmission times is the testing time;
Receive the response data packet that the wireless router returns;
The length of delay and packet loss of the first network are calculated according to the first measurement data bag and the response data packetRate, the status data of the first network include the length of delay and packet loss of the first network.
Referring to Fig. 8, Fig. 8 is a kind of structural representation of embodiment of the network quality adjusting apparatus of the present invention.This realityApply in example, network quality adjusting apparatus 800 includes:
Receiving module 801, the status data of the first network for receiving client transmission, the first network is describedNetwork between client and wireless router;
Sending module 802, for when the status data of the first network meets implied condition, being sent out to the clientAdjust request is sent, the adjust request is used to indicate that the client sends adjustment prompting, and the adjustment prompting is used to prompt to useFamily adjusts the state of the first network.
In the present embodiment, the status data for the first network that server reception client is sent judges the shape of first networkState, and when the state of first network is poor, namely when the status data at the first networking meets implied condition, to client pushAdjust request, to indicate that client prompts the user with the state of adjustment first network so that user has found Wi-Fi in timeProblem, improve the state of the wireless network in time, improve the transmission quality of data in the wireless network.
Optionally, the status data of the first network includes the length of delay and packet loss of the first network;The dressPutting also includes:
Computing module 803, the average of the length of delay for calculating the first network, and variance or standard deviation;
Determining module 804, for when at least one in following three meets, determining the status number of the first networkAccording to meeting implied condition:
The average of the length of delay of the first network is more than the 3rd threshold value, the variance or mark of the length of delay of the first networkQuasi- difference is more than the 4th threshold value, the packet loss is more than the 5th threshold value.
Optionally, the adjust request sends the route pattern for adjusting the wireless network specifically for instruction clientPrompting, or for indicating that client end sends carrying for the position relationship between the change client and the wireless routerShow.
As shown in figure 9, Fig. 9 is the structural representation of another embodiment of the network quality adjusting apparatus of the present invention.ThisIn embodiment, network quality adjusting apparatus 900 includes:
Detection module 901, the network type of network is currently located for detecting client;
Acquisition module 902, for when the network type is wireless network, obtaining the status data of first network, instituteState network of the first network between the client and wireless router;
Adjusting module 903, for when the status data of the first network meets implied condition, to the first networkRoute pattern be adjusted or send adjustment prompting, the adjustment prompting is used to prompt the shape for adjusting the first networkState.
In the present embodiment, network quality adjusting apparatus passes through for this important local area network of client to wireless routerNetwork path and network state for this special network type of wireless network carry out special detection, the net detectedNetwork status data can more targetedly reflect local network state, and in the status data of the network detectedWhen meeting implied condition, issue the user with adjustment prompting, so as to user can targetedly be improved according to the prompting it is network-likeState, or when the status data of the network detected meets implied condition, the route pattern of the adjust automatically network, to changeKind network state.
Optionally, the adjustment prompting is specifically used for the route pattern that the first network is changed in prompting, or for carryingShow the position relationship between the change client and the wireless router.
Optionally, described device also includes:
Receiving module 904, for before the status data of acquisition module acquisition first network, the reception server to be sent outThe test parameter sent, the test parameter also include testing time and interval duration;
The acquisition module 902 is specifically used for:
First measurement data bag is sent to the wireless router every the interval duration according to the test parameter, itsIn, transmission times is the testing time;
Receive the response data packet that the wireless router returns;
The length of delay and packet loss of the first network are calculated according to the first measurement data bag and the response data packetRate, the status data of the first network include the length of delay and packet loss of the first network.
Optionally, as shown in Figure 10, the status data of the first network includes the length of delay of the first network and lostBag rate;Described device 1000 also includes:
Computing module 1001, the average of the length of delay for calculating the first network, and variance or standard deviation;
Determining module 1002, for when at least one in following three meets, determining the state of the first networkData meet implied condition:
The average of the length of delay of the first network is more than the 3rd threshold value, the variance or mark of the length of delay of the first networkQuasi- difference is more than the 4th threshold value, the packet loss is more than the 5th threshold value.
Optionally, the detection module 901 is specifically used for:
With the presence or absence of the wireless network card connected in detection client;
When the wireless network card connected be present, the network protocol IP address of the wireless network card is obtained;
Obtain the local ip address bound in the transmission control protocol TCP link that the client is currently kept;
When the IP address of the wireless network card and the local ip address match, it is determined that being currently located the network class of networkType is wireless network.
The embodiment of the present invention additionally provides another terminal, as shown in figure 11, for convenience of description, illustrate only and this hairThe related part of bright embodiment, particular technique details do not disclose, refer to present invention method part.The terminal can be withIt is to include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point ofSales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, so that terminal is mobile phone as an example:
Figure 11 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.Reference chart11, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input block 1030, display unit1040th, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, processorThe part such as 1080 and power supply 1090.It will be understood by those skilled in the art that the handset structure shown in Figure 11 is not formed pairThe restriction of mobile phone, it can include than illustrating more or less parts, either combine some parts or different part clothPut.
Each component parts of mobile phone is specifically introduced with reference to Figure 11:
RF circuits 1010 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base stationAfter downlink information receives, handled to processor 1080;In addition, it is sent to base station by up data are designed.Generally, RF circuits1010 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low NoiseAmplifier, LNA), duplexer etc..In addition, RF circuits 1010 can also be led to by radio communication and network and other equipmentLetter.Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (GlobalSystem of Mobile communication, GSM), general packet radio service (General Packet RadioService, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA(Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution,LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storage software program and module, and processor 1080 is stored in memory by operation1020 software program and module, so as to perform the various function application of mobile phone and data processing.Memory 1020 can be ledTo include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one functionApplication program (such as sound-playing function, image player function etc.) etc.;Storage data field can store uses institute according to mobile phoneData (such as voice data, phone directory etc.) of establishment etc..Stored in addition, memory 1020 can include high random accessDevice, nonvolatile memory can also be included, a for example, at least disk memory, flush memory device or other volatibility are consolidatedState memory device.
Input block 1030 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set withAnd the key signals input that function control is relevant.Specifically, input block 1030 may include contact panel 1031 and other inputsEquipment 1032.Contact panel 1031, also referred to as touch-screen, collect touch operation (such as user of the user on or near itUse the behaviour of any suitable object such as finger, stylus or annex on contact panel 1031 or near contact panel 1031Make), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1031 may include touch detectionTwo parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bandThe signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by itContact coordinate is converted into, then gives processor 1080, and the order sent of reception processing device 1080 and can be performed.In addition,The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 1031.Except touch surfacePlate 1031, input block 1030 can also include other input equipments 1032.Specifically, other input equipments 1032 can includeBut it is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.It is one or more.
Display unit 1040 can be used for display by user input information or be supplied to user information and mobile phone it is eachKind menu.Display unit 1040 may include display panel 1041, optionally, can use liquid crystal display (LiquidCrystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)To configure display panel 1041.Further, contact panel 1031 can cover display panel 1041, when contact panel 1031 detectsTo after the touch operation on or near it, processor 1080 is sent to determine the type of touch event, is followed by subsequent processing device1080 provide corresponding visual output according to the type of touch event on display panel 1041.Although in fig. 11, touch surfacePlate 1031 and display panel 1041 are the parts independent as two to realize the input of mobile phone and input function, but someIn embodiment, contact panel 1031 and display panel 1041 can be integrated and realize input and the output function of mobile phone.
Mobile phone may also include at least one sensor 1050, such as optical sensor, motion sensor and other sensors.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient lightLight and shade adjust the brightness of display panel 1041, proximity transducer can close display panel when mobile phone is moved in one's ear1041 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and addThe size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone postureSwitching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone alsoThe other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 1060, loudspeaker 1061, microphone 1062 can provide the COBBAIF between user and mobile phone.AudioElectric signal after the voice data received conversion can be transferred to loudspeaker 1061, is changed by loudspeaker 1061 by circuit 1060Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit 1060Voice data is converted to after reception, then after voice data output processor 1080 is handled, through RF circuits 1010 to be sent to ratioSuch as another mobile phone, or voice data is exported to memory 1020 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 1070Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Figure 11 is shownWiFi module 1070, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completelyBecome in the essential scope of invention and omit.
Processor 1080 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone,By running or performing the software program and/or module that are stored in memory 1020, and call and be stored in memory 1020Interior data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor1080 may include one or more processing units;Preferably, processor 1080 can integrate application processor and modulation /demodulation processingDevice, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly locatedManage radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1080.
Mobile phone also includes the power supply 1090 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supplyManagement system and processor 1080 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management systemThe functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
In embodiments of the present invention, the processor 1080 included by the terminal also there is control to perform above by network qualityThe method flow that adjusting apparatus performs.
Figure 12 is a kind of server architecture schematic diagram provided in an embodiment of the present invention, and the server 1100 can be because of configuration or propertyEnergy is different and produces bigger difference, can include one or more central processing units (central processingUnits, CPU) 1122 (for example, one or more processors) and memory 1132, one or more storage applicationsThe storage medium 1130 of program 1142 or data 1144 (such as one or more mass memory units).Wherein, memory1132 and storage medium 1130 can be it is of short duration storage or persistently storage.One can be included by being stored in the program of storage medium 1130Individual or more than one module (diagram does not mark), each module can include operating the series of instructions in server.More enterOne step, central processing unit 1122 be could be arranged to communicate with storage medium 1130, and storage medium is performed on server 1100Series of instructions operation in 1130.
Server 1100 can also include one or more power supplys 1126, one or more wired or wireless netsNetwork interface 1150, one or more input/output interfaces 1158, and/or, one or more operating systems 1141, exampleSuch as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Can be based on the server shown in the Figure 12 as the step performed by network quality adjusting apparatus in above-described embodimentStructure.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be withRealize by another way.For example, device embodiment described above is only schematical, for example, the unitDivision, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizingAnother system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown orThe mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unitClose or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unitThe part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multipleOn NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can alsoThat unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated listMember can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or useWhen, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantiallyThe part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software productsEmbody, the computer software product is stored in a storage medium, including some instructions are causing a computerEquipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present inventionPortion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journeyThe medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to beforeEmbodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to precedingState the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And theseModification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.